File: 4.16.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 (36 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (5)
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
33
34
35
36
= New Features

* Model#qualified_pk_hash has been added, which is similar to
  Model#pk_hash, but uses qualified keys.

* Dataset#distinct now accepts a virtual row block.

* Database#drop_table with :foreign=>true option now drops foreign
  tables on PostgreSQL.  Database#create_table with :foreign option
  is now reversible on PostgreSQL.

= Other Improvements

* Sequel::Model.cache_associations = false now skips the database's
  schema cache when loading the schema for a model.  This fixes
  some issues in environments that use code reloading.

* Database#create_table? and #create_join_table? no longer use
  IF NOT EXISTS if indexes are being created.

* Model.primary_key_hash and .qualified_primary_key_hash have been
  optimized.

* validates_unique in the validation_helpers plugin now uses a
  qualified primary key if the model's dataset is joined.  This fixes
  a case when the auto_validations and class_table_inheritance
  plugins are used together.

* Disconnect errors are now recognized in the postgres adapter when
  SSL is used for connecting.

* Empty string default values are no longer converted to nil default
  values on MySQL.

* Database#foreign_key_list now works correctly on Microsoft SQL
  Server 2005.