CHANGELOG: the old CultPhasor reader decodes zeros by default and throws under Disallow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-17 20:33:45 +02:00
commit 4391ed23f9

View file

@ -7,9 +7,10 @@ All notable changes to this package are documented in this file.
### Breaking
- `CultMathJson` writes `CultPhasor` as `{"cosine":..,"sine":..}` and still reads
the old `cos`/`sin` keys. A reader from before this change skips the new keys
and decodes zeros, so upgrade readers before writers. MessagePack bytes are
unchanged.
the old `cos`/`sin` keys. A reader from before this change does not know the
new keys: with default options it skips them and decodes zeros, and with
`UnmappedMemberHandling.Disallow` it throws. Upgrade readers before writers.
MessagePack bytes are unchanged.
- CultCache refuses an unknown union arm on read and an unnamed union subtype on
write. A payload whose arm key the union does not declare used to decode to
`null` (and the next save wrote the loss back); a value whose type the union