[openstreetmap/openstreetmap-website] Upgrade to rails 7.1.0 (PR #4278)

Tom Hughes notifications at github.com
Sun Oct 8 09:19:31 UTC 2023


This upgrades to rails 7.1.0 with the huge bonus of getting rid of the `composite_primary_key` dependency by switching to the new builtin rails support for composite keys.

A test site is available at https://rails71.apis.dev.openstreetmap.org/.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Update to rails 7.1.0
  * Replace composite_primary_keys with rails builtin support
  * Avoid passing GeoRecord::Coord objects to rails output routines
  * Adjust code for rails internal changes
  * Fix test as rails no longer seems to return a body for redirects
  * Update test results for changes to rescuable exception handling
  * Update database structure for change in migration ordering
  * Disable eager loading when running tests in CI for now

-- File Changes --

    M Dockerfile (1)
    M Gemfile (3)
    M Gemfile.lock (166)
    M INSTALL.md (4)
    M app/helpers/user_helper.rb (2)
    M app/mailers/user_mailer.rb (2)
    M app/models/changeset_tag.rb (2)
    M app/models/concerns/geo_record.rb (2)
    M app/models/diary_entry_subscription.rb (2)
    M app/models/node_tag.rb (1)
    M app/models/old_node.rb (3)
    M app/models/old_node_tag.rb (3)
    M app/models/old_relation.rb (5)
    M app/models/old_relation_member.rb (4)
    M app/models/old_relation_tag.rb (3)
    M app/models/old_way.rb (5)
    M app/models/old_way_node.rb (3)
    M app/models/old_way_tag.rb (3)
    M app/models/relation_member.rb (2)
    M app/models/relation_tag.rb (1)
    M app/models/user_preference.rb (2)
    M app/models/way_node.rb (1)
    M app/models/way_tag.rb (1)
    M app/views/api/notes/_note.rss.builder (2)
    M app/views/api/notes/feed.rss.builder (2)
    M app/views/browse/_common_details.html.erb (4)
    M app/views/notes/show.html.erb (4)
    M bin/setup (2)
    M config/application.rb (19)
    M config/environments/development.rb (11)
    M config/environments/production.rb (52)
    M config/environments/test.rb (18)
    M config/initializers/content_security_policy.rb (13)
    M config/initializers/filter_parameter_logging.rb (4)
    A config/initializers/new_framework_defaults_7_1.rb (223)
    M config/initializers/permissions_policy.rb (20)
    M db/structure.sql (234)
    M lib/rich_text.rb (2)
    M script/vagrant/setup/provision.sh (2)
    M test/controllers/api/changesets_controller_test.rb (26)
    M test/controllers/api/nodes_controller_test.rb (2)
    M test/controllers/diary_entries_controller_test.rb (6)
    M test/integration/user_diaries_test.rb (12)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4278 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231008/ed1440a1/attachment-0001.htm>


More information about the rails-dev mailing list