Skip to content

Comments

[pull] master from ruby:master#396

Merged
pull[bot] merged 5 commits intoturkdevops:masterfrom
ruby:master
Oct 25, 2025
Merged

[pull] master from ruby:master#396
pull[bot] merged 5 commits intoturkdevops:masterfrom
ruby:master

Conversation

@pull
Copy link

@pull pull bot commented Oct 25, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

byroot and others added 5 commits October 25, 2025 08:57
Fix: rails/rails@9061627#r168784389

Because the `depth` counter is inside `JSON::State` it can't be used
concurrently, and in case of a circular reference the counter may be
left at the max value.

The depth counter should be moved outside `JSON_Generator_State` and
into `struct generate_json_data`, but it's a larger refactor.

In the meantime, `JSON::Coder` calls `State#generate_new` so I changed
that method so that it first copy the state on the stack.

ruby/json@aefa671eca
`IS_TYPED_DATA` is no longer a flag in `type`, and the "embedded" flag
has been shifted accordingly.

#14470
Use array_of_integer.sort! instead of buble-sort-like algorithm
@pull pull bot locked and limited conversation to collaborators Oct 25, 2025
@pull pull bot added the ⤵️ pull label Oct 25, 2025
@pull pull bot merged commit 377aa2a into turkdevops:master Oct 25, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants