File: 5.17.0.txt

package info (click to toggle)
ruby-sequel 5.63.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,408 kB
  • sloc: ruby: 113,747; makefile: 3
file content (31 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (3)
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
= New Features

* An instance-level skip_auto_validations method has been added to
  the auto_validations plugin, allowing you to skip all or specific
  types of auto validations inside the block:

    model_instance.skip_auto_validations(:unique) do
      puts model_instance.valid?
    end

* A Database :preconnect_extensions option has been added.  This
  option is similar to :extensions, but the extensions are loaded
  before the :preconnect option is processed.  This allows you to
  use the server_logging extension with the :preconnect option.

* For specifying custom table aliases when using eager_graph and
  association_join, you can now use:

    Sequel[:association].as(:table_alias)

  in addition to:

    Sequel.as(:association, :table_alias)

= Other Improvements

* The ado/mssql adapter now retrieves the number of deleted or
  updated rows for a query without issuing a separate query.

* Sequel now avoids the use of Proc.new with an implicit block, as
  that feature will be deprecated starting in Ruby 2.7.