Sequel v5.63.0 Release Notes
Release Date: 2022-12-01 // over 2 years ago-
🔌 Make validates_associated plugin avoid database type errors for non-integer association keys (jeremyevans) (#1968)
Make tactical_eager_loading plugin work better with table inheritance plugins (rolftimmermans, jeremyevans) (#1962)
Add support for pool_class: :timed_queue on Ruby 3.2+, using a Queue for available connections (jeremyevans)
👍 Allow :pool_class Database option to be specified as a string to more easily choose a different pool type (jeremyevans)
Use compare_by_identity hashes for Thread-keyed hashes in threaded connection pools (jeremyevans)
↪ Skip use of JRuby workaround on JRuby 9.3.9.0+ in named_timezones extension as JRuby fixed the related bug (jeremyevans)
Previous changes from v5.62.0
-
Add back the pg_auto_parameterize extension for automatically using bound variables when using postgres adapter with pg driver (jeremyevans)
Add pg_extended_integer_support extension for customizing behavior when literalizing a Ruby integer outside PostgreSQL bigint range (jeremyevans)
💎 Raise Postgres::IntegerOutsideBigintRange if attempting to literalize a Ruby integer outside PostgreSQL bigint range (jeremyevans)
Add primary_key_lookup_check_values plugin for typecasting and checking primary key values during lookup (jeremyevans)
Setup validation of minimum and maximum values for integer columns in auto_validations (jeremyevans)
Add validates_max_value and validates_min_value to validation_helpers (jeremyevans)
Include :min_value and :max_value schema entries for integer columns on most databases (jeremyevans)
Don't wrap multi-inserts in a transaction when it's not required (shannoncole, jeremyevans) (#1945)
⚡️ Update mock PostgreSQL adapter to default to PostgreSQL 15 instead of PostgreSQL 14 (jeremyevans)
👌 Support fractional seconds in the named_timezones extension (jeremyevans) (#1943)
🐎 Cache reflection datasets in the postgres adapter to improve performance (jeremyevans)
Handle BC dates and timestamps in bound variables when using the pg_extended_date_support extension (jeremyevans)
Correctly format hstore[] types in bound variables on PostgreSQL (jeremyevans)
🛠 Fix corner case in eager loading where window function eager limit strategy is used, but row number entry is not removed (jeremyevans)
Support server/shard specific :after_connect and :connect_sqls Database options (jeremyevans) (#1935)