Skip to content

Pin JSON below version 3 - #424

Merged
tagliala merged 1 commit into
masterfrom
chore/pin-json-version
Sep 7, 2026
Merged

tagliala merged 1 commit into
masterfrom
chore/pin-json-version

Conversation

@tagliala

@tagliala tagliala commented Sep 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Constrain json to versions below 3 in the base Gemfile
  • Regenerate all Rails appraisal Gemfiles with the same constraint
  • Document the temporary constraint inline in the base Gemfile

multi_json releases currently call the JSON 3 API incompatibly on Ruby 4. Remove the constraint when a compatible multi_json release is available.

Verification

  • bundle exec rubocop Gemfile
  • bundle exec rspec spec/chrono_model (489 examples, 0 failures)
  • git diff --check

The generated gemfiles/ directory is excluded from RuboCop by project configuration.

Keep the current multi_json release compatible with Ruby's JSON 3 API. Remove this constraint once a compatible multi_json release is available.
@tagliala
tagliala force-pushed the chore/pin-json-version branch from 3c1c2cb to 14aa92a Compare September 7, 2026 10:04
@tagliala
tagliala merged commit 324d431 into master Sep 7, 2026
27 of 31 checks passed
@tagliala
tagliala deleted the chore/pin-json-version branch September 7, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant