Skip to content

Releases: compasjs/compas

v0.0.100

15 Nov 22:09
1f105a0
Compare
Choose a tag to compare
  • build(deps): bump @types/node from 14.14.6 to 14.14.7 (#486)
  • cli: better timeout error message in the test runner
  • cli: log response status in proxy (#489)
  • code-gen: better error message when loading from remote.
  • code-gen: support setting primary key in generated insert queries (#491)
  • server: expose x-request-id in CORS headers (#490)

v0.0.99

08 Nov 18:50
b857b18
Compare
Choose a tag to compare
  • build(deps): bump eslint from 7.12.1 to 7.13.0 (#485)
  • build(deps-dev): bump react from 16.14.0 to 17.0.1 (#478)
  • cli: better error messages when graphviz is not installed (#480)
  • cli: visualise use format and output from cli arguments (#484)
  • code-gen: add raw value support to AnyType
  • code-gen: fix deletedAt check with Date in the future (#483)
  • code-gen: micro optimization in array validators

The most notable feature is T.any().raw("QueryPart", { typeScript: "import { QueryPart } from '@lbu/store';" }) support. This allows you to generate correct typings and integrate with native types provided by the platform or other packages. There should be no breaking changes.

v0.0.98

05 Nov 21:17
Compare
Choose a tag to compare
  • build(deps-dev): bump react-query from 2.25.2 to 2.26.2 (#465, #474)
  • cli: add visualise command, sql only (#472)
  • code-gen: add field checks to partials when on staging (#477)
  • code-gen: various small fixes (#475)
  • store: various migration error handling improvements (#476)

No release notes, but migration file has changed, so a database reset is necessary. We also are stricter on input values in the query partials, so expect tests breaking.

v0.0.97

04 Nov 10:07
Compare
Choose a tag to compare
  • code-gen: fix generating ES Modules when it's not needed

v0.0.96

04 Nov 09:32
Compare
Choose a tag to compare
  • bench: add yup and fastest-validators to the benchmarks (#463)
  • code-gen: always use string for date in browser environments
  • code-gen: only use an extensions in imports in ES Modules (#464)

v0.0.95

02 Nov 13:05
Compare
Choose a tag to compare
  • code-gen: some refactoring for more correct type output

v0.0.94

01 Nov 19:48
Compare
Choose a tag to compare
  • code-gen: collect static check errors and pretty print (#457)
  • code-gen: flatten output (#460)
  • code-gen: sort structure imports and root exports (#459)
  • stdlib: add support for util.inspect.custom to AppError (#458)

Structure and validators imports and exports have changed. Make sure to fix these.

v0.0.93

30 Oct 14:37
Compare
Choose a tag to compare
  • insight: remove dependency on stdlib

v0.0.92

30 Oct 14:28
Compare
Choose a tag to compare
  • build(deps): bump @types/node from 14.14.5 to 14.14.6 (#451)
  • code-gen: add more input checks to App.addRelations
  • code-gen: fix TS strict for apiClient with file uploads
  • code-gen: fix missing response when importing from OpenApi spec
  • code-gen: fix recursive types with a suffix
  • code-gen: fix whereIn and whereNotIn generation
  • code-gen: process data before resolving addRelations
  • stdlib: cache environment variables (#454)

v0.0.91

29 Oct 08:17
Compare
Choose a tag to compare
  • code-gen: fix default allowNull on uuid type