[openstreetmap/openstreetmap-website] Enable remaining rails 7.1 defaults (PR #4318)

Tom Hughes notifications at github.com
Sat Oct 28 11:19:13 UTC 2023


This enables all the remaining rails 7.1 defaults in addition to the ones I accidentally pushed yesterday - apologies for that as I had meant them all to be in this pull request.

The only issue was caused by the new marshalling format which required a workaround due to https://github.com/rails/rails/issues/49826 which was in turn hidden until the final cut over by https://github.com/rails/rails/issues/49827.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4318

-- Commit Summary --

  * Stop adding autoloaded paths to $LOAD_PATH
  * Drop X-Download-Options from default headers
  * Stop parameter hashes comparing equal to normal hashes
  * Limit log file size in development and test
  * Enable optimisation of checks for parent record existence
  * Commit transactions exited by return, break or throw
  * Use an HTML5 standards-compliant sanitizer
  * Use an HTML5 parser for tests
  * Change log level for DebugExceptions to error
  * Switch to rails 7.1 defaults
  * Ensure user validations are run for new records

-- File Changes --

    M app/models/user.rb (12)
    M config/application.rb (5)
    D config/initializers/new_framework_defaults_7_1.rb (223)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4318.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4318.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4318
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4318 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231028/4597f0b5/attachment.htm>


More information about the rails-dev mailing list