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:           Sun Mar 16 15:26:35 UTC 2025

Modified Files:
        pkgsrc/databases/ruby-activerecord80: distinfo

Log Message:
databases/ruby-activerecord80: update to 8.0.2

8.0.2 (2025/03/12)

* Fix inverting rename_enum_value when :from/:to are provided.  [fatkodima]
* Prevent persisting invalid record.  [Edouard Chin]
* Fix inverting drop_table without options.  [fatkodima]
* Fix count with group by qualified name on loaded relation.  [Ryuta
  Kamizono]
* Fix sum with qualified name on loaded relation.  [Chris Gunther]
* The SQLite3 adapter quotes non-finite Numeric values like "Infinity" and
  "NaN".  [Mike Dalessio]
* Handle libpq returning a database version of 0 on no/bad connection in
  PostgreSQLAdapter.
  Before, this version would be cached and an error would be raised during
  connection configuration when comparing it with the minimum required
  version for the adapter.  This meant that the connection could never be
  successfully configured on subsequent reconnection attempts.
  Now, this is treated as a connection failure consistent with libpq,
  raising a ActiveRecord::ConnectionFailed and ensuring the version isn't
  cached, which allows the version to be retrieved on the next connection
  attempt.  [Joshua Young, Rian McGuire]
* Fix error handling during connection configuration.
  Active Record wasn't properly handling errors during the connection
  configuration phase.  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 nilorTypeError:
  wrong argument type nil (expected PG::TypeMap)'.  [Jean Boussier]
* Fix a case where a non-retryable query could be marked retryable.
  [Hartley McGuire]
* Handle circular references when autosaving associations.  [zzak]
* PoolConfig no longer keeps a reference to the connection class.
  Keeping a reference to the class caused subtle issues when combined with
  reloading in development. Fixes #54343. [ Mike Dalessio]
* Fix SQL notifications sometimes not sent when using async queries.

    Post.async_count
    ActiveSupport::Notifications.subscribed(->(*) { "Will never reach here" }) do
      Post.count
    end

  In rare circumstances and under the right race condition, Active Support
  notifications would no longer be dispatched after using an asynchronous
  query.  This is now fixed.  [Edouard Chin]
* Fix support for PostgreSQL enum types with commas in their name.  [Arthur
  Hess]
* Fix inserts on MySQL with no RETURNING support for a table with multiple
  auto populated columns.  [Nikita Vasilevsky]
* Fix joining on a scoped association with string joins and bind parameters.

    class Instructor < ActiveRecord::Base
      has_many :instructor_roles, -> { active }
    end

    class InstructorRole < ActiveRecord::Base
      scope :active, -> {
        joins("JOIN students ON instructor_roles.student_id = students.id")
        .where(students { status: 1 })
      }
    end

    Instructor.joins(:instructor_roles).first

  The above example would result in ActiveRecord::StatementInvalid because
  the active scope bind parameters would be lost.  [Jean Boussier]
* Fix a potential race condition with system tests and transactional
  fixtures.  [Sjoerd Lagarde]
* Fix autosave associations to no longer validated unmodified associated
  records.
  Active Record was incorrectly performing validation on associated record
  that weren't created nor modified as part of the transaction:

    Post.create!(author: User.find(1)) # Fail if user is invalid

  [Jean Boussier]
* Remember when a database connection has recently been verified (for two
  seconds, by default), to avoid repeated reverifications during a single
  request.
  This should recreate a similar rate of verification as in Rails 7.1, where
  connections are leased for the duration of a request, and thus only
  verified once.  [Matthew Draper]


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 pkgsrc/databases/ruby-activerecord80/distinfo:1.2
--- pkgsrc/databases/ruby-activerecord80/distinfo:1.1   Thu Jan  2 07:07:56 2025
+++ pkgsrc/databases/ruby-activerecord80/distinfo       Sun Mar 16 15:26:34 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2025/01/02 07:07:56 taca Exp $
+$NetBSD: distinfo,v 1.2 2025/03/16 15:26:34 taca Exp $
 
-BLAKE2s (activerecord-8.0.1.gem) = c55c7e5bcb1318246713e6c2acd2ceb85349fa0edac22e40ba5fc68da082330c
-SHA512 (activerecord-8.0.1.gem) = 4b0b25d5a548ebd81f45de0c6c25af39284f07767868e6ab5a65fcc3579e35cc31af1e044224eb63e6a989b4b5bb20bb0ca85527cba5ab36e57ca30aa25103fe
-Size (activerecord-8.0.1.gem) = 543232 bytes
+BLAKE2s (activerecord-8.0.2.gem) = 4aa0785821d6b9980f954b291e5710b1cbaddc350ca06540ca96ab0bfe6cbd42
+SHA512 (activerecord-8.0.2.gem) = 0d1500f8bea37e18ab06050f8fc6419e70db6bd2d54d2e102444a337d6d2679c8917036a626c4f3632f671d64eab1c343d32f73341e68b56d51b51c7a05213dd
+Size (activerecord-8.0.2.gem) = 545280 bytes



Home | Main Index | Thread Index | Old Index