Sha256: d4b60e669c34a0ddc42bb983b9801125e6c017a707f5cb760604eebd1f0ef6a3

Contents?: true

Size: 1.45 KB

Versions: 73

Compression:

Stored size: 1.45 KB

Contents

= New Features

* A uuid plugin has now been added.  This plugin will automatically
  create a uuid for newly created model objects.

    Model.plugin :uuid
    Model.create.uuid => # some UUID

* Model#json_serializer_opts has been added to the json_serializer
  plugin, allowing you to override the JSON serialization options
  on a per instance basis without passing the options directly
  to Model#to_json.  This is useful if you are including the model
  instance inside another datastructure that will be serialized
  to JSON.

    obj.json_serializer_opts(:root => true)
    [obj].to_json
    # => '[{"obj":{"id":1,"name":"Foo"}}]'

= Other Improvements

* The Database#transaction :retry_on option now works when using
  savepoints.

* Calling Database#table_exists? inside a transaction will now use
  a savepoint if the database supports it, so that if the table
  doesn't exist, it will not affect the state of the transaction.

* Blobs can now be used as bound variables in the oracle adapter.

* The sqlanywhere adapter now works with database sharding.

* The Dataset#full_text_search :rank option has been fixed to order
  by rank descending instead of ascending.

* External adapters that do not support INSERT with DEFAULT VALUES
  can now override Dataset#insert_empty_columns_values to set
  the columns and values to use for an empty INSERT.

* External adapters can now implement Dataset#date_add_sql_append
  to integrate with the date_arithmetic extension.

Version data entries

73 entries across 67 versions & 2 rubygems

Version Path
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/sequel-5.26.0/doc/release_notes/4.29.0.txt
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/sequel-5.29.0/doc/release_notes/4.29.0.txt
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/sequel-5.26.0/doc/release_notes/4.29.0.txt
sequel-5.29.0 doc/release_notes/4.29.0.txt
sequel-5.28.0 doc/release_notes/4.29.0.txt
sequel-5.27.0 doc/release_notes/4.29.0.txt
tdiary-5.1.0 vendor/bundle/gems/sequel-5.26.0/doc/release_notes/4.29.0.txt
sequel-5.26.0 doc/release_notes/4.29.0.txt
sequel-5.25.0 doc/release_notes/4.29.0.txt
sequel-5.24.0 doc/release_notes/4.29.0.txt
sequel-5.23.0 doc/release_notes/4.29.0.txt
sequel-5.22.0 doc/release_notes/4.29.0.txt
sequel-5.21.0 doc/release_notes/4.29.0.txt
sequel-5.20.0 doc/release_notes/4.29.0.txt
tdiary-5.0.13 vendor/bundle/gems/sequel-5.18.0/doc/release_notes/4.29.0.txt
sequel-5.19.0 doc/release_notes/4.29.0.txt
tdiary-5.0.12.1 vendor/bundle/gems/sequel-5.18.0/doc/release_notes/4.29.0.txt
sequel-5.18.0 doc/release_notes/4.29.0.txt
sequel-5.17.0 doc/release_notes/4.29.0.txt
sequel-5.16.0 doc/release_notes/4.29.0.txt