Skip to content

fix(deps): update fory to v1.6.1 (#43) — backport to 2.x - #85

Merged
rossdanderson merged 2 commits into
2.xfrom
fix/fory-1.6.1-2.x
Sep 1, 2026
Merged

fix(deps): update fory to v1.6.1 (#43) — backport to 2.x#85
rossdanderson merged 2 commits into
2.xfrom
fix/fory-1.6.1-2.x

Conversation

@rossdanderson

Copy link
Copy Markdown
Collaborator

Cherry-pick of 6b8097f from main: bumps Fory to 1.6.1 and adapts the persistent collection serializers to the new newMap/newCollection signature, plus a scoped-meta-share guard in the ValueOrCompletion exception-preservation test.

rossdanderson and others added 2 commits September 1, 2026 11:08
* fix(deps): update fory to v1.6.1

* fix: adapt to Fory 1.6.1 collection serializer API and meta-share behaviour

Fory 1.6 changed MapSerializer/CollectionSerializer's newMap/newCollection
overrides to take an extra "always advances" boolean, which broke the
persistent collection serializers. Separately, scoped meta share (now
enabled by default in compatible mode) is incompatible with our
SerializerFactory-based exception type preservation, so guard against it
and pin SCHEMA_CONSISTENT mode in the test that exercises it.

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
(cherry picked from commit 6b8097f)
Mostly Scala/Kotlin JSON and streaming features unrelated to this repo's
usage, but includes deserialization-path hardening (bounded metadata
decompression, tighter disallowed-class list) relevant to StreamLink
payload handling. Wire format unchanged; no protocol/API impact here.
@rossdanderson
rossdanderson merged commit 161688b into 2.x Sep 1, 2026
1 check passed
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