Sha256: 047b24f2cafcae42ac945233f3f16b22f5312c646001c7b6fef9333402c008f5

Contents?: true

Size: 1.39 KB

Versions: 130

Compression:

Stored size: 1.39 KB

Contents

=== New code organization

Sequel is now divided into two parts: sequel_core and sequel_model.
These two parts are distributed as two separate gems. The sequel gem
bundles sequel_core and sequel_model together. If you don't use
Sequel::Model in your code, you can just install and use sequel_core.

=== New model hooks implementation

The hooks implementation have been rewritten from scratch, is much
more robust and offers a few new features:

* More ways to define hooks: hooks can now be defined by supplying a
block or a method name, or by overriding the hook instance method.

* Inheritable hooks: Hooks can now be inherited, which means that you
can define general hooks in a model superclass, and use them in
subclasses. You can also define global hooks on Sequel::Model that
will be invoked for all model classes.

* Hook chains can be broken by returning false from within the hook.

* New after_initialize hook, invoked after instance initialization.

* The hook invocation order can no longer be changed. Hooks are
invoked in order of definition, from the top of the class hierarchy
(that is, from Sequel::Model) down to the specific class.

=== Miscellanea

* Removed deprecated adapter stubs, and all other deprecations in both
sequel_core and sequel_model.

* Fixed String#to_time to raise error correctly for invalid time
stamps.

* Fixed error behavior when parse_tree or ruby2ruby are not available.

Version data entries

130 entries across 126 versions & 5 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/sequel-5.6.0/doc/release_notes/1.0.txt
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/sequel-5.3.0/doc/release_notes/1.0.txt
tdiary-5.0.8 vendor/bundle/gems/sequel-5.6.0/doc/release_notes/1.0.txt
sequel-5.6.0 doc/release_notes/1.0.txt
sequel-5.5.0 doc/release_notes/1.0.txt
sequel-5.4.0 doc/release_notes/1.0.txt
tdiary-5.0.7 vendor/bundle/gems/sequel-5.3.0/doc/release_notes/1.0.txt
sequel-5.3.0 doc/release_notes/1.0.txt
sequel-5.2.0 doc/release_notes/1.0.txt
sequel-5.1.0 doc/release_notes/1.0.txt
tdiary-5.0.6 vendor/bundle/gems/sequel-5.0.0/doc/release_notes/1.0.txt
sequel-5.0.0 doc/release_notes/1.0.txt
sequel-4.49.0 doc/release_notes/1.0.txt
sequel-4.48.0 doc/release_notes/1.0.txt
tdiary-5.0.5 vendor/bundle/gems/sequel-4.44.0/doc/release_notes/1.0.txt
tdiary-5.0.5 vendor/bundle/gems/sequel-4.47.0/doc/release_notes/1.0.txt
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/sequel-4.44.0/doc/release_notes/1.0.txt
sequel-4.47.0 doc/release_notes/1.0.txt
sequel-4.46.0 doc/release_notes/1.0.txt
sequel-4.45.0 doc/release_notes/1.0.txt