Skip to content

Pin json below 3 - #2486

Merged
tf merged 1 commit into
codevise:masterfrom
tf:json-pin
Sep 11, 2026
Merged

Pin json below 3#2486
tf merged 1 commit into
codevise:masterfrom
tf:json-pin

Conversation

@tf

@tf tf commented Sep 11, 2026

Copy link
Copy Markdown
Member

json 3 made JSON.parse options keyword-only and dropped quirks_mode. Every Rails version we support still relies on one or the other: 8.1 passes its options hash positionally, 7.2 passes quirks_mode. Either way ActiveSupport::JSON.decode raises, so reading any serialized JSON column fails. Rails has fixed this on 8-0-stable and 8-1-stable, but not on 7-2-stable and not in any released version yet.

Plugins inherit the constraint through their pageflow dependency, so this is the only place to unpin.

json 3 made JSON.parse options keyword-only and dropped quirks_mode.
Every Rails version we support still relies on one or the other: 8.1
passes its options hash positionally, 7.2 passes quirks_mode. Either
way ActiveSupport::JSON.decode raises, so reading any serialized JSON
column fails. Rails has fixed this on 8-0-stable and 8-1-stable, but
not on 7-2-stable and not in any released version yet.

Plugins inherit the constraint through their pageflow dependency, so
this is the only place to unpin.
@tf tf added this to the v17.2 milestone Sep 11, 2026
@tf
tf merged commit 7ab0c8c into codevise:master Sep 11, 2026
16 checks passed
@tf
tf deleted the json-pin branch September 11, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant