Batch testing changes and document explicit release workflow
This commit is contained in:
@@ -20,14 +20,17 @@
|
||||
{#each CHANGELOG as entry (entry.version)}
|
||||
<li class="changelog-entry">
|
||||
<div class="changelog-head">
|
||||
<span class="changelog-ver">v{entry.version}</span>
|
||||
<span class="changelog-date text-muted">{entry.date}</span>
|
||||
<span class="changelog-ver">{entry.version === null ? 'In testing' : `v${entry.version}`}</span>
|
||||
{#if entry.date}<span class="changelog-date text-muted">{entry.date}</span>{/if}
|
||||
</div>
|
||||
<ul class="changelog-changes">
|
||||
{#each entry.changes as change}
|
||||
<li>{change}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
{#each entry.groups ?? [{ title: null, changes: entry.changes }] as group}
|
||||
{#if group.title}<h5 class="changelog-group">{group.title}</h5>{/if}
|
||||
<ul class="changelog-changes">
|
||||
{#each group.changes as change}
|
||||
<li>{change}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
{/each}
|
||||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -72,6 +75,11 @@
|
||||
.changelog-date {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.changelog-group {
|
||||
margin: 0.75rem 0 0.3rem;
|
||||
font-size: 1rem;
|
||||
color: var(--text);
|
||||
}
|
||||
.changelog-changes {
|
||||
margin: 0;
|
||||
padding-left: 1.2rem;
|
||||
|
||||
@@ -2,14 +2,17 @@
|
||||
// (rendered by AboutModal.svelte).
|
||||
//
|
||||
// Maintenance (see AGENTS.md "Versioning & changelog"):
|
||||
// - Bump VERSION by one on every commit.
|
||||
// - Add a CHANGELOG entry only when a commit changes something players can
|
||||
// see. Skip refactors, tests, and tooling. Keep wording player-facing.
|
||||
// - Accumulate player-facing development changes in one version: null entry.
|
||||
// - Only an explicitly requested release bumps VERSION and both flake.nix versions.
|
||||
// - At release, consolidate the batch into titled groups and add its version/date.
|
||||
|
||||
export const VERSION = 50;
|
||||
|
||||
// Newest first. Each entry: { version, date: 'YYYY-MM-DD', changes: [string, ...] }.
|
||||
// Newest first. In testing: { version: null, changes: [string, ...] }.
|
||||
// Release: { version, date: 'YYYY-MM-DD', groups: [{ title, changes: [...] }] }.
|
||||
// Historical flat changes arrays are also supported.
|
||||
export const CHANGELOG = [
|
||||
{ version: null, changes: ['Upcoming changes now appear together under In testing in About, ahead of numbered releases.'] },
|
||||
{ version: 50, date: '2026-09-04', changes: ['The full rulebook and TL;DR rules now match the refreshed light and dark themes, with chart backgrounds and textured solid panels.'] },
|
||||
{ version: 49, date: '2026-09-04', changes: ['Freshened both themes with nautical chart lines, woven panel textures, and richer sea-and-brass colors while keeping text clear.', 'The Event Log and My Notes now use the regular solid panel surface.'] },
|
||||
{ version: 48, date: '2026-09-04', changes: ['Keep your own notes alongside the Event Log. Notes save automatically between sessions, including when you close the panel, and stay intact when the game rewinds or you create a new Pi-Rat.'] },
|
||||
|
||||
Reference in New Issue
Block a user