tg-bot-ts/data/updates
Nuno Duque Nunes 7d66ab7319 fix: result posting bugs, tg-history shape, and stat-input parser hardening
- Result.post() now returns { ok, reason } instead of void — it used to
  silently no-op (unconfigured channel, or zero rows built) while
  /tg-admin result post always reported success regardless
- Fixed a crash when a TGScore's class is missing and the character it
  names is gone from CharacterRegistry (orphaned history) — Emoji.class()
  and Emoji.nation() now degrade to a placeholder instead of throwing
- Fixed tg-history files being written with only a scores array, missing
  date/confirmed/nationKD — Score.submit's loadHistory now fills in the
  full TGResult shape on every read; scripts/migrate-history-shape.py
  backfills existing files (50 fixed in dev, run on prod too — this
  script is gitignored like the other migration scripts, copy manually)
- ATK/DEF/Heal shorthand parser: accepts comma as a decimal separator
  (3,4M == 3.4M), and rejects implausibly large values (150.0M, or an
  already-full number with a redundant M) via a configurable ceiling
  (Config.tg.maxStatValue, default 50,000,000, /tg-config tg
  set-max-stat-value) instead of silently producing multi-billion junk
- data/updates v0.10.1 (result posting fixes) and v0.10.2 (parser
  refinements) — sequenced after the already-deployed v0.10 rather than
  backfilling v0.9.x, since posting order in #updates is what matters
- new announcement (002) explaining the shorthand input change to players
- doc updates: REFERENCE.md and MERGE_CHECKLIST.md cover all of the above
2026-07-31 02:59:26 +01:00
..
v0.1 refactor update messageId system / Discord.Interaction refactors 2026-06-12 16:27:36 +01:00
v0.2 refactor update messageId system / Discord.Interaction refactors 2026-06-12 16:27:36 +01:00
v0.3 refactor update messageId system / Discord.Interaction refactors 2026-06-12 16:27:36 +01:00
v0.4 refactor update messageId system / Discord.Interaction refactors 2026-06-12 16:27:36 +01:00
v0.5 refactor update messageId system / Discord.Interaction refactors 2026-06-12 16:27:36 +01:00
v0.6 refactor update messageId system / Discord.Interaction refactors 2026-06-12 16:27:36 +01:00
v0.7 refactor update messageId system / Discord.Interaction refactors 2026-06-12 16:27:36 +01:00
v0.8 feat: TGKey branded type, PersistentMessage abstraction, createBuildEmbed factory, BaseLayout refactor 2026-06-13 02:23:56 +01:00
v0.9 fix: unify score submission on Score.submit, fix TGScore type drift, fix playedBy semantics for borrowed characters 2026-06-22 04:27:03 +01:00
v0.9.1 add Announcements system for upcoming features and general announcements 2026-06-22 05:36:44 +01:00
v0.9.2 feature: shorthand stat input, admin score tools, and sleep check system 2026-07-30 04:16:42 +01:00
v0.10 housekeeping: polish Submit Score modal copy, rename v0.10 changelog 2026-07-30 04:29:06 +01:00
v0.10.1 fix: result posting bugs, tg-history shape, and stat-input parser hardening 2026-07-31 02:59:26 +01:00
v0.10.2 fix: result posting bugs, tg-history shape, and stat-input parser hardening 2026-07-31 02:59:26 +01:00
versions.json fix: result posting bugs, tg-history shape, and stat-input parser hardening 2026-07-31 02:59:26 +01:00