Skip to content

OnlyWorlds Unity SDK 0.20.0

Choose a tag to compare

@tmoosting tmoosting released this 25 Oct 14:31
· 465 commits to main since this release

Calendar version 2: a festival day's leap rule can now say "every 4 years, not every 100, yet every 400" and count
from a calendar with no year 0, so the Gregorian calendar and Harptos read exact, day for day, matching what
LegendKeeper's API answered for a user's own project on 2026-10-25. An era with no end now runs to the next counting-up
era whatever order the eras are listed in. The change feed says who hid or unhid an element, when, and through which
door, and the room profile counts a member's take on a work item. A minor release because it adds public API
(below). The schema pin moves to dist.68.

Added

  • The room profile's ninth pair, relation/Take (schema-dist serial 66): a member's take on a work item is the
    taker's own Relation with supertype Take, so OWRoom.IsRoomElement now counts it as a room element when it
    carries x_room_of. OWRoom.Pairs holds the nine pairs in the fixture's order; the fixture's 25 cases, the two new
    ones among them, run as tests. Parity with the TypeScript SDK 4.75.0 and the Python package 0.52.0.
  • OWChange.ChangedAt, ChangedBy and ChangedVia: a hide's or an unhide's row in the /changes feed, as the
    readers who still see the element receive it, says when it was hidden or unhidden, by which membership (null for
    the world's owner) and through which door. All three are null on every other row; the row's change_seq is the
    act's place in the feed, while the element's own stays where it was. Parity with the TypeScript SDK 4.74.0.
  • OWWriteDoor.Site ("site"): the owner's own page on onlyworlds.com, the door a hide made there names. It is
    not an agent's door.
  • Calendar version 2 (the calendar profile at schema-dist serial 68): an intercalary entry's leap rule may carry
    except (a list of divisors, each larger than and a multiple of every_years and of the one before, read in order,
    the last match deciding: every 4, not every 100, yet every 400) and offset (added to the year index, so the rule
    reads the year the calendar shows; 1 for a calendar with no year 0). OWCalendar.ReadConfig reads version 1 and 2
    and reads the two keys only under version 2; a chain it can't read, or either key without every_years, is no
    calendar. CalendarIntercalary.Except and Offset hold them, OWCalendar.IntercalaryInYear says whether an entry
    falls in a year, and Validate names a bad chain and the keys on a version-1 config. Year starts, lengths, the year
    search, weekdays and month starts all follow the rule. Parity with the TypeScript SDK 4.76.0: its LegendKeeper
    vector (466 days on five preset calendars, as LegendKeeper's API gave them for a user's own project on 2026-10-25)
    runs here as tests, and Gregorian and Harptos now read exact.

Changed

  • An era with no end runs to the next up era, past any down era (the calendar profile's rule 4 at serial 68). An
    up era starting at 0 listed before a down era with its pivot at 0 used to end where it began, decided by list order;
    it now holds every step up to the next up era's start. The fixture's era-overlap-down-later-start reads 11 Rise
    from step 100, where it read no era before.

  • The schema pin moves to dist.68 (v0.33.0-dist.68; canonical 00.33.00 unchanged, no schema YAML moved).
    schema.json and the walk now carry each integer field's minimum and maximum as the YAML has them, as advisory
    data for display; the platform enforces neither, and this SDK neither reads nor enforces them. The folder lint warns
    on a newer format_version stamp and no longer changes sys.path when imported; the spine and checks profiles'
    fixtures grow (the checks profile's two known-of stub cases), and the import map profile arrives (a table from
    another tool's words to the 22 types, for import doors); this SDK reads none of these. The calendar profile's
    version 2 is above. The generated models changed only in their serial stamps.