File: 5.67.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 (32 lines) | stat: -rw-r--r-- 1,206 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
27
28
29
30
31
32
= New Features

* A set_literalizer extension has been added, for treating Set
  instances in datasets similar to Array instances:

    DB.extension :set_literalizer
    DB[:table].where(column: Set.new([1, 2, 3]))
    # SELECT FROM table WHERE (column IN (1, 2, 3))

= Improvements

* Sequel now avoids the use of singleton classes for datasets on Ruby
  2.4+, instead creating a regular subclass whenever a dataset would
  be extended via #extension or #with_extend.  This significantly
  improves performance, up to 20-40% for common dataset usage,
  because it avoids creating new singleton classes for every dataset
  clone, and it allows for cached method lookup.

* Database#tables and #views now support a :qualify option on Microsoft
  SQL Server to returned qualified identifiers.

* The schema_dumper extension can now dump tables in non-default schemas
  when using Microsoft SQL Server.

* The schema_dumper extension now correctly dumps string column sizes
  when using Microsoft SQL Server.

= Backwards Compatibility

* Calling Sequel::Dataset.register_extension where the second argument
  is not a module now issues a deprecation warning.  Support for this
  will be removed in Sequel 6.