Sequel v4.13.0 Release Notes

Release Date: 2014-08-01 // over 9 years ago
    • ๐Ÿ‘ฏ Use copy constructors instead of overriding Model#dup and #clone (ged, jeremyevans) (#852)

    • Fix handling of MySQL create_table foreign_key calls using :key option (mimperatore, jeremyevans) (#850)

    • ๐Ÿ– Handle another disconnection error in the postgres adapter (lbosque) (#848)

    • โšก๏ธ Make list plugin update remaining positions after destroying an instance (ehq, jeremyevans) (#847)

    • Unalias aliased tables in Dataset#insert (jeremyevans)

    • Add insert_returning_select plugin, for setting up RETURNING for inserts for models selecting explicit columns (jeremyevans)

    • ๐Ÿ‘‰ Make Model#save use insert_select if the dataset used for inserting already uses returning (jeremyevans)

    • Add Dataset#unqualified_column_for helper method, returning unqualified version of possibly qualified column (jeremyevans)

    • ๐Ÿ‘ Calling Dataset#returning when the Database does not support or emulate RETURNING now raises an Error (jeremyevans)

    • Emulate RETURNING on Microsoft SQL Server using OUTPUT, as long as only simple column references are used (jeremyevans)

    • Switch class_table_inheritance plugin to use JOIN ON instead of JOIN USING (jeremyevans)

    • Qualify primary keys for models with joined datasets when looking up model instances by primary key (jeremyevans)

    • ๐Ÿ›  Fix qualification of columns when Dataset#graph automatically wraps the initially graphed dataset in a subselect (jeremyevans)

    • ๐Ÿ‘‰ Make Dataset#joined_dataset? a public method (jeremyevans)

    • ๐Ÿ‘ Allow external jdbc, odbc, and do subadapters to be loaded automatically (jeremyevans)

    • Recognize another disconnect error in the jdbc/mysql adapter (jeremyevans)

    • Set primary keys correctly for models even if datasets select specific columns (jeremyevans)

    • Add dataset_source_alias extension, for automatically aliasing datasets to their first source (jeremyevans)

    • ๐Ÿ”Œ Use qualified columns in the lazy_attributes plugin (jeremyevans)

    • โž• Add column_select plugin, for using explicit column selections in model datasets (jeremyevans)

    • ๐Ÿ‘‰ Use associated model's existing selection for join associations if it consists solely of explicitly quailfied columns (jeremyevans)

    • โž• Add round_timestamps extension for automatically rounding timestamp values to database precision before literalizing (jeremyevans)

    • 0๏ธโƒฃ Make rake default task run plugin specs as well as core/model specs (jeremyevans)

    • Use all_tables and all_views for Database#tables and #views on Oracle (jeremyevans)

    • Use all_tab_cols instead of user_tab cols for defaults parsing in the oracle adapter (jeremyevans)

    • ๐Ÿ›  Fix recursive mutex locking issue on JRuby when using Sequel::Model(dataset) (jeremyevans) (#841)

    • ๐Ÿ”Œ Make composition and serialization plugins support validations on underlying columns (jeremyevans)

    • ๐Ÿ›  Fix regression in timestamps and table inheritance plugin where column values would not be saved if validation is skipped (jeremyevans) (#839)

    • โž• Add pg_enum extension, for dealing with PostgreSQL enums (jeremyevans)

    • โž• Add modification_detection plugin, for automatic detection of in-place column value modifications (jeremyevans)

    • ๐Ÿ‘ Speed up using plain strings, numbers, true, false, and nil in json columns if underlying json library supports them (jeremyevans) (#834)