CultPhasor rename: README, design note and both changelogs

cultmath-unity [Unreleased] and cultlib [Unreleased] carry the Breaking entries; no version bump, no tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-17 19:28:25 +02:00
commit 1330362235
4 changed files with 15 additions and 2 deletions

View file

@ -6,6 +6,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.
- 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