Skip to content

Releases: Nerdware-LLC/fixit-api

v1.23.1-next.1

20 Feb 17:52
Compare
Choose a tag to compare
v1.23.1-next.1 Pre-release
Pre-release

1.23.1-next.1 (2024-02-20)

Bug Fixes

  • impl isError util in err-check logic (79ad8b0)

v1.23.0

20 Feb 11:20
Compare
Choose a tag to compare

1.23.0 (2024-02-20)

Bug Fixes

  • add string type check for parseCompoundString arg (8679b68)
  • call usersCache.get w contactUserID, not userID (680fb2e)
  • change adminRouter pathing to achieve desired routing (df7c62e)
  • change utils import to logger file not index (e82fe74)
  • commit imports of necessary utils (afdd1a1)
  • correct docker:ddb cmd to ddb-start (26db8cd)
  • correct logger.warn label to 'WARN' (8e45e0d)
  • correct typing to reflect User props (cd39ae6)
  • Dockerfile: add include=dev flag to 'npm ci' to ensure build tools are present in build stage (c574f48)
  • ensure 'streetLine2' is added in parse method (d90b79a)
  • ensure EAVs is only updated for SET clauses (b0df627)
  • ensure error logs are colored in dev (a3ad5d2)
  • ensure NonNullable type excludes all undefined (bf5ae6c)
  • ensure Sentry does not try to init for test envs (569df2d)
  • extract regex-strings into own vars to aid debugging (be2b9ba)
  • have node_test use 'test:ci' script not 'test' (116d5ae)
  • impl 'update' api in mw (457be80)
  • impl model type names (b2e5f4e)
  • ioHooks: ensure recursivelyApplyIOHookAction uses fn.call for provided ioAction arg (e986f67)
  • make npm_package_version optional for node starts (6d11c4d)
  • replace createOne w createItem (1bbd89a)
  • replace dep'd query method w where conditional (6658ff0)
  • replace dep'd query method w where conditional (6b9dc3e)
  • replace triple-slash ref w explicit type import (d35e582)
  • replace unix-timestamp regex w UUID regex (dcbf77b)
  • replace unix-timestamp regex with UUID regex (a8708b4)
  • replace UUID w unix TS in sub sk (1cc2331)
  • replace WO.createOne w createItem (f88577a)
  • replace workOrder w workOrderID in invoices mapping (f9bee00)
  • rm dep'd queryUserSubs method w where conditional query (69ef0d6)
  • rm duplicative proc error logging (921194e)
  • rm export of Model-regex from Model dirs (7bfd9de)
  • rm rest arg for schemaOpts (184b89f)
  • rm setPrototypeOf calls, set Err names to readonly (13f738a)
  • rm unnecessary inclusion of 'sk' attr in User.getItem (036d9f0)
  • rm unnecessary init of 'ENV' obj (e66bfa4)
  • test: add VITE_ prefix to test-workflow env-vars (7705ff6)
  • update AliasedItemPKs to ensure keys w defaults are optional (5172d20)
  • update AuthToken type (5728006)
  • update codegen'd gql types (69b5cd7)
  • update gql resolvers to use new Model types/methods (2962ee0)
  • update import path for ApolloServerResolverContext (3af7f0d)
  • update import path for ApolloServerResolverContext (bc86233)
  • update import path for http-errors (37e7939)
  • update import path for InternalServerError (1dbd76f)
  • update import path for resolver ctx (2bcaa96)
  • update import path for UserInputError (94d27e6)
  • update import path of eventEmitter (8556a16)
  • update import path of httpErrors (cea6861)
  • update import paths for Model regex (e6e3fce)
  • update isRecordObject logic (3cce447)
  • update method name to 'getDisplayName' (683e410)
  • update mock pw values to reflect special char reqs (ac3237a)
  • update mw to reflect model changes (6c97cf8)
  • update name of normalize util (d3f5419)
  • update path aliases to reflect @/* changes (69a1cb8)
  • update path to contextType (15eaa8f)
  • update path to resolver ctx type (3889365)
  • update regex import path (11ff1f5)
  • update table import to 'ddbTable' (6294296)
  • update type exports (63f4990)
  • use typeof check in validateItem (4779478)
  • wrap schema in getModelSchema (7634714)
  • wrap schema in getModelSchema (5e3764f)
  • wrap schema in getModelSchema (0c7a7f2)
  • wrap schema in getModelSchema (4371ec4)
  • wrap schema in getModelSchema, rm dep'd methods (55890db)
  • wrap schema in getModelSchema, rm dep'd methods ([605acc0](https://github.com/Nerdware-LLC/...
Read more

v1.23.0-next.4

20 Feb 10:57
Compare
Choose a tag to compare
v1.23.0-next.4 Pre-release
Pre-release

1.23.0-next.4 (2024-02-20)

Bug Fixes

  • change utils import to logger file not index (e82fe74)
  • commit imports of necessary utils (afdd1a1)
  • correct logger.warn label to 'WARN' (8e45e0d)
  • correct typing to reflect User props (cd39ae6)
  • ensure 'streetLine2' is added in parse method (d90b79a)
  • ensure NonNullable type excludes all undefined (bf5ae6c)
  • impl 'update' api in mw (457be80)
  • impl model type names (b2e5f4e)
  • update gql resolvers to use new Model types/methods (2962ee0)
  • update isRecordObject logic (3cce447)
  • update mw to reflect model changes (6c97cf8)
  • update table import to 'ddbTable' (6294296)

Features

  • add 'toBeValidDate' asymmetric matcher (3a3de9d)
  • add condition to Sentry init (b80a118)
  • add createIfNotExists configs (8cbf3f8)
  • add export of Stripe-related 'types' (f351021)
  • add FixitUserCodegenInterface for codegen-config (844186e)
  • add methods to make Cache more flexible (6638922)
  • add new caches and utils (e0b54eb)
  • add new location for codegen'd files (880bed2)
  • add NonNullableLocation (9d8ca08)
  • add open-api processed types (d8b3e2d)
  • add res.locals typings (cb50fdf)
  • add sendRESTJsonResponse mw (1e32530)
  • add Stripe-related types (fb6a1b0)
  • change 'UpdateChecklistItemInput' 'id' to be nullable (38606b2)
  • replace Stripe env-vars w caches for StripeAPI objects (7af7c6e)
  • rm old env-vars, add JSON.parse overloads for correct behavior (51e8365)
  • rm optionality of 'stripeConnectAccount' obj (d90ba88)
  • update 'Location.country' to be non-nullable (d034e0a)
  • update base img to node v20.11.0 (ef89f12)
  • update mw to use new res.locals, impl open-api req types (d2277b4)
  • update routers w new mw and open-api types (5d064ef)
  • update+add mock Stripe obj fns (7d3ca6d)

v1.23.0-next.3

24 Aug 12:58
Compare
Choose a tag to compare
v1.23.0-next.3 Pre-release
Pre-release

1.23.0-next.3 (2023-08-24)

Bug Fixes

  • have node_test use 'test:ci' script not 'test' (116d5ae)
  • replace triple-slash ref w explicit type import (d35e582)
  • replace UUID w unix TS in sub sk (1cc2331)

Features

  • add remaining customer-portal events (9e88397)

Performance Improvements

  • update engines.node to v18+ (8f4cc2d)

v1.23.0-next.2

23 Aug 18:10
Compare
Choose a tag to compare
v1.23.0-next.2 Pre-release
Pre-release

1.23.0-next.2 (2023-08-23)

Bug Fixes

  • add string type check for parseCompoundString arg (8679b68)
  • call usersCache.get w contactUserID, not userID (680fb2e)
  • change adminRouter pathing to achieve desired routing (df7c62e)
  • correct docker:ddb cmd to ddb-start (26db8cd)
  • Dockerfile: add include=dev flag to 'npm ci' to ensure build tools are present in build stage (c574f48)
  • ensure error logs are colored in dev (a3ad5d2)
  • make npm_package_version optional for node starts (6d11c4d)
  • replace unix-timestamp regex w UUID regex (dcbf77b)
  • replace unix-timestamp regex with UUID regex (a8708b4)
  • replace workOrder w workOrderID in invoices mapping (f9bee00)
  • rm duplicative proc error logging (921194e)
  • rm rest arg for schemaOpts (184b89f)
  • rm setPrototypeOf calls, set Err names to readonly (13f738a)
  • test: add VITE_ prefix to test-workflow env-vars (7705ff6)
  • update AuthToken type (5728006)
  • update codegen'd gql types (69b5cd7)
  • update import path for http-errors (37e7939)
  • update import path for InternalServerError (1dbd76f)
  • update import path for resolver ctx (2bcaa96)
  • update import path for UserInputError (94d27e6)
  • update import path of eventEmitter (8556a16)
  • update import path of httpErrors (cea6861)
  • update method name to 'getDisplayName' (683e410)
  • update mock pw values to reflect special char reqs (ac3237a)
  • update name of normalize util (d3f5419)
  • update path aliases to reflect @/* changes (69a1cb8)
  • update path to resolver ctx type (3889365)
  • update type exports (63f4990)
  • use typeof check in validateItem (4779478)

Features

  • add arg validation and jsdoc (ffb5083)
  • add arg validation in Location ctor (d1c88d3)
  • add body parsing (rm'd from expressApp) (1c6209f)
  • add check to ensure attrName is provided (7b5fb8a)
  • add client-input sanitization+validation utils (1f046bf)
  • add err msg for missing user SCA (96f7882)
  • add err.name checks for better jwt decode errors (d33dd2f)
  • add ErrorClass param to allow any error type (5a2c317)
  • add explicit aws creds for ddb-local in dev (b0b8636)
  • add fmt validation of arg in parseCompoundString (28ce336)
  • add fromDB ISO-date-str handling to convertJsTypes (019e6a1)
  • add getErrorMessage fn (fd448e6)
  • add hasKeys to allow multiple key-checks (c3882cf)
  • add helpers to all Models for attr formatting+validation (71ac205)
  • add isSKofType bool methods (9a2588e)
  • add isValidStripeID stripe util methods (6670656)
  • add JSON parsing for returned _invoke payload (ccd40b0)
  • add ModelSchema validation (28f6c18)
  • add sanitizeAndValidateRequestBody and schema (7ecc494)
  • add sendWelcomeEmail event handler (01e4897)
  • add shouldValidateItem so updateItem can disable it (afe57cc)
  • add types function,bigint,symbol,undefined,null (1c929ad)
  • add validation of tableConfigs (f3062a5)
  • DdbST: add DdbConnectionError for ECONNREFUSED (8ec3f13)
  • DdbST: add schema opt 'autoAddCreatedAt' (d8fba66)
  • extract Intl API objects into separate file (81f20c2)
  • extract Inv enumConstants into own file (7a74f37)
  • replace getRequestBodyValidatorMW with sanitizeAndValidateRequestBody (c33f315)
  • replace momentjs with dayjs (c813aee)
  • replace old req.body mw w sanitizeAndValidateRequestBody (b8652e0)
  • rm unused dateTime constants (df76dd0)
  • rm unused vitest bench cmd (0a47b20)
  • tests: add vi.mock calls for aws-sdk pkgs (054e768)
  • update models/_common exports (3e3de3a)
  • update utils exports (70b9683)

v1.23.0-next.1

17 Jul 15:04
Compare
Choose a tag to compare
v1.23.0-next.1 Pre-release
Pre-release

1.23.0-next.1 (2023-07-17)

Bug Fixes

  • ensure EAVs is only updated for SET clauses (b0df627)
  • ensure Sentry does not try to init for test envs (569df2d)
  • extract regex-strings into own vars to aid debugging (be2b9ba)
  • ioHooks: ensure recursivelyApplyIOHookAction uses fn.call for provided ioAction arg (e986f67)
  • replace createOne w createItem (1bbd89a)
  • replace dep'd query method w where conditional (6658ff0)
  • replace dep'd query method w where conditional (6b9dc3e)
  • replace WO.createOne w createItem (f88577a)
  • rm dep'd queryUserSubs method w where conditional query (69ef0d6)
  • rm export of Model-regex from Model dirs (7bfd9de)
  • rm unnecessary inclusion of 'sk' attr in User.getItem (036d9f0)
  • rm unnecessary init of 'ENV' obj (e66bfa4)
  • update AliasedItemPKs to ensure keys w defaults are optional (5172d20)
  • update import path for ApolloServerResolverContext (3af7f0d)
  • update import path for ApolloServerResolverContext (bc86233)
  • update import paths for Model regex (e6e3fce)
  • update path to contextType (15eaa8f)
  • update regex import path (11ff1f5)
  • wrap schema in getModelSchema (7634714)
  • wrap schema in getModelSchema (5e3764f)
  • wrap schema in getModelSchema (0c7a7f2)
  • wrap schema in getModelSchema (4371ec4)
  • wrap schema in getModelSchema, rm dep'd methods (55890db)
  • wrap schema in getModelSchema, rm dep'd methods (605acc0)

Features

  • add 'isValidID' method to avoid regex imports (4b59497)
  • add 'isValidID' methods and allow createdBy/assignedTo schemaOpts (0f9beea)
  • add 'processKeyArgs' for streamlined key-args handling (6e23ffb)
  • add 'tuple' attribute type (8cd1c99)
  • add 'tuple' to isType util (3f02698)
  • add codegen'd file to prettierignore (e4fa577)
  • add err-msg helper fns (32d3671)
  • add sorted 'schemaEntries' to Model+IO-Actions (341f661)
  • add Vitest globalSetup and setupTests files (e255073)
  • ddbST: allow 'allowUnknownAttributes' to be array of strings for transformItem (126093f)
  • impl makeExecutableSchema (868f866)
  • mv ApolloServer init logic to fn for env-based configurability (546aaf3)
  • rm manual GQL mocks (91d487d)
  • rm ModelName from err msg so fn doesnt require the param (ff56650)
  • rm old WO.createOne method file (8b1cec6)
  • streamline mergeModelSchema and related types (21866b6)
  • tests: add scripts to run stripe-mock docker img for testing (a5c9f0a)
  • tests: replace Jest with Vitest (a34dbcf)
  • update env vars for vitest + ci operability (0955f7d)

Performance Improvements

  • impl AliasedKeyArgs type param (0021153)

v1.22.0

12 Jul 14:24
Compare
Choose a tag to compare

1.22.0 (2023-07-12)

Features

  • ci: add 'dockerfile-path' input to ecr_image_push (c94a508)
  • ci: ensure codegen'd files are ignore by pre-commit hooks (2332247)
  • ci: rm PR from events triggering Release Workflow (3918e94)
  • ci: set engines.node to '>=16.0.0', set explicit node-version in Test Workflow (d2c102c)

v1.22.0-next.1

09 Jul 15:47
Compare
Choose a tag to compare
v1.22.0-next.1 Pre-release
Pre-release

1.22.0-next.1 (2023-07-09)

Features

  • ci: ensure codegen'd files are ignore by pre-commit hooks (2332247)
  • ci: rm PR from events triggering Release Workflow (3918e94)
  • ci: set engines.node to '>=16.0.0', set explicit node-version in Test Workflow (d2c102c)

v1.21.0

08 Jul 17:36
Compare
Choose a tag to compare

1.21.0 (2023-07-08)

Features

  • add 'jwt-algorithm' to env vars to parameterize algo by env (6c3056d)
  • add 'push' event to release workflow (29a9247)
  • set engines.node to 16.17.0 (78db912)

v1.21.0-next.1

08 Jul 18:39
Compare
Choose a tag to compare
v1.21.0-next.1 Pre-release
Pre-release

1.21.0-next.1 (2023-07-08)

Features

  • add 'jwt-algorithm' to env vars to parameterize algo by env (6c3056d)
  • add 'push' event to release workflow (29a9247)
  • set engines.node to 16.17.0 (78db912)