Created by: dependabot-preview[bot]
Bumps actionpack from 5.2.3 to 6.0.0.
Release notes
Sourced from actionpack's releases.
6.0.0.beta1
Active Support
... (truncated)
Remove deprecated
Module#reachable?method.Rafael Mendonça França
Remove deprecated
#acronym_regexmethod fromInflections.Rafael Mendonça França
Fix
String#safe_constantizethrowing aLoadErrorfor incorrectly cased constant references.Keenan Brock
Preserve key order passed to
ActiveSupport::CacheStore#fetch_multi.
fetch_multi(*names)now returns its results in the same order as the*namesrequested, rather than returning cache hits followed by cache misses.Gannon McGibbon
If the same block is
includedmultiple times for a Concern, an exception is no longer raised.Mark J. Titorenko, Vlad Bokov
Fix bug where
#to_optionsforActiveSupport::HashWithIndifferentAccesswould not act as alias for#symbolize_keys.Nick Weiland
Improve the logic that detects non-autoloaded constants.
Jan Habermann, Xavier Noria
Deprecate
ActiveSupport::Multibyte::Unicode#pack_graphemes(array)andActiveSuppport::Multibyte::Unicode#unpack_graphemes(string)in favor ofarray.flatten.pack("U*")andstring.scan(/\X/).map(&:codepoints), respectively.Francesco Rodríguez
Deprecate
ActiveSupport::Multibyte::Chars.consumes?in favor ofString#is_utf8?.Francesco Rodríguez
Fix duration being rounded to a full second.
time = DateTime.parse("2018-1-1") time += 0.51.secondsWill now correctly add 0.51 second and not 1 full second.
Changelog
Sourced from actionpack's changelog.
Rails 6.0.0 (August 16, 2019)
- No changes.
Rails 6.0.0.rc2 (July 22, 2019)
Add the ability to set the CSP nonce only to the specified directives.
Fixes #35137.
Yuji Yaginuma
Keep part when scope option has value.
When a route was defined within an optional scope, if that route didn't take parameters the scope was lost when using path helpers. This commit ensures scope is kept both when the route takes parameters or when it doesn't.
Fixes #33219
Alberto Almagro
Change
ActionDispatch::Response#content_typeto return Content-Type header as it is.Previously,
ActionDispatch::Response#content_typereturned value does NOT contain charset part. This behavior changed to returned Content-Type header containing charset part as it is.If you want just MIME type, please use
ActionDispatch::Response#media_typeinstead.Enable
action_dispatch.return_only_media_type_on_content_typeto use this change. If not enabled,ActionDispatch::Response#content_typereturns the same value as before version, but its behavior is deprecate.Yuji Yaginuma
Calling
ActionController::Parameters#transform_keys/!without a block now returns an enumerator for the parameters instead of the underlying hash.Eugene Kenny
Fix a bug where DebugExceptions throws an error when malformed query parameters are provided
Yuki Nishijima, Stan Lo
Rails 6.0.0.rc1 (April 24, 2019)
... (truncated)
Commits
-
66cabedPreparing for 6.0.0 release -
f57aac4Merge pull request #36854 from eugeneius/media_type_instead_of_content_type -
49718d1Require and support rails-html-sanitzer 1.2.0 -
ad34b6cRemove invalid autoload of ActionDispatch::Http::Upload -
072f6f9Merge pull request #36537 from quadule/fix-cookie-rotation-hash-pollution -
ac34a70Fix error 500 caused by ActionController::RoutingError (via fail-safe) when P... -
c1274e1Merge pull request #36254 from sharang-d/remove-named-helpers -
393b864Merge pull request #36504 from mtsmfm/mtsmfm/fix-flaky-render-test -
4f78062Preparing for 6.0.0.rc2 release -
f5c1f85Merge pull request #36602 from jhawthorn/system_testing_preload_2 - 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.