🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
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)
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.
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.
There is a possible file disclosure of locally encrypted files in Active Support. This vulnerability has been assigned the CVE identifier CVE-2023-38037.
ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file’s permissions are defaulted to the user’s current umask settings, meaning that it’s possible for other users on the same system to read the contents of the temporary file.
Attackers that have access to the file system could possibly read the contents of this temporary file while a user is editing it.
All users running an affected release should either upgrade or use one of the workarounds immediately.
Releases
The fixed releases are available at the normal locations.
Workarounds
To work around this issue, you can set your umask to be more restrictive like this:
$ umask0077
Release Notes
7.0.7.1 (from changelog)
Use a temporary file for storing unencrypted files while editing
[CVE-2023-38037]
7.0.7 (from changelog)
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
cmake: set CMAKE compile flags to configure cross-compilation similarly to autotools--host flag: SYSTEM_NAME, SYSTEM_PROCESSOR, C_COMPILER, and CXX_COMPILER. [#130] (Thanks, @stanhu!)
Fixed a typo in a HTML5 parser error message. [#2927] (Thanks, @anishathalye!)
[CRuby] ObjectSpace.memsize_of is now safe to call on Documents with complex DTDs. In previous versions, this debugging method could result in a segfault. [#2923, #2924]
Passing an object that is not a kind of XML::Node as the first parameter to CDATA.new now raises a TypeError. Previously this would result in either a segfault (CRuby) or a Java exception (JRuby). [#2920]
Passing an object that is not a kind of XML::Node as the first parameter to Schema.from_document now raises a TypeError. Previously this would result in either a segfault (CRuby) or a Java exception (JRuby). [#2920]
[CRuby] Passing an object that is not a kind of XML::Node as the second parameter to Text.new now raises a TypeError. Previously this would result in a segfault. [#2920]
[CRuby] Replacing a node's children via methods like Node#inner_html=, #children=, and #replace no longer defensively dups the node's next sibling if it is a Text node. This behavior was originally adopted to work around libxml2's memory management (see #283 and #595) but should not have included operations involving xmlAddChild(). [#2916]
[JRuby] Fixed NPE when serializing an unparented HTML node. [#2559, #2895] (Thanks, @cbasguti!)
This method returns nil for some input like ignored files, and may raise
errors too. Please check its
documentation
for further details.
Zeitwerk::Loader#load_file raises with a more informative error if given a
hidden file or directory.
Zeitwerk::Loader#eager_load_dir does nothing if the argument is a hidden
file or directory. This is coherent with its existing behavior for eager load
exclusions and ignored paths. Before, that kind of argument would result in a
non-deliberate NameError.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ railties (7.0.6 → 7.0.7.2) · Repo · Changelog
Release Notes
7.0.7.1 (from changelog)
7.0.7 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
✳️ activemodel (7.0.6 → 7.0.7.2) · Repo · Changelog
Release Notes
7.0.7.1 (from changelog)
7.0.7 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
✳️ activerecord (7.0.6 → 7.0.7.2) · Repo · Changelog
Release Notes
7.0.7.1 (from changelog)
7.0.7 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
✳️ activesupport (7.0.6 → 7.0.7.2) · Repo · Changelog
Security Advisories 🚨
🚨 Possible File Disclosure of Locally Encrypted Files
Release Notes
7.0.7.1 (from changelog)
7.0.7 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ actionpack (indirect, 7.0.6 → 7.0.7.2) · Repo · Changelog
Release Notes
7.0.7.1 (from changelog)
7.0.7 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ actionview (indirect, 7.0.6 → 7.0.7.2) · Repo · Changelog
Release Notes
7.0.7.1 (from changelog)
7.0.7 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ mini_portile2 (indirect, 2.8.2 → 2.8.4) · Repo · Changelog
Release Notes
2.8.4
2.8.3
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ minitest (indirect, 5.18.1 → 5.19.0) · Repo · Changelog
Release Notes
5.19.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ nokogiri (indirect, 1.15.2 → 1.15.4) · Repo · Changelog
Release Notes
1.15.4
1.15.3
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ rack (indirect, 2.2.7 → 2.2.8) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ rails-dom-testing (indirect, 2.1.1 → 2.2.0) · Repo
Release Notes
2.2.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ zeitwerk (indirect, 2.6.8 → 2.6.11) · Repo · Changelog
Release Notes
2.6.11 (from changelog)
2.6.10 (from changelog)
2.6.9 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands