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

Changelog History
Page 10

  • v4.24.0 Changes

    July 01, 2015
    • Allow class_table_inheritance plugin to support subclasses that don't add additional columns (QuinnHarris, jeremyevans) (#1030)

    • โž• Add :columns option to update_refresh plugin, specifying the columns to include in the RETURNING clause (celsworth) (#1029)

    • ๐Ÿ‘‰ Use column symbol key for auto validation unique errors if the unique index is on a single column (jeremyevans)

    • ๐Ÿ‘ Allow :timeout option to Database#listen in the postgres adapter to be a callable object (celsworth) (#1028)

    • Add pg_inet_ops extension, for DSL support for PostgreSQL inet/cidr operators and functions (celsworth, jeremyevans) (#1024)

    • Support :*_opts options in auto_validations plugin, for setting options for the underlying validation methods (celsworth, jeremyevans) (#1026)

    • Support :delay_pks association option in association_pks to delay setting of associated_pks until after saving (jeremyevans)

    • ๐Ÿ‘‰ Make jdbc subadapters work if they issue queries while the subadapter is being loaded (jeremyevans) (#1022)

    • ๐Ÿ– Handle 64-bit auto incrementing primary keys in jdbc subadapters (DougEverly) (#1018, #1019)

    • โœ‚ Remove the deprecated db2 and dbi adapters (jeremyevans)

    • ๐Ÿ”Œ Make auto_validation plugin use :from=>:values option to setup validations on the underlying columns (jeremyevans)

    • โž• Add :from=>:values option to validation_helpers methods, for getting values from the values hash instead of a method call (jeremyevans)

  • v4.23.0 Changes

    June 01, 2015
    • ๐Ÿ‘‰ Make dataset.call_sproc(:insert) work in the jdbc adapter (flash-gordon) (#1013)

    • โž• Add update_refresh plugin, for refreshing a model instance when updating (jeremyevans)

    • โž• Add delay_add_association plugin, for delaying add_* method calls on new objects until after saving the object (jeremyevans)

    • โž• Add validate_associated plugin, for validating associated objects when validating the current object (jeremyevans)

    • ๐Ÿ‘‰ Make Postgres::JSONBOp#[] and #get_text return JSONBOp instances (jeremyevans) (#1005)

    • โœ‚ Remove the fdbsql, jdbc/fdbsql, and openbase adapters (jeremyevans)

    • โช Database#transaction now returns block return value if :rollback=>:always is used (jeremyevans)

    • ๐Ÿ‘ Allow postgresql:// connection strings as aliases to postgres://, for compatibility with libpq (jeremyevans) (#1004)

    • ๐Ÿšš Make Model#move_to in the list plugin handle out-of-range targets without raising an exception (jeremyevans) (#1003)

    • Make Database#add_named_conversion_proc on PostgreSQL handle conversion procs for enum types (celsworth) (#1002)

  • v4.22.0 Changes

    May 01, 2015
    • ๐Ÿ—„ Deprecate the db2, dbi, fdbsql, firebird, jdbc/fdbsql, informix, and openbase adapters (jeremyevans)

    • Avoid hash allocations and rehashes (jeremyevans)

    • Don't silently ignore :jdbc_properties Database option in jdbc adapter (jeremyevans)

    • ๐Ÿ”Œ Make tree plugin set reciprocal association for children association correctly (lpil, jeremyevans) (#995)

    • โž• Add Sequel::MassAssignmentRestriction exception, raised for mass assignment errors in strict mode (jeremyevans) (#994)

    • ๐Ÿ– Handle ODBC::SQL_BIT type as boolean in the odbc adapter, fixing boolean handling on odbc/mssql (jrgns) (#993)

    • 0๏ธโƒฃ Make :auto_validations plugin check :default entry instead of :ruby_default entry for checking existence of default value (jeremyevans) (#990)

    • 0๏ธโƒฃ Adapters should now set :default schema option to nil when adapter can determine that the value is nil (jeremyevans)

    • Do not add a schema :max_length entry for a varchar(max) column on MSSQL (jeremyevans)

    • ๐Ÿ‘ Allow :default value for PostgreSQL array columns to be a ruby array when using the pg_array extension (jeremyevans) (#989)

    • โž• Add csv_serializer plugin for serializing model objects to and from csv (bjmllr, jeremyevans) (#988)

    • Make Dataset#to_hash and #to_hash_groups handle single array argument for model datasets (jeremyevans)

    • ๐Ÿ– Handle Model#cancel_action in association before hooks (jeremyevans)

    • ๐Ÿ’Ž Use a condition variable instead of busy waiting in the threaded connection pools on ruby 1.9+ (jeremyevans)

    • ๐Ÿ‘‰ Use Symbol#to_proc instead of explicit blocks (jeremyevans)

  • v4.21.0 Changes

    April 01, 2015
    • Support :tsquery and :tsvector options in Dataset#full_text_search on PostgreSQL, for using existing tsquery/tsvector expressions (jeremyevans)

    • ๐Ÿ›  Fix TinyTds::Error being raised when trying to cancel a query on a closed connection in the tinytds adapter (jeremyevans)

    • โž• Add GenericExpression#!~ for inverting =~ on ruby 1.9 (similar to inverting a hash) (jeremyevans) (#979)

    • โž• Add GenericExpression#=~ for equality, inclusion, and pattern matching (similar to using a hash) (jeremyevans) (#979)

    • Add Database#add_named_conversion_proc on PostgreSQL to make it easier to add conversion procs for types by name (jeremyevans)

    • ๐Ÿ‘‰ Make Sequel.pg_jsonb return JSONBOp instances instead of JSONOp instances when passed other than Array or Hash (jeremyevans) (#977)

    • 0๏ธโƒฃ Demodulize default root name in json_serializer plugin (janko-m) (#968)

    • Make Database#transaction work in after_commit/after_rollback blocks (jeremyevans)

  • v4.20.0 Changes

    March 03, 2015
    • โช Restore the use of AUTOINCREMENT on SQLite (jeremyevans) (#965)

    • Duplicate the associations hash when duplicating a model object (jeremyevans)

    • 0๏ธโƒฃ Correctly apply association limit when eager loading with an eager block using default limit strategy on some databases (jeremyevans)

    • ๐Ÿ›  Fix eager loading when using the :window_function limit strategy with an eager block and cascaded associations (jeremyevans)

    • Add support for set_column_type :auto_increment=>true to add AUTO_INCREMENT to existing column on MySQL (jeremyevans) (#959)

    • โž• Add support for overridding the :instance_specific association option (jeremyevans)

    • Recognize MSSQL bit type as boolean in the schema_dumper (jeremyevans)

    • Skip eager loading queries if there are no matching keys (jeremyevans) (#952)

    • Dataset#paged_each now returns an enumerator if not passed a block (jeremyevans)

    • Use to_json :root option with string value as the JSON object key in the json_serializer plugin (jeremyevans)

    • Allow create_enum in the pg_enum extension be reversible in migrations (celsworth) (#951)

    • Have swift adapter respect database and application timezone settings (asppsa, jeremyevans) (#946)

    • ๐Ÿ”Œ Don't have the static cache plugin attempt to validate objects (jeremyevans)

    • ๐Ÿ‘‰ Make freeze not validate objects if their errors are already frozen (jeremyevans)

    • ๐Ÿ“‡ Only use prepared statements for associations if caching association metadata (jeremyevans)

    • ๐Ÿ”Œ Set parent association when loading descendants in the rcte_tree plugin (jeremyevans)

    • โž• Add Database#transaction :before_retry option, specifying a proc to call before retrying (uhoh-itsmaciek) (#941)

  • v4.19.0 Changes

    February 01, 2015
    • ๐Ÿ‘‰ Make jdbc/sqlanywhere correctly set :auto_increment entry in schema hashes (jeremyevans)

    • โž• Add Model#cancel_action for canceling actions in before hooks, instead of having the hooks return false (jeremyevans)

    • ๐Ÿ‘Œ Support not setting @@wait_timeout on MySQL via :timeout=>nil Database option (jeremyevans)

    • โž• Add accessed_columns plugin, recording which columns have been accessed for a model instance (jeremyevans)

    • Use correct migration version when using IntegerMigrator with :allow_missing_migration_files (blerins) (#938)

    • ๐Ÿ‘‰ Make Dataset#union, #intersect, and #except automatically handle datasets with raw SQL (jeremyevans) (#934)

    • โž• Add column_conflicts plugin to automatically handle columns that conflict with method names (jeremyevans) (#929)

    • Add Model#get_column_value and #set_column_value to get/set column values (jeremyevans) (#929)

  • v4.18.0 Changes

    January 02, 2015
    • ๐Ÿ‘‰ Make Dataset#empty? work when the dataset is ordered by a non-column expression (pete) (#923)

    • ๐Ÿ›  Fix passing a hash value to :eager association option (jeremyevans)

    • Treat all PG::ConnectionBad exceptions as disconnect errors in the postgres adapter (jeremyevans)

    • โž• Add :auto_increment key to schema information for primary key columns (jeremyevans) (#919)

    • Fix handling of schema qualified tables in many_through_many associations (jeremyevans)

  • v4.17.0 Changes

    December 01, 2014
    • ๐Ÿ›  Fix handling of Sequel::SQL::Blob instances in bound variables in the postgres adapter (jeremyevans) (#917)

    • โž• Add :preconnect Database option for immediately creating the maximum number of connections (jeremyevans)

    • ๐Ÿ‘Œ Support DB.pool.max_size for the single connection pools (jeremyevans)

    • โ†ช Work around regression in jdbc-sqlite3 3.8.7 where empty blobs are returned as nil (jeremyevans)

    • โ†ช Work around regression in jdbc-sqlite3 3.8.7 when using JDBC getDate method for date parsing (jeremyevans)

    • Make Model#update_or_create return object if existing object exists but updates are not necessary (contentfree) (#916)

    • โž• Add Dataset#server? for conditionally setting a default server to use if no default is present (jeremyevans)

    • โž• Add Database#sharded? for determining if database uses sharding (jeremyevans)

    • ๐Ÿ›  Fix server used by Dataset#insert_select on PostgreSQL (jeremyevans)

    • ๐Ÿ›  Fix server used for deleting model instances when using sharding (jeremyevans)

  • v4.16.0 Changes

    November 01, 2014
    • Make Database#create_table? and #create_join_table? not use IF NOT EXISTS if indexes are being added (jeremyevans) (#904)

    • Dataset#distinct now accepts virtual row blocks (chanks) (#901)

    • Recognize disconnect errors in the postgres adapter when SSL is used (jeremyevans) (#900)

    • 0๏ธโƒฃ Stop converting '' default values to nil default values on MySQL (jeremyevans)

    • Add Model#qualified_pk_hash, for returning a hash with qualified pk keys (jeremyevans)

    • ๐Ÿ‘‰ Make validates_unique use a qualified primary key if the dataset is joined (jeremyevans) (#895)

    • ๐Ÿ‘‰ Make Sequel::Model.cache_associations = false skip the database's schema cache when loading the schema (jeremyevans)

    • Make Database#foreign_key_list work on Microsoft SQL Server 2005 (jeremyevans)

    • ๐Ÿ‘‰ Make create_table with :foreign option reversible on PostgreSQL (jeremyevans)

    • ๐Ÿ‘‰ Make drop_table with :foreign option on PostgreSQL drop a foreign table (johnnyt) (#892)

  • v4.15.0 Changes

    October 01, 2014
    • ๐Ÿšฉ Make AssociationReflection#reciprocal not raise error if associated class contains association with invalid associated class (jeremyevans)

    • Make create_view(:view_name, dataset, :materialized=>true) reversible on PostgreSQL (jeremyevans)

    • โž• Add support for creating foreign tables on PostgreSQL using :foreign and :options create_table options (jeremyevans)

    • ๐Ÿšฉ Raise Error if a primary key is necessary to use an association, but the model doesn't have a primary key (jeremyevans)

    • Make tactical_eager_loading plugin work for limited associations (jeremyevans)

    • โž• Add PlaceholderLiteralizer#with_dataset, for returning a new literalizer using a modified dataset (jeremyevans)

    • Support active_model 4.2.0beta1 in the active_model plugin (jeremyevans)

    • ๐Ÿ‘‰ Make Dataset#insert in the informix adapter return last inserted id (jihwans) (#887)

    • ๐Ÿ‘Œ Support :nolog option in the informix adapter to disable transactions (jihwans) (#887)

    • Remove optional argument for Postgres::{JSON,JSONB}Op#to_record and #to_recordset (jeremyevans)

    • โž• Add support for FoundationDB SQL Layer, via fdbsql and jdbc/fdbsql adapters (ScottDugas, jeremyevans) (#884)

    • โ†ช Work around bug in old versions of MySQL when schema dumping a table with multiple timestamp columns (jeremyevans) (#882)

    • ๐Ÿ‘Œ Support more array types by default in the pg_array extension, such as xml[] and uuid[] (jeremyevans)

    • โž• Add Sequel::Model.cache_associations accessor, which can be set to false to not cache association metadata (jeremyevans)

    • โž• Add split_values plugin, for moving noncolumn entries from the values hash into a separate hash (jeremyevans) (#868)