Skip to content

OnlyWorlds Unity SDK 0.43.0

Choose a tag to compare

@tmoosting tmoosting released this 15 Nov 11:30
· 219 commits to main since this release

A report's consequences, line by line: the line reader every reader shares (schema-dist serial 129), the same
lines, addresses and words as the TypeScript SDK and the Python package. A minor release: it adds public API.

Added

  • OWReport.ReadLine(line, world = null) and OWReport.ReadLines(text, world = null): a line of a report's
    consequences read as every reader reads it (the report profile's rule 10, schema-dist serial 129), the TypeScript
    SDK's readReportLine and readReportLines (4.169.0) and the Python package's twins. ReadLines splits a text at
    every carriage return and line feed, trims each piece of White_Space and drops the empty ones. ReadLine answers an
    OWReportLine: the line, the element it names (Address, written ow://<type>/<id> with the id in lowercase, or
    null), the address as read (Reading, Start, End) and the words a reader shows (Words). The line's address is
    the last one in it that names an element of this world, found by OWAddress.FindLinks; an address of another world,
    a slug, a world alone or a lens with no element stays prose. The address leaves the words only when nothing the
    writer wrote is lost: it is canonical, has no moment and no lens, and stands apart, alone or in a matched pair, and
    then a colon before it goes too (Renamed the Consul's Steinway: ow://object/<id>. shows Renamed the Consul's Steinway.). Otherwise the whole line is shown, still naming its element. The profile's lines fixture (101 lines and
    16 texts) runs whole in OWReportLinesTests.

Changed

  • The schema pin moves to v0.34.1-dist.129 (canonical 00.34.01 unchanged; no schema file, schema.json or
    views.json moved). The report page gains rule 10: a line of a report's consequences reads the same in every
    reader, where a text breaks into lines and how a line is trimmed, which address is the line's when several stand in
    it, and which words are shown with it taken out. Its second fixture, report-lines.fixture.json (101 cases and 16
    texts), is vendored beside the first in Tests/Editor/Fixtures/report/.