Changelog
tilttek/factionsPas encore traduite
Cette page n'est pas encore traduite en français ; elle est présentée en anglais.
All notable changes to tilttek/factions will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
0.1.0-alpha - 2026-11-27
Added
Roster: the factions of one campaign, held by its game master — its scale, up to 64 factions each key once and up to 512 relations each pair once between factions of the roster —, checked as a whole, each change returning a new value.ScaleandTier: whole-number standings between -100 and 100, a start for a subject no change has touched, and 1 to 12 named tiers cutting the scale from its lowest up;Scale::standard()runs from -3 to 3;tier(),contains()andclamp().Faction,Rank,MembershipandStanding: a faction found by its key, its name and summary, up to 16 ranks from the lowest to the highest, up to 64 standings each subject once, up to 64 members each holding a rank of the faction, and whether it is secret; texts valid UTF-8, trimmed, without control characters in a line nor direction overrides anywhere;Faction::outranks().Subject: the party or one character, keyedpartyorcharacter:and the identifier, read back bySubject::fromKey().RelationandStance: how two factions stand with each other, the same both ways, kept lower key first, with a note and whether it is secret; a faction has no relation with itself.Factions: create a roster with where the campaign begins; add a faction without standings or members, change its details while keeping them, remove it with its relations; change the scale when every standing fits; shift a standing by 1 to 200 steps, stopping at the ends, or set it on the scale; give, change or take a rank; set or end a relation; hand over; delete; a change that leaves the roster as it was keeps and tells nothing; it keeps no state between calls.Reasonand the history: each move of a standing, a rank or a relation takes the game master's words and an optional session, and keeps aHistory\StandingEntry,History\RankEntryorHistory\RelationEntrywith the value before and after, the member and the time from aPsr\Clock\ClockInterface, in the same write as the roster;Factions::history()reads those of a faction, the newest first, up to 500.View\RosterView,View\FactionViewandView\StandingView: the game master's view, with every standing, member and secret; the player's view, without secret factions or relations, with the party's standing and only their own standing and rank; each standing with its tier, andtoArray()for a page.- The events
RosterCreated,FactionAdded,FactionChanged,FactionRemoved,ScaleChanged,StandingChanged,RankChanged,RelationChanged,RosterHandedOverandRosterDeleted, by identifiers only, told once to aContract\RosterObserver. Contract\RosterStore, kept at a version with its history in one write, deleted with it, and read by faction, andStore\InMemoryRosterStorefor tests.- The exceptions
InvalidRoster,RosterNotFound,RosterRefusedandRosterConflict, underFactionsException. - Benchmarks of the largest roster: viewed by the game master and by a player, a standing shifted.
- The documentation in
doc/, one file per topic, indexed by the README. CONTRIBUTING.md,SECURITY.mdandCODE_OF_CONDUCT.md.