Sequel v4.44.0 Release Notes

Release Date: 2017-03-01 // about 7 years ago
    • Add where_all, where_each, where_single_value model dataset methods, optimized for frozen datasets (jeremyevans)

    • โž• Add eager method to dataset_module (jeremyevans)

    • โž• Add implicit_subquery extension, for implicitly using a subquery for datasets using raw SQL when calling dataset methods that modify SQL (jeremyevans)

    • ๐Ÿ‘‰ Make Dataset#from_self keep the columns from the current dataset if present (jeremyevans)

    • โž• Add implicit_subquery extension, implicitly using subqueries for dataset methods if the current dataset uses raw SQL (jeremyevans)

    • ๐Ÿ‘‰ Make SQL::ValueList#inspect show that it is a value list (jeremyevans)

    • ๐Ÿ‘‰ Make LiteralString#inspect show that it is a literal string (jeremyevans)

    • ๐Ÿ‘‰ Make Model::Associations::AssociationReflection#inspect show reflection class and guess at association definition line (jeremyevans)

    • ๐Ÿ‘‰ Make SQLTime#inspect show it is an SQLTime instance, and only the time component (jeremyevans)

    • ๐Ÿ‘‰ Make SQL::Blob#inspect show that it is a blob, the number of bytes, and some or all of the content (jeremyevans)

    • ๐Ÿ”Œ Make plugins not modify the constant namespace for the model class that uses them (jeremyevans)

    • ๐Ÿ”Œ Do not modify encoding of SQL::Blob instances in force_encoding plugin (jeremyevans)

    • โž• Add Model.freeze_descendents to subclasses plugin, for easier finalizing associations/freezing of descendent classes (jeremyevans)

    • โž• Add Model.finalize_associations method for finalizing associations, speeding up some association reflections methods almost 10x (jeremyevans)

    • Implement Model.freeze such that it can be used in production (jeremyevans)

    • Recognize another disconnect error in the jdbc/as400 adapter (perlun) (#1300)

    • Correctly handle conversion of false values when typecasting PostgreSQL arrays (mistoo) (#1299)

    • ๐Ÿšฉ Raise error if the postgres adapter attempts to load an incompatible version of sequel_pg (mahlonsmith) (#1298)

    • Fix jdbc adapter so basic_type_convertor_map is not shared between instances, work with Database#freeze (jeremyevans)