From 72625199980f434ea57a7476602f351b2a087beb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 09:46:45 +0000 Subject: [PATCH] chore(2.x): release 2.21.0 --- .github/.release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json index cd831143..d7786c12 100644 --- a/.github/.release-please-manifest.json +++ b/.github/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.20.0" + ".": "2.21.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 841d6073..5c70b29a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [2.21.0](https://github.com/cycle/database/compare/2.20.0...2.21.0) (2026-06-24) + + +### Features + +* **OnConflict:** index-inference predicate for ON CONFLICT (Postgres/SQLite) ([#258](https://github.com/cycle/database/issues/258)) ([bdd2cea](https://github.com/cycle/database/commit/bdd2cea509efbb1c63d35d14c4addb55ea0cc005)) + + +### Bug Fixes + +* **MySQL:** omit row alias on upsert DO NOTHING — the alias made the no-op `col = col` ambiguous at runtime ([bdd2cea](https://github.com/cycle/database/commit/bdd2cea509efbb1c63d35d14c4addb55ea0cc005)) +* **Postgres:** unquote EXCLUDED in upsert DO UPDATE — quoted "EXCLUDED" broke every update-branch upsert at runtime ([bdd2cea](https://github.com/cycle/database/commit/bdd2cea509efbb1c63d35d14c4addb55ea0cc005)) + ## [2.20.0](https://github.com/cycle/database/compare/2.19.0...2.20.0) (2026-06-11)