Created by: dependabot-preview[bot]
Bumps activerecord from 6.0.0 to 6.0.1.
Release notes
Sourced from activerecord's releases.
6.0.1
Active Support
ActiveSupport::SafeBuffersupportsEnumeratormethods.Shugo Maeda
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
zeitwerkmode support overrides:# config/initializers/zeitwerk.rb Rails.autoloaders.each do |autoloader| autoloader.inflector.inflect( "html_parser" => "HTMLParser", "ssl_error" => "SSLError" ) endThat 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.Please, check the autoloading guide for
zeitwerkmode if you prefer not to depend onString#camelizeat all.Xavier Noria
Improve
Range#===,Range#include?, andRange#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 SolarisIain Beeston
Active Model
- No changes.
Active Record
... (truncated)
Changelog
Sourced from activerecord's changelog.
Rails 6.0.1 (November 5, 2019)
... (truncated)
Common Table Expressions are allowed on read-only connections.
Chris Morris
New record instantiation respects
unscope.Ryuta Kamizono
Fixed a case where
find_in_batchescould halt too early.Takayuki Nakata
Autosaved associations always perform validations when a custom validation context is used.
Tekin Suleyman
sql.active_recordnotifications now include the:connectionin their payloads.Eugene Kenny
A rollback encountered in an
after_commitcallback does not reset previously-committed record state.Ryuta Kamizono
Fixed that join order was lost when eager-loading.
Ryuta Kamizono
DESCRIBEqueries 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#takeis properly cleared whenActiveRecord::Relation#resetorActiveRecord::Relation#reloadis called.
Commits
-
09a2979v6.0.1 -
5081817Correct changelog entry [ci skip] -
7982363v6.0.1.rc1 -
9a4ff4dAddsupports_common_table_expressions?for CTE testing -
f537b36Merge pull request #37525 from chrismo/cte-in-pg-read-only-fix -
ef10fc2Merge pull request #37523 from kamipo/refactor_association_scoping -
f1c1c43Merge pull request #37511 from kamipo/fix_unscope_for_association_relation -
2e17477test: update mysql ignored statements -
43b3a5ctest: more fixes for minitest update in activerecord -
8297f8aMerge pull request #37465 from alpaca-tc/optimize_primary_keys - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)