Skip to content

Changelog

tilttek/journal

Français

All notable changes to tilttek/journal will be documented in this file.

Updates should follow the Keep a CHANGELOG principles.

0.1.0-alpha - 2026-12-02

Added

  • Entry, Genre and EntryState: an entry of a journal — a session summary, a character's journal, a solo game's journal, or what a player remembers of a recorded play —, its author, a title of 1 to 150 characters, its subject (required for a character or a play), up to 200 blocks, its audience, whether it is published and since when, kept at a version.
  • Block, BlockKind and BlockOrigin: a text of 1 to 20 000 characters of UTF-8 holding text, a roll, an oracle answer, a prompt or an event of the session; its audience, its secret, and whether it was written, assembled from an event or proposed to the writer.
  • Audience: every reader, the game master and the author, or the author alone, for an entry and for each block.
  • Mentions and Mention: [[Name]] and [[Name|text shown]] read in one pass without backtracking, up to 200 a block; what is not a mention stays text.
  • Journal: up to 10 000 entries a journal drafted, retitled, written, published, withdrawn and removed; each change made on a version, an entry changed meanwhile refused; a secret checked as one of the campaign through tilttek/player-knowledge; a change that changes nothing keeps and tells nothing; no state kept between calls.
  • Journal::assemble(): the draft of a session's summary from up to 200 events of the session, in the order they happened, without those whose secret the writer does not know; nothing published on its own.
  • Proposed blocks: an entry is not published while a block is still proposed, until its writer accepts it with Journal::accept() or rewrites it.
  • Reading for one Reader — a person and a KnowledgeSnapshot —: read() and timeline(), by genre or subject; a draft read by its author and the game master only; an entry kept from a reader answers as a missing one; a mention a link to a page the reader sees, through a Contract\PageDirectoryInterface asked once a call.
  • EntryView, BlockView, Segment and SegmentKind: an entry as one reader sees it, and its arrays for a JSON export.
  • Export\MarkdownExport: the entries a reader sees as one Markdown document, rolls, oracle answers and prompts as quotations, links to pages by a pattern.
  • WriterRotation: the next writer of a session's summary, from a roster of up to 1 000 people and who wrote so far.
  • The events EntryDrafted, EntryChanged, EntryPublished (with the genre and the author), EntryWithdrawn and EntryRemoved, by identifiers only, told once to a Contract\JournalObserverInterface.
  • Contract\JournalStoreInterface, entries kept at a version, and Store\InMemoryJournalStore for tests; Contract\SessionEventSourceInterface and SessionEvent, what happened in a session.
  • The exceptions InvalidJournal, JournalRefused, EntryNotFound and JournalConflict, under JournalExceptionInterface.
  • A fuzz target of the mentions, and a benchmark of an entry read, of a character's timeline and of a draft assembled.
  • The documentation in doc/, one file per topic, indexed by the README.
  • CONTRIBUTING.md, SECURITY.md and CODE_OF_CONDUCT.md.