Kysely v0.28.20
0.28.20
This maintenance release backports fixes from 0.29.9, including fixes for `withSchema` behavior in certain subqueries and JSON path type inference. The migrator now preserves increasing migration timestamps when the system clock moves backward, and rejects executed migrations with invalid timestamps. A change to the `key()` and `at()` type-argument API is also noted as breaking.
Users of `key()` or `at()` with a second type argument must update those calls, and users with previously out-of-order migration timestamps may need to repair their migration table.
Update `key()` and `at()` calls that use a second type argument to use `$castTo<T>()`; repair existing out-of-order migration timestamps as described if applicable.
- 01If your migration table already contains out-of-order timestamps, run the one-time repair query for your database dialect while no migrations are running. Replace `kysely_migration` with the actual migration table name, including its schema if applicable. Skip this repair when `allowUnorderedMigrations: true` is enabled.
# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.