Skip to content

onlyworlds 0.72.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 08:06
· 312 commits to main since this release
  • Schema repinned to schema-dist v0.33.0-dist.76 (from dist.75; the same canonical 00.33.00, so SCHEMA_VERSION stays 00.33.00 and no element field moved). Serial 76 changes only the message profile and its fixture (55 to 81 cases, all run by tests/test_message.py). The generator no longer writes bytecode into the vendored tree.
  • The message profile's serial 76 readers, the npm SDK's under their snake_case names. has_unseen_recipients(message, keyless=False): true when the server left out recipients this reader may not see (x_served_trimmed names characters), never who or how many; None for a body read with no credential. edited_by(message, members) returns EditRead(edited, by): whether a later hand changed the message (changed_by present and not equal to created_by) and that membership's Character, or None when it plays none, is off the members list or there is no list. NOTE_PAIR, is_note(element) and note_of(narratives, character_id, members): a Note is a member's own line, never a message, and note_of gives the id of the Character's newest own-hand Note that is neither hidden (hidden: true) nor proposed (x_review_proposed an object), or None; on the wire only a verified sender's Note counts, in a folder its narrator is trusted.
  • An empty characters with x_served_trimmed naming characters is to someone the reader cannot see: is_addressed_to is False for every Character and is_to_everyone False; a list that still holds ids beside the mark addresses those ids. is_to_everyone(message, keyless=True) is never True. A keyless that is not a bool is a TypeError. sender_status answers unseen for a message with no narrator whose mark names narrator; without the mark it stays unverifiable. push never sends x_served_trimmed, which a world folder keeps as served.
  • A Note is addressed to nobody on every reader: recipients_of gives [], is_addressed_to, is_to_everyone and has_unseen_recipients (keyless or not) are False, unread_for never lists one, and thread_of never includes one, though a chain of parent_narrative walks through it.
  • Order by created_at reads one rule, the same as the npm SDK's: an RFC 3339 date-time (YYYY-MM-DDTHH:MM:SS, an optional fraction, Z or an offset; T and Z in either case), or one with no zone, read as UTC; the date must exist, hours 00 to 23, minutes and seconds 00 to 59. Anything else (absent, None, 09:61, a word, a date alone, a space for the T, surrounding spaces) comes after every readable time, in the list's order. Before, datetime.fromisoformat decided, after trimming: a date alone, a space for the T and other ISO forms sorted as times. read_mark_of reads updated_at by the same rule. Compared with the npm SDK on 24,000 random worlds (about a million answers), with no disagreement.