All Versions
116
Latest Version
Avg Release Cycle
29 days
Latest Release
569 days ago

Changelog History
Page 1

  • v5.63.0 Changes

    December 01, 2022
    • ๐Ÿ”Œ 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)

  • v5.62.0 Changes

    November 01, 2022
    • 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)

  • v5.61.0 Changes

    October 01, 2022
    • Make Database#foreign_key_list on PostgreSQL return results for partitioned tables (jeremyevans)

    • Add Database#check_string_typecast_bytesize for checking bytesize of strings before typecasting (jeremyevans)

    • Treat negative hexidecimal strings similar to positive hexidecimal strings when typecasting to integer (jeremyevans)

    • Remove is_json and is_not_json methods from the pg_json_ops extension, as the support was removed in PostgreSQL 15 beta 4 (jeremyevans)

    • Fix handling of timestamps before the date of calendar reform when using pg_extended_date_support extension on Ruby 3.2 (jeremyevans)

  • v5.60.1 Changes

    September 02, 2022
    • โช Revert conversion of respond_to? to defined?, as it breaks with unused refinements on Ruby 2 (jeremyevans) (#1919)
  • v5.60.0 Changes

    September 01, 2022
    • ๐Ÿ‘Œ Support arbitrary expressions for date_arithmetic interval values on PostgreSQL 9.4+ (jeremyevans)

    • Support native IS DISTINCT FROM on SQLite 3.39+ instead of emulating support in the is_distinct_from extension (jeremyevans)

    • ๐Ÿ‘Œ Support HAVING without GROUP BY on SQLite 3.39+ (jeremyevans)

    • ๐ŸŽ Convert most respond_to? calls to equivalent defined? for better performance (jeremyevans)

  • v5.59.0 Changes

    August 01, 2022
    • Set :allow_eager association option to false for instance specific associations without eager loaders (jeremyevans)

    • Add require_valid_schema plugin for checking that model classes have schema parsed as expected (jeremyevans)

    • Model classes created from aliased expressions and literal strings no longer use the simple table optimization (jeremyevans)

    • Model code that does not swallow connection errors will now also not swallow disconnect errors (jeremyevans) (#1892)

    • Add is_json and is_not_json methods to the pg_json_ops extension, for the PostgreSQL 15+ IS [NOT] JSON operator (jeremyevans)

    • ๐Ÿ‘Œ Support :security_invoker view option on PostgreSQL 15+, for views where access uses permissions of user instead of owner (jeremyevans)

    • ๐Ÿ‘Œ Support :nulls_distinct index option on PostgreSQL 15+, for NULLS [NOT] DISTINCT (jeremyevans)

    • ๐Ÿ‘Œ Support sequel-postgres-pr driver in the postgres adapter (jeremyevans)

  • v5.58.0 Changes

    July 01, 2022
    • Support :disable_split_materialized Database option on MySQL to work around optimizer bug in MariaDB 10.5+ affecting association tests (jeremyevans)

    • โž• Add Dataset#merge* methods to support MERGE statement on PostgreSQL 15+, MSSQL, Oracle, DB2, H2, HSQLDB, and Derby (jeremyevans)

  • v5.57.0 Changes

    June 01, 2022
    • ๐Ÿ‘‰ Make Database#create_function on PostgreSQL accept :parallel option (bananarne) (#1870)

    • โšก๏ธ Add support for :on_update_current_timestamp column option on MySQL (jeremyevans)

    • Add is_distinct_from extension with support for the IS DISTINCT FROM operator (jeremyevans)

  • v5.56.0 Changes

    May 01, 2022
    • Make alter_table add_column/add_foreign_key methods support :index option to create an index on the column (jeremyevans)

    • ๐Ÿ‘Œ Support creation of STRICT tables on SQLite 3.37.0+ via create_table :strict option (jeremyevans)

    • Add sqlite_json_ops extension for DSL support for JSON functions and operators added in SQLite 3.38.0 (jeremyevans)

    • Recognize "INTEGER" type same as "integer" type in the schema dumper, helpful on SQLite 3.37.0+ (jeremyevans)

  • v5.55.0 Changes

    April 01, 2022
    • Support :setup_regexp_function Database option in the sqlite adapter to allow the use of regexps when querying (jeremyevans)

    • Add auto_restrict_eager_graph plugin for automatically disallow eager_graph with associations needing but lacking graph options (jeremyevans)

    • ๐Ÿ›  Fix placeholder literalizer optimization for dataset aggregate methods on a model dataset (belousovAV) (#1847, #1848)