File: 5.92.0.txt

package info (click to toggle)
ruby-sequel 5.97.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,188 kB
  • sloc: ruby: 123,115; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 1,032 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
= New Features

* Objects that respond to sql_literal_append or sql_literal to
  support custom literalization in Sequel datasets can now also
  implement the sql_literal_allow_caching? method.  If the object
  responds to the method and it returns true, then Sequel will
  still allow caching of the Dataset's SQL (this is disabled by
  default as Sequel cannot be sure that the literalization will
  not change between calls).

* Model.qualified_primary_key has been added, which returns an
  SQL::QualifiedIdentifier with the model's primary key, or an
  array of SQL::QualifiedIdentifier objects if the model uses a
  composite primary key.

* set_column_not_null is now a reversible method in migrations.

= Other Improvements

* The Model dataset paged_each method and the dataset methods in
  the paged_operations plugin now automatically use a qualified
  primary key instead of an unqualified primary key if the dataset
  is joined.

* Module temporary names when using Ruby 3.5 are now consistent
  with Ruby 3.3 and 3.4.