File: 5.37.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 (30 lines) | stat: -rw-r--r-- 1,236 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
= New Features

* Model#column_previously_was and #column_previously_changed? have
  been added to the dirty plugin, for getting the previous values
  of the column before saving and for whether there were changes
  before saving.
  
  Model#column_previously_changed? accepts :from and :to options
  to allow you to more easily determine if the value changed from
  and/or to specific values.

  This information was previously obtainable via
  Model#previous_changes, but these new methods offer a friendlier
  interface.

* Postgres::PGRow::{Array,Hash}Row#op has been added to the
  pg_row_ops extension if the pg_row extension is loaded.  This
  is similar to how the pg_array_ops, pg_hstore_ops, and
  pg_json_ops and #op method to their objects.  This makes it
  easier to perform row operations on literal rows.

= Other Improvements

* The schema_dumper extension now supports more unsigned numeric
  types, such as "decimal(7,2) unsigned" and "real unsigned".

* IntegerMigrator now raises an Migrator::Error if attempting to
  migrate down when there are migration files missing and needed for
  the down migration.  Previously, IntegerMigrator would not raise an
  exception and would make no database changes in this case.