Skip to content

Releases: kysely-org/kysely-ctl

v0.8.6 - exit(1) on migration error.

07 Jun 10:19
Compare
Choose a tag to compare

Hey πŸ‘‹

With this patch release, migration commands correctly exit(1) on error.

Full Changelog: v0.8.5...v0.8.6

v0.8.5 - allow file name prefix override @ `kysely <module>:make`.

05 Jun 22:14
Compare
Choose a tag to compare

Hey πŸ‘‹

This patch release allows overriding migrate make and seed make output file prefixes in the config file.

To use Knex's timestamp prefixes:

import { defineConfig, getKnexTimestampPrefix } from "kysely-ctl";

export default defineConfig({
  // ...
  migrations: {
    // ...
    getMigrationPrefix: getKnexTimestampPrefix,
    // ...
  },
  // ...
});

To not have prefixes for seed files:

export default defineConfig({
  // ...
  seeds: {
    // ...
    getSeedPrefix: () => '',
    // ...
  },
  // ...
});

Full Changelog: v0.8.4...v0.8.5

v0.8.4 - npm readme refresh, nothing more

30 May 21:44
Compare
Choose a tag to compare

Hey πŸ‘‹

Nothing really. Just refreshing the readme @ npm.

Full Changelog: v0.8.3...v0.8.4

v0.8.3 - fix esm ts file imports not working on windows.

28 May 23:18
Compare
Choose a tag to compare

Hey πŸ‘‹

This patch release makes esm + windows work. Previously it would fail due to file paths missing file:// prefix.

Full Changelog: v0.8.2...v0.8.3

v0.8.2 - fix not exiting after migrations/seeds.

28 May 11:53
Compare
Choose a tag to compare

Hey πŸ‘‹

This patch release ensures kysely.destroy() runs so commands are not hanging til connection timeout.

Full Changelog: v0.8.1...v0.8.2

v0.8.1 - remove obstacles for deno usage

28 May 08:58
Compare
Choose a tag to compare

Hey πŸ‘‹

This patch release fixes process.cwd and tsx related issues that were blocking deno usage.

Full Changelog: v0.8.0...v0.8.1

v0.8.0 - fetch latest directly from npm registry

26 May 23:08
Compare
Choose a tag to compare

Hey πŸ‘‹

This release fixes:

  • slowness of outdated checks - now directly fetches from npm registry API.
  • outdated checks not working in bun and probably deno, causing an error.

Full Changelog: v0.7.1...v0.8.0

v0.7.1 - fix TS file import not working in CommonJS projects.

26 May 18:07
Compare
Choose a tag to compare

Hey πŸ‘‹

This patch release should fix TSFileMigrationProvider only working in esm projects ("type": "module"). Now projects still on CommonJS, which is most projects, should be able to load TS migration files.

Full Changelog: v0.7.0...v0.7.1

v0.7.0 - kysely seed list|run

18 May 21:19
Compare
Choose a tag to compare

Hey πŸ‘‹

new stuff:

kysely seed list [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely seed run [--cwd] [--debug] [--environment] [--no-outdated-check] [--specific]
kysely seed:run [--cwd] [--debug] [--environment] [--no-outdated-check] [--specific]

that's it. that's the release.

Full Changelog: v0.6.0...v0.7.0

v0.6.0 - dependencies changes

17 May 12:36
Compare
Choose a tag to compare

Hey πŸ‘‹

We moved a bunch of "mandatory" dependencies from peerDependencies to dependencies. relevant to #4.
Kysely v0.18.1 is now the minimal version.

Full Changelog: v0.5.0...v0.6.0