Update rails: 5.2.1 → 5.2.2 (patch) #15
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rails (5.2.1 → 5.2.2) · Repo
Release Notes
5.2.2
Active Support
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
Fix bug where
URI.unescapewould fail with mixed Unicode/escaped character input:Ashe Connor, Aaron Patterson
Active Model
Fix numericality validator to still use value before type cast except Active Record.
Fixes #33651, #33686.
Ryuta Kamizono
Active Record
Do not ignore the scoping with query methods in the scope block.
Ryuta Kamizono
Allow aliased attributes to be used in
#update_columnsand#update.Gannon McGibbon
Allow spaces in postgres table names.
Fixes issue where "user post" is misinterpreted as ""user"."post"" when quoting table names with the postgres
adapter.
Gannon McGibbon
Cached columns_hash fields should be excluded from ResultSet#column_types
PR #34528 addresses the inconsistent behaviour when attribute is defined for an ignored column. The following test
was passing for SQLite and MySQL, but failed for PostgreSQL:
Dmitry Tsepelev
Values of enum are frozen, raising an error when attempting to modify them.
Emmanuel Byrd
update_columnsnow correctly raisesActiveModel::MissingAttributeErrorif the attribute does not exist.
Sean Griffin
Do not use prepared statement in queries that have a large number of binds.
Ryuta Kamizono
Fix query cache to load before first request.
Eileen M. Uchitelle
Fix collection cache key with limit and custom select to avoid ambiguous timestamp column error.
Fixes #33056.
Federico Martinez
Fix duplicated record creation when using nested attributes with
create_with.Darwin Wu
Fix regression setting children record in parent
before_savecallback.Guo Xiang Tan
Prevent leaking of user's DB credentials on
rails db:createfailure.bogdanvlviv
Clear mutation tracker before continuing the around callbacks.
Yuya Tanaka
Prevent deadlocks when waiting for connection from pool.
Brent Wheeldon
Avoid extra scoping when using
Relation#updatethat was causing this method to change the current scope.Ryuta Kamizono
Fix numericality validator not to be affected by custom getter.
Ryuta Kamizono
Fix bulk change table ignores comment option on PostgreSQL.
Yoshiyuki Kinjo
Action View
Action Pack
Reset Capybara sessions if failed system test screenshot raising an exception.
Reset Capybara sessions if
take_failed_screenshotraise exceptionin system test
after_teardown.Maxim Perepelitsa
Use request object for context if there's no controller
There is no controller instance when using a redirect route or a
mounted rack application so pass the request object as the context
when resolving dynamic CSP sources in this scenario.
Fixes #34200.
Andrew White
Apply mapping to symbols returned from dynamic CSP sources
Previously if a dynamic source returned a symbol such as :self it
would be converted to a string implicity, e.g:
would generate the header:
and now it generates:
Andrew White
Fix
rails routes -cfor controller name consists of multiple word.Yoshiyuki Kinjo
Call the
#redirect_toblock in controller context.Steven Peckins
Active Job
Make sure
assert_enqueued_with()&assert_performed_with()work reliably with hash arguments.Sharang Dashputre
Restore
ActionController::Parameterssupport toActiveJob::Arguments.serialize.Bernie Chiu
Restore
HashWithIndifferentAccesssupport toActiveJob::Arguments.deserialize.Gannon McGibbon
Include deserialized arguments in job instances returned from
assert_enqueued_withandassert_performed_withAlan Wu
Increment execution count before deserialize arguments.
Currently, the execution count increments after deserializes arguments.
Therefore, if an error occurs with deserialize, it retries indefinitely.
Yuji Yaginuma
Action Mailer
Action Cable
Active Storage
Support multiple submit buttons in Active Storage forms.
Chrıs Seelus
Fix
ArgumentErrorwhen uploading to amazon s3Hiroki Sanpei
Add a foreign-key constraint to the
active_storage_attachmentstable for blobs.George Claghorn
Discard
ActiveStorage::PurgeJobsfor missing blobs.George Claghorn
Fix uploading Tempfiles to Azure Storage.
George Claghorn
Railties
Disable content security policy for mailer previews.
Dylan Reile
Log the remote IP address of clients behind a proxy.
Atul Bhosale
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Sorry, we couldn't find anything useful about this release.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
1.1.0
concurrent-ruby:
are moved from
concurrent-ruby-edgetoconcurrent-rubyconcurrent-rubyPromise#thenv3.7.0
concurrent-ruby-edge:
lib-edgeCommits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
1.1.1
Commits
See the full diff on Github. The new version differs by 11 commits:
Bump to 1.1.1Update README with usage information in RubyMerge pull request #436 from dduugg/rm-kernel-extrm Kernel core_extMerge pull request #434 from orien/rubygems-project-metadataAdd project metadata to the gemspecMerge pull request #433 from BanzaiMan/patch-1Update Ruby 2.4.x and 2.5.x run timesMerge pull request #353 from PikachuEXE/feature/change-translations-behaviourAdd 'Maintained by' notice to README* Expose translations with option to perform initalizationRelease Notes
2.2.3
Notably, this release addresses CVE-2018-16468.
Commits
See the full diff on Github. The new version differs by 5 commits:
version bump to v2.2.3 and update CHANGELOGremove the svg animate attribute `from` from the allowlistadd formatting to CHANGELOGupdated mailing list to a new Google Groupextract msword html data into an asset fileCommits
See the full diff on Github. The new version differs by 20 commits:
2.7.1 releaseadditionally register UnixToUnix encoding as 'x-uue'IMAP: fix `delete_all` against a readonly connectionFormat generated ruby files by ragel using rufo gemSet full path of the ragel source file to rake taskPerform `gem install bundler` to address `LoadError: cannot load suchFix 7bit/base64 content transfer encoding mismatch2.7.1.rc1 release candidateRestore LF line ending parsingFix quote_token with frozen AS::Multibyte charsCI: test against Rails 5.x for Rubies older than 2.4.1 since Rails 6 requires 2.4.1+Fix token quoting with UTF-8 attributesExpose `Mail::Field#unparsed_value` to read raw fieldsCI: track current jruby release (9.1.15.0)CI: test against Ruby 2.5.xFix parsing boundary containing "=" within invalid Content-TypeFix transfer encoding when message encoding is blankrestore LF->CRLF conversion for properly encoded non-binary messagesFix performance downgrade with Mail::Utilities.to_crlf/to_lfStable branch for 2.7.x releasesRelease Notes
0.3.3
Commits
See the full diff on Github. The new version differs by 10 commits:
v0.3.3Merge pull request #11 from huacnlee/fix-test-file-including-rubygemGemspec ignore test files for reduce gem size from 7.5MB to 7.5KBMerge pull request #8 from junaruga/feature/text-typo-file-namesSuppress warnings when running "gem build marcel.gemspec"Merge pull request #7 from junaruga/hotfix/test-require-pathnameRequire pathname to run tests without Bundler.Fix "warning: `&' interpreted as argument prefix"CI: fix 2.5.0 builds broken by incompatible Bundler/RubyGemsAdd ruby-head on Travis CI.Commits
See the full diff on Github. The new version differs by 12 commits:
Merge pull request #55 from banister/release-0-9-2Release v0.9.2Merge pull request #54 from banister/52-jruby-patch-removalRevert "method_source: fix broken Procs on JRuby 9.2.0.0"bump version number to 0.9.1Merge pull request #51 from kyrylo/jruby-9200-fixmethod_source: fix broken Procs on JRuby 9.2.0.0Merge pull request #50 from mensfeld/masterremove gemfile locklicense for the gemspectweaks to .travis.ymlRun rake gemspec task to bump gemspec data (incl version number)Commits
See the full diff on Github. The new version differs by 11 commits:
version bump to v1.8.5update changelogMerge branch 'fix-1773'Organize imports in XmlNode.java.Allow reparenting nodes to be a child of an empty document.Merge pull request #1786 from sparklemotion/1785-canonical-usnspull in upstream libxml2 patcheschangelogchangelogremove `-Wextra` CFLAGadd tests for pkg-config failure scenarioCommits
See the full diff on Github. The new version differs by 5 commits:
Bumping version for releaseWhitelist http/https schemesReduce buffer size to avoid pathological parsingMerge tag '2.0.5' into 2-0-stableMerge pull request #1296 from tomelm/fix-prefers-plaintextCommits
See the full diff on Github. The new version differs by more commits than we can show here.
Commits
See the full diff on Github. The new version differs by 73 commits:
Prepare to 0.20.3Merge pull request #637 from y-yagi/add_care_of_old_did_you_meanAdd care about old version of `did_you_mean`Prepare to 0.20.2 releaseMerge pull request #636 from y-yagi/fixes_buildRemove the globally installed gem by rvmRun command with bundle execMake sure did_you_mean feature works when the gem is availablePrepare to 0.20.1 releaseMerge pull request #630 from kddeisz/did-you-meanMerge pull request #628 from deivid-rodriguez/abort_on_failureMerge pull request #629 from deivid-rodriguez/fix_warningsFix up keyword argument usage in did_you_mean for ruby 1.8Fix up did_you_mean on older ruby versionsSupport did-you-mean functionality in thorFix "warning: setting Encoding.default_external"Add `abort_on_failure` option to #run actionRemove unused stuffFix "warning: assigned but unused variable - junk"Merge pull request #616 from Choms/masterRe-add versionMerge pull request #623 from marcandre/remove_dupRemove duplicate option creation in specDelete version.rbMerge pull request #620 from MaxLap/fix-invalid-path-displayFix relative_to_original_destination_root and better testsRemove the root path from the absolute path only onceMerge pull request #618 from MaxLap/fix_check_unknownMerge pull request #589 from pocke/correct-linenoFix check_unknown_options! when parsing gets stoppedFix indent calculationSmall change to use more of the terminal sizeFix print_wrapped to properly parse "\x5" newline characterMerge pull request #610 from deivid-rodriguez/skip_exit_status_specs_on_1.8.7Document possible attack vector on `get`Merge pull request #611 from bosoxbill/doc-for-cve-2016-10545Add open-uri referenceAdd language about how not to use ThorSkip exit status specs on 1.8.7Merge pull request #578 from jmax315/masterMerge pull request #608 from y-yagi/fix_typo_in_inject_into_module_testFix typo in `inject_into_module` testMerge pull request #605 from y-yagi/add_merge_action_to_file_collisionMerge pull request #606 from y-yagi/remove_gemnasium_badgeRemove Gemnasium badgeMerge pull request #604 from y-yagi/test_against_latest_rubiesAdd `merge` action to file colision menuTest against latest RubiesMerge pull request #600 from jonathanhefner/fix-comment-regexMerge pull request #601 from pallan/patch-1Updates method documentation for askFix comment_lines regexpMerge pull request #599 from utilum/identifiy_future_ERB_versionsMake sure future versions of ERB are invoked appropriatelyMerge pull request #594 from koic/deprecate_safe_level_of_erb_new_in_ruby_2_6Merge pull request #598 from yahonda/diag595Address #595 by duplicating string objectsDeprecate safe_level of ERB.new in Ruby 2.6Use correct line numbers for `class_eval` and `module_eval` methodsMerge pull request #586 from hsbt/fix-misspellFixed misspelling words.Merge pull request #584 from lostapathy/bump_travis_versionsMerge pull request #583 from lostapathy/fix_travisupdate ruby version in travis configlock hashdiff to <0.3.6 to fix travisFix incorrect use of Process::exit. This fixes open issue #244.Merge pull request #576 from sshaw/masterrequire open-uri when loading http templateMerge pull request #572 from sschuberth/masterIntroduce a constant for the default terminal widthMerge pull request #568 from segiddins/seg-hash-fetch-testsAdd more tests for HashWithIndifferentAccess#fetchRelease should use invoke not executeDepfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands