Skip to content

Releases: Nerdware-LLC/fixit-api

v1.20.0

01 Jul 14:23
Compare
Choose a tag to compare

1.20.0 (2023-07-01)

Features

  • add route '/stripe' to webhooksRouter (6b0d6d4)

v1.19.0

28 Jun 17:43
Compare
Choose a tag to compare

1.19.0 (2023-06-28)

Bug Fixes

  • ensure coverage is not collected on mock-related files (bd6682b)
  • get err 'message' property in err-log message (60b7cdc)
  • implement new Model types in relevant event handlers (9a6d338)
  • implement safeJsonStringify (0131b74)
  • update to reflect new Model types (8454a23)
  • update to reflect new Model types (36dce95)
  • update to use ddbst instance (15e48df)
  • update to use top-level await (1accc1a)

Features

  • add '_userSubscription' key to express Request type dec (20ce133)
  • add 'has' method to Cache class (bd634c6)
  • add handling for internal jwt fields like 'iss' (20ca6f7)
  • add modded types which fix/improve codegen types like the troublesome Maybe type (35c0543)
  • add utils hasKey,safeJsonStringify,isType (d2bd47e)
  • eslint: add 'ignore' for codegen'd files (7fe7dab)
  • implement new Model types in gql resolvers, add helpers+AuthTokenPayload type (704dd4c)
  • implement new Model types, add mw helpers (360d79c)
  • overhaul DdbSingleTable (1fb9072)
  • rm old type-mappings, add scalar-configs (9ee0498)
  • rm unused 'getKey' util fns (7b6872e)
  • update GQL schema for API changes (89b683a)
  • update index file to reflect utils dir changes (26d903b)
  • update Models w new DdbSingleTable usage (5682beb)

v1.18.0

07 May 12:33
Compare
Choose a tag to compare

1.18.0 (2023-05-07)

Bug Fixes

  • types: correct DDBST Model method typings (54b54d1)

Features

  • add exports of typeSafety/ (e178857)
  • add GenericSuccessResponse gql response type (58de70e)
  • add init UsersCache side-effect import (e34143b)
  • add UsersCache to min SearchUsers query RCUs (efefc98)
  • improve phone+email identifying regex patterns (5897393)
  • rm unused *.d.ts files (00bbe79)
  • split scalars into own typedefs+resolvers, add helpers (f65b93b)
  • update codegen config (788e29d)
  • update codegen'd types to reflect GQL changes (e6af041)
  • update exports from _common (edd1fb5)
  • update GQL schema for API changes (4f33178)

v1.17.0

23 Dec 14:44
Compare
Choose a tag to compare

1.17.0 (2022-12-23)

Bug Fixes

  • gql-sca: rm SCA, was replaced by UserSCA (6baa1e2)
  • queryUserItems: add nullable-field handling for client-GQL-schema matching (f2ecbc3)

Features

  • add GQL file used by codegen; update codegen types (bab1ebe)
  • codegen: add type-mappings for GQL resolver types (bff8794)
  • impl new 'handle' property on User model+types+etc (6b63e3a)

v1.16.0

11 Dec 11:31
Compare
Choose a tag to compare

1.16.0 (2022-12-11)

Bug Fixes

  • events: rm destructure of possibly undefined value (4515116)
  • wo-location: replace abstract-interface w concrete gql type (56da52a)

Features

  • AuthToken: add 'profile' to auth token fields (a58be2a)
  • cors: add headers for Apollo-Studio introspection in dev env (7582f5b)
  • env: add APOLLO_STUDIO_INTROSPECTION_AUTH_TOKEN (3e0c557)
  • env: add APOLLO_STUDIO_INTROSPECTION_AUTH_TOKEN (068aa2e)
  • errors: add static field for status code nums (4cf1d58)
  • fixitUser: add 'profile' to interface (8210952)
  • gql-introspection: correct isIntrospectionQuery logic (784eb35)
  • gql-profile: rm field 'profile.id' (fbdab9a)
  • gql-resolvers: convert to TS with codegen typings (39aa52a)
  • gql-user: rename gql-type SCA to UserSCA (70f58a0)
  • myInvoices: correct return type to separate own/assigned invoices (10756cd)
  • userSCA: add typedefs to schema file (df8fb7e)
  • validateReqBody: add validateHasReturnURL for link-gen endpoints (4a6f9fa)

v1.15.0

01 Dec 12:41
Compare
Choose a tag to compare

1.15.0 (2022-12-01)

Features

  • apolloServer: add plugins and typing for apollo context (083a267)
  • apollo: update apollo plugin config to use remote schema (0d00129)
  • codegen: add GQL-codegen config+scripts (5694dec)
  • cors: add apollo+sentry related http headers and origins (b5e4f95)
  • env: separate 'SELF_URI' into component parts PROTOCOL and DOMAIN (967a4c7)
  • id-regex: update Stripe-ID regexs to reflect variable length (7ba2b48)
  • mw/auth: improve edge-case handling for gql-ctx and queryUserItems (1121422)
  • mw/clientInput: rm 'promoCode' from required fields in submit-payment route (7d404d1)
  • mw/subs: update logic in payment-handling mw (3c073fc)
  • mw/utils: add type-safety check on req.body (919c586)
  • paths: add src/types path aliases (3f60729)
  • types: add GQL codegen types (0c5128d)
  • types: update fields available on ProcessEnv (3d70739)
  • update ref to env var 'API_BASE_URL' (6917fb4)

v1.14.0

07 Nov 18:54
Compare
Choose a tag to compare

1.14.0 (2022-11-07)

Bug Fixes

  • apolloServer: rm User type-cast in context fn (178d65f)
  • ci: rm 'ci=false' from Semantic Release config file (6cf9ba2)
  • cors: correct 'self-uri' origin regex (ba161c6)
  • ECR-push: correct docker push cmd syntax (abdaf1f)
  • ECR-push: correct docker push cmd syntax (b94ccd7)
  • ECR-push: correct docker tag syntax for push to ECR (d5156fe)
  • errors: convert old ApolloErrs into new GqlErrs (786304b)
  • jwt: rm dupe protocol url-component from 'aud' (dd7927a)
  • MW-type: change req._user type to include AuthTokenPayload union (0b8b5ad)
  • mw: update cors+httpHeaders mw to use /api base route (d2d78bc)
  • release: correct filename for semantic release config file (b1bfdf9)
  • User.createOne: ensure SCA is attached to newUser (da1bcdd)
  • validateReqBody: correct keys req for auth routes (669823b)

Features

  • add '@types/cors' npm package to dev-deps (dc53194)
  • apollo: upgrade to Apollo Server v4 (8a79211)
  • auth: mv apolloServer context-auth fn into mw/auth (20de0ad)
  • authRouter: add 'updateExpoPushToken' to login route (162f9a0)
  • convert ConnectRouter and some MWs from js to ts (343cccf)
  • Dockerfile: change exposed port to 80 (dfb2323)
  • env: rm unused keys from ENV object (1fcd6bb)
  • errors: add Gql custom errors to replace ApolloErrors (462f816)
  • Expand: ensure Date objects are not 'expanded' (8b22a82)
  • getTypeSafeErr: add option to override fallback err msg (604f43a)
  • gql: migrate 'gql' tag imports to 'graphql-tag' for apollo-v4 (e63feb7)
  • nvm: add nvmrc config file (4f64dff)
  • routes: update Stripe Link-mw to use /api base route (3d3d555)
  • server: migrate expressApp+apolloServer to apollo-v4 (a8f7997)
  • Stripe-WHs: rm old 'secret-bucket' env var (b07ea41)
  • Stripe-WHs: rm s3client, update StripeWebhooksHandler (a7f1399)
  • types: rm unused keys from process.env ambient typedef (c86a2f5)
  • User: convert 'expoPushToken' to optional create param for non-mobile (b55620c)

v1.13.0

08 Oct 16:47
Compare
Choose a tag to compare

1.13.0 (2022-10-08)

Bug Fixes

  • Dockerfile: swap build flag '--production' for '--omit=dev' (89a81b0)

Features

  • colors: uninstall unnecessary @types/colors pkg (db36a0c)
  • ECR-push: add workflow_dispatch trigger to allow manual runs (5c5dd6e)
  • ECR-push: on 'release' events swap tags main/next w prod/staging (703d4e7)

v1.12.1

08 Oct 15:39
Compare
Choose a tag to compare

1.12.1 (2022-10-08)

Bug Fixes

  • releaserc: add package.json assets to SR/git plugin (7af3e6f)

v1.12.0

08 Oct 15:24
Compare
Choose a tag to compare

1.12.0 (2022-10-08)

Bug Fixes

  • ECR-push: rm push-events from event triggers, only on release now (a03c954)
  • release-action: add releaserc to file triggers (e35ce21)

Features

  • SemanticRelease: add npm release plugin, rm unused release rules (f28201d)