From 5b78ac7d14df95e526973a0204d3ad2fb85fc502 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Fri, 1 Dec 2023 08:25:41 -0800 Subject: [PATCH] Bump version to 5.75.0 --- CHANGELOG | 2 +- doc/release_notes/5.75.0.txt | 35 +++++++++++++++++++++++++++++++++++ lib/sequel/version.rb | 2 +- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 doc/release_notes/5.75.0.txt diff --git a/CHANGELOG b/CHANGELOG index 82eddfa9b..910a03bd5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -=== master +=== 5.75.0 (2023-12-01) * Make any_not_empty? extension support passing pattern argument to any? (jeremyevans) (#2100) diff --git a/doc/release_notes/5.75.0.txt b/doc/release_notes/5.75.0.txt new file mode 100644 index 000000000..102483ce5 --- /dev/null +++ b/doc/release_notes/5.75.0.txt @@ -0,0 +1,35 @@ += New Features + +* Database#{defer,immediate}_constraints methods have been added on + PostgreSQL for changing handling of deferrable constraints inside + a transaction. defer_constraints sets deferrable constraints to + be deferred (not checked until transaction commit), and + immediate_constraints sets deferrable constraints to be checked + as part of the related query, and any already deferred constraint + checks to be applied immediately. You can pass the :constraints + option to only apply the changes to specific constraints. + +* TimestampMigrator.run_single has been added, to migrate a single + migration up or down. + += Other Improvements + +* INSERT RETURNING is now supported on MariaDB 10.5+, and used + automatically when saving new model objects. Note that this + is not supported when using the jdbc adapter, because the + jdbc-mysql driver doesn't support it. A jdbc/mariadb adapter + could be added, as it's likely recent versions of the + jdbc-mariadb driver would support it, but the jdbc-mariadb gem + hasn't been updated in over 4 years. Talk to the jdbc-mariadb + gem maintainers if you want to use this feature with the jdbc + adapter. + +* The Dataset#paged_each optimization in the postgres adapter + now respects the :skip_transaction option, making it the + same as the :hold option. Note that this has effects beyond + just skipping the transaction, but non-HOLD cursors are only + supported inside transactions. + +* The any_not_empty? extension's Dataset#any? method now supports + an argument, passing it to Enumerable#any? (which has supported + an argument since Ruby 2.5). diff --git a/lib/sequel/version.rb b/lib/sequel/version.rb index cff664ecf..c1e77c170 100644 --- a/lib/sequel/version.rb +++ b/lib/sequel/version.rb @@ -6,7 +6,7 @@ module Sequel # The minor version of Sequel. Bumped for every non-patch level # release, generally around once a month. - MINOR = 74 + MINOR = 75 # The tiny version of Sequel. Usually 0, only bumped for bugfix # releases that fix regressions from previous versions.