Created by: dependabot-preview[bot]
Bumps activerecord from 6.1.1 to 6.1.2.
Release notes
Sourced from activerecord's releases.
6.1.2
Active Support
ActiveSupport::Cache::MemCacheStorenow accepts an explicitnilfor itsaddressesargument.config.cache_store = :mem_cache_store, nil is now equivalent to config.cache_store = :mem_cache_store and is also equivalent to config.cache_store = :mem_cache_store, ENV["MEMCACHE_SERVERS"] || "localhost:11211" which is the fallback behavior of DalliThis helps those migrating from
:dalli_store, where an explicitnilwas permitted.Michael Overmeyer
Active Model
- No changes.
Active Record
Fix timestamp type for sqlite3.
Eileen M. Uchitelle
Make destroy async transactional.
An active record rollback could occur while enqueuing a job. In this case the job would enqueue even though the database deletion rolledback putting things in a funky state.
Now the jobs are only enqueued until after the db transaction has been committed.
Cory Gwin
Fix malformed packet error in MySQL statement for connection configuration.
robinroestenburg
... (truncated)
Changelog
Sourced from activerecord's changelog.
Rails 6.1.2 (February 09, 2021)
Fix timestamp type for sqlite3.
Eileen M. Uchitelle
Make destroy async transactional.
An active record rollback could occur while enqueuing a job. In this case the job would enqueue even though the database deletion rolledback putting things in a funky state.
Now the jobs are only enqueued until after the db transaction has been committed.
Cory Gwin
Fix malformed packet error in MySQL statement for connection configuration.
robinroestenburg
Connection specification now passes the "url" key as a configuration for the adapter if the "url" protocol is "jdbc", "http", or "https". Previously only urls with the "jdbc" prefix were passed to the Active Record Adapter, others are assumed to be adapter specification urls.
Fixes #41137.
Jonathan Bracy
Fix granular connection swapping when there are multiple abstract classes.
Eileen M. Uchitelle
Fix
find_bywith custom primary key for belongs_to association.Ryuta Kamizono
Add support for
rails console --sandboxfor multiple database applications.alpaca-tc
Fix
whereon polymorphic association with empty array.Ryuta Kamizono
Fix preventing writes for
ApplicationRecord.Eileen M. Uchitelle
Commits
-
bf8c59cPreparing for 6.1.2 release -
eeb5baaMerge pull request #41342 from kamipo/fix_build_on_association_relation -
d1fd637Merge pull request #41324 from eileencodes/fix-timestamp-type-for-sqlite3 -
d4907b7Merge pull request #41292 from intrip/41156-fix-mysql-virtual-column-with-esc... -
3813021Fix enum predicate methods on object enum keys -
438b50dA -> An [ci skip] -
d013946Add CHANGELOG entry for #41093 [ci skip] -
b801005Merge pull request #41093 from gwincr11/action-job-transactions -
f5a87feMerge pull request #41300 from CodingAnarchy/pg-adapter-fix -
da0881dMerge pull request #41278 from fatkodima/enum-original-key - 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)