Sha256: 0daa86656ecb3087fbcf7b2337a4a369335a0c1cfaa9dab036dfd27e71ee6494

Contents?: true

Size: 1.99 KB

Versions: 70

Compression:

Stored size: 1.99 KB

Contents

= New Features

* Dataset#with_ties has been added on PostgreSQL 13+ and Microsoft
  SQL Server, which will have a limited dataset also return all
  rows with the same order as the final row.

* In the pg_json_ops extension, the following methods have been
  added to Postgres::JSONBOp, all of which require PostgreSQL 13+:
  
  * #set_lax
  * #path_exists_tz!
  * #path_match_tz!
  * #path_query_tz
  * #path_query_array_tz
  * #path_query_first_tz

* On Oracle, the Database#view_exists? method now accepts a
  :current_schema option to limit the views returned to the
  current schema, instead of all non-system schemas.

= Other Improvements

* Sequel will now pass keyword arguments through in the following
  cases:

  * When loading plugins (Model.plugin)

  * Class methods automically defined for methods defined in a
    Model.dataset_module block

  * Methods defined by Plugins.def_dataset_method

  * Database methods called inside migrations

  * Methods called via an association proxy when using the
    association_proxies plugin.

  * Dataset methods called inside a Dataset#query block when using
    the query extension.

  Previously, keywords were not handled in these cases, which would
  cause deprecation warnings in Ruby 2.7 and ArgumentErrors in Ruby
  3.0.  Note that Sequel itself does not use keyword arguments at
  all, so all of these changes only affect cases where external
  methods are defined that accept keywords, and Sequel methods are
  called with keywords that end up being delegated to the external
  methods.

* The odbc adapter will now stream result sets instead of loading
  the entire result set in memory and then iterating over it.

* Sequel now recognizes another disconnect error in the mysql and
  mysql2 adapters.

= Backwards Compatibility

* Due to the odbc adapter change to use streaming, issuing queries
  inside a Dataset#each block will no longer work unless a different
  shard or thread is used.  The behavior of such code is considered
  undefined on all Sequel adapters.

Version data entries

70 entries across 59 versions & 2 rubygems

Version Path
sequel-5.83.1 doc/release_notes/5.36.0.txt
sequel-5.83.0 doc/release_notes/5.36.0.txt
sequel-5.82.0 doc/release_notes/5.36.0.txt
sequel-5.81.0 doc/release_notes/5.36.0.txt
sequel-5.80.0 doc/release_notes/5.36.0.txt
sequel-5.79.0 doc/release_notes/5.36.0.txt
sequel-5.78.0 doc/release_notes/5.36.0.txt
sequel-5.77.0 doc/release_notes/5.36.0.txt
sequel-5.76.0 doc/release_notes/5.36.0.txt
sequel-5.75.0 doc/release_notes/5.36.0.txt
sequel-5.74.0 doc/release_notes/5.36.0.txt
sequel-5.73.0 doc/release_notes/5.36.0.txt
sequel-5.72.0 doc/release_notes/5.36.0.txt
sequel-5.71.0 doc/release_notes/5.36.0.txt
sequel-5.70.0 doc/release_notes/5.36.0.txt
sequel-5.69.0 doc/release_notes/5.36.0.txt
sequel-5.68.0 doc/release_notes/5.36.0.txt
sequel-5.67.0 doc/release_notes/5.36.0.txt
sequel-5.66.0 doc/release_notes/5.36.0.txt
sequel-5.65.0 doc/release_notes/5.36.0.txt