Skip to content

Commit

Permalink
Bump version to 5.74.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Nov 1, 2023
1 parent a968cf7 commit 96e6d46
Show file tree
Hide file tree
Showing 3 changed files with 47 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.74.0 (2023-11-01)

* Make generated columns show up in Database#schema when using SQLite 3.37+ (jeremyevans) (#2087)

Expand Down
45 changes: 45 additions & 0 deletions doc/release_notes/5.74.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
= New Features

* Sequel.migration blocks now support a revert method, which reverts
the changes in the block on up, and applies them on down. So if
you have a migration such as:

Sequel.migration do
change do
create_table :table do
# ...
end
end
end

and you later want to add a migration that drops the table, you
can use:

Sequel.migration do
revert do
create_table :table do
# ...
end
end
end

This will drop the table when migrating up, and create a table
with the given schema when migrating down.

* is_json and is_not_json methods have been added to the pg_json_ops
extension, for the IS [NOT] JSON operator supported in PostgreSQL
16+. These were previously added in Sequel 5.59.0, and removed
in Sequel 5.61.0 as support was removed in PostgreSQL 15 beta 4.
PostgreSQL 16 shipped with support for them, so support has been
recommitted to Sequel.

= Other Improvements

* SQLite generated columns now show up in Database#schema when using
SQLite 3.37+.

* Sequel now attempts to avoid an infinite loop in pathlogical cases
in the jdbc adapter, where the exception cause chain has a loop.
Additionally, if an exception is already recognized as a disconnect,
or an exception already responds to a getSQLState method, Sequel no
longer looks at the causes of the exception.
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 = 73
MINOR = 74

# The tiny version of Sequel. Usually 0, only bumped for bugfix
# releases that fix regressions from previous versions.
Expand Down

0 comments on commit 96e6d46

Please sign in to comment.