We've tested your project with an updated dependency and got errors while installing the dependencies.
This version is either within the version range you specified or you haven't specified a version/range. To be able to test your project with the new version, we've taken the liberty of pinning the version for this branch and pull request.
name
version specification
new version
rails
>= 4.2
6.0.1
Unfortunately, the build failed while installing dependencies. This means that while the new version is within the specified range, a version conflict between two or more packages will prohibit this version from being installed.
As this breaks fresh installs of your package, we've left this pull request open for you to investigate.
The Redis cache store fails gracefully when the server returns a "max number of clients reached" error.
Brandon Medenwald
Fixed that mutating a value returned by a memory cache store would unexpectedly change the cached value.
Jonathan Hyman
The default inflectors in zeitwerk mode support overrides:
# config/initializers/zeitwerk.rbRails.autoloaders.each do |autoloader|
autoloader.inflector.inflect(
"html_parser" => "HTMLParser",
"ssl_error" => "SSLError"
)
end
That way, you can tweak how individual basenames are inflected without touching Active Support inflection rules, which are global. These inflectors fallback to String#camelize, so existing inflection rules are still taken into account for non-overridden basenames.
Improve Range#===, Range#include?, and Range#cover? to work with beginless (startless) and endless range targets.
Allen Hsu, Andrew Hodgkinson
Don't use Process#clock_gettime(CLOCK_PROCESS_CPUTIME_ID) on Solaris
Iain Beeston
Active Model
No changes.
Active Record
Common Table Expressions are allowed on read-only connections.
Chris Morris
New record instantiation respects unscope.
Ryuta Kamizono
Fixed a case where find_in_batches could halt too early.
Takayuki Nakata
Autosaved associations always perform validations when a custom validation context is used.
Tekin Suleyman
sql.active_record notifications now include the :connection in their payloads.
Eugene Kenny
A rollback encountered in an after_commit callback does not reset previously-committed record state.
Ryuta Kamizono
Fixed that join order was lost when eager-loading.
Ryuta Kamizono
DESCRIBE queries are allowed on read-only connections.
Dylan Thacker-Smith
Fixed that records that had been inspected could not be marshaled.
Eugene Kenny
The connection pool reaper thread is respawned in forked processes. This fixes that idle connections in forked processes wouldn't be reaped.
John Hawthorn
The memoized result of ActiveRecord::Relation#take is properly cleared when ActiveRecord::Relation#reset or ActiveRecord::Relation#reload is called.
Anmol Arora
Fixed the performance regression for primary_keys introduced MySQL 8.0.
Hiroyuki Ishii
insert, insert_all, upsert, and upsert_all now clear the query cache.
Eugene Kenny
Call while_preventing_writes directly from connected_to.
In some cases application authors want to use the database switching middleware and make explicit calls with connected_to. It's possible for an app to turn off writes and not turn them back on by the time we call connected_to(role: :writing).
This change allows apps to fix this by assuming if a role is writing we want to allow writes, except in the case it's explicitly turned off.
Eileen M. Uchitelle
Improve detection of ActiveRecord::StatementTimeout with mysql2 adapter in the edge case when the query is terminated during filesort.
Kir Shatrov
Action View
UJS avoids Element.closest() for IE 9 compatibility.
George Claghorn
Action Pack
ActionDispatch::SystemTestCase now inherits from ActiveSupport::TestCase rather than ActionDispatch::IntegrationTest. This permits running jobs in system tests.
ActiveStorage::AnalyzeJobs are discarded on ActiveRecord::RecordNotFound errors.
George Claghorn
Blobs are recorded in the database before being uploaded to the service. This fixes that generated blob keys could silently collide, leading to data loss.
Julik Tarkhanov
Action Mailbox
No changes.
Action Text
No changes.
Railties
The zeitwerk:check Rake task reports files outside the app's root directory, as in engines loaded from gems.
Xavier Noria
Fixed a possible error when using the evented file update checker.
Yuji Yaginuma
The sqlite3 database files created by the parallel testing feature are included in the default .gitignore file for newly-generated apps.
Yasuo Honda
rails new generates a .keep file in tmp/pids. This fixes starting a server via rackup instead of rails server.
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 merge
Merges this PR once your tests are passing and conflicts are resolved
@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)
We've tested your project with an updated dependency and got errors while installing the dependencies.
This version is either within the version range you specified or you haven't specified a version/range. To be able to test your project with the new version, we've taken the liberty of pinning the version for this branch and pull request.
Unfortunately, the build failed while installing dependencies. This means that while the new version is within the specified range, a version conflict between two or more packages will prohibit this version from being installed.
As this breaks fresh installs of your package, we've left this pull request open for you to investigate.
What changed?
✳️ rails (>= 4.2 → 6.0.1) · Repo
Release Notes
6.0.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 42 commits:
v6.0.1
Correct changelog entry [ci skip]
v6.0.1.rc1
Add `supports_common_table_expressions?` for CTE testing
Merge pull request #37525 from chrismo/cte-in-pg-read-only-fix
Merge pull request #37523 from kamipo/refactor_association_scoping
Merge pull request #37511 from kamipo/fix_unscope_for_association_relation
test: update mysql ignored statements
test: more fixes for minitest update in activerecord
Merge pull request #37465 from alpaca-tc/optimize_primary_keys
test: fix tests after minitest upgrade
Merge pull request #37457 from sinsoku/fix_issue_37446
Add bug tracker/documentation/mailing list URIs to the gemspecs
Merge pull request #37361 from kamipo/update_minitest
Correctly find nested association reflections for #37356
Merge pull request #37434 from giraffate/fix_eager_loading_with_limit_and_join_has_many
Merge pull request #37295 from tekin/fix-belongs-to-validation-context-issue
Merge pull request #37360 from kamipo/deprecate_leaking_scope
Merge pull request #37359 from kamipo/maintain_extra_joins
Merge pull request #37328 from eugeneius/sql_active_record_query_cache
Document Arel.sql
Merge pull request #37288 from Shopify/fix-load-schema
Fix `test_after_commit_callback_should_not_rollback_state_that_already_been_succeeded` failure
Merge pull request #37251 from kamipo/fix_after_commit_callback
Follow up fcf50fe5e512d9712ef283cf3bcc4fd5a8962502 [ci skip]
Merge pull request #37235 from kamipo/fix_eager_load
Allow DESCRIBE queries on read-only connections
Avoid expensive tracking objects for prepared statements
Merge pull request #37180 from seejohnrun/fix-error-hash-access
Merge pull request #37175 from adammw/patch-1
Merge pull request #37154 from eugeneius/insert_all_query_cache
Merge pull request #37153 from eugeneius/marshal_inspected_records
Merge pull request #37091 from bogdanvlviv/extend-test-from-37065
Fix missing close code tick mark in AR changelog [ci skip]
Merge pull request #37065 from eileencodes/push-while_preventing_writes-into-connected_to
Merge pull request #37047 from dvandersluis/37044-fix-exception-message
Address to "DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1"
Merge pull request #36932 from kirs/mysql2-filsort-abort
Merge pull request #36999 from rails/reaper_fork2
Merge pull request #36930 from eugeneius/active_record_base_connection_specification_name
Merge pull request #36998 from jhawthorn/reaper_fork
Merge pull request #36985 from anmolarora/fix-take-memoization
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