Skip to content

fix: release v0.6.4 with original source line numbers - #18

Merged
siriusctrl merged 2 commits into
mainfrom
codex/release-v0.6.4
Sep 18, 2026
Merged

siriusctrl merged 2 commits into
mainfrom
codex/release-v0.6.4

Conversation

@siriusctrl

@siriusctrl siriusctrl commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Release fmtview and fmtview-core as 0.6.4 on crates.io and GitHub Releases, with all workspace/npm metadata aligned to 0.6.4. File-viewer line numbers and numeric jumps now refer to the original input, so a JSONL record remains source line 2 even when the preceding record expands into many display lines. Expanded rows use continuation markers; raw views, title ranges, and tool-pair hints share the source coordinates.

Lazy source jumps run in cancellable batches. Tail-first timelines show ? until their prefix is known, preserving bounded startup, and track original coordinates across appends and rotation. Whole-document JSON/XML/HTML viewing adds a buffered source-alignment pass and numeric map; formatted text remains on disk. README and release notes document these tradeoffs.

Validation: cargo fmt --check, 409 passing tests, cargo clippy --all-targets -- -D warnings, locked release and static musl builds, cargo publish -p fmtview-core --dry-run --locked, and a Kitty/Xvfb recording of the static release binary. Inspected keyframes confirm source jumps to 2 and 100, raw/structured toggling, scroll, wrap toggle, and clean quit.

A release-mode comparison pinned to the same CPU, with a warm-up pair and nine alternating AB/BA samples, measured viewport rendering at 20.84 -> 20.91 ms, lazy preload at 10.24 -> 10.93 ms, and unchanged terminal draw bytes (133,048). Source alignment increased the whole-document JSON/XML benchmarks from 59.13 -> 82.88 ms and 79.41 -> 99.13 ms respectively. These are benchmark-batch medians on a shared host, not a universal no-regression claim.

Npm publication is explicitly paused at the maintainer's request while credentials return 401. The release workflow supports NPM_PUBLISH_ENABLED=false to skip that job independently; release documentation and notes describe the pause and resumption. Also remove a redundant test import rejected by current stable Clippy in CI.

Map formatted display lines to original input coordinates and use them in
gutters, title ranges, raw records, tool hints, and numeric navigation. Keep
JSONL jumps bounded and cancellable, with honest unknown coordinates in
tail-first views and source-aware numbering across append and rotation.

Align the Cargo workspace, core dependency, lockfile, and npm wrapper at
0.6.4. Document the buffered source-alignment cost and follow-mode behavior,
and add mapping, navigation, timeline, and real-terminal verification.
Remove a redundant test import rejected by the current stable compiler in CI. Add an explicit repository-variable opt-out for npm so the authorized GitHub and crates.io release can proceed while npm credentials are renewed, and document the channel availability.
@siriusctrl
siriusctrl merged commit b310e12 into main Sep 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant