| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.28.18 source code.tar.gz | 2026-10-17 | 15.0 MB | |
| 0.28.18 source code.zip | 2026-10-17 | 15.3 MB | |
| README.md | 2026-10-17 | 4.2 kB | |
| Totals: 3 Items | 30.2 MB | 0 | |
Hey π
A small batch of bug fixes. Please report any issues. π€π°π€
This maintenance release backports bug fixes and documentation improvements from the 0.29 line.
Controlled transactions get fixes for connection leaks, shared completion state, and commands racing with ongoing queries:
- Commit, rollback, and savepoint commands now wait for ongoing queries and streams to finish.
- Close or exhaust active streams before awaiting these commands.
- A failed rollback now releases the connection and marks the transaction as rolled back.
PostgreSQL and MSSQL now use session-level migration locks, including with disableTransactions: true. PostgreSQL migrations through PgBouncer transaction pooling need a direct connection, session pooling, or custom migration locking.
π Features
π Bugfixes
- fix: allow explicit
undefinedinUpdateablewithexactOptionalPropertyTypes. by @y-hsgw in https://github.com/kysely-org/kysely/pull/1496 - fix infinite type check recursion by @koskimas in https://github.com/kysely-org/kysely/pull/1960
- fix: release controlled transaction connection when begin fails by @igalklebanov in https://github.com/kysely-org/kysely/pull/2080
- fix: share completion state between controlled transaction handles by @igalklebanov in https://github.com/kysely-org/kysely/pull/2090
- fix: release controlled transaction connection when rollback fails by @B4nan in https://github.com/kysely-org/kysely/pull/2136
- fix: serialize controlled transaction commands with queries by @igalklebanov in https://github.com/kysely-org/kysely/pull/2081
PostgreSQL π / MSSQL π₯
- fix: PostgreSQL and MSSQL migrations are not running exclusively when
disableTransactions: true. by @morgan-coded & @igalklebanov in https://github.com/kysely-org/kysely/pull/1919
PostgreSQL π / SQLite π
- fix: allow immutable columns in
doUpdateSet'swhere. by @igalklebanov in https://github.com/kysely-org/kysely/pull/2043
On-conflict WHERE predicates now use column select types, including for columns that cannot be updated.
PostgreSQL π
- refactor(postgres): optimize table metadata parsing in
PostgresIntrospectorby @igalklebanov & @rubenferreira97 in https://github.com/kysely-org/kysely/commit/ba89cc338690f40d07f59a99a741b78a6a992f0d - fix(postgres): release the client when destroyed while acquiring a connection by @abebelagua & @igalklebanov in https://github.com/kysely-org/kysely/pull/2088
SQLite π
- fix(sqlite): output
RETURNINGbeforeORDER BYandLIMITin delete queries. by @igalklebanov in https://github.com/kysely-org/kysely/pull/1946
MSSQL π₯
- fix(mssql): escape
jsonBuildObjectkeys. by @igalklebanov in https://github.com/kysely-org/kysely/pull/2078 - fix(mssql): escape JSON in
jsonBuildObjectby @igalklebanov in https://github.com/kysely-org/kysely/pull/2079
π Documentation
- docs: fix PostgreSQL pool in plugin example by @igalklebanov in https://github.com/kysely-org/kysely/pull/2117
- docs: describe the
LogEventunion by @igalklebanov in https://github.com/kysely-org/kysely/pull/2121 - docs: clarify shared pool and database instance lifecycles by @igalklebanov in https://github.com/kysely-org/kysely/pull/2143
- Fix typo in
CreateTypeBuilder.asEnumdocstring by @anonpay-sh in https://github.com/kysely-org/kysely/commit/ff15048a8f4db82b576ce93197ea7e648abfbe55
π¦ CICD & Tooling
- ci: prepare
0.28.xmaintenance releases by @igalklebanov in https://github.com/kysely-org/kysely/commit/5e97e1d7fb5e04d421d31b41948fd423d60e0ae8 - ci: publish maintenance releases under the
release-0.28npm tag by @igalklebanov in https://github.com/kysely-org/kysely/commit/44e7c9ae9bf1d4eb827d467ab82a5f62107410d6 - test: adapt earlier
0.29regression tests to0.28APIs by @igalklebanov in https://github.com/kysely-org/kysely/commit/7d037afd322e4d7724af4962d999f61c94d1dd11
β οΈ Breaking Changes
π€ New Contributors
What's Changed
Full Changelog: https://github.com/kysely-org/kysely/compare/v0.28.17...v0.28.18