Skip to content

Releases: compasjs/compas

v0.0.120

24 Feb 21:02
21e68cd
Compare
Choose a tag to compare
  • fix(code-gen): allow 'optional' order by for deletedAt column (#725)

v0.0.119

24 Feb 19:07
84e343f
Compare
Choose a tag to compare
  • build(deps): bump eslint-config-prettier from 8.0.0 to 8.1.0 (#724)
  • build(deps): bump eslint-plugin-jsdoc from 32.1.0 to 32.2.0 (#715, #719)
  • feat(code-gen): add sql order by support (#721)
  • feat(store): remove getNestedFileGroup (#723)
  • fix(code-gen): fix empty where xxIn behaviour in the sql generator (#722)
  • fix(code-gen): jsdoc lint compliant output of the api client (#717)

For a detailed description and more details about this release, please read the release notes.

v0.0.118

22 Feb 21:09
1e74482
Compare
Choose a tag to compare
  • build(deps): bump eslint-config-prettier from 7.2.0 to 8.0.0 (#708)
  • chore(ci): improve CI for external contributors (#712)
  • chore(ci): remove test and lint dependency for benchmark and coverage jobs
  • feat(cli): support --jsdoc flag on compas lint (#713)
  • feat(code-gen): expose baseKeys for generated hooks (#709)
  • feat(code-gen): make queryKey() generation consistent with baseKey() (#714)
  • fix(code-gen): ensure a jsdoc stable output without jsdoc linter (#711)

Thanks to @rodymolenaar for the baseKey generation!

v0.0.117

21 Feb 19:08
c240546
Compare
Choose a tag to compare
  • build(deps): bump @types/node from 14.14.27 to 14.14.31 (#689, #698, #705)
  • build(deps): bump c8 from 7.5.0 to 7.6.0 (#695)
  • build(deps): bump mime-types from 2.1.28 to 2.1.29 (#693)
  • chore(changelog): skip dev-deps updates in the changelog generator
  • ci: add benchmarks as a requirement for dependabot auto merge
  • docs(cli): expand exported function documentation for the cli (#696)
  • docs(server): expand exported function documentation
  • docs(store): expand exported function documentation
  • feat(code-gen): expose query key functions for generated hooks (#702)
  • feat(lint-config): add support for JSDoc linting (#707)
  • fix(code-gen): date validator should support special string cases (#706)
  • fix(code-gen): fix missing relation type in sub query builder (#700)
  • fix(stdlib): handle 'undefined' in AppError#format (#701)

It is expected that react-query generator consumers move to the generated queryKey functions in this release, as the next release may break the query keys. For JSDoc linting it currenlty is only enabled when the env variable CI is set to true, so CI=true yarn compas lint. Thanks to @tjonger for the query builder fix!

v0.0.116

14 Feb 16:00
240f978
Compare
Choose a tag to compare
  • build(deps): bump @types/node from 14.14.25 to 14.14.27 (#672, #680)
  • build(deps): bump eslint from 7.19.0 to 7.20.0 (#681)
  • build(deps): bump postgres from 2.0.0-beta.3 to 2.0.0-beta.4 (#683)
  • build(deps-dev): bump @types/react from 17.0.1 to 17.0.2 (#679)
  • build(deps-dev): bump react-query from 3.8.2 to 3.9.4 (#671, #682, #686)
  • build(deps-dev): bump typescript from 4.1.3 to 4.1.5 (#669, #670)
  • docs(stdlib): expand a bunch of doc blocks on exported functions
  • docs: fix order of website synced files
  • feat(code-gen): stable query builder join key generation (#684)
  • feat(stdlib): remove pipeline from streamToBuffer (#687)
  • feat(store): add event to queue worker handler (#685)
  • fix(cli): proper exit on test worker failure (#668)
  • fix(cli,store): fix dynamic imports with absolute url on windows (#667)
  • fix(stdlib): force use of Posix path join (#676)

The only breaking change can be found in this issue.

v0.0.115

07 Feb 19:25
2bb5252
Compare
Choose a tag to compare
  • build(deps): bump @types/node from 14.14.22 to 14.14.25 (#652, #658)
  • build(deps-dev): bump @types/react from 17.0.0 to 17.0.1 (#650)
  • build(deps-dev): bump fastest-validator from 1.9.0 to 1.10.0 (#653)
  • build(deps-dev): bump react-query from 3.6.0 to 3.8.2 (#659, #664)
  • code-gen: add error for unused oneToMany relations (#657)
  • code-gen: support multiple 'viaXxx' in the query builder (#661)
  • docs: consistent JSDoc return usage, add since tag to insight exports
  • feat(store): handler timeout for job queue (#663)
  • feat(store): max retry count on job failures (#662)
  • server: catch errors while creating and closing a test app (#656)

For a detailed description and more details about this release, please read the release notes.

v0.0.114

02 Feb 21:02
8b81230
Compare
Choose a tag to compare
  • build(deps): bump c8 from 7.4.0 to 7.5.0 (#641)
  • ci: revert release automation, go back to auto changelog
  • code-gen: add file validator support (#649)
  • code-gen: fix field types of update partial for optional fields (#647)
  • code-gen: fix float support in sql structure generator (#646)
  • store: add stringifyQueryPart function (#648)

v0.0.113

01 Feb 19:45
Compare
Choose a tag to compare
  • build(deps): bump eslint from 7.18.0 to 7.19.0 (#634)
  • chore: fix lint of workflow files
  • ci: auto-merge dependabot PR's
  • ci: automate release process (#635)
  • ci: use default merge method for dependabot PR's
  • code-gen: detect reference recursion when converting from OpenApi (#640)
  • code-gen: error when JS keywords are used as group names (#638)
  • code-gen: fix names for optional, pick, omit and searchable type (#639)

v0.0.112

27 Jan 19:52
2c3d8dc
Compare
Choose a tag to compare
  • code-gen: add $raw to generated where clause builder (#633)
  • code-gen: simplify generated select query via query builder (#632)
  • code-gen: throw when generated queryBuilder function is awaited (#631)

v0.0.111

24 Jan 20:02
860c328
Compare
Choose a tag to compare
  • build(deps): bump @types/node from 14.14.21 to 14.14.22 (#622)
  • build(deps): bump eslint-config-prettier from 7.1.0 to 7.2.0 (#621)
  • build(deps): bump postgres from 2.0.0-beta.2 to 2.0.0-beta.3 (#623)
  • build(deps-dev): bump react-query from 3.5.15 to 3.6.0 (#620, #627)
  • cli: cleaner test output on failed results (#628)
  • code-gen: generate queries per model in a file (#629)
  • stdlib: add types to process errors (#626)
  • stdlib: use crypto randomUUID if available (#619)
  • store: force call setStoreQueries (#630)