Sequel v4.36.0 Release Notes

Release Date: 2016-07-01 // almost 8 years ago
    • ๐Ÿ—„ Deprecate use of Bignum class as generic type, since the behavior will change in ruby 2.4 (jeremyevans)

    • Don't hold connection pool mutex while disconnecting connections (jeremyevans)

    • Don't hold references to disconnected connections in the connection_validator extension (jeremyevans)

    • Don't overwrite existing connection_validation_timeout when loading connection_validator extension multiple times (jeremyevans)

    • โž• Add connection_expiration extension, for automatically removing connections open for too long (pdrakeweb) (#1208, #1209)

    • ๐Ÿ– Handle disconnection errors raised during string literalization in mysql2 and postgres adapters (jeremyevans)

    • โž• Add string_agg extension for aggregate string concatenation support on many databases (jeremyevans)

    • โž• Add SQL::Function#order for ordered aggregate functions (jeremyevans)

    • ๐Ÿ‘Œ Support operator validation in constraint_validations for <, <=, >, and >= operators with string and integer arguments (jeremyevans)

    • Make validates_operator validation consider nil values invalid unless :allow_nil or similar option is used (jeremyevans)

    • Close cursors for non-SELECT queries in the oracle adapter after execution, instead of waiting until GC (jeremyevans) (#1203)

    • โž• Add :class_namespace association option for setting default namespace for :class option given as symbol/string (jeremyevans)

    • Add Sequel::Model.cache_anonymous_models accessor for changing caching on a per-model basis (jeremyevans)

    • โž• Add Sequel::Model.def_Model for adding a Model() method to a module, for easier use of namespaced models (jeremyevans)

    • โž• Add Sequel::Model::Model() for creating subclasses of Sequel::Model subclasses, instead of just Sequel::Model itself (jeremyevans)