Up to [cvs.NetBSD.org] / pkgsrc / databases / ruby-activerecord70
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
www/ruby-rails70: Remove Ruby on Rails 7.0.x pacakges EOL since 2025-10-29.
databases/ruby-activerecord70: update to 7.0.10
7.0.10 (2029-10-28)
* Fix an issue that could cause database connection leaks
If Active Record successfully connected to the database, but then failed
to read the server informations, the connection would be leaked until the
Ruby garbage collector triggers.
Jean Boussier
* Fix single quote escapes on default generated MySQL columns
MySQL 5.7.5+ supports generated columns, which can be used to create a
column that is computed from an expression.
Previously, the schema dump would output a string with double escapes for
generated columns with single quotes in the default expression.
This would result in issues when importing the schema on a fresh instance
of a MySQL database.
Now, the string will not be escaped and will be valid Ruby upon importing
of the schema.
Yash Kapadia
* Fix Relation#transaction to not apply a default scope
The method was incorrectly setting a default scope around its block:
Post.where(published: true).transaction do
Post.count # SELECT COUNT(*) FROM posts WHERE published = FALSE;
end
Jean Boussier
* Fix renaming primary key index when renaming a table with a UUID primary
key in PostgreSQL.
fatkodima
* Fix where(field: values) queries when field is a serialized attribute
(for example, when field uses ActiveRecord::Base.serialize or is a JSON
column).
João Alves
* Don't mark Float::INFINITY as changed when reassigning it
When saving a record with a float infinite value, it shouldn't mark as
changed
Maicol Bentancor
* ActiveRecord::Base.table_name now returns nil instead of raising
"undefined method abstract_class? for Object:Class".
a5-stable
* Fix upserting for custom :on_duplicate and :unique_by consisting of all
inserts keys.
fatkodima
* Fix NoMethodError when casting a PostgreSQL money value that uses a comma
as its radix point and has no leading currency symbol. For example, when
casting "3,50".
Andreas Reischuck and Jonathan Hefner
* Fix duplicate quoting for check constraint expressions in schema dump when
using MySQL
A check constraint with an expression, that already contains quotes, lead
to an invalid schema dump with the mysql2 adapter.
Fixes #42424.
Felix Tscheulin
* Fix MySQL expression index dumping with escaped quotes.
fatkodima
* Fix uniqueness validation on association not using overridden primary key.
fatkodima
www/ruby-rails70: update to 7.0.8.7 Update to Ruby on Rails 7.0.8.7 Action Pack * Add validation to content security policies to disallow spaces and semicolons. Developers should use multiple arguments, and different directive methods instead. [CVE-2024-54133] Gannon McGibbon Action Text * Update vendored trix version to 1.3.4 John Hawthorn
www/ruby-rails70: update to 7.0.8.6 Security fix of ruby-action-mailer70. Other packages have no change except their version. 7.0.8.6 (2024-10-23) Action Mailer * Fix NoMethodError in block_format helper [Michael Leimstaedtner]
www/ruby-rails70: update to 7.0.8.5 Update Ruby on Rails 7.0 to 7.0.8.5. Active Support * No changes. Active Model * No changes. Active Record * No changes. Action View * No changes. Action Pack * Avoid regex backtracking in HTTP Token authentication [CVE-2024-47887] * Avoid regex backtracking in query parameter filtering [CVE-2024-41128] Active Job * No changes. Action Mailer * Avoid regex backtracking in block_format helper [CVE-2024-47889] Action Cable * No changes. Active Storage * No changes. Action Mailbox * No changes. Action Text * Avoid backtracing in plain_text_for_blockquote_node [CVE-2024-47888] Railties * No changes.
Pullup ticket #6859 - requested by taca
www/ruby-rails70: security fix
Revisions pulled up:
- databases/ruby-activerecord70/distinfo 1.19-1.20
- devel/ruby-activejob70/distinfo 1.19-1.20
- devel/ruby-activemodel70/distinfo 1.19-1.20
- devel/ruby-activestorage70/distinfo 1.19-1.20
- devel/ruby-activesupport70/distinfo 1.19-1.20
- devel/ruby-railties70/distinfo 1.19-1.20
- lang/ruby/rails.mk 1.160,1.163
- mail/ruby-actionmailbox70/distinfo 1.19-1.20
- mail/ruby-actionmailer70/distinfo 1.19-1.20
- textproc/ruby-actiontext70/distinfo 1.19-1.20
- www/ruby-actioncable70/distinfo 1.19-1.20
- www/ruby-actionpack70/distinfo 1.19-1.20
- www/ruby-actionview70/distinfo 1.19-1.20
- www/ruby-rails70/distinfo 1.19-1.20
---
Module Name: pkgsrc
Committed By: taca
Date: Wed May 22 13:23:03 UTC 2024
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
pkgsrc/devel/ruby-activejob70: distinfo
pkgsrc/devel/ruby-activemodel70: distinfo
pkgsrc/devel/ruby-activestorage70: distinfo
pkgsrc/devel/ruby-activesupport70: distinfo
pkgsrc/devel/ruby-railties70: distinfo
pkgsrc/lang/ruby: rails.mk
pkgsrc/mail/ruby-actionmailbox70: distinfo
pkgsrc/mail/ruby-actionmailer70: distinfo
pkgsrc/textproc/ruby-actiontext70: distinfo
pkgsrc/www/ruby-actioncable70: distinfo
pkgsrc/www/ruby-actionpack70: distinfo
pkgsrc/www/ruby-actionview70: distinfo
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70: update to 7.0.8.2
Fix CVE-2024-34341 of textproc/ruby-actiontext.
7.0.8.2 (2024-05-16)
Active Support
* No changes.
Active Model
* No changes.
Active Record
* No changes.
Action View
* No changes.
Action Pack
* No changes.
Active Job
* No changes.
Action Mailer
* No changes.
Action Cable
* No changes.
Active Storage
* No changes.
Action Mailbox
* No changes.
Action Text
* Upgrade Trix to 1.3.2 to fix CVE-2024-34341.
Rafael Mendonça França
Railties
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Wed Jun 5 16:40:51 UTC 2024
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
pkgsrc/devel/ruby-activejob70: distinfo
pkgsrc/devel/ruby-activemodel70: distinfo
pkgsrc/devel/ruby-activestorage70: distinfo
pkgsrc/devel/ruby-activesupport70: distinfo
pkgsrc/devel/ruby-railties70: distinfo
pkgsrc/lang/ruby: rails.mk
pkgsrc/mail/ruby-actionmailbox70: distinfo
pkgsrc/mail/ruby-actionmailer70: distinfo
pkgsrc/textproc/ruby-actiontext70: distinfo
pkgsrc/www/ruby-actioncable70: distinfo
pkgsrc/www/ruby-actionpack70: distinfo
pkgsrc/www/ruby-actionview70: distinfo
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70: update to 7.0.8.4
Security fix for CVE-2024-34341 (textproc/ruby-actiontext70) and
CVE-2024-28103 (www/ruby-actionpack61 package).
Ruby on Rails 7.0.8.3 (2024-05-17)
Action Text
Sanitize ActionText HTML ContentAttachment in Trix edit view
[CVE-2024-34341]
Ruby on Rails 7.0.8.4 (2024-06-04)
Action Pack
* Include the HTTP Permissions-Policy on non-HTML Content-Types
[CVE-2024-28103]
www/ruby-rails70: update to 7.0.8.4
Security fix for CVE-2024-34341 (textproc/ruby-actiontext70) and
CVE-2024-28103 (www/ruby-actionpack61 package).
Ruby on Rails 7.0.8.3 (2024-05-17)
Action Text
Sanitize ActionText HTML ContentAttachment in Trix edit view
[CVE-2024-34341]
Ruby on Rails 7.0.8.4 (2024-06-04)
Action Pack
* Include the HTTP Permissions-Policy on non-HTML Content-Types
[CVE-2024-28103]
www/ruby-rails70: update to 7.0.8.2 Fix CVE-2024-34341 of textproc/ruby-actiontext. 7.0.8.2 (2024-05-16) Active Support * No changes. Active Model * No changes. Active Record * No changes. Action View * No changes. Action Pack * No changes. Active Job * No changes. Action Mailer * No changes. Action Cable * No changes. Active Storage * No changes. Action Mailbox * No changes. Action Text * Upgrade Trix to 1.3.2 to fix CVE-2024-34341. Rafael Mendonça França Railties * No changes.
www/ruby-rails70: update to 7.0.8.1 Update Ruby on Rails 7.0 and related pacakges to 7.0.8.1 This includes security fix: CVE-2024-26144 for devel/ruby-activestorage70 CVE-2024-26146 for www/ruby-actionpack70 Action Pack * Fix possible XSS vulnerability with the translate method in controllers CVE-2024-26143 Active Storage * Disables the session in ActiveStorage::Blobs::ProxyController and ActiveStorage::Representations::ProxyController in order to allow caching by default in some CDNs as CloudFlare Fixes #44136 Bruno Prieto
www/ruby-rails70: update to 7.0.8
pkgsrc change: fix dependency of ruby-activestorage70
Active Support
* Fix TimeWithZone still using deprecated #to_s when ENV or config to
disable it are set. (Hartley McGuire)
* Fix CacheStore#write_multi when using a distributed Redis cache with a
connection pool. Fixes #48938. (Jonathan del Strother)
Active Record
* Fix change_column not setting precision: 6 on datetime columns when using
7.0+ Migrations and SQLite. (Hartley McGuire)
* Fix unscope is not working in specific case
Before:
Post.where(id: 1...3).unscope(where: :id).to_sql # "SELECT `posts`.* FROM `posts` WHERE `posts`.`id` >= 1 AND `posts`.`id` < 3"
After:
Post.where(id: 1...3).unscope(where: :id).to_sql # "SELECT `posts`.* FROM `posts`"
Fixes #48094. (Kazuya Hatanaka)
* Fix associations to a STI model including a class_name parameter
class Product < ApplicationRecord
has_many :requests, as: :requestable, class_name: "ProductRequest", dependent: :destroy
end
# STI tables
class Request < ApplicationRecord
belongs_to :requestable, polymorphic: true
validate :request_type, presence: true
end
class ProductRequest < Request
belongs_to :user
end
Accessing such association would lead to:
table_metadata.rb:22:in `has_column?': undefined method `key?' for nil:NilClass (NoMethodError)
(Romain Filinto)
* Fix change_table setting datetime precision for 6.1 Migrations
(Hartley McGuire)
* Fix change_column setting datetime precision for 6.1 Migrations
(Hartley McGuire)
Action View
* Fix form_for missing the hidden _method input for models with a namespaced
route. (Hartley McGuire)
* Fix render collection: @records, cache: true inside jbuilder templates
The previous fix that shipped in 7.0.7 assumed template fragments are
always strings, this isn't true with jbuilder. (Jean Boussier)
Action Pack
* Fix HostAuthorization potentially displaying the value of the
X_FORWARDED_HOST header when the HTTP_HOST header is being blocked.
(Hartley McGuire, Daniel Schlosser)
Active Job
* Fix Active Job log message to correctly report a job failed to enqueue
when the adapter raises an ActiveJob::EnqueueError. (Ben Sheldon)
Railties
* Omit webdrivers gem dependency from Gemfile template (Sean Doyle)
www/ruby-rails70: update to 7.0.7.2 7.0.7.2 (2023-08-22) Active Support * Use a temporary file for storing unencrypted files while editing [CVE-2023-38037] 7.0.7.1 (2023-08-22) * No changes between this and 7.0.7.2. This release was just to fix file permissions in the previous release.
www/rails70: update to 7.0.7 Rails 7.0.7 (20223-08-10) Active Support * Fix Cache::NullStore with local caching for repeated reads. (fatkodima) * Fix to_s with no arguments not respecting custom :default formats (Hartley McGuire) * Fix ActiveSupport::Inflector.humanize(nil) raising NoMethodError: undefined method `end_with?' for nil:NilClass. (James Robinson) * Fix Enumerable#sum for Enumerator#lazy. (fatkodima, Matthew Draper, Jonathan Hefner) * Improve error message when EventedFileUpdateChecker is used without a compatible version of the Listen gem. (Hartley McGuire) Active Model * Error.full_message now strips ":base" from the message. (zzak) * Add a load hook for ActiveModel::Model (named active_model) to match the load hook for ActiveRecord::Base and allow for overriding aspects of the ActiveModel::Model class. Active Record * Restores functionality to the missing method when using enums and fixes. (paulreece) * Fix StatementCache::Substitute with serialized type. (ywenc) * Fix :db_runtime on notification payload when application have multiple databases. (Eileen M. Uchitelle) * Correctly dump check constraints for MySQL 8.0.16+. (Steve Hill) * Fix ActiveRecord::QueryMethods#in_order_of to include nils, to match the behavior of Enumerable#in_order_of. For example, Post.in_order_of(:title, [nil, "foo"]) will now include posts with nil titles, the same as Post.all.to_a.in_order_of(:title, [nil, "foo"]). (fatkodima) * Revert "Fix autosave associations with validations added on :base of the associated objects." This change intended to remove the :base attribute from the message, but broke many assumptions which key these errors were stored. (zzak) * Fix #previously_new_record? to return true for destroyed records. Before, if a record was created and then destroyed, #previously_new_record? would return true. Now, any UPDATE or DELETE to a record is considered a change, and will result in #previously_new_record? returning false. (Adrianna Chang) * Revert breaking changes to has_one relationship deleting the old record before the new one is validated. (zzak) * Fix support for Active Record instances being uses in queries. As of 7.0.5, query arguments were deep duped to avoid mutations impacting the query cache, but this had the adverse effect to clearing the primary key when the query argument contained an ActiveRecord::Base instance. This broke the noticed gem. (Jean Boussier) Action View * Fix render collection: @records, cache: true to cache fragments as bare strings. Previously it would incorrectly cache them as Action View buffers. (Jean Boussier) * Don't double-encode nested field_id and field_name index values. Pass index: @options as a default keyword argument to field_id and field_name view helper methods. (Sean Doyle) Railties * Update default scaffold templates to set 303 (See Other) as status code on redirect for the update action for XHR requests other than GET or POST to avoid issues (e.g browsers trying to follow the redirect using the original request method resulting in double PATCH/PUT). (Guillermo Iguaran)
www/ruby-rails70: update to 7.0.6 Active Support * Fix EncryptedConfiguration returning incorrect values for some Hash methods. (Hartley McGuire) * Fix arguments being destructed Enumerable#many? with block. (Andrew Novoselac) * Fix humanize for strings ending with id. (fatkodima) Active Model * No changes. Active Record * Fix autosave associations with validations added on :base of the associated objects. (fatkodima) * Fix result with anonymous PostgreSQL columns of different type from json. (Oleksandr Avoiants) * Preserve timestamp when setting an ActiveSupport::TimeWithZone value to timestamptz attribute. (fatkodima) * Fix where on association with has_one/has_many polymorphic relations. Before: Treasure.where(price_estimates: PriceEstimate.all) #=> SELECT (...) WHERE "treasures"."id" IN (SELECT "price_estimates"."estimate_of_id" FROM "price_estimates") Later: Treasure.where(price_estimates: PriceEstimate.all) #=> SELECT (...) WHERE "treasures"."id" IN (SELECT "price_estimates"."estimate_of_id" FROM "price_estimates" WHERE "price_estimates"."estimate_of_type" = 'Treasure') (Lázaro Nixon) * Fix decrementing counter caches on optimistically locked record deletion. (fatkodima) * Ensure binary-destined values have binary encoding during type cast. (Matthew Draper) * Preserve existing column default functions when altering table in SQLite. (fatkodima) * Remove table alias added when using where.missing or where.associated. (fatkodima) * Fix Enumerable#in_order_of to only flatten first level to preserve nesting. (Miha Rekar) Action View * No changes. Action Pack * No changes. Active Job * Fix error Active Job passed class with permitted?. (Alex Baldwin) Action Mailer * No changes. Action Cable * Fix Action Cable Redis configuration with sentinels. (Dmitriy Ivliev) Active Storage * Fix retrieving rotation value from FFmpeg on version 5.0+. In FFmpeg version 5.0+ the rotation value has been removed from tags. Instead the value can be found in side_data_list. Along with this update it's possible to have values of -90, -270 to denote the video has been rotated. (Haroon Ahmed) Action Mailbox * No changes. Action Text * No changes. Railties * Avoid escaping paths when editing credentials. (Jonathan Hefner)
Pullup ticket #6767 - requested by taca
www/ruby-rails70: security fix
Revisions pulled up:
- databases/ruby-activerecord70/distinfo 1.13
- devel/ruby-activejob70/distinfo 1.13
- devel/ruby-activemodel70/distinfo 1.13
- devel/ruby-activestorage70/distinfo 1.13
- devel/ruby-activesupport70/distinfo 1.13
- devel/ruby-railties70/distinfo 1.13
- lang/ruby/rails.mk 1.147
- mail/ruby-actionmailbox70/distinfo 1.13
- mail/ruby-actionmailer70/distinfo 1.13
- textproc/ruby-actiontext70/distinfo 1.13
- www/ruby-actioncable70/distinfo 1.13
- www/ruby-actionpack70/distinfo 1.13
- www/ruby-actionview70/distinfo 1.13
- www/ruby-rails70/distinfo 1.13
---
Module Name: pkgsrc
Committed By: taca
Date: Tue Jun 27 13:39:05 UTC 2023
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
pkgsrc/devel/ruby-activejob70: distinfo
pkgsrc/devel/ruby-activemodel70: distinfo
pkgsrc/devel/ruby-activestorage70: distinfo
pkgsrc/devel/ruby-activesupport70: distinfo
pkgsrc/devel/ruby-railties70: distinfo
pkgsrc/lang/ruby: rails.mk
pkgsrc/mail/ruby-actionmailbox70: distinfo
pkgsrc/mail/ruby-actionmailer70: distinfo
pkgsrc/textproc/ruby-actiontext70: distinfo
pkgsrc/www/ruby-actioncable70: distinfo
pkgsrc/www/ruby-actionpack70: distinfo
pkgsrc/www/ruby-actionview70: distinfo
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70
Rails 7.0.5.1 (2023-06-26)
Action Pack
* Raise an exception if illegal characters are provide to redirect_to
[CVE-2023-28362]
*Zack Deveau*
www/ruby-rails70
Rails 7.0.5.1 (2023-06-26)
Action Pack
* Raise an exception if illegal characters are provide to redirect_to
[CVE-2023-28362]
*Zack Deveau*
www/ruby-rails70: update to 7.0.5 7.0.5 (2023-05-24) Changes are too many to write here, please refer <https://github.com/rails/rails/releases/tag/v7.0.5> in detail.
www/ruby-rails70: update to 7.0.4.3 7.0.4.3 (2023-03-13) Active Support * Implement SafeBuffer#bytesplice [CVE-2023-28120] Action View * Ignore certain data-* attributes in rails-ujs when element is contenteditable [CVE-2023-23913]
Pullup ticket #6734 - requested by taca
databases/ruby-activerecord70: security update
devel/ruby-activejob70: distinfo update
devel/ruby-activemodel70: distinfo update
devel/ruby-activestorage70: distinfo update
devel/ruby-activesupport70: security update
devel/ruby-railties70: distinfo update
mail/ruby-actionmailbox70: distinfo update
mail/ruby-actionmailer70: distinfo update
textproc/ruby-actiontext70: distinfo update
www/ruby-actioncable70: distinfo update
www/ruby-actionpack70: security update
www/ruby-actionview70: distinfo update
www/ruby-rails70: distinfo update
Revisions pulled up:
- databases/ruby-activerecord70/distinfo 1.9-1.10
- devel/ruby-activejob70/distinfo 1.9-1.10
- devel/ruby-activemodel70/distinfo 1.9-1.10
- devel/ruby-activestorage70/distinfo 1.9-1.10
- devel/ruby-activesupport70/distinfo 1.9-1.10
- devel/ruby-railties70/distinfo 1.9-1.10
- lang/ruby/rails.mk 1.140,1.142
- mail/ruby-actionmailbox70/distinfo 1.9-1.10
- mail/ruby-actionmailer70/distinfo 1.9-1.10
- textproc/ruby-actiontext70/distinfo 1.9-1.10
- www/ruby-actioncable70/distinfo 1.9-1.10
- www/ruby-actionpack70/distinfo 1.9-1.10
- www/ruby-actionview70/distinfo 1.9-1.10
- www/ruby-rails70/distinfo 1.9-1.10
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Thu Jan 19 14:34:27 UTC 2023
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
pkgsrc/devel/ruby-activejob70: distinfo
pkgsrc/devel/ruby-activemodel70: distinfo
pkgsrc/devel/ruby-activestorage70: distinfo
pkgsrc/devel/ruby-activesupport70: distinfo
pkgsrc/devel/ruby-railties70: distinfo
pkgsrc/lang/ruby: rails.mk
pkgsrc/mail/ruby-actionmailbox70: distinfo
pkgsrc/mail/ruby-actionmailer70: distinfo
pkgsrc/textproc/ruby-actiontext70: distinfo
pkgsrc/www/ruby-actioncable70: distinfo
pkgsrc/www/ruby-actionpack70: Makefile distinfo
pkgsrc/www/ruby-actionview70: distinfo
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70: update to 7.0.4.1
Rails 7.0.4.1 (2023-01-17)
devel/ruby-activesupport70
* Avoid regex backtracking in Inflector.underscore
[CVE-2023-22796]
www/ruby-actionpack70
* Fix sec issue with _url_host_allowed?
Disallow certain strings from `_url_host_allowed?` to avoid a redirect
to malicious sites.
[CVE-2023-22797]
* Avoid regex backtracking on If-None-Match header
[CVE-2023-22795]
* Use string#split instead of regex for domain parts
[CVE-2023-22792]
databases/ruby-activerecord70
* Make sanitize_as_sql_comment more strict
Though this method was likely never meant to take user input, it was
attempting sanitization. That sanitization could be bypassed with
carefully crafted input.
This commit makes the sanitization more robust by replacing any
occurrances of "/*" or "*/" with "/ *" or "* /". It also performs a
first pass to remove one surrounding comment to avoid compatibility
issues for users relying on the existing removal.
This also clarifies in the documentation of annotate that it should not
be provided user input.
[CVE-2023-22794]
* Added integer width check to PostgreSQL::Quoting
Given a value outside the range for a 64bit signed integer type
PostgreSQL will treat the column type as numeric. Comparing
integer values against numeric values can result in a slow
sequential scan.
This behavior is configurable via
ActiveRecord::Base.raise_int_wider_than_64bit which defaults to true.
[CVE-2022-44566]
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/ruby-activerecord70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activejob70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activemodel70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activestorage70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activesupport70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-railties70/distinfo
cvs rdiff -u -r1.139 -r1.140 pkgsrc/lang/ruby/rails.mk
cvs rdiff -u -r1.8 -r1.9 pkgsrc/mail/ruby-actionmailbox70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/mail/ruby-actionmailer70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/ruby-actiontext70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-actioncable70/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/ruby-actionpack70/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-actionpack70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-actionview70/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-rails70/distinfo
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Jan 25 13:31:17 UTC 2023
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
pkgsrc/devel/ruby-activejob70: distinfo
pkgsrc/devel/ruby-activemodel70: distinfo
pkgsrc/devel/ruby-activestorage70: distinfo
pkgsrc/devel/ruby-activesupport70: distinfo
pkgsrc/devel/ruby-railties70: distinfo
pkgsrc/lang/ruby: rails.mk
pkgsrc/mail/ruby-actionmailbox70: distinfo
pkgsrc/mail/ruby-actionmailer70: distinfo
pkgsrc/textproc/ruby-actiontext70: distinfo
pkgsrc/www/ruby-actioncable70: distinfo
pkgsrc/www/ruby-actionpack70: distinfo
pkgsrc/www/ruby-actionview70: distinfo
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70: update to 7.0.4.2
Rails 7.0.4.2 (2023-01-24)
* Fix `domain: :all` for two letter TLD
This fixes a compatibility issue introduced in our previous security
release when using `domain: :all` with a two letter but single level top
level domain domain (like `.ca`, rather than `.co.uk`).
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/ruby-activerecord70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activejob70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activemodel70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activestorage70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activesupport70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-railties70/distinfo
cvs rdiff -u -r1.141 -r1.142 pkgsrc/lang/ruby/rails.mk
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/ruby-actionmailbox70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/ruby-actionmailer70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/ruby-actiontext70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-actioncable70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-actionpack70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-actionview70/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-rails70/distinfo
www/ruby-rails70: update to 7.0.4.2
Rails 7.0.4.2 (2023-01-24)
* Fix `domain: :all` for two letter TLD
This fixes a compatibility issue introduced in our previous security
release when using `domain: :all` with a two letter but single level top
level domain domain (like `.ca`, rather than `.co.uk`).
www/ruby-rails70: update to 7.0.4.1 Rails 7.0.4.1 (2023-01-17) devel/ruby-activesupport70 * Avoid regex backtracking in Inflector.underscore [CVE-2023-22796] www/ruby-actionpack70 * Fix sec issue with _url_host_allowed? Disallow certain strings from `_url_host_allowed?` to avoid a redirect to malicious sites. [CVE-2023-22797] * Avoid regex backtracking on If-None-Match header [CVE-2023-22795] * Use string#split instead of regex for domain parts [CVE-2023-22792] databases/ruby-activerecord70 * Make sanitize_as_sql_comment more strict Though this method was likely never meant to take user input, it was attempting sanitization. That sanitization could be bypassed with carefully crafted input. This commit makes the sanitization more robust by replacing any occurrances of "/*" or "*/" with "/ *" or "* /". It also performs a first pass to remove one surrounding comment to avoid compatibility issues for users relying on the existing removal. This also clarifies in the documentation of annotate that it should not be provided user input. [CVE-2023-22794] * Added integer width check to PostgreSQL::Quoting Given a value outside the range for a 64bit signed integer type PostgreSQL will treat the column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan. This behavior is configurable via ActiveRecord::Base.raise_int_wider_than_64bit which defaults to true. [CVE-2022-44566]
databases/ruby-activerecord70: update to 7.0.4
* Symbol is allowed by default for YAML columns
Étienne Barrié
* Fix ActiveRecord::Store to serialize as a regular Hash
Previously it would serialize as an
ActiveSupport::HashWithIndifferentAccess which is wasteful and cause
problem with YAML safe_load.
Jean Boussier
* Add timestamptz as a time zone aware type for PostgreSQL
This is required for correctly parsing timestamp with time zone values in
your database.
If you don't want this, you can opt out by adding this initializer:
ActiveRecord::Base.time_zone_aware_types -= [:timestamptz]
Alex Ghiculescu
* Fix supporting timezone awareness for tsrange and tstzrange array columns.
# In database migrations
add_column :shops, :open_hours, :tsrange, array: true
# In app config
ActiveRecord::Base.time_zone_aware_types += [:tsrange]
# In the code times are properly converted to app time zone
Shop.create!(open_hours: [Time.current..8.hour.from_now])
Wojciech Wnętrzak
* Resolve issue where a relation cache_version could be left stale.
Previously, when reset was called on a relation object it did not reset
the cache_versions ivar. This led to a confusing situation where despite
having the correct data the relation still reported a stale cache_version.
Usage:
developers = Developer.all
developers.cache_version
Developer.update_all(updated_at: Time.now.utc + 1.second)
developers.cache_version # Stale cache_version
developers.reset
developers.cache_version # Returns the current correct cache_version
Fixes .
Austen Madden
* Fix load_async when called on an association proxy.
Calling load_async directly an association would schedule a query but
never use it.
comments = post.comments.load_async # schedule a query
comments.to_a # perform an entirely new sync query
Now it does use the async query, however note that it doesn't cause the
association to be loaded.
Jean Boussier
* Fix eager loading for models without primary keys.
Anmol Chopra, Matt Lawrence, and Jonathan Hefner
* rails db:schema:{dump,load} now checks ENV["SCHEMA_FORMAT"] before config
Since rails db:structure:{dump,load} was deprecated there wasn't a simple
way to dump a schema to both SQL and Ruby formats. You can now do this
with an environment variable. For example:
SCHEMA_FORMAT=sql rake db:schema:dump
Alex Ghiculescu
* Fix Hstore deserialize regression.
edsharp
Pullup ticket #6656 - requested by taca
databases/ruby-activerecord70: security update
devel/ruby-activejob70: security update
devel/ruby-activemodel70: security update
devel/ruby-activestorage70: security update
devel/ruby-activesupport70: security update
devel/ruby-railties70: security update
mail/ruby-actionmailbox70: security update
mail/ruby-actionmailer70: security update
textproc/ruby-actiontext70: security update
www/ruby-actioncable70: security update
www/ruby-actionpack70: security update
www/ruby-actionview70: security update
www/ruby-rails70: security update
Revisions pulled up:
- databases/ruby-activerecord70/distinfo 1.7
- devel/ruby-activejob70/distinfo 1.7
- devel/ruby-activemodel70/distinfo 1.7
- devel/ruby-activestorage70/distinfo 1.7
- devel/ruby-activesupport70/distinfo 1.7
- devel/ruby-railties70/Makefile 1.5
- devel/ruby-railties70/distinfo 1.7
- lang/ruby/rails.mk 1.132
- mail/ruby-actionmailbox70/distinfo 1.7
- mail/ruby-actionmailer70/distinfo 1.7
- textproc/ruby-actiontext70/distinfo 1.7
- www/ruby-actioncable70/distinfo 1.7
- www/ruby-actionpack70/distinfo 1.7
- www/ruby-actionview70/distinfo 1.7
- www/ruby-rails70/distinfo 1.7
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Jul 13 14:48:48 UTC 2022
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
pkgsrc/devel/ruby-activejob70: distinfo
pkgsrc/devel/ruby-activemodel70: distinfo
pkgsrc/devel/ruby-activestorage70: distinfo
pkgsrc/devel/ruby-activesupport70: distinfo
pkgsrc/devel/ruby-railties70: Makefile distinfo
pkgsrc/lang/ruby: rails.mk
pkgsrc/mail/ruby-actionmailbox70: distinfo
pkgsrc/mail/ruby-actionmailer70: distinfo
pkgsrc/textproc/ruby-actiontext70: distinfo
pkgsrc/www/ruby-actioncable70: distinfo
pkgsrc/www/ruby-actionpack70: distinfo
pkgsrc/www/ruby-actionview70: distinfo
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70: update to 7.0.3.1
Rails 7.0.3.1 (2022-07-12) updates databases/ruby-activerecord70 only.
databases/ruby-activerecord70
* Change ActiveRecord::Coders::YAMLColumn default to safe_load
This adds two new configuration options The configuration options are as
follows:
o config.active_storage.use_yaml_unsafe_load
When set to true, this configuration option tells Rails to use the old
"unsafe" YAML loading strategy, maintaining the existing behavior but
leaving the possible escalation vulnerability in place. Setting this
option to true is *not* recommended, but can aid in upgrading.
o config.active_record.yaml_column_permitted_classes
The "safe YAML" loading method does not allow all classes to be
deserialized by default. This option allows you to specify classes deemed
"safe" in your application. For example, if your application uses Symbol
and Time in serialized data, you can add Symbol and Time to the allowed
list as follows:
config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]
[CVE-2022-32224]
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/ruby-activerecord70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activejob70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activemodel70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activestorage70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activesupport70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-railties70/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-railties70/distinfo
cvs rdiff -u -r1.131 -r1.132 pkgsrc/lang/ruby/rails.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/mail/ruby-actionmailbox70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/mail/ruby-actionmailer70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/ruby-actiontext70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-actioncable70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-actionpack70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-actionview70/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-rails70/distinfo
www/ruby-rails70: update to 7.0.3.1 Rails 7.0.3.1 (2022-07-12) updates databases/ruby-activerecord70 only. databases/ruby-activerecord70 * Change ActiveRecord::Coders::YAMLColumn default to safe_load This adds two new configuration options The configuration options are as follows: o config.active_storage.use_yaml_unsafe_load When set to true, this configuration option tells Rails to use the old "unsafe" YAML loading strategy, maintaining the existing behavior but leaving the possible escalation vulnerability in place. Setting this option to true is *not* recommended, but can aid in upgrading. o config.active_record.yaml_column_permitted_classes The "safe YAML" loading method does not allow all classes to be deserialized by default. This option allows you to specify classes deemed "safe" in your application. For example, if your application uses Symbol and Time in serialized data, you can add Symbol and Time to the allowed list as follows: config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time] [CVE-2022-32224]
databases/ruby-activerecord70: update to 7.0.3 7.0.3 (2022-05-12) * Some internal housekeeping on reloads could break custom respond_to? methods in class objects that referenced reloadable constants. See #44125 for details. * Fixed MariaDB default function support. Defaults would be written wrong in "db/schema.rb" and not work correctly if using db:schema:load. Further more the function name would be added as string content when saving new records. * Fix remove_foreign_key with :if_exists option when foreign key actually exists. * Remove --no-comments flag in structure dumps for PostgreSQL This broke some apps that used custom schema comments. If you don't want comments in your structure dump, you can use: ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--no-comments'] * Use the model name as a prefix when filtering encrypted attributes from logs. For example, when encrypting Person#name it will add person.name as a filter parameter, instead of just name. This prevents unintended filtering of parameters with a matching name in other models. * Fix quoting of ActiveSupport::Duration and Rational numbers in the MySQL adapter. * Fix change_column_comment to preserve column's AUTO_INCREMENT in the MySQL adapter
Pullup ticket #6631 - requested by taca
databases/ruby-activerecord70: security update
devel/ruby-activejob70: security update
devel/ruby-activemodel70: security update
devel/ruby-activestorage70: security update
devel/ruby-activesupport70: security update
devel/ruby-railties70: security update
lang/ruby: version info update
mail/ruby-actionmailbox70: security update
mail/ruby-actionmailer70: security update
textproc/ruby-actiontext70: security update
www/ruby-actioncable70: security update
www/ruby-actionpack70: security update
www/ruby-actionview70: security update
www/ruby-rails70: security update
Revisions pulled up:
- databases/ruby-activerecord70/distinfo 1.5
- devel/ruby-activejob70/distinfo 1.5
- devel/ruby-activemodel70/distinfo 1.5
- devel/ruby-activestorage70/Makefile 1.4
- devel/ruby-activestorage70/distinfo 1.5
- devel/ruby-activesupport70/distinfo 1.5
- devel/ruby-railties70/distinfo 1.5
- lang/ruby/rails.mk 1.122
- mail/ruby-actionmailbox70/distinfo 1.5
- mail/ruby-actionmailer70/distinfo 1.5
- textproc/ruby-actiontext70/distinfo 1.5
- www/ruby-actioncable70/distinfo 1.5
- www/ruby-actionpack70/distinfo 1.5
- www/ruby-actionview70/distinfo 1.5
- www/ruby-rails70/distinfo 1.5
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Thu May 5 03:39:02 UTC 2022
Modified Files:
pkgsrc/lang/ruby: rails.mk
Log Message:
lang/ruby/rails.mk: start update of Ruby on Rails to 7.0.2.4
To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 pkgsrc/lang/ruby/rails.mk
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Thu May 5 03:39:53 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activesupport70: distinfo
Log Message:
devel/ruby-activesupport70: update to 7.0.2.4
## Rails 7.0.2.4 (April 26, 2022) ##
* Fix and add protections for XSS in `ActionView::Helpers` and `ERB::Util`.
Add the method `ERB::Util.xml_name_escape` to escape dangerous characters
in names of tags and names of attributes, following the specification of XML.
*Álvaro Martín Fraguas*
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-activesupport70/distinfo
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Thu May 5 03:40:27 UTC 2022
Modified Files:
pkgsrc/www/ruby-actionview70: distinfo
Log Message:
www/ruby-actionview70: update to 7.0.2.4
## Rails 7.0.2.4 (April 26, 2022) ##
* Fix and add protections for XSS in `ActionView::Helpers` and `ERB::Util`.
Escape dangerous characters in names of tags and names of attributes in the
tag helpers, following the XML specification. Rename the option
`:escape_attributes` to `:escape`, to simplify by applying the option to the
whole tag.
*Álvaro Martín Fraguas*
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/ruby-actionview70/distinfo
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Thu May 5 03:40:53 UTC 2022
Modified Files:
pkgsrc/www/ruby-actionpack70: distinfo
Log Message:
www/ruby-actionpack70: update to 7.0.2.4
## Rails 7.0.2.4 (April 26, 2022) ##
* Allow Content Security Policy DSL to generate for API responses.
*Tim Wade*
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/ruby-actionpack70/distinfo
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Thu May 5 03:41:42 UTC 2022
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
pkgsrc/devel/ruby-activejob70: distinfo
pkgsrc/devel/ruby-activemodel70: distinfo
pkgsrc/devel/ruby-activestorage70: Makefile distinfo
pkgsrc/devel/ruby-railties70: distinfo
pkgsrc/mail/ruby-actionmailbox70: distinfo
pkgsrc/mail/ruby-actionmailer70: distinfo
pkgsrc/textproc/ruby-actiontext70: distinfo
pkgsrc/www/ruby-actioncable70: distinfo
pkgsrc/www/ruby-rails70: distinfo
Log Message:
Update rest of Ruby on Rails 70 components.
No change except version.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/ruby-activerecord70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-activejob70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-activemodel70/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ruby-activestorage70/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-activestorage70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-railties70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mail/ruby-actionmailbox70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mail/ruby-actionmailer70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/ruby-actiontext70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/ruby-actioncable70/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/ruby-rails70/distinfo
Update rest of Ruby on Rails 70 components. No change except version.
www/ruby-rails70: update to 7.0.2.3 Changes are in devel/ruby-activestorage70 only. Rails 7.0.2.3 (March 08, 2022) * Added image transformation validation via configurable allow-list. Variant now offers a configurable allow-list for transformation methods in addition to a configurable deny-list for arguments. [CVE-2022-21831]
Pullup ticket #6594 - requested by taca
www/ruby-rails70: security fix
Revisions pulled up:
- databases/ruby-activerecord70/distinfo 1.2-1.3
- devel/ruby-activejob70/distinfo 1.2-1.3
- devel/ruby-activemodel70/distinfo 1.2-1.3
- devel/ruby-activestorage70/PLIST 1.2
- devel/ruby-activestorage70/distinfo 1.2-1.3
- devel/ruby-activesupport70/distinfo 1.2-1.3
- devel/ruby-railties70/distinfo 1.2-1.3
- lang/ruby/rails.mk 1.110,1.114
- mail/ruby-actionmailbox70/distinfo 1.2-1.3
- mail/ruby-actionmailer70/distinfo 1.2-1.3
- textproc/ruby-actiontext70/distinfo 1.2-1.3
- www/ruby-actioncable70/distinfo 1.2-1.3
- www/ruby-actionpack70/distinfo 1.2-1.3
- www/ruby-actionview70/distinfo 1.2-1.3
- www/ruby-rails70/distinfo 1.2-1.3
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:02:54 UTC 2022
Modified Files:
pkgsrc/lang/ruby: rails.mk
Log Message:
lang/ruby: start update of Ruby on Rails 7.0.1
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:05:14 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activesupport70: distinfo
Log Message:
devel/ruby-activesupport70: update to 7.0.1
7.0.1 (2021-01-06)
* Fix Class#descendants and DescendantsTracker#descendants compatibilit=
y
with Ruby 3.1.
The native Class#descendants was reverted prior to Ruby 3.1 release, =
but
Class#subclasses was kept, breaking the feature detection.
Jean Boussier
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:05:44 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activemodel70: distinfo
Log Message:
devel/ruby-activemodel70: update to 7.0.1
7.0.1 (2021-01-06)
* No change.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:06:14 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activejob70: distinfo
Log Message:
devel/ruby-activejob70: update to 7.0.1
7.0.1 (2021-01-06)
* Allow testing discard_on/retry_on ActiveJob::DeserializationError
Previously in perform_enqueued_jobs, deserialize_arguments_if_needed
was called before calling perform_now. When a record no longer
exists and is serialized using GlobalID this led to raising an
ActiveJob::DeserializationError before reaching perform_now call.
This behaviour makes difficult testing the job discard_on/retry_on
logic.
Now deserialize_arguments_if_needed call is postponed to when
perform_now is called.
Example:
class UpdateUserJob < ActiveJob::Base
discard_on ActiveJob::DeserializationError
def perform(user)
# ...
end
end
# In the test
User.destroy_all
assert_nothing_raised do
perform_enqueued_jobs only: UpdateUserJob
end
Jacopo Beschi
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:06:39 UTC 2022
Modified Files:
pkgsrc/www/ruby-actionview70: distinfo
Log Message:
devel/ruby-actionview70: update to 7.0.1
7.0.1 (2021-01-06)
* Fix button_to to work with a hash parameter as URL.
MingyuanQin
* Fix link_to with a model passed as an argument twice.
Alex Ghiculescu
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:07:02 UTC 2022
Modified Files:
pkgsrc/www/ruby-actionpack70: distinfo
Log Message:
devel/ruby-actionpack70: update to 7.0.1
7.0.1 (2021-01-06)
* Fix ActionController::Parameters methods to keep the original logger
context when creating a new copy of the original object.
Yutaka Kamei
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:07:29 UTC 2022
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
Log Message:
databases/ruby-activerecord70: update to 7.0.1
7.0.1 (2021-01-06)
* Change QueryMethods#in_order_of to drop records not listed in values.=
in_order_of now filters down to the values provided, to match the
behavior of the Enumerable version.
Kevin Newton
* Allow named expression indexes to be revertible.
Previously, the following code would raise an error in a reversible
migration executed while rolling back, due to the index name not
being used in the index removal.
add_index(:settings, "(data->'property')", using: :gin, name: :index_s=
ettings_data_property)
Fixes #43331.
Oliver G=FCnther
* Better error messages when association name is invalid in the
argument of ActiveRecord::QueryMethods::WhereChain#missing.
ykpythemind
* Fix ordered migrations for single db in multi db environment.
Himanshu
* Extract on update CURRENT_TIMESTAMP for mysql2 adapter.
Kazuhiro Masuda
* Fix incorrect argument in PostgreSQL structure dump tasks.
Updating the --no-comment argument added in Rails 7 to the correct
--no-comments argument.
Alex Dent
* Fix schema dumping column default SQL values for sqlite3.
fatkodima
* Correctly parse complex check constraint expressions for PostgreSQL.
fatkodima
* Fix timestamptz attributes on PostgreSQL handle blank inputs.
Alex Ghiculescu
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 joining through a polymorphic association.
Alexandre Ruban
* Fix QueryMethods#in_order_of to handle empty order list.
Post.in_order_of(:id, []).to_a Also more explicitly set the column
as secondary order, so that any other value is still ordered.
Jean Boussier
* Fix rails dbconsole for 3-tier config.
Eileen M. Uchitelle
* Fix quoting of column aliases generated by calculation methods.
Since the alias is derived from the table name, we can't assume the
result is a valid identifier.
class Test < ActiveRecord::Base
self.table_name =3D '1abc'
end
Test.group(:id).count
# syntax error at or near "1" (ActiveRecord::StatementInvalid)
# LINE 1: SELECT COUNT(*) AS count_all, "1abc"."id" AS 1abc_id FROM "1=
...
Jean Boussier
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:07:49 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activestorage70: distinfo
Log Message:
devel/ruby-activestorage70: update to 7.0.1
7.0.1 (2021-01-06)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:08:13 UTC 2022
Modified Files:
pkgsrc/mail/ruby-actionmailer70: distinfo
Log Message:
mail/ruby-actionmailer70: update to 7.0.1
* Keep configuration of smtp_settings consistent between 6.1 and 7.0.
Andr=E9 Luis Leal Cardoso Junior
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:08:57 UTC 2022
Modified Files:
pkgsrc/mail/ruby-actionmailbox70: distinfo
Log Message:
mail/ruby-actionmailbox70: update to 7.0.1
7.0.1 (2021-01-06)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:09:16 UTC 2022
Modified Files:
pkgsrc/www/ruby-actioncable70: distinfo
Log Message:
www/ruby-actioncable70: update to 7.0.1
7.0.1 (2021-01-06)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:10:09 UTC 2022
Modified Files:
pkgsrc/devel/ruby-railties70: distinfo
Log Message:
devel/ruby-railties70: 7.0.1 (2021-01-06)
* Prevent duplicate entries in plugin Gemfile.
Jonathan Hefner
* Fix asset pipeline errors for plugin dummy apps.
Jonathan Hefner
* Fix generated route revocation.
Jonathan Hefner
* Addresses an issue in which Sidekiq jobs could not reload certain
namespaces.
See fxn/zeitwerk#198 for details.
Xavier Noria
* Fix plugin generator to a plugin that pass all the tests.
Rafael Mendon=E7a Fran=E7a
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:10:40 UTC 2022
Modified Files:
pkgsrc/textproc/ruby-actiontext70: distinfo
Log Message:
textproc/ruby-actiontext70: 7.0.1 (2021-01-06)
7.0.1 (2021-01-06)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 16 14:12:56 UTC 2022
Modified Files:
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70: update to 7.0.1
This is meta gem (package) for Ruby on Rails 7.0.1.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:39:14 UTC 2022
Modified Files:
pkgsrc/lang/ruby: rails.mk
Log Message:
lang/ruby: start update of ruby-rails70 to 7.0.2.2
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:41:06 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activesupport70: distinfo
Log Message:
devel/ruby-activesupport70: update to 7.0.2
7.0.2 (2022-02-08)
* Fix ActiveSupport::EncryptedConfiguration to be compatible with Psych=
4
Stephen Sugden
* Improve File.atomic_write error handling.
Daniel Pepper
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* Fix Reloader method signature to work with the new Executor signature=
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:41:59 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activemodel70: distinfo
Log Message:
devel/ruby-activemodel70: update to 7.0.2
7.0.2 (2022-02-08)
* Use different cache namespace for proxy calls
Models can currently have different attribute bodies for the same met=
hod
names, leading to conflicts. Adding a new namespace :active_model_pro=
xy
fixes the issue.
Chris Salzberg
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:42:23 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activejob70: distinfo
Log Message:
devel/ruby-activejob70: update to 7.0.2
7.0.2 (2022-02-08)
* No changes.
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:42:47 UTC 2022
Modified Files:
pkgsrc/www/ruby-actionview70: distinfo
Log Message:
www/ruby-actionview70: update to 7.0.2
7.0.2 (2022-02-08)
* Ensure preload_link_tag preloads JavaScript modules correctly.
M=E1ximo Mussini
* Fix stylesheet_link_tag and similar helpers are being used to work in=
objects with a response method.
dark-panda
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:43:27 UTC 2022
Modified Files:
pkgsrc/www/ruby-actionpack70: distinfo
Log Message:
www/ruby-actionpack70: update to 7.0.2
This update contains security fix for CVE-2022-23633.
7.0.2 (2022-02-08)
* No changes.
7.0.2.1 (2022-02-11)
* Under certain circumstances, the middleware isn't informed that the
response body has been fully closed which result in request state
not being fully reset before the next request
[CVE-2022-23633]
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:43:55 UTC 2022
Modified Files:
pkgsrc/databases/ruby-activerecord70: distinfo
Log Message:
databases/ruby-activerecord70: update to 7.0.2
7.0.2 (2022-02-08)
* Fix PG.connect keyword arguments deprecation warning on ruby 2.7.
Nikita Vasilevsky
* Fix the ability to exclude encryption params from being autofiltered.=
Mark Gangl
* Dump the precision for datetime columns following the new defaults.
Rafael Mendon=E7a Fran=E7a
* Make sure encrypted attributes are not being filtered twice.
Nikita Vasilevsky
* Dump the database schema containing the current Rails version.
Since #42297, Rails now generate datetime columns with a default prec=
ision
of 6. This means that users upgrading to Rails 7.0 from 6.1, when lo=
ading
the database schema, would get the new precision value, which would n=
ot
match the production schema.
To avoid this the schema dumper will generate the new format which wi=
ll
include the Rails version and will look like this:
ActiveRecord::Schema[7.0].define
When upgrading from Rails 6.1 to Rails 7.0, you can run the rails
app:update task that will set the current schema version to 6.1.
Rafael Mendon=E7a Fran=E7a
* Fix parsing expression for PostgreSQL generated column.
fatkodima
* Fix Mysql2::Error: Commands out of sync; you can't run this command n=
ow
when bulk-inserting fixtures that exceed max_allowed_packet configura=
tion.
Nikita Vasilevsky
* Fix error when saving an association with a relation named record.
Dorian Mari=E9
* Fix MySQL::SchemaDumper behavior about datetime precision value.
y0t4
* Improve associated with no reflection error.
Nikolai
* Fix PG.connect keyword arguments deprecation warning on ruby 2.7.
Fixes #44307.
Nikita Vasilevsky
* Fix passing options to check_constraint from change_table.
Frederick Cheung
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:44:29 UTC 2022
Modified Files:
pkgsrc/devel/ruby-activestorage70: PLIST distinfo
Log Message:
devel/ruby-activestorage70: update to 7.0.2
7.0.2 (2022-02-08)
* Revert the ability to pass service_name param to DirectUploadsControl=
ler
which was introduced in 7.0.0.
That change caused a lot of problems to upgrade Rails applications so=
we
decided to remove it while in work in a more backwards compatible
implementation.
Gannon McGibbon
* Allow applications to opt out of precompiling Active Storage JavaScri=
pt
assets.
jlestavel
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:44:47 UTC 2022
Modified Files:
pkgsrc/mail/ruby-actionmailer70: distinfo
Log Message:
mail/ruby-actionmailer70: update to 7.0.2
7.0.2 (2022-02-08)
* No changes.
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:45:05 UTC 2022
Modified Files:
pkgsrc/mail/ruby-actionmailbox70: distinfo
Log Message:
mail/ruby-actionmailbox70: update to 7.0.2
7.0.2 (2022-02-08)
* No changes.
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:45:27 UTC 2022
Modified Files:
pkgsrc/www/ruby-actioncable70: distinfo
Log Message:
www/ruby-actioncable70: update to 7.0.2
7.0.2 (2022-02-08)
* No changes.
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:45:49 UTC 2022
Modified Files:
pkgsrc/devel/ruby-railties70: distinfo
Log Message:
devel/ruby-railties70: update to 7.0.2
7.0.2 (2022-02-08)
* No changes.
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:46:12 UTC 2022
Modified Files:
pkgsrc/textproc/ruby-actiontext70: distinfo
Log Message:
textproc/ruby-actiontext70: update to 7.0.2
7.0.2 (2022-02-08)
* No changes.
7.0.2.1 (2022-02-11)
* No changes.
7.0.2.2 (2022-02-11)
* No changes.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Feb 13 07:47:25 UTC 2022
Modified Files:
pkgsrc/www/ruby-rails70: distinfo
Log Message:
www/ruby-rails70: update to 7.0.2
This gem is a meta package for Ruby on Rails 7, so no changes here.
databases/ruby-activerecord70: update to 7.0.2 7.0.2 (2022-02-08) * Fix PG.connect keyword arguments deprecation warning on ruby 2.7. Nikita Vasilevsky * Fix the ability to exclude encryption params from being autofiltered. Mark Gangl * Dump the precision for datetime columns following the new defaults. Rafael Mendonça França * Make sure encrypted attributes are not being filtered twice. Nikita Vasilevsky * Dump the database schema containing the current Rails version. Since #42297, Rails now generate datetime columns with a default precision of 6. This means that users upgrading to Rails 7.0 from 6.1, when loading the database schema, would get the new precision value, which would not match the production schema. To avoid this the schema dumper will generate the new format which will include the Rails version and will look like this: ActiveRecord::Schema[7.0].define When upgrading from Rails 6.1 to Rails 7.0, you can run the rails app:update task that will set the current schema version to 6.1. Rafael Mendonça França * Fix parsing expression for PostgreSQL generated column. fatkodima * Fix Mysql2::Error: Commands out of sync; you can't run this command now when bulk-inserting fixtures that exceed max_allowed_packet configuration. Nikita Vasilevsky * Fix error when saving an association with a relation named record. Dorian Marié * Fix MySQL::SchemaDumper behavior about datetime precision value. y0t4 * Improve associated with no reflection error. Nikolai * Fix PG.connect keyword arguments deprecation warning on ruby 2.7. Fixes #44307. Nikita Vasilevsky * Fix passing options to check_constraint from change_table. Frederick Cheung 7.0.2.1 (2022-02-11) * No changes. 7.0.2.2 (2022-02-11) * No changes.
databases/ruby-activerecord70: update to 7.0.1 7.0.1 (2021-01-06) * Change QueryMethods#in_order_of to drop records not listed in values. in_order_of now filters down to the values provided, to match the behavior of the Enumerable version. Kevin Newton * Allow named expression indexes to be revertible. Previously, the following code would raise an error in a reversible migration executed while rolling back, due to the index name not being used in the index removal. add_index(:settings, "(data->'property')", using: :gin, name: :index_settings_data_property) Fixes #43331. Oliver Günther * Better error messages when association name is invalid in the argument of ActiveRecord::QueryMethods::WhereChain#missing. ykpythemind * Fix ordered migrations for single db in multi db environment. Himanshu * Extract on update CURRENT_TIMESTAMP for mysql2 adapter. Kazuhiro Masuda * Fix incorrect argument in PostgreSQL structure dump tasks. Updating the --no-comment argument added in Rails 7 to the correct --no-comments argument. Alex Dent * Fix schema dumping column default SQL values for sqlite3. fatkodima * Correctly parse complex check constraint expressions for PostgreSQL. fatkodima * Fix timestamptz attributes on PostgreSQL handle blank inputs. Alex Ghiculescu 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 joining through a polymorphic association. Alexandre Ruban * Fix QueryMethods#in_order_of to handle empty order list. Post.in_order_of(:id, []).to_a Also more explicitly set the column as secondary order, so that any other value is still ordered. Jean Boussier * Fix rails dbconsole for 3-tier config. Eileen M. Uchitelle * Fix quoting of column aliases generated by calculation methods. Since the alias is derived from the table name, we can't assume the result is a valid identifier. class Test < ActiveRecord::Base self.table_name = '1abc' end Test.group(:id).count # syntax error at or near "1" (ActiveRecord::StatementInvalid) # LINE 1: SELECT COUNT(*) AS count_all, "1abc"."id" AS 1abc_id FROM "1... Jean Boussier
databases/ruby-activerecord70: add package version 7.0.0 Active Record -- Object-relational mapping in Rails Active Record connects classes to relational database tables to establish an almost zero-configuration persistence layer for applications. The library provides a base class that, when subclassed, sets up a mapping between the new class and an existing table in the database. In the context of an application, these classes are commonly referred to as *models*. Models can also be connected to other models; this is done by defining *associations*. Active Record relies heavily on naming in that it uses class and association names to establish mappings between respective database tables and foreign key columns. Although these mappings can be defined explicitly, it's recommended to follow naming conventions, especially when getting started with the library. This is for Ruby on Rails 7.0.