what stackpulse tracks
Kysely releases from GitHub
StackPulse watches Kysely release notes and keeps the original source link close to every summary.
Type-safe SQL query builder for TypeScript StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.
what stackpulse tracks
StackPulse watches Kysely release notes and keeps the original source link close to every summary.
upgrade risk
Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.
migration notes
Migration steps and recommended actions are only shown when the upstream release notes support them.
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.
This release fixes migration timestamp ordering when the system clock moves backwards, preventing valid migration histories from being treated as corrupted. It also fixes JSON-path type inference and PostgreSQL/PGlite subquery behavior, and includes a breaking change to the typing API for `key()` and `at()`.
Users relying on the second type argument to `key()` or `at()` must update their code; users with previously out-of-order migration timestamps may need to repair their migration table.
Update affected `key()` and `at()` calls to use `$castTo<T>()`, and repair existing out-of-order migration timestamps using the provided query for your database dialect if applicable.
This maintenance release backports PostgreSQL transaction fixes from 0.29.8. Failed rollbacks now cause their clients to be discarded, and commits that PostgreSQL converts into rollbacks now throw `AbortedTransactionError` instead of reporting success.
Applications using PostgreSQL transactions are affected, especially when rollbacks fail or commits occur on aborted transactions.
Upgrade to 0.28.19 to receive the PostgreSQL transaction fixes.
This release fixes two PostgreSQL transaction issues. Clients are discarded after a failed rollback, and commits that PostgreSQL converts into rollbacks now throw `AbortedTransactionError` instead of appearing successful.
Applications using Kysely with PostgreSQL transactions are affected; aborted commits are now reported as errors and failed-rollback clients are not reused.
This maintenance release backports bug fixes from the 0.29 line, focusing on transaction handling, connection leaks, and migration locking for PostgreSQL and MSSQL.
Users relying on controlled transactions or PostgreSQL/MSSQL migrations with `disableTransactions: true` may be affected by connection leaks or race conditions.
Update to v0.28.18 to benefit from bug fixes, especially if using controlled transactions or PostgreSQL/MSSQL migrations.
This release focuses on bug fixes, particularly addressing connection leaks, shared completion state, and command-query race conditions in controlled transactions. It also includes PostgreSQL and MSSQL-specific fixes.
Users relying on controlled transactions or PostgreSQL/MSSQL integrations may be affected by connection leaks or command-query race conditions.
Update to this version to benefit from transaction-related fixes and improved stability.
This release includes minor bug fixes and documentation updates for Kysely, with no breaking changes or new features.
view details view source on github->This release introduces new migration transaction modes, a `defineMigration` helper, and support for `mysql2/promise`. It also includes various type-level improvements and a new `stream` method for raw queries.
Users relying on `disableTransactions` or MySQL introspection of system databases will be affected.
Update migration configurations to use the new `transactionMode` property and review MySQL introspection results.
This release focuses on bug fixes and documentation improvements, including optimizations for TypeScript 7 compatibility and enhancements to the docs site.
Users experiencing TypeScript 7 performance issues or relying on the Kysely documentation site may benefit from this release.
This release introduces a new `transactionMode` property for the `Migrator` class, allowing more granular control over transaction behavior during migrations. It also adds support for `mysql2/promise` and introduces a `defineMigration` helper function for easier migration writing.
Users relying on `disableTransactions` or using `BLOB` columns with SQLite JSON helpers are affected.
Update migration configurations to use `transactionMode` instead of `disableTransactions`.
This release introduces a new `transactionMode` property for the `Migrator` class, allowing more granular control over transaction behavior during migrations. It also deprecates `disableTransactions` in favor of the new `transactionMode` options.
Users relying on `disableTransactions` or using SQLite JSON helpers with `BLOB` columns are affected.
Update migration configurations to use the new `transactionMode` property and avoid passing `BLOB` columns to SQLite JSON helpers.
A small batch of bug fixes addressing PostgreSQL and SQLite issues.
Users of PostgreSQL and SQLite in Kysely may be affected by the fixed bugs.
Update to version 0.29.4 if you encounter issues with PostgreSQL password passing or SQLite returning clauses in delete queries.
This release primarily includes bug fixes for PostgreSQL and MSSQL migrations, dependency updates, and documentation improvements.
Users relying on PostgreSQL or MSSQL migrations with disabled transactions may be affected by the bug fix.
Update to this version if you encounter issues with PostgreSQL or MSSQL migrations when using 'disableTransactions: true'.
This release focuses on bug fixes, particularly addressing an issue with `$narrowType` mishandling branded types.
Users relying on `$narrowType` with branded types may be affected by the bug fix.
Update to version 0.29.2 if you encounter issues with `$narrowType` and branded types.
This release focuses on bug fixes and CI/CD improvements, including a fix for a regression in plugin result transformations and enhanced GitHub workflow security.
Users experiencing issues with plugin result transformations are directly affected.
Upgrade to version 0.29.1 to benefit from the bug fixes and CI improvements.
This release introduces several significant features, including `$pickTables` and `$omitTables` for narrowing query scope, a new `ReadonlyKysely<DB>` helper type for compile-time readonly instances, and a new PGlite dialect. Additionally, it adds support for query cancellation and improves type narrowing with `$narrowType`.
Developers using `withTables`, `expression` functions in `create/add index`, or migration exports from the root will need to update their code.
Update code to use `$pickTables`, `$omitTables`, `$extendTables`, `column` and `columns` functions, and migration exports from `kysely/migration`.
This release focuses on bug fixes, particularly hardening JSON path methods `.key(...)` and `.at(...)` against SQL injections and exfiltrations.
Users relying on JSON path methods `.key(...)` and `.at(...)` are affected by security improvements.
Update to this version to benefit from the security fixes.
This release introduces several new features including `$pickTables`, `$omitTables`, and `ReadonlyKysely<DB>` helpers, a new PGlite dialect, and query cancellation support. It also includes deprecations and breaking changes related to TypeScript version requirements and migration exports.
Users relying on deprecated methods or older TypeScript versions will need to update their codebase.
Upgrade TypeScript to version 5.4 or higher and replace deprecated methods with new alternatives.