• 1.2.0 3df01c6ede

    1.2.0 Stable

    olivier released this 2026-09-07 18:11:21 +02:00 | 0 commits to master since this release

    Syntax changes

    • countdown is now always relative to now and no longer accepts a from field — it computed the exact same math as diff with a custom from, just different message framing. For a comparison between two fixed dates, use diff.
    • Relative dates: parseMoment now understands today, now, tomorrow, yesterday, and offsets like +7d / -3mo / +2w (always relative to now). Fixes diff's biggest weakness — it previously required hardcoded dates that go stale immediately.
    • Frontmatter fallback is now symmetric across all four types (previously birthday-only): countdown reads to/deadline, diff reads from/start and to/end, since reads since/created.
    • label is verbatim everywhere — birthday's convention (include your own punctuation, e.g. label: "New Year:") now applies to countdown too, instead of countdown silently auto-appending ": ".
    • New type aliases: age (birthday), remaining (countdown), elapsed (since), alongside the existing bday/until/difference.
    • Unresolvable inline type now shows an explicit error (Missing or unrecognized "type") instead of silently rendering nothing — this previously affected bare date=X/from=X and typo'd fields.
    • Removed the "YAML-like" comma-separated inline format from the docs — it wasn't valid non-flow YAML and silently produced nothing. Only key=value and {flow-mapping} are supported/documented.

    Settings

    • Settings tab rewritten as a compact syntax reference: all four types with their aliases, fields, and one-line descriptions, plus relative dates, frontmatter fallback, and inline/fenced examples.
    • Doc link now points to this repo's README on Gitea (was a stale/nonexistent GitHub URL).

    Docs

    • README fully updated to match: field references, per-type frontmatter docs, relative-dates section, and the expanded alias list.

    Note: this is a behavioral break for any note using countdown with a from field, or relying on countdown's old auto-colon label — both now work differently (see README).

    Verified against the real bundled logic and live in Obsidian (Live Preview and Reading View) via CDP automation.

    Downloads