Sequel 5.86.0 Released #2239
jeremyevans
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sequel 5.86.0 has been released!
New Features
The subset_conditions plugin now supports where_all and where_any
methods for combining existing subsets. It also adds
*_conditions methods for exclude method calls, in addition to
subset and where method calls:
In addition to making code simpler, the where_all method improves
performance compared to defining a dataset method that uses a
method chain to call both methods, and the where_any method improves
performances even more significantly as it allows caching where
the alternative approach would not allow for caching.
The sqlite adapter now supports the :disable_dqs Database option,
to disable treating double quoted values as strings. As described
by the SQLite documentation, treating double quoted values as
strings instead of identifiers is a misfeature. This support
requires SQLite 3.29.0+ and sqlite3 gem version 1.4.3+.
Other Improvements
On PostgreSQL, datasets using an SQL::DelayedEvaluation instance
as the table now support returning the primary key for inserts
and imports.
All jdbc adapters now use Ruby-style module naming instead of
Java-style package naming (e.g. Java::OrgPostgresqlUtil::PGobject
instead of org.postgresql.util.PGobject). This supports loading
the Java packages in separate classloaders.
The schema_dumper extension now uses colons instead of hashrockets
when using Ruby 3.4+ (following the Hash#inspect change in Ruby
3.4.0-preview2).
Backwards Compatibility
tests that expect the hashrocket format, but only on Ruby 3.4+.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions