Skip to content

v0.9.2 — phrasebook robustness

Choose a tag to compare

@Hoggormino Hoggormino released this 31 May 08:32
· 184 commits to main since this release

Iron's Spells: Incantation 0.9.2

Small hardening pass on the 0.9.1 phrasebook so it can't eat your translations.

Fixed

  • Phrasebook won't overwrite a file it couldn't read. If you save phrasebook.json half-finished and the game tries to reload mid-edit, the parse fails — previously we'd then rewrite the file with an empty-override version and silently destroy your work. Now we leave the file untouched until you save a valid version. Your in-memory overrides from the last successful load stay active so the grammar doesn't degrade either.
  • Stale entries keep their default field. Spells from temporarily-uninstalled addons used to round-trip back to "default": "". Now we remember the last-seen default per spell and write it back, so the file stays self-documenting across addon swaps.
  • Atomic writes. The file is written to phrasebook.json.tmp then atomically renamed onto the real path, so a text editor watching the file (or a backup tool, or a second game instance) never observes a half-written JSON.

No code changes for end users

Drop incantation-0.9.2.jar over your existing 0.9.1 jar. No config migration. If you don't use the phrasebook, this release is a no-op for you.