Repository navigation
OnlyWorlds Unity SDK 0.56.0
A calendar has size bounds, and a date past the exact range of whole numbers is shown as a plain number, as the
calendar profile now says. Pinned to schema-dist serial 149. A minor release because it adds public API and
changes a type (below).
Added
- A calendar has size bounds, and a date past the exact range is a plain number (the calendar profile at
schema-dist serial 149). A value with more than 256 eras, 64 months, a week longer than 64 steps or with more than 64
names, more than 16 entries inintercalary, anexceptlonger than 8, or a template or a name longer than 256 code
points (counted as decoded, untrimmed, not normalised) is not a calendar, and neither is one whose longest year (the
months plus every entry inintercalary) is longer than 2^53 - 1:OWCalendar.ReadConfigreturns null and its dates
read as plain numbers. A date whose step, year index plus any leap rule'soffset, or shown year lies outside
-(2^53 - 1) to 2^53 - 1 is shown as the plain step byFormatStep,FormatYearLabelandFormatMidLabel, and
OWCalendar.IsPastExactRangenames it. The profile's fixture (191 cases, 100 new) is read whole. Tests:
OWCalendarFixtureTests,OWCalendarTests.
Changed
StepBreakdown.AbsYearandStepBreakdown.Yeararelong?: null, with every other field butStep, for a date
past the exact range. Code that reads them aslongreads.Value, or compares as before.- Schema pin to
v0.34.1-dist.149(6792960); canonical 00.34.01 unchanged (OWSchemaPin.DistSerial149). Only the
calendar profile and its fixture moved; the generated models and the views table moved in their stamp only. The
calendar's parity vectors stay those made from dist.148's fixture until the TypeScript SDK reads serial 149.