pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/ruby-activerecord80
Module Name: pkgsrc
Committed By: taca
Date: Tue Sep 23 04:17:02 UTC 2025
Modified Files:
pkgsrc/databases/ruby-activerecord80: distinfo
Log Message:
databases/ruby-activerecord80: update to 8.0.3
8.0.3 (2025-09-22)
Active Record
* Fix query cache for pinned connections in multi threaded transactional
tests
When a pinned connection is used across separate threads, they now use a
separate cache store for each thread.
This improve accuracy of system tests, and any test using multiple
threads.
Heinrich Lee Yu, Jean Boussier
* Don't add id_value attribute alias when attribute/column with that name
already exists.
Rob Lewis
* Fix false positive change detection involving STI and polymorphic has one
relationships.
Polymorphic has_one relationships would always be considered changed when
defined in a STI child class, causing nedless extra autosaves.
David Fritsch
* Skip calling PG::Connection#cancel in cancel_any_running_query when using
libpq >= 18 with pg < 1.6.0, due to incompatibility. Rollback still runs,
but may take longer.
Yasuo Honda, Lars Kanis
* Fix stale association detection for polymorphic belongs_to.
Florent Beaurain, Thomas Crambert
* Fix removal of PostgreSQL version comments in structure.sql for latest
PostgreSQL versions which include \restrict
Brendan Weibrecht
* Allow setting schema_format in database configuration.
primary:
schema_format: ruby
Useful in multi-database setups to have different formats per-database.
T S Vallender
* Use ntuples to populate row_count instead of count for Postgres
Jonathan Calvert
* Fix #merge with #or or #and and a mixture of attributes and SQL strings
resulting in an incorrect query.
base = Comment.joins(:post).where(user_id: 1).where("recent = 1")
puts base.merge(base.where(draft: true).or(Post.where(archived: true))).to_sql
Before:
SELECT "comments".* FROM "comments"
INNER JOIN "posts" ON "posts"."id" = "comments"."post_id"
WHERE (recent = 1)
AND (
"comments"."user_id" = 1
AND (recent = 1)
AND "comments"."draft" = 1
OR "posts"."archived" = 1
)
After:
SELECT "comments".* FROM "comments"
INNER JOIN "posts" ON "posts"."id" = "comments"."post_id"
WHERE "comments"."user_id" = 1
AND (recent = 1)
AND (
"comments"."user_id" = 1
AND (recent = 1)
AND "comments"."draft" = 1
OR "posts"."archived" = 1
)
Joshua Young
* Fix inline has_and_belongs_to_many fixtures for tables with composite
primary keys.
fatkodima
* Fix migration log message for down operations.
Bernardo Barreto
* Prepend extra_flags in postgres' structure_load
When specifying structure_load_flags with a postgres adapter, the flags
were appended to the default flags, instead of prepended. This caused
issues with flags not being taken into account by postgres.
Alice Loeser
* Fix annotate comments to propagate to update_all/delete_all.
fatkodima
* Fix checking whether an unpersisted record is include?d in a strictly
loaded has_and_belongs_to_many association.
Hartley McGuire
* create_or_find_by will now correctly rollback a transaction.
When using create_or_find_by, raising a ActiveRecord::Rollback error in a
after_save callback had no effect, the transaction was committed and a
record created.
Edouard Chin
* Gracefully handle Timeout.timeout firing during connection configuration.
Use of Timeout.timeout could result in improperly initialized database
connection.
This could lead to a partially configured connection being used, resulting
in various exceptions, the most common being with the PostgreSQLAdapter
raising undefined method 'key?' for nil or TypeError: wrong argument type
nil (expected PG::TypeMap).
Jean Boussier
* Fix stale state for composite foreign keys in belongs_to associations.
Varun Sharma
Action View
* Fix label with for option not getting prefixed by form namespace value
Abeid Ahmed, Hartley McGuire
* Fix javascript_include_tag type option to accept either strings and
symbols.
javascript_include_tag "application", type: :module
javascript_include_tag "application", type: "module"
Previously, only the string value was recognized.
Jean Boussier
* Fix excerpt helper with non-whitespace separator.
Jonathan Hefner
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/ruby-activerecord80/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/ruby-activerecord80/distinfo
diff -u pkgsrc/databases/ruby-activerecord80/distinfo:1.3 pkgsrc/databases/ruby-activerecord80/distinfo:1.4
--- pkgsrc/databases/ruby-activerecord80/distinfo:1.3 Thu Aug 14 15:25:06 2025
+++ pkgsrc/databases/ruby-activerecord80/distinfo Tue Sep 23 04:17:02 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2025/08/14 15:25:06 taca Exp $
+$NetBSD: distinfo,v 1.4 2025/09/23 04:17:02 taca Exp $
-BLAKE2s (activerecord-8.0.2.1.gem) = 2d64573323c328cc0e1575aa5ec7aead402e01c15e22304a9f9dceb95a3b6522
-SHA512 (activerecord-8.0.2.1.gem) = 0cc99246d470ac92743343460ed3b4efa39ffc3e25dd9448bb4967817e588f0237a43f36d84b6c59ab977026937087e17c29b6a14b43d10f1c9618d5339f5ff7
-Size (activerecord-8.0.2.1.gem) = 545280 bytes
+BLAKE2s (activerecord-8.0.3.gem) = ae2e77cae399ac20d889bbad1897e72fc5b50abeb1ee32820fed722e14ce778c
+SHA512 (activerecord-8.0.3.gem) = c709f56e79bb69d40b583188c2bcf0f1da70cd54bf7a4fae715aeb150adf8bf587299163eb89af8771fc4286c5b604a4fcf796a0a63ed17a6532966d00684394
+Size (activerecord-8.0.3.gem) = 547840 bytes
Home |
Main Index |
Thread Index |
Old Index