Skip to content

Releases: kysely-org/kysely-ctl

0.19.0 - environment-specific .env files, new dialect names.

06 Sep 16:36

Choose a tag to compare

Hey 👋

This release introduces .env.${args.environment} loading support.
When using the --environment/-e argument, both your environment-specific configuration AND your environment-specific secrets overrides will be loaded. Thanks @vladshcherbin!

It also fixes a regression that caused .env files to not be loaded when your config file is in a .config folder.

Also, '@neondatabase/serverless', '@prisma/ppg' and 'bun' were added as dialect names and the matching kysely dialect packages were added as optional peer dependencies.

Full Changelog: v0.18.0...v0.19.0

0.18.0 - resolve versions from catalogs, kysely sql fix.

30 Aug 00:43

Choose a tag to compare

Hey 👋

Small release.

Dependencies added or bumped.
Version resolution now should work with workspace catalogs.
kysely sql non-global regex error fixed by @andybarron in #250.

Full Changelog: v0.17.0...v0.18.0

0.17.0 - multi-config.

17 Aug 23:52

Choose a tag to compare

Hey 👋

This release is all about multi-config setups. Thus far we only supported single file - multiple environment overrides. Now we also support multiple config files.

You can now use the extends config property to inherit and override other config files by providing their path/s. Same as you'd do in stuff like tsconfig.json. (#248)

You can now override config resolution and point the CLI to a specific config path via the new -c/--config argument. e.g. use a kysely.test.config.ts for testing purposes. (#248)

Full Changelog: v0.16.0...v0.17.0

0.16.0 - finds config, absolute/relative to config migration/seed folder paths.

16 Aug 22:33

Choose a tag to compare

Hey 👋

This is a nice one for DX.

You can now run commands anywhere in your project and it will search and find your kysely.config file. (#246)

Migration/seed folder paths are no longer awkward in kysely.config. They're now relative to the config file's location, not the working directory the command was run from OR the --cwd value you passed. This is standard stuff we were lacking. You can also provide absolute paths, it should work. (#247)

The latter probably introduces a breaking change to those of you who configured this previously, and you'll need to revisit migrationFolder and seedFolder. Run migrate list and seed list when reconfiguring to verify it finds your existing folders and their contents.

Full Changelog: v0.15.3...v0.16.0

0.15.3 - fix `paths` resolution when `tsconfig` doesn't extend anything.

15 Aug 10:33

Choose a tag to compare

Hey 👋

This release includes a fix for --experimental-resolve-tsconfig-paths usage when tsconfig doesn't extend anything.

Full Changelog: v0.15.2...v0.15.3

0.15.2 - fix `paths` resolution when no `baseUrl`.

15 Aug 00:55

Choose a tag to compare

Hey 👋

This release includes a fix for --experimental-resolve-tsconfig-paths usage when baseUrl is not defined in your tsconfigs. Thanks @silas.

Full Changelog: v0.15.1...v0.15.2

v0.15.1 - dont crash when failing to get latest version tags

08 Aug 10:46

Choose a tag to compare

Hey 👋

This small patch makes sure that your commands succeed even when npm is down and requests for latest kysely and kysely-ctl version tags fail (for the update notice).

Full Changelog: v0.15.0...v0.15.1

v0.15.0 - inherited `tsconfig` `paths`.

08 Aug 09:24

Choose a tag to compare

Hey 👋

With this release, you can now use --experimental-resolve-tsconfig-paths with paths defined in tsconfigs extended by the nearest one.

Now Svelte users can refer to $lib and other paths they defined in svelte.config.js that are codegen'd into .svelte-kit/tsconfig.json and extended by their tsconfig.json files.

Full Changelog: v0.14.0...v0.15.0

v0.14.0 - `--no-transaction` flag.

22 Jul 00:45

Choose a tag to compare

Hey 👋

How's life?

New features:

  • New --no-transaction flag for migrate commands, that uses the new Migrator instantiation-level disableTransactions flag. It runs the migrations without a transaction - which sometimes is required, e.g. PostgreSQL's CREATE INDEX CONCURRENTLY. This flag won't work, for now, if you're providing a Migrator factory in your config files - in that case, you'll have to manually provide disableTransactions.

  • You should now be able to import values from jsx/tsx files in your config or migrations. by @yinonburgansky in #208

Breaking changes:

  • Some dependency version bumps.

Full Changelog: v0.13.1...v0.14.0

v0.13.1

25 May 05:57

Choose a tag to compare

Hey 👋

Added a slick (I hope) banner to the README.

Full Changelog: v0.13.0...v0.13.1