Skip to content

OnlyWorlds Unity SDK 0.54.0

Choose a tag to compare

@tmoosting tmoosting released this 25 Nov 13:28
· 98 commits to main since this release

A world says which of its calendars speaks, by the World's x_calendar, and a new element's file name is the one the
TypeScript and Python packages give it on every runtime, Mono included. Pinned to schema-dist serial 147. A minor
release because it adds public API (below).

Added

  • Which calendar speaks for a world (the calendar profile's paragraph of that name):
    OWCalendarLens.SpeakingCalendar(world, elements) reads the World's x_calendar, the id of the element whose
    calendar speaks, matched as written. A name that holds no calendar the reader reads gives none, never another in its
    place; with none named, the world's only calendar speaks, and with several, none. The calendar fixture's world cases
    are checked by OWCalendarFixtureTests.

Changed

  • Schema pin to v0.34.1-dist.147 (9d7fb97); canonical 00.34.01 unchanged (OWSchemaPin.DistSerial 147). The
    generated models and the views table moved in their stamp only. The calendar fixture gains twelve cases naming which
    calendar speaks (91 cases, 48 calendars, 256 steps), answered by SpeakingCalendar; the address fixture gains
    eleven (230: 109 parse, 83 prose), each answered with no change; the .owworld set's test copy gains its two fold
    cases (111). The calendar's parity vectors are taken again from the Godot SDK, made from the TypeScript SDK 4.206.0
    against the new fixture, and every row agrees.

Fixed

  • A new element's file name is the TypeScript and Python packages' on every runtime (folder spec §3.2).
    OWFolderWriter.Slugify took its decompositions from the runtime's string.Normalize, and Mono's leaves a
    ligature and the mathematical letters whole, so on Mono fire gave re--….json and a name ending in two
    mathematical capitals lost a letter at the cut. It also dropped every nonspacing mark, where the rule drops only
    U+0300 to U+036F, so a, U+064E, b gave ab where the packages give a-b. The decompositions now come from the
    SDK's own table (OWSlugData, generated by tools/gen_slug.py from Unicode 15.1.0's UnicodeData.txt and checked
    there against Python's NFKD on every code point), and only U+0300 to U+036F is dropped. An element read from a file
    keeps the name it was read from. The shared file-name set (38 names and their slugs) is a test
    (OWFileNameSetTests).