Skip to content

fix(deps): update dependency kysely-ctl to ^0.20.0#509

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/kysely-ctl-0.x
Open

fix(deps): update dependency kysely-ctl to ^0.20.0#509
renovate[bot] wants to merge 1 commit intomainfrom
renovate/kysely-ctl-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2026

This PR contains the following updates:

Package Change Age Confidence
kysely-ctl (source) ^0.12.0^0.20.0 age confidence

Release Notes

kysely-org/kysely-ctl (kysely-ctl)

v0.20.0: 0.20.0 - esm only, args before subcommands.

Compare Source

Hey 👋

Starting from this release, we're dropping dual-package publishing. Only ESM will be shipped from now on, decreasing the install size/time of the package quite significantly. This is fine given that require(esm) is widely available for Node.js users. This only affects you if you're on CommonJS and import the programmatic APIs from this package - you'll need to use a dynamic import instead.

You can now pass arguments before subcommands. e.g. kysely --config=<path> migrate up is now supported.

Full Changelog: kysely-org/kysely-ctl@v0.19.0...v0.20.0

v0.19.0: 0.19.0 - environment-specific .env files, new dialect names.

Compare Source

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, '@&#8203;neondatabase/serverless', '@&#8203;prisma/ppg' and 'bun' were added as dialect names and the matching kysely dialect packages were added as optional peer dependencies.

Full Changelog: kysely-org/kysely-ctl@v0.18.0...v0.19.0

v0.18.0: 0.18.0 - resolve versions from catalogs, kysely sql fix.

Compare Source

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: kysely-org/kysely-ctl@v0.17.0...v0.18.0

v0.17.0: 0.17.0 - multi-config.

Compare Source

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: kysely-org/kysely-ctl@v0.16.0...v0.17.0

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

Compare Source

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: kysely-org/kysely-ctl@v0.15.3...v0.16.0

v0.15.3: 0.15.3 - fix paths resolution when tsconfig doesn't extend anything.

Compare Source

Hey 👋

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

Full Changelog: kysely-org/kysely-ctl@v0.15.2...v0.15.3

v0.15.2: 0.15.2 - fix paths resolution when no baseUrl.

Compare Source

Hey 👋

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

Full Changelog: kysely-org/kysely-ctl@v0.15.1...v0.15.2

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

Compare Source

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: kysely-org/kysely-ctl@v0.15.0...v0.15.1

v0.15.0: - inherited tsconfig paths.

Compare Source

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: kysely-org/kysely-ctl@v0.14.0...v0.15.0

v0.14.0: - --no-transaction flag.

Compare Source

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: kysely-org/kysely-ctl@v0.13.1...v0.14.0

v0.13.1

Compare Source

Hey 👋

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

Full Changelog: kysely-org/kysely-ctl@v0.13.0...v0.13.1

v0.13.0: - migrator/seeder factory, lazy resources, sql module.

Compare Source

Hey 👋

NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR. NEW MINOR.

New features:

  • kysely sql <query> and kysely sql (interactive sql querying) were added. Use the resolved Kysely instance to query your database with some raw SQL in the terminal.

  • resources such as dialectConfig, dialect (instance), kysely, provider can now be passed as callbacks - for lazy instantiation. This is nice for environment-specific configuration.

  • a destroyOnExit option was added to allow not destroying the resolved Kysely instance and possible underlying pools/connections.

Breaking changes:

migrator and seeder can only be passed as callbacks of shape:

-migrator: new Migrator({ db: new Kysely(...), ... })
+migrator: (db) => new Migrator({ db, ... })

-seeder: new Seeder({ db: new Kysely(...), ... })
+seeder: (db) => new Seeder({ db, ... })

This change is done to promote the usage of the resolved Kysely instance (from dialect or kysely props) when instantiating a Migrator or Seeder. Why? because otherwise you might end up with code that destroys the wrong Kysely instance, and doesn't exit.

Thanks to @​lourd for raising the issue and providing the first necessary changes.

Full Changelog: kysely-org/kysely-ctl@v0.12.2...v0.13.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/kysely-ctl-0.x branch from b41f482 to e1c23af Compare March 19, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants