Skip to content

OnlyWorlds Unity SDK 0.46.0

Choose a tag to compare

@tmoosting tmoosting released this 21 Nov 13:29
· 168 commits to main since this release

A bulk write that only creates, never replaces (createOnly, keel's create_only, in step with the TypeScript SDK
4.185.0); the wire fixture follows keel's document; the schema pin moves through serials 142 to 144. A minor release
because it adds public API (below).

Added

  • BulkAsync(items, createOnly: true), sent as create_only: every item with an id is created as CreateAsync
    creates it, never replaced. An id the world already holds answers that item's slot 409 id_conflict, and the
    element stays as it was; the rest of the batch goes on as before, and the slot reads as any failed slot does
    (OWBulkResult.Failed). Left out or false, the body is the one earlier releases sent. The parameter comes last, so
    a caller passing a CancellationToken by position keeps working. Parity with the TypeScript SDK 4.185.0, its test
    vector ported (its refusal of a value that is not a boolean has no counterpart here: the parameter is a bool).

Changed

  • The wire fixture is refreshed from keel's document 5a9aac72138c (from 514ea1d77c85): POST /bulk takes
    create_only (above), and every proposal answer declares house, which no model here reads yet. Nothing this SDK
    sends or reads was removed.
  • The schema pin moves to v0.34.1-dist.142 (canonical 00.34.01 unchanged; only the map-space page and its
    fixture moved). Serial 142: a Zone outlined on a child Map and on its parent keeps two outlines, never joined and
    with no point added on the edge of the child's rectangle or its parent frame, and what a tool draws there is the
    tool's; rule 4 says one outline per Map the Zone has placed Markers on. The map-space fixture gains three cases (46
    in all); no answer on an existing case moved.
  • The schema pin moves to v0.34.1-dist.144 (canonical 00.34.01 unchanged; only the charter and map-space
    pages, the map-space fixture and the dist's README moved). Serial 143: the charter page's rule 4 says an AI reader
    follows the Charter's text and the text of the Objects in the Charter's skill, as charterOf answers it for that
    reader, and every other element's text stays data; who may change that text is the host's to rule. The charter
    fixture is unchanged. Serial 144: the map-space page gains rule 15, a point on a Map brought down into the pixels of
    a Map below it, and a fourth reading, downOf; the map-space fixture gains its own list of 28 down_cases, which
    this SDK does not read yet. The 46 map-space cases, 32 layout cases and 66 frame cases are unchanged, and every
    existing answer stands.