pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-activerecord61 databases/ruby-activerec...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e70f19023ae0
branches: trunk
changeset: 378636:e70f19023ae0
user: taca <taca%pkgsrc.org@localhost>
date: Thu May 05 03:30:33 2022 +0000
description:
databases/ruby-activerecord61: update to 6.1.5.1
## Rails 6.1.5.1 (April 26, 2022) ##
* No changes.
## Rails 6.1.5 (March 09, 2022) ##
* Fix `ActiveRecord::ConnectionAdapters::SchemaCache#deep_deduplicate` for Ruby 2.6.
Ruby 2.6 and 2.7 have slightly different implementations of the `String#@-` method.
In Ruby 2.6, the receiver of the `String#@-` method is modified under certain circumstances.
This was later identified as a bug (https://bugs.ruby-lang.org/issues/15926) and only
fixed in Ruby 2.7.
Before the changes in this commit, the
`ActiveRecord::ConnectionAdapters::SchemaCache#deep_deduplicate` method, which internally
calls the `String#@-` method, could also modify an input string argument in Ruby 2.6 --
changing a tainted, unfrozen string into a tainted, frozen string.
Fixes #43056
*Eric O'Hanlon*
* Fix migration compatibility to create SQLite references/belongs_to column as integer when
migration version is 6.0.
`reference`/`belongs_to` in migrations with version 6.0 were creating columns as
bigint instead of integer for the SQLite Adapter.
*Marcelo Lauxen*
* Fix dbconsole for 3-tier config.
*Eileen M. Uchitelle*
* Better handle SQL queries with invalid encoding.
```ruby
Post.create(name: "broken \xC8 UTF-8")
```
Would cause all adapters to fail in a non controlled way in the code
responsible to detect write queries.
The query is now properly passed to the database connection, which might or might
not be able to handle it, but will either succeed or failed in a more correct way.
*Jean Boussier*
* Ignore persisted in-memory records when merging target lists.
*Kevin Sjöberg*
* Fix regression bug that caused ignoring additional conditions for preloading
`has_many` through relations.
Fixes #43132
*Alexander Pauly*
* Fix `ActiveRecord::InternalMetadata` to not be broken by
`config.active_record.record_timestamps = false`
Since the model always create the timestamp columns, it has to set them, otherwise it breaks
various DB management tasks.
Fixes #42983
*Jean Boussier*
* Fix duplicate active record objects on `inverse_of`.
*Justin Carvalho*
* Fix duplicate objects stored in has many association after save.
Fixes #42549.
*Alex Ghiculescu*
* Fix performance regression in `CollectionAssocation#build`.
*Alex Ghiculescu*
* Fix retrieving default value for text column for MariaDB.
*fatkodima*
diffstat:
databases/ruby-activerecord61/distinfo | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (13 lines):
diff -r d408829c3f9f -r e70f19023ae0 databases/ruby-activerecord61/distinfo
--- a/databases/ruby-activerecord61/distinfo Thu May 05 03:30:02 2022 +0000
+++ b/databases/ruby-activerecord61/distinfo Thu May 05 03:30:33 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/03/13 15:11:51 taca Exp $
+$NetBSD: distinfo,v 1.12 2022/05/05 03:30:33 taca Exp $
-BLAKE2s (activerecord-6.1.4.7.gem) = b8ce61e4baaa9099c3c22605bfd8d11cbeb31217e74182f75f3097fbfc1209c4
-SHA512 (activerecord-6.1.4.7.gem) = 371b9832b7c264b859b4baed54672da4d00127fc5fb1728d81bcc15d28335bfeaf7bf69114e69e2d5b5285de932efd9d88e93e2e35281f92e0490626824ec8d8
-Size (activerecord-6.1.4.7.gem) = 430592 bytes
+BLAKE2s (activerecord-6.1.5.1.gem) = a0af64fdab45ecf8a5407b332056daced301fad947094a988b10507f7e890f67
+SHA512 (activerecord-6.1.5.1.gem) = 2aa385079e34065185997605345380a2cda70d9770c2b5501af6de3e77574edf48b6694052957d6bd9b3bf8f67c461ed47abaff87f81a9216115933e77e2acc4
+Size (activerecord-6.1.5.1.gem) = 432128 bytes
Home |
Main Index |
Thread Index |
Old Index