Sha256: 3b24199ba78b7a2f5a1f715b064d3061bba423084253ce7e7adda87648fcfabc

Contents?: true

Size: 1.53 KB

Versions: 85

Compression:

Stored size: 1.53 KB

Contents

= New Features

* A :preconnect Database option has been added, for automatically
  creating the maximum number of connections to the database on
  instantiation.  This is useful when there is high latency for
  initial connection setup, where Sequel's usual approach of
  connecting as needed can cause pauses at runtime.

* Database#sharded? has been added for checking whether the Database
  object uses multiple servers. 

* Dataset#server? has been added, for returning a cloned dataset
  associated with the given server/shard if the dataset does not
  already have a server set.  This returns the receiver if the
  server has already been set or the Database is not sharded.

= Other Improvements

* Sequel now uses the correct shard when deleting model instances.
  Previously, the correct shard was only used in the unoptimized
  case, not in the optimized case.

* Sequel now uses the correct shard when using Dataset#insert_select
  on PostgreSQL.  This was first broken in the 4.13.0 release.

* Sequel now correctly handles Sequel::SQL::Blob instances used in
  bound variables in the postgres adapter.  Previously this resulted
  in duplicate apostrophes being used.

* When using the jdbc/sqlite3 adapter with jdbc-sqlite3 3.8.7, Sequel
  now handles date objects and empty blobs correctly, working around
  bugs in the driver.

= Backwards Compatibility

* In the update_or_create plugin, Model.update_or_create now always
  returns the object.  Previously it would not return the object if
  the object already existed but no updates were necessary.

Version data entries

85 entries across 79 versions & 2 rubygems

Version Path
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/sequel-5.26.0/doc/release_notes/4.17.0.txt
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/sequel-5.26.0/doc/release_notes/4.17.0.txt
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/sequel-5.29.0/doc/release_notes/4.17.0.txt
sequel-5.29.0 doc/release_notes/4.17.0.txt
sequel-5.28.0 doc/release_notes/4.17.0.txt
sequel-5.27.0 doc/release_notes/4.17.0.txt
tdiary-5.1.0 vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.17.0.txt
sequel-5.26.0 doc/release_notes/4.17.0.txt
sequel-5.25.0 doc/release_notes/4.17.0.txt
sequel-5.24.0 doc/release_notes/4.17.0.txt
sequel-5.23.0 doc/release_notes/4.17.0.txt
sequel-5.22.0 doc/release_notes/4.17.0.txt
sequel-5.21.0 doc/release_notes/4.17.0.txt
sequel-5.20.0 doc/release_notes/4.17.0.txt
tdiary-5.0.13 vendor/bundle/gems/sequel-5.18.0/doc/release_notes/4.17.0.txt
sequel-5.19.0 doc/release_notes/4.17.0.txt
tdiary-5.0.12.1 vendor/bundle/gems/sequel-5.18.0/doc/release_notes/4.17.0.txt
sequel-5.18.0 doc/release_notes/4.17.0.txt
sequel-5.17.0 doc/release_notes/4.17.0.txt
sequel-5.16.0 doc/release_notes/4.17.0.txt