Skip to content

Releases: Nerdware-LLC/fixit-api

v2.2.0

06 Aug 10:37
Compare
Choose a tag to compare

2.2.0 (2024-08-06)

Bug Fixes

  • add check for nullish req.body (d770924)
  • add check for undefined req.body (36facb4)
  • add default str for nullish paymentIntentID value (0ff42ea)
  • add explicit 'unknown' typing to err params in catch (54ce108)
  • add fallback str in case req.ip is nullish (0b819f5)
  • add handle lookup to ensure uniqueness (dd8536a)
  • add opt chains for nullish lookups (063adbe)
  • add status400ForVariableCoercionErrors:true per apollo recommendation (6cb5a21)
  • correct imports (97e5e07)
  • correct the 200 response to 200AuthTokenAndPreFetchedUserItems (36cc8d3)
  • mock: promisify return type of InvokeCommand (cf663a9)
  • mock: promisify return type of SendMessagesCommand (fc4eba4)
  • replace sanitizeID w correct regex impl (f9145b4)
  • rm export of deleted express types file (b04e5e6)
  • rm unnecessary as-cast from obj.__typename (d681187)
  • update ENV value paths (115f51b)
  • update GQL codegen's types w Context typing and docstring descriptions (026a1ef)
  • update regex used to skip webhooks body parsing (df8aadf)
  • update req.body type to be possibly undefined (f200471)

Features

  • add auth method verifyUserIsAuthorizedToAccessPaidContent (bd59a3d)
  • add ContactService (3d0e228)
  • add emit 'CheckoutCompleted' event (c79c011)
  • add env vars for v5 UUID namespace and others (d2cfd4d)
  • add error-handling to sendMessages (8001abe)
  • add event 'CheckoutCompleted' and handler sendConfirmationEmail (e541826)
  • add httpServer wrapper (1c52013)
  • add InvoiceService (5712d61)
  • add method 'getUserByHandleOrID' (a14f92a)
  • add pinpoint sdk, lib wrapper, and SendMessages invocations (d7ba6a2)
  • add reset-password functionality (b7b7c41)
  • add type BaseEventHandler for static EVENT_HANDLERS (7d210e8)
  • add UserService method 'getUserByHandleOrID' (7ffb750)
  • add WorkOrderService (58422cf)
  • add zod schema for gql input types (cccc837)
  • add zod-related util types (4e72dc1)
  • migrate FixitUser interface to PublicUserFields (daa0393)
  • rm AuthToken gql typeDef (e2fa376)
  • rm GQL-specific HttpError classes (9a3a683)
  • rm old method (677af6f)
  • rm res.locals types (686bef2)
  • rm unused sanitizeStripeID fn (0e6c2e6)

v2.2.0-next.1

06 Aug 10:09
Compare
Choose a tag to compare
v2.2.0-next.1 Pre-release
Pre-release

2.2.0-next.1 (2024-08-06)

Bug Fixes

  • add check for nullish req.body (d770924)
  • add check for undefined req.body (36facb4)
  • add default str for nullish paymentIntentID value (0ff42ea)
  • add explicit 'unknown' typing to err params in catch (54ce108)
  • add fallback str in case req.ip is nullish (0b819f5)
  • add handle lookup to ensure uniqueness (dd8536a)
  • add opt chains for nullish lookups (063adbe)
  • add status400ForVariableCoercionErrors:true per apollo recommendation (6cb5a21)
  • correct imports (97e5e07)
  • correct the 200 response to 200AuthTokenAndPreFetchedUserItems (36cc8d3)
  • mock: promisify return type of InvokeCommand (cf663a9)
  • mock: promisify return type of SendMessagesCommand (fc4eba4)
  • replace sanitizeID w correct regex impl (f9145b4)
  • rm export of deleted express types file (b04e5e6)
  • rm unnecessary as-cast from obj.__typename (d681187)
  • update ENV value paths (115f51b)
  • update GQL codegen's types w Context typing and docstring descriptions (026a1ef)
  • update regex used to skip webhooks body parsing (df8aadf)
  • update req.body type to be possibly undefined (f200471)

Features

  • add auth method verifyUserIsAuthorizedToAccessPaidContent (bd59a3d)
  • add ContactService (3d0e228)
  • add emit 'CheckoutCompleted' event (c79c011)
  • add env vars for v5 UUID namespace and others (d2cfd4d)
  • add error-handling to sendMessages (8001abe)
  • add event 'CheckoutCompleted' and handler sendConfirmationEmail (e541826)
  • add httpServer wrapper (1c52013)
  • add InvoiceService (5712d61)
  • add method 'getUserByHandleOrID' (a14f92a)
  • add pinpoint sdk, lib wrapper, and SendMessages invocations (d7ba6a2)
  • add reset-password functionality (b7b7c41)
  • add type BaseEventHandler for static EVENT_HANDLERS (7d210e8)
  • add UserService method 'getUserByHandleOrID' (7ffb750)
  • add WorkOrderService (58422cf)
  • add zod schema for gql input types (cccc837)
  • add zod-related util types (4e72dc1)
  • migrate FixitUser interface to PublicUserFields (daa0393)
  • rm AuthToken gql typeDef (e2fa376)
  • rm GQL-specific HttpError classes (9a3a683)
  • rm old method (677af6f)
  • rm res.locals types (686bef2)
  • rm unused sanitizeStripeID fn (0e6c2e6)

v2.1.4

04 Apr 18:32
Compare
Choose a tag to compare

2.1.4 (2024-04-04)

v2.1.3

03 Apr 18:29
Compare
Choose a tag to compare

2.1.3 (2024-04-03)

v2.1.2

26 Mar 16:33
Compare
Choose a tag to compare

2.1.2 (2024-03-26)

v2.1.1

26 Mar 16:27
Compare
Choose a tag to compare

2.1.1 (2024-03-26)

Bug Fixes

  • add '.js' extensions to local imports (7210346)

v2.1.1-next.1

26 Mar 16:20
Compare
Choose a tag to compare
v2.1.1-next.1 Pre-release
Pre-release

2.1.1-next.1 (2024-03-26)

Bug Fixes

  • add '.js' extensions to local imports (7210346)

v2.1.0

24 Mar 17:17
Compare
Choose a tag to compare

2.1.0 (2024-03-24)

Bug Fixes

  • correct DateTime validity logic (6273a0a)
  • ensure every next call wraps an Error (9efc8e5)
  • update google OAuth related logic (9fa247b)

Features

  • add Google OAuth2 client (5529074)
  • add googleID/googleIDToken handling (0f8df48)
  • add isValidTimestamp util (ce20e7f)
  • rm requirement for user.sca.id (e46c681)
  • set 'phone' and sca fields to allow null (4fa7ccf)
  • update codegen'd types (7cf2141)
  • update local gql shema file for nullable phone (9e98c85)
  • update logic to allow 'phone' to be optional (b2df714)

v2.1.0-next.1

24 Mar 17:12
Compare
Choose a tag to compare
v2.1.0-next.1 Pre-release
Pre-release

2.1.0-next.1 (2024-03-24)

Bug Fixes

  • correct DateTime validity logic (6273a0a)
  • ensure every next call wraps an Error (9efc8e5)
  • update google OAuth related logic (9fa247b)

Features

  • add Google OAuth2 client (5529074)
  • add googleID/googleIDToken handling (0f8df48)
  • add isValidTimestamp util (ce20e7f)
  • rm requirement for user.sca.id (e46c681)
  • set 'phone' and sca fields to allow null (4fa7ccf)
  • update codegen'd types (7cf2141)
  • update local gql shema file for nullable phone (9e98c85)
  • update logic to allow 'phone' to be optional (b2df714)

v2.0.1

10 Mar 14:38
Compare
Choose a tag to compare

2.0.1 (2024-03-10)