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

Changelog History
Page 2

  • v5.54.0 Changes

    March 01, 2022
    • โž• Add enum plugin for treating columns as enums in a model (jeremyevans) (#1839)
  • v5.53.0 Changes

    February 01, 2022
    • Make Dataset#_sql_comment private when using the Database sql_comments extension (jeremyevans)

    • ๐Ÿ›  Fix prepared statements in the mysql2 adapter to reuse native prepared statements (jeremyevans) (#1832)

    • ๐Ÿ‘Œ Support H2 version 2+ in the jdbc/h2 adapter (jeremyevans) (#1817)

    • ๐Ÿ”Œ Work around active_support breaking subclasses plugin on Ruby <3.1 (jeremyevans) (#1816)

    • ๐Ÿ›  Fix error handling if trying to setup column_encryption plugin without keys (jeremyevans) (#1815)

  • v5.52.0 Changes

    January 01, 2022
    • ๐Ÿ”Œ Use Class#subclasses if available in the subclasses plugin, instead of a custom Model.subclasses accessor (jeremyevans)

    • โž• Add Model.descendants and .freeze_descendants to subclasses plugin (jeremyevans)

    • ๐Ÿ—„ Avoid use of deprecated Refinement#include on Ruby 3.1+ (jeremyevans)

    • ๐Ÿ“œ Add date_parse_input_handler extension for custom handling of input to date parsing methods (jeremyevans)

    • Make postgres adapter respect Database#default_string_column_size (jeremyevans)

    • ๐Ÿ‘‰ Make pg_interval extension work with ActiveSupport 7.0 (jeremyevans)

    • 0๏ธโƒฃ Make :ruby_default schema entry for type: :datetime respect Sequel.datetime_class (jeremyevans)

    • Make alter_table drop_constraint have an effect on MySQL 8.0.19+ (jeremyevans)

    • ๐Ÿ’Ž Make mysql adapter support ruby-mysql 3 API (jeremyevans) (#1795)

    • ๐Ÿ’Ž Make mysql adapter no longer use connection's server_version, since it isn't accurate when using the ruby-mysql driver (jeremyevans)

    • โž• Add sql_comments plugin for automatically including comments on queries generated by model class, instance, and dataset methods (jeremyevans)

    • ๐Ÿ‘ Make sql_comments Database extension support Database#with_comments, for automatically including comments for queries executed inside the block (jeremyevans)

    • ๐Ÿ›  Fix sql_comments extension to not modify cached SQL for a dataset (jeremyevans)

  • v5.51.0 Changes

    December 01, 2021
    • Make eager loading via tactical_eager_loading no longer modify objects who already have a cached value for the association (jeremyevans)

    • ๐Ÿ‘ฏ Make association cloning handle cases where clone association sets different :class option than cloned association (jeremyevans)

    • ๐Ÿ‘‰ Make column schema entries on MySQL include an :extra entry for the Extra column in DESCRIBE output (bschmeck) (#1791)

    • โšก๏ธ Update mock PostgreSQL adapter to default to PostgreSQL 14 instead of PostgreSQL 9.5 (jeremyevans)

    • ๐Ÿ‘Œ Support Dataset#with_recursive :search and :cycle options on PostgreSQL 14+ for result ordering and cycle detection (jeremyevans)

    • โš  Avoid method redefined verbose mode warnings in lazy_attributes plugin (jeremyevans)

  • v5.50.0 Changes

    November 01, 2021
    • Make Migrator :allow_missing_migration_files also allow down migrations where the current database version is greater than the last migration file version (francisconeves97) (#1789)

    • Fix Model#freeze in composition, serialization, and serialization_modification_detection plugins to return self (jeremyevans) (#1788)

    • ๐Ÿ›  Fix typecasting of lazy columns when using lazy_attributes plugin in model where dataset selects from subquery (jeremyevans)

    • ๐Ÿ”ง Add :before_preconnect Database option, for configuring extensions loaded via :preconnect_extensions (MarcPer, jeremyevans) (#1786)

    • ๐Ÿ”„ Change Dataset#columns! to use a LIMIT 0 query instead of a LIMIT 1 query (jeremyevans)

    • ๐ŸŒฒ Add sql_log_normalizer extension for normalizing logged SQL, helpful for analytics and sensitive data (jeremyevans)

    • ๐Ÿ”€ Add support for range_merge, multirange, and unnest, and PGMultiRange#op to pg_range_ops extension (jeremyevans)

    • โž• Add pg_multirange extension with support for PostgreSQL 14+ multirange types (jeremyevans)

  • v5.49.0 Changes

    October 01, 2021
    • Switch block_given? usage to defined?(yield) (jeremyevans)

    • ๐Ÿ‘Œ Support table aliases for JOIN USING columns on PostgreSQL 14+ (jeremyevans)

    • ๐Ÿ‘Œ Support calling PostgreSQL procedures without arguments (jeremyevans)

    • Support hstore subscripts in pg_hstore_ops on PostgreSQL 14+, for updating only part of an hstore value (jeremyevans)

    • Support JSONB subscripts in pg_json_ops on PostgreSQL 14+, for updating only part of a JSONB value (jeremyevans)

    • Support SQL::Expression#sequel_ast_transform for custom AST transforms on arbitrary expressions (jeremyevans)

    • โž• Add Database#create_trigger :replace option on PostgreSQL 14+ for CREATE OR REPLACE TRIGGER (jeremyevans)

    • ๐Ÿ”Œ Make auto_validations plugin automatically setup no_null_byte validations (jeremyevans)

    • Add Model#validates_no_null_byte to validation_helpers plugin (jeremyevans)

  • v5.48.0 Changes

    September 01, 2021
    • ๐Ÿ”Œ Make the unused_associations plugin association reflection tracking work correctly when combining coverage runs (jeremyevans)

    • Add Database#like_without_collate on MSSQL, to avoid using COLLATE on LIKE arguments, which can significantly improve performance (jeremyevans)

    • โž• Add Model::Errors#full_message private method for easiest i18n support for errors with multiple attributes (jeremyevans) (#1779)

  • v5.47.0 Changes

    August 01, 2021
    • ๐Ÿ”Œ Make the unused_associations plugin track access to association reflections to determine whether associations are used (jeremyevans)

    • Support :db option for join tables in {many,one}_through_many to use a separate query for each join table (jeremyevans)

    • Support :join_table_db option for many_to_many/one_through_one associations, to use a separate query for the join table (jeremyevans)

    • Support :allow_eager_graph and :allow_filtering_by association options (jeremyevans)

    • โž• Add Database#rename_tables on MySQL, for renaming multiple tables in a single call (nick96) (#1774)

    • ๐Ÿ‘Œ Support Dataset#returning on SQLite 3.35+ (jeremyevans)

  • v5.46.0 Changes

    July 01, 2021
    • โž• Add unused_associations plugin, for determining which associations and association methods are not used (jeremyevans)

    • ๐Ÿšš Make nil :setter/:adder/:remover/:clearer association options not create related methods (jeremyevans)

  • v5.45.0 Changes

    June 01, 2021
    • ๐Ÿ›  Fix handling of NULL values in boolean columns in the ODBC adapter (jeremyevans) (#1765)

    • Add auto_validations_constraint_validations_presence_message plugin for auto_validations/constraint_validations presence message integration (jeremyevans)

    • ๐Ÿ‘Œ Support Dataset#with :materialized option on SQLite 3.35+ for [NOT] MATERIALIZED (jeremyevans)

    • ๐Ÿ‘‰ Use ALTER TABLE DROP COLUMN for dropping columns on SQLite 3.35+ (jeremyevans)