Skip to content

Commit

Permalink
Bump version to 5.75.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Dec 1, 2023
1 parent e728617 commit 5b78ac7
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=== master
=== 5.75.0 (2023-12-01)

* Make any_not_empty? extension support passing pattern argument to any? (jeremyevans) (#2100)

Expand Down
35 changes: 35 additions & 0 deletions doc/release_notes/5.75.0.txt
Original file line number Diff line number Diff line change
@@ -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).
2 changes: 1 addition & 1 deletion lib/sequel/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5b78ac7

Please sign in to comment.