Skip to content

Releases: Snifer/lonelog

1.5.5

06 Jun 01:57

Choose a tag to compare

Support Obsidian version 1.12.7

1.5.4

05 Jun 19:49

Choose a tag to compare

Entity Merge Fix: Lonelog Threads PC State

Fixed entity tag merging so Lonelog Threads no longer drops previously known PC or NPC attributes when a later mention only updates one field.

What Changed

  • Updated the parser merge logic for repeated entity tags such as [PC:...], [N:...], and [L:...].
  • Changed partial entity updates to merge by attribute key instead of replacing the full tag list.
  • Preserved existing values like HIT, GRIT, and WILL when a later tag only updates one field.
  • Kept support for additive (+), removal (-), and replacement (->) tag update semantics.
  • Added parser tests covering partial PC updates and attribute replacement behavior.
  • Lonelog Threads now shows stable combined entity state across multiple mentions.
  • Closes #32.
  • Closes #33.

1.5.3

05 Jun 14:50

Choose a tag to compare

Compatibility Update: Obsidian API and Popout Windows

Repeated the compatibility adjustments from 1.5.2 as part of the latest release cycle, reflecting the changes that were made to metadata and UI behavior.

What Changed

  • Kept minAppVersion aligned with the current compatibility baseline used by the plugin.
  • Preserved the Obsidian API compatibility adjustments around modern workspace and frontmatter helpers.
  • Kept the popout window compatibility fixes based on activeDocument, element-owned documents, and window-scoped timers.
  • Retained the settings tab rendering cleanup that avoids internal direct calls to display().
  • Registered this release as a follow-up compatibility update in the changelog.
  • Documented the compatibility changes again under 1.5.3.
  • Kept the release history aligned with the latest metadata and implementation changes.

1.5.2

05 Jun 13:57

Choose a tag to compare

Compatibility Update: Obsidian API and Popout Windows

Updated the plugin metadata and UI code to match the Obsidian APIs already used by Lonelog, and improved compatibility with popout windows.

What Changed

  • Raised minAppVersion to 1.2.1 to match the current use of modern Obsidian APIs such as processFrontMatter, workspace.activeEditor, and newer workspace helpers.
  • Replaced direct document access with activeDocument or element-owned documents where needed, so overlays, settings rendering, and syntax highlighting behave correctly in popout windows.
  • Replaced global setTimeout() calls with window-scoped timers for popout window safety.
  • Removed internal direct calls to display() inside the settings tab implementation while keeping the display() override for backward compatibility with older Obsidian versions.

1.5.1

05 Jun 12:48

Choose a tag to compare

Performance Fix: IME and CJK Input Lag

Improved editor responsiveness when typing with IME-based keyboards such as Chinese, Japanese, and Korean input methods.

What Changed

  • Skipped expensive editor highlighting rebuilds while CodeMirror is in text composition mode.
  • Prevented autocomplete from reparsing the full document during IME composition.
  • Optimized autocomplete so a full Lonelog parse happens once per autocomplete session instead of on every query update while typing inside the same tag context.

Result

  • Reduced typing lag with IME composition.
  • Lowered unnecessary parsing work in large notes.
  • Improved responsiveness when editing Lonelog tags such as [N:...], [PC:...], [Thread:...], and similar entities.

1.5.0

28 May 04:23

Choose a tag to compare

Syntax Highlighting Fix: Multi-line Entity Tags

Fixed syntax highlighting for multi-line bracket entities such as PC, N, and other Lonelog tags, so the tag scope is now preserved across lines in both the editor and reading view. (Reported by @loukaka in #30.)

Before:

Multi-line forms like:

[PC:Jonah
| trait: friendly, curious
| status: wounded
| stat: HP 8, Stress 2
]

were parsed correctly by the Lonelog engine, but the highlighter failed to keep the tag scope active across lines in the editor and reading mode.

Now:

  • Highlighting is preserved from the opening [ line through the closing ].
  • Tokenization now supports multi-line tag context consistently in both editor highlighting and reading mode.

Settings UI Redesign

Redesigned the Lonelog settings tab from a single long scrolling page into a sidebar + content panel layout for faster navigation as the plugin grows.

What Changed

  • Reorganized settings into 7 navigable sections:
    • Interface
    • Notation
    • Templates
    • Colors
    • Dice
    • Add-ons
    • About
  • Moved syntax editor controls into Interface.
  • Moved all highlighting color controls into a dedicated Colors panel.
  • Added visible Active / Inactive badges for add-ons.
  • Moved About to the end of the navigation.
  • Added a version badge in the About panel using the plugin manifest version.

1.4.8

26 May 07:28

Choose a tag to compare

New Feature: Fractional Track Progress

Added support for fractional (decimal) values in track progress, enabling systems like Ironsworn that advance progress in partial steps instead of whole integers.

Examples:

[Track:Find who killed my uncle 1.5/10]
[Track:Bonds 0.25/4]
[Track:Vow 0.5/10]

Inline update syntax also supports fractional values:

[Track:Find who killed my uncle 0.5/10 ->1.5/10]

Source: Reddit feedback from an Ironsworn user


CI/CD & Repository Infrastructure

  • GitHub Actions Release Workflow Update (release.yml):
    • Configured the workflow to extract specific release notes from CHANGELOG.md to populate the GitHub Release body automatically.
    • Added build artifact attestation (actions/attest-build-provenance) for secure verification of generated files.
    • Ensured CHANGELOG.md presence validation before finishing builds.

1.4.7

23 May 08:29
8cbbf59

Choose a tag to compare

What's Changed

  • Various fixes by @OneShoeBoy in #27
  • Release: v1.4.7 - Tag fixes, parser safety checks & refactors full addons support by @Snifer in #28

New Contributors

Full Changelog: 1.4.3...1.4.7

1.4.7-dev - Tag fixes, parser safety checks & refactors

21 May 03:29

Choose a tag to compare

What's Changed

  • Various fixes by @OneShoeBoy in #27
  • Adds an extra fix for a TypeScript strict-mode issue that appeared after merging the PR. by @Snifer

New Contributors

Full Changelog: 1.4.6-dev...1.4.7-dev

New Release (Fix Advance Dice Notation)

22 Apr 13:30

Choose a tag to compare

Pre-release
  • Fixed Advanced Dice Notation (kh, kl, dh, dl) calculation where the total sum was incorrect.
  • Resolved an issue in the formatting engine that caused advanced results to be replaced by basic dice sums.
  • Enhanced dice result visualization: now all rolled values are displayed (e.g., "6, 2, 1"), but only the kept values are calculated in the final total.
  • Improved parsing stability when using modifiers (e.g., +1, -2) alongside advanced dice rules.