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::SafeBuffer
supportsEnumerator
methods.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
zeitwerk
mode support overrides:# config/initializers/zeitwerk.rb Rails.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.Please, check the autoloading guide for
zeitwerk
mode if you prefer not to depend onString#camelize
at 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.
... (truncated) Active Record
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_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
inspect
ed 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 whenActiveRecord::Relation#reset
orActiveRecord::Relation#reload
is called.
Commits
-
09a2979
v6.0.1 -
5081817
Correct changelog entry [ci skip] -
7982363
v6.0.1.rc1 -
9a4ff4d
Addsupports_common_table_expressions?
for CTE testing -
f537b36
Merge pull request #37525 from chrismo/cte-in-pg-read-only-fix -
ef10fc2
Merge pull request #37523 from kamipo/refactor_association_scoping -
f1c1c43
Merge pull request #37511 from kamipo/fix_unscope_for_association_relation -
2e17477
test: update mysql ignored statements -
43b3a5c
test: more fixes for minitest update in activerecord -
8297f8a
Merge 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will 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 labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will 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)