Skip to content

Releases

v1.36.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 17:42
5799f86

Dependencies

  • Merge reviewed Dependabot updates #46, #47, #60, #61, #63, #64, #65 and #67:
    Nix actions, base64, Mermaid SVG renderer, directories, SVG rasterizer,
    HTTP test tooling and the patch/minor group. Preserve the existing security
    lockfile fixes and require every SVG renderer smoke fixture to succeed. The ascii-dag #62 upgrade remains blocked by layout regressions.

Fixed

  • Let CLI commands shut down their worker runtime cleanly instead of bypassing
    destructors with process exit.

  • Release obsolete diagram/formula allocations when replacing, saving or closing
    documents, and remove stale diagram height metadata. Preserve entries still
    referenced by other tabs. Add lifecycle regressions and repeatable memory soaks.

  • Opening a file from the tree (Enter, l or a mouse click) replaces the
    requesting tab. Delayed reads cannot overwrite another tab or supersede a
    newer selection; failed reads preserve the original document. Original fix
    and regression by @Moler1995 in #56; maintainer review adds request ownership
    and delayed-read regressions.

Security

  • Refresh url and cookie lockfile versions to address RUSTSEC-2026-0592
    and RUSTSEC-2026-0594 found during PR review. Document the maintenance-only
    chrono advisory exception: its date type is part of the public Gantt API.

Added — Gaia Aether theme

Contributed by @ykzird in #49. A ninth built-in palette: Gruvbox warmth (cream #f2e5bc text, moss and
amber hues) on a blue-grey #181c22 surface, with a dusty-mauve accent.
Select it in the settings modal under Theme or with
theme = "gaia_aether" in config.toml.

Three slots deliberately depart from the source palette, because its literal
values fail the contrast audit in src/theme/mod.rs::tests:

  • accent.primary uses the source magenta #c98fa0 rather than the source
    accent #a0607a. The chosen dark foreground #181c22 reaches only
    3.62:1 on #a0607a, below WCAG AA (4.5:1) for the on_accent
    text drawn by the status bar and tab bar. #a0607a remains available as
    accent.alt.
  • state.selection_bg is a lightened #503a4a. The source selection
    #261a28 sits 0.16 luminance units from the background surface, below the
    MIN_SELECTION_DELTA of 3.0, so a selection highlight would be invisible.
  • state.focus is the magenta accent, 6.45:1 against the base surface.

The existing audit tests cover the new variant automatically, so the palette
is pinned to the same AA floor as every other theme.

Release verification

  • All 12 PR checks passed, including Linux/macOS Nix builds and binary smoke tests. Stable and MSRV each passed 1,682 local tests.
  • Memory validation: 2,200 document replacements, 500 formula rasters and 400 diagram rasters. Optimized RSS settled at 13,632 KiB (160 KiB post-warmup spread); native macOS leaks and isolated AddressSanitizer soaks reported no leaks.
  • Full-workspace address checks passed. Full-workspace leak checks passed excluding one independently reproduced macOS detached-DNS shutdown case, which remains covered by address checks. See the validation report for scope and limitations.
  • Downloaded and verified all six platform archive checksums and six aliases. The published Apple Silicon binary passed version/export/section/link smoke checks and a native CLI leak check.
  • Confirmed crates.io 1.36.0, downloaded its package and verified its checksum/source fixes; confirmed Homebrew 1.36.0 and all four formula hashes against release archives.
  • AUR publishing was skipped because AUR_SSH_KEY is not configured. The incompatible ascii-dag PR #62 remains excluded.

v1.35.4

Choose a tag to compare

@github-actions github-actions released this 05 Nov 16:59
77b62dd

Fixed

  • Flowchart nodes labelled [/] or [\] render as literal rectangles instead
    of panicking when their slanted delimiters overlap (#55).

  • Explicit sequence activations span the spacer and note rows after activate,
    including nested activations and multiline notes. Notes before the directive
    and inline activations retain their original timing (#54).

  • Mermaid CJK/fullwidth labels keep their terminal-cell width and aligned
    borders across grid, sequence, class/ER tables and quadrant charts (#52).
    Combining marks stay attached to their labels. Reported by @worldnine.

  • State-note links preserve their final route corner. Nested sequence
    activation bars use distinct lanes with clear labels, including autonumber
    prefixes. Sequence notes keep their text/borders and intentionally cover
    underlying lanes; exposed lane spans remain continuous (#41).

  • Non-ASCII class names and Unicode whitespace in class methods/ER
    relationships no longer panic; malformed class-method parentheses return
    a parse error (#50). Original keyword fix and regressions by @worldnine
    in #51; maintainer review also pins exact AST and diagnostic assertions.

  • Update Rustls to 0.23.45 and rustls-webpki to 0.103.15 in the lockfile,
    resolving RUSTSEC-2026-0285 found by the local advisory gate.

Security

  • Build on Dependabot's #45 update commit, preserving its authorship, and refresh
    pulldown-cmark to 0.13.6, Rustls to 0.23.46, rustls-webpki to 0.103.16,
    webpki-roots to 1.0.11 and Tokio to 1.54.1 to clear current advisory failures.

Changed

  • Bundle mermaid-text 0.58.0. Its public Activation model adds start_note;
    applications constructing spans can set it to None for message-based timing.

  • Recognized WezTerm sessions prefer the iTerm2 image protocol after a
    successful terminal query, including TERM_PROGRAM detection in WSL.
    Unicode math fallback renders \tag{1} as (1) (#48). The equation raster
    and protocol routing are tested; the reported WezTerm/WSL display still
    requires verification in that terminal; issue #48 remains open.

mermaid-text-0.58.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 16:49
77b62dd

Fixed

  • Single / and \ flowchart bracket labels no longer panic on overlapping
    slanted delimiters; they remain literal rectangle labels (#55).
  • Explicit activation bars start before following notes instead of at the next
    message. Nested lanes remain continuous through multiline/consecutive notes;
    notes before activation and inline activation timing are preserved (#54).

Changed

  • Public model change: Activation now includes start_note: Option<usize>
    to retain explicit directive ordering among notes at a message boundary.
    Callers constructing Activation literals should add start_note: None to
    preserve message-based placement, or Some(n) for the first note inside the
    activation. This field addition is released as 0.58.0 for 0.x compatibility.

Reported by @jserv. Regression tests check exact ASTs, edge connectivity,
bar cells and event ordering in Unicode and ASCII.

v1.34.75

Choose a tag to compare

@github-actions github-actions released this 21 Jul 13:10
d675803

Changed — bundle mermaid-text 0.57.0

Bumps the bundled mermaid-text to 0.57.0, which adds an opt-in hard
max_width budget (RenderOptions::max_width_strict → Error::TooWide)
for embedders with a fixed panel width (#32). No user-visible change to the
viewer itself — the diagram pane continues to render at natural width.

mermaid-text-0.57.0

Choose a tag to compare

@github-actions github-actions released this 21 Jul 13:02
d675803

Added

  • RenderOptions::max_width_strict (default false). When true and
    max_width is Some(n), a render whose widest line still exceeds n
    display columns returns the new Error::TooWide { requested, actual }
    instead of an over-wide string. This turns max_width from a soft hint into
    a hard budget, so an embedder with a fixed panel width gets a "fits or tells
    you it can't" contract and can fall back knowingly (e.g. to fenced source)
    without post-measuring every line. Width is measured in display columns and
    ignores ANSI escapes emitted by color. Requested by @vshylov (#32).
  • mermaid-text --strict CLI flag: with --width N, exit non-zero when
    the widest line still exceeds N.

Changed (breaking, per 0.x semver)

  • RenderOptions gains a field and Error gains a variant. Callers that
    construct RenderOptions with a full struct literal (rather than
    ..Default::default()) or match Error exhaustively need a trivial update.
    Existing render/render_with_width/render_with_options behaviour is
    unchanged when max_width_strict is left at its false default.

v1.34.74

Choose a tag to compare

@github-actions github-actions released this 16 Jul 13:13
ad3460d

Fixed — mermaid-text UTF-8 safety (#29)

Bumps the bundled mermaid-text to 0.56.1, which fixes panics and silent
label corruption when rendering mermaid diagrams that contain non-ASCII
(e.g. Cyrillic) text — byte offsets were being used where character offsets
were expected. Concretely, a mermaid sequence diagram with a non-ASCII
participant/keyword line could crash the viewer, and a non-ASCII
flowchart could render a corrupted diagram (brackets leaking into
labels, nodes dropped). See the mermaid-text 0.56.1 changelog for the full
list of parser fixes. Reported by @vshylov.


Credit: the mermaid-text UTF-8 fix was reported and originally fixed by @vshylov (#29 / #30).

mermaid-text-0.56.1

Choose a tag to compare

@github-actions github-actions released this 16 Jul 12:58
ad3460d

Fixed

  • Panic on non-ASCII keyword-prefixed lines. strip_keyword_prefix
    sliced at a byte index (line[..keyword.len()]) without a char-boundary
    check, so sequence/state lines such as loop до готовности panicked when
    that byte landed inside a multi-byte char. Now uses str::get, which
    rejects a non-boundary slice instead of crashing. Three local copies of
    this helper (gantt, timeline, journey) that the central fix had missed
    were removed and routed to the canonical parser::common version.
  • Silent flowchart label corruption. try_consume_pipe_label,
    try_consume_inline_compact_arrow, and try_consume_inline_quoted_arrow
    returned byte lengths that the char-indexed tokenizer added to its cursor,
    over-advancing by byte_len − char_len on a multi-byte edge label (e.g.
    -->|да|) and eating part of the following node (leaking its [ bracket
    into the label, or dropping the node). Now count chars.
  • Participant alias mis-split. parse_participant_decl searched for
    as in a to_lowercase() copy and applied the byte offset to the
    original string, desyncing when case-folding changed byte length (e.g.
    İ → 3-byte i̇). Now scans the original string for the ASCII separator.

Reported by @vshylov (#29). Pinned by 10 new regression tests covering
each parser (tests/utf8_multibyte.rs).


Credit: reported and originally fixed by @vshylov in #29 / #30. See CHANGELOG.

v1.34.73

Choose a tag to compare

@github-actions github-actions released this 22 Jun 15:11

Changed — dependency bump: ratatui-image 11 (#24)

Upgraded ratatui-image 10.0.7 → 11.0.5 and picked up the latest
ratatui 0.30.x patch releases via the lockfile (ratatui 0.30.1 →
0.30.2, plus the companion core/crossterm/widgets/macros/termwiz
crates). v11 requires ratatui ^0.30.1, so no ratatui major bump
was needed.

The only source change v11 forced is in compute_cell_height:
Picker::font_size() now returns a FontSize struct ({ width, height }) instead of a (u16, u16) tuple, so the per-cell pixel
height is now read via .height. No user-visible behaviour change.

v1.34.72

Choose a tag to compare

@github-actions github-actions released this 17 Jun 14:03

Fixed — file-tree focus correctness (#16, #17)

Two related file-tree focus bugs, shipped via #20.

  • #17 — tree cursor no longer snaps back to the open file. The
    filesystem watcher fired TreeDiscovered on every change and the
    handler unconditionally re-revealed the active tab's file, yanking
    the user's selection back (~1×/sec on noisy filesystems such as
    Chrostini, whose inotify emits spurious IN_ACCESS events).
    FileTreeState::rebuild now preserves the selection by path across a
    refresh, and TreeDiscovered only aligns the tree to the open file
    on the first discovery. Intentional reveals (open, search jump, link
    pick) keep calling reveal_path at their own sites.
  • #16 — focus can no longer be stranded on a hidden file tree.
    Several handlers set Focus::Tree without checking tree_hidden.
    Added focus_tree_or_viewer() and routed the 8 affected sites (Tab,
    last-tab close, search-Esc, copy-menu Enter/Esc, FocusLeft,
    ExitSearch, mouse tab-close) through it.

Pinned by 10 regression tests (watcher_rediscovery_preserves_user_tree_selection,
tree_realigns_only_until_first_alignment, reveal_path_sets_aligned_only_on_a_real_match,
and the per-entry-point *_respects_hidden_tree set).

v1.34.71

Choose a tag to compare

@github-actions github-actions released this 12 Jun 14:24
release: markdown-tui-explorer 1.34.71

Ships the file-tree visibility setting (#15): start with the tree hidden
via `show_file_tree`, `H` toggles at runtime. Includes atomic config
save and live-state settings popup sync.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>