Sequel v5.63.0 Release Notes

Release Date: 2022-12-01 // over 1 year 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 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)