dropzonejs-rails
dropzonejs-rails copied to clipboard
Bump actionpack from 7.0.2 to 7.0.3
Bumps actionpack from 7.0.2 to 7.0.3.
Release notes
Sourced from actionpack's releases.
7.0.3
Active Support
- No changes.
Active Model
- No changes.
Active Record
Some internal housekeeping on reloads could break custom
respond_to?methods in class objects that referenced reloadable constants. See #44125 for details.Xavier Noria
Fixed MariaDB default function support.
Defaults would be written wrong in "db/schema.rb" and not work correctly if using
db:schema:load. Further more the function name would be added as string content when saving new records.kaspernj
Fix
remove_foreign_keywith:if_existsoption when foreign key actually exists.fatkodima
Remove
--no-commentsflag in structure dumps for PostgreSQLThis broke some apps that used custom schema comments. If you don't want comments in your structure dump, you can use:
ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--no-comments']Alex Ghiculescu
Use the model name as a prefix when filtering encrypted attributes from logs.
For example, when encrypting
Person#nameit will addperson.nameas a filter parameter, instead of justname. This prevents unintended filtering of parameters with a matching name in other models.
... (truncated)
Changelog
Sourced from actionpack's changelog.
Rails 7.0.3 (May 09, 2022)
Allow relative redirects when
raise_on_open_redirectsis enabled.Tom Hughes
Fix
authenticate_with_http_basicto allow for missing password.Before Rails 7.0 it was possible to handle basic authentication with only a username.
authenticate_with_http_basic do |token, _| ApiClient.authenticate(token) endThis ability is restored.
Jean Boussier
Fix
content_security_policyreturning invalid directives.Directives such as
self,unsafe-evaland few others were not single quoted when the directive was the result of calling a lambda returning an array.content_security_policy do |policy| policy.frame_ancestors lambda { [:self, "https://example.com"] } endWith this fix the policy generated from above will now be valid.
Edouard Chin
Fix
skip_forgery_protectionto run without raising an error if forgery protection has not been enabled /verify_authenticity_tokenis not a defined callback.This fix prevents the Rails 7.0 Welcome Page (
/) from raising anArgumentErrorifdefault_protect_from_forgeryis false.Brad Trick
Fix
ActionController::Liveto copy the IsolatedExecutionState in the ephemeral thread.Since its inception
ActionController::Livehas been copying thread local variables to keep things such asCurrentAttributesset from middlewares working in the controller action.
... (truncated)
Commits
3872bc0Preparing for 7.0.3 release0e805dbMerge pull request #44295 from guillaumecabanel/mainf7c77b2Add missing require ofaction_controller/metal/exceptionsto `action_contro...5107a6dFix style and misspell in action dispatch executor testd82885dMerge pull request #44934 from soartec-lab/add-api-doc-for-samesite-of-cookiec204039Merge branch '7-0-sec' into 7-0-stable3520cc7Preparing for 7.0.2.4 releasef2f7900updating changelog for release8198d7cMerge pull request #44635 from imtayadeway/tjw/api-csp-i89dd6f5Merge pull request #44850 from kamipo/preserve_kwargs_flag- 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
You can disable automated security fix PRs for this repo from the Security Alerts page.