Releases: kysely-org/kysely-ctl
0.19.0 - environment-specific .env files, new dialect names.
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.
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.
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.
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.
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`.
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
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`.
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.
Hey 👋
How's life?
New features:
-
New
--no-transactionflag formigratecommands, that uses the newMigratorinstantiation-leveldisableTransactionsflag. It runs the migrations without a transaction - which sometimes is required, e.g. PostgreSQL'sCREATE INDEX CONCURRENTLY. This flag won't work, for now, if you're providing aMigratorfactory in your config files - in that case, you'll have to manually providedisableTransactions. -
You should now be able to import values from
jsx/tsxfiles in your config or migrations. by @yinonburgansky in #208
Breaking changes:
- Some dependency version bumps.
Full Changelog: v0.13.1...v0.14.0