v0.29.8
0.29.8
Changed 1
- Controlled PostgreSQL transactions whose commit is turned into a rollback are marked as rolled back and release their connection, and a subsequent rollback().execute() safely succeeds without sending another rollback
Fixed 2
- PostgreSQL clients whose rollback fails are discarded instead of being returned to the pool for reuse
- PostgreSQL commits that are turned into rollbacks now throw AbortedTransactionError instead of reporting success behavior changed · inferred, marked in the notes below
1 change to check, marked in the notes below
From Kysely
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
PostgreSQL transactions get two fixes:
- Clients whose rollback fails are discarded instead of returned to the pool for reuse.
- Commits that PostgreSQL turns into rollbacks now throw
AbortedTransactionErrorinstead of reporting success. Controlled transactions are marked as rolled back and release their connection; a subsequentrollback().execute()safely succeeds without sending another rollback. behavior changed · inferred
🚀 Features
🐞 Bugfixes
PostgreSQL 🐘
- fix(postgres): discard clients after failed rollbacks by @igalklebanov in https://github.com/kysely-org/kysely/pull/2155
- fix(postgres): reject commits that roll back aborted transactions by @igalklebanov in https://github.com/kysely-org/kysely/pull/2161
📖 Documentation
- fix(site): prevent quote grid resize loops by @igalklebanov in https://github.com/kysely-org/kysely/pull/2158
- docs(site): compare SQL query builders and ORMs by @igalklebanov in https://github.com/kysely-org/kysely/pull/2181
- docs(site): add TREK to proof wall by @igalklebanov in https://github.com/kysely-org/kysely/pull/2196
- docs(site): add Craig to proof wall by @igalklebanov in https://github.com/kysely-org/kysely/pull/2197
- docs(site): compare SQL query builders and raw SQL in TypeScript by @igalklebanov in https://github.com/kysely-org/kysely/pull/2182
📦 CICD & Tooling
⚠️ Breaking Changes
🐤 New Contributors
What's Changed
Full Changelog: https://github.com/kysely-org/kysely/compare/v0.29.7...v0.29.8