Sequel 5.45.0 has been released!
= New Features
* A auto_validations_constraint_validations_presence_message plugin
has been added that provides integration for the auto_validations
and constraint_validations plugin in the following conditions:
* The column has a NOT NULL constraint
* The column has a presence constraint validation with both
the :message and :allow_nil options used.
In this case, when saving a nil value in the column, the plugin
will make it so the more specific message from the presence
constraint validation is used, instead of the generic message
from auto_validations.
= Other Improvements
* On SQLite 3.35.0+, Sequel now uses ALTER TABLE DROP COLUMN for
dropping columns, instead of emulating the dropped column by
recreating the table.
* The Dataset#with :materialized option is now supported on SQLite
3.35.0+ for specifying whether common table expressions should be
materialized.
* The odbc adapter now correct handles boolean columns with NULL
values. Previously, such values were returned as false instead
of nil.
= Backwards Compatibility
* The change to use ALTER TABLE DROP COLUMN on SQLite 3.35.0+ can
cause backwards compatibility issues if SQLite 3.35.0+ does
not allow dropping the column.
Thanks,
Jeremy
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/7ad8ba9e-a9b1-4118-b725-0b58842c7748n%40googlegroups.com.