Skip to content

Releases: RobinBlomberg/kysely-codegen

0.15.0

18 Apr 11:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.14.0...0.15.0

0.14.0

17 Mar 20:35
Compare
Choose a tag to compare

What's Changed

  • Add a skip-domains flag for postgres by @RobinClowers in #136
  • Update compatible tedious versions by @timclark97 in #137
  • Set kysely-bun-worker as an optional peer dep by @arempe93 in #138
  • typescript comments based on columns comments by @elitan in #139
  • feat: runtime enum support by @lsnow99 in #131

New Contributors

Full Changelog: 0.13.0...0.14.0

0.13.0

07 Mar 07:25
Compare
Choose a tag to compare

What's Changed

  • fix: add 'bun-sqlite' in VALID_DIALECTS by @mtt-artis in #129
  • Add MSSQL Support by @timclark97 in #128
  • Add include/exclude pattern instructions to README.md by @divmgl in #133
  • Expand environment variables from .env by @iffa in #130

New Contributors

  • @mtt-artis made their first contribution in #129
  • @timclark97 made their first contribution in #128
  • @divmgl made their first contribution in #133
  • @iffa made their first contribution in #130

Full Changelog: 0.12.0...0.13.0

0.12.0

07 Jan 19:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.11.0...0.12.0

0.11.0

14 Oct 14:30
Compare
Choose a tag to compare

Lots of great contributions! Thank you to everyone contributing and submitting issues and ideas.

What's Changed

New Contributors

Full Changelog: 0.10.0...0.11.0

0.10.0

20 Mar 23:21
Compare
Choose a tag to compare
  • Added --schema CLI option to specify the default schema - thanks @eGust!
  • Fixed so that the process quickly exits as soon as the CLI finishes - thanks @lbguilherme!
    • Previously, the process would hang a bit before exiting if it had failed to connect with SSL.
  • Fixed so that data types are correctly separated by schema
    • I.e. if you have the enums public.status and test.status, and the default schema is public, it will now generate the separate union types Status and TestStatus, instead of conflating them with each other.
  • Upgraded dependencies

0.9.0

02 Jan 10:10
Compare
Choose a tag to compare
  • Added support for passing database connection to generator
  • Added type-only imports and added --type-only-imports CLI option (default: true)
    • The generated code now uses the TypeScript 3.8+ import type syntax to avoid generating unnecessary JavaScript code
  • Fixed SQLite booleans not being parsed as numbers - thanks @valtyr!
  • Made tests platform-agnostic (using the SQLite in-memory database instead of a hard-coded path)
  • Removed obsolete usage of RawBuilder
  • Updated better-sqlite3 peerDependency version to support version 8 - thanks @spa5k!
  • Updated dependencies

Closes #47, #49 and #51.

0.8.0

04 Nov 09:15
Compare
Choose a tag to compare

Notable changes

  • Added support for PostgreSQL scalar arrays (e.g. TEXT[]) - thanks @johynpapin!
  • Included --include-pattern and --exclude-pattern options in programatic API - thanks @antoineneff!
  • Fixed crash when using programmatic API
  • Fixed camel-case output

0.7.0

13 Oct 05:27
Compare
Choose a tag to compare

Notable changes

  • Added MySQL/PostgreSQL enum support
  • Added --include-pattern and --exclude-pattern CLI options
  • Adjusted programmatic API
  • Loosened peer dependency requirement

0.6.0

09 Sep 06:45
Compare
Choose a tag to compare

Notable changes

  • Added support for inserting numbers into Decimal fields
  • Added support for using RawBuilder in Timestamp fields
  • Improved json and jsonb typings