File: 5.55.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 (21 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
= New Features

* An auto_restrict_eager_graph plugin has been added for automatically
  disallowing the use of eager_graph with associations using blocks but
  lacking graph_* options.  This can prevent potentionally invalid usage,
  as the restrictions added by the block are not used by eager_graph.

* The sqlite adapter now supports the :setup_regexp_function
  Database option. This option will define a REGEXP function in the
  database that will allow regexp support in queries, such as:

    DB[:table].where(column: /(some|pattern)/)

  Note that this creates a Ruby Regexp object per column value tested,
  so it isn't the most optimal approach. 

= Other Improvements

* Calling dataset aggregate methods such as #max on a model dataset now
  works correctly. Previously, it could fail if called enough times to
  optimize using a placeholder literalizer.