Skip to content

Releases: kysely-org/kysely-ctl

v0.11.1

15 Feb 23:35
Compare
Choose a tag to compare

Hey πŸ‘‹

This release fixes a regression that causes importing .ts migration files that include top-level await to fail.

v0.11.0 - automatic `tsconfig.paths` resolution.

09 Feb 20:07
Compare
Choose a tag to compare

Hey πŸ‘‹

This release adds automatic tsconfig.paths resolution behind a --experimental-resolve-tsconfig-paths flag, as jiti doesn't do it by design - which caused crashes in setups that have aliases (see #109).

Also:

  • bumps to @arktype/attest, @types/node, nypm, @arethetypeswrong/cli, vitest, pathe, type-fest, pkg-types, consola, better-sqlite3, typescript, tsup.
  • jiti is now part of --debug output.

Full Changelog: v0.10.1...v0.11.0

v0.10.1 - disable `jiti`'s `fsCache` behavior with a flag.

21 Dec 22:29
Compare
Choose a tag to compare

Hey πŸ‘‹

This release adds the --no-filesystem-caching flag to everything. It allows turning off jiti's fsCache behavior. This is crucial in environments that don't allow writing to disk.

Full Changelog: v0.10.0...v0.10.1

v0.10.0 - Top-level `await` support.

21 Dec 16:21
Compare
Choose a tag to compare

Hey πŸ‘‹

This release bumps some dependencies and should resolve #118 because jiti, a transitive dependency through c12, now supports top-level await.

There's also a minor optimization attempt with TypeScript file loading and newer Node.js versions with require(esm) enabled.

Full Changelog: v0.9.0...v0.10.0

v0.9.0 - JavaScript file support.

21 Jul 23:59
Compare
Choose a tag to compare

Hey πŸ‘‹

This release adds optional js, cjs and mjs file support.

kysely init -x js|cjs|mjs is now supported.

if migrations.allowJS is true:

  • kysely migrate make -x js|cjs|mjs is now supported.
  • kysely migrate up|down|latest|rollback won't skip js, cjs and mjs migrations.

if seeds.allowJS is true:

  • kysely seed make -x js|cjs|mjs is now supported.
  • kysely seed run won't skip js, cjs and mjs seeds.

Full Changelog: v0.8.11...v0.9.0

v0.8.11 - fix `seed run` error handling

14 Jul 00:20
Compare
Choose a tag to compare

Hey πŸ‘‹

This release fixes seed run error handling. Now properly prints AggragateErrors and exits with code 1.

Full Changelog: v0.8.10...v0.8.11

v0.8.10 - AggregateError now properly handled

08 Jul 04:53
Compare
Choose a tag to compare

Hey πŸ‘‹

This release provides better handling of AggregateErrors when migrating, now outputting all sub errors.

Full Changelog: v0.8.9...v0.8.10

v0.8.9 - some environment-specific config override related fixes.

29 Jun 22:27
Compare
Choose a tag to compare

Hey πŸ‘‹

This release loosens up environment-specific config overrides' types and aligns the environment flag's value hint with C12's predefined environment names.

That's it. That's the release.

Full Changelog: v0.8.8...v0.8.9

v0.8.8 - pass a `kysely` instance to `defineConfig`.

28 Jun 23:24
Compare
Choose a tag to compare

Hey πŸ‘‹

Now you can pass a kysely instance instead of a dialect name or instance to defineConfig.
Also, defineConfig input types are tighter and tested.

Full Changelog: v0.8.7...v0.8.8

v0.8.7 - improve `--environment` flag description.

20 Jun 10:39
Compare
Choose a tag to compare

Hey πŸ‘‹

This release improves --environment flag's description. This flag is used for c12 environment-specific configuration overrides. Now the description is more accurate and provides a URL to c12's environment-specific configuration section.

image

Full Changelog: v0.8.6...v0.8.7