Sequel 5.85.0 Released #2225
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.85.0 has been released!
New Features
The pg_json_ops extension now supports json_table on PostgreSQL 17+:
A dataset_run extension has been added. This allows you to easily
build SQL using dataset methods, but run the SQL using Database#run:
Other Improvements
The default connection pool on Ruby 3.2+ has switched from threaded
to timed_queue. The timed_queue connection pool has been shown to
have sufficient advantages over the threaded connection pool to
justify the minor backwards compatibility issues (which are
documented below). If you would like to continue using the
the threaded connection pool, you can use the
pool_class: :threaded Database option.
When calling Dataset#get and #first without arguments or blocks,
if the receiver already uses raw SQL, no intermediate datasets are
created. This improves performance, and fixes an issue with
Dataset#get when using the implicit_subquery extension.
Backwards Compatibility
break backwards compatibility if you are accessing the pool directly
and using the available_connections or allocated accessor methods.
If you are using those methods, or a library that uses them, you'll
need to stop using them, or force the use of the threaded connection
pool as described above.
Thanks,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions