Repository navigation
v0.12.0
ManT 0.12.0
ManT 0.12.0 brings more faithful native manuals and Markdown projections, a more capable keyboard-driven reader, and consistent configuration and storage across Linux, macOS and Windows. Structured clients gain richer layout and equation information together with explicit reporting of known content loss.
Highlights
- More faithful manuals and exports. Refresh the pinned mandoc CVS baseline to
cvs-20261006T140200Z. Preserve executed text, fonts, literal rows, definition boundaries, table rules and equation structure across reading, search, copy and Markdown export. Repeated Markdown import/export no longer invents blank rows at adjacent block boundaries. - Search the outline directly.
Ctrl+Gopens Find Outline in the familiar bottom search field. Match complete section titles, entry names/forms and reference labels/targets, including text hidden by compact labels. Navigate highlighted results without overwriting your folds or opening linked documents; page and outline searches retain independent state. - More comfortable keyboard navigation. Access menus with
Alt+M/E/V/N/S/H, or use F10 followed by a menu letter or arrow keys. Underlined initials and contextual help make the controls discoverable. Menu action labels no longer use ellipses that resemble clipped text. - Clearer examples and Unicode text. Dependency-free lexical accents cover mixed command, source-code and configuration examples, including shell prompts, variables, options and Git-style placeholders. Complete Unicode graphemes share the same wrapping, selection, search and link geometry.
- One cross-platform configuration model. Optional
mant.tomlcontrols data/cache roots and manual discovery. Personalman.conffallback works on all three platforms. The installers migrate known legacy storage while preserving original configuration and data;mant --doctorreports effective paths and their origins. Windows installation handles literal paths and same-version relocation, and disabling manual installation never claims same-named user files at a new destination.
Breaking changes
-
Application storage is now consistent across platforms. Defaults are
~/.config/mantfor configuration,~/.local/share/mantfor persistent data and~/.cache/mantfor private caches. ManT no longer implicitly reads its own old$HOME/Library/Application Support/ManTor%APPDATA%\ManTstorage.sources.tomlmoves from the application data root to the configuration root, including on Linux. Relative local Git repository paths still use the data root as their base. Platform-native manual discovery and external tldr clients' AppData/Library caches remain supported.Rerun the one-line installer to copy known legacy configuration and data before activating the new version. Originals remain in place, destination configuration wins, and conflicting data stops the upgrade. Cargo and manual installations do not migrate storage automatically: copy configuration and data explicitly using the configuration and migration guide.
MANT_CONFIG_HOME,MANT_DATA_HOMEandMANT_CACHE_HOMEselect final directories; XDG variables supply category bases. Explicit overrides remain effective. Runmant --doctorafter upgrading. -
Windows executable placement changes. The installer now defaults to
~/.local/bininstead of%LOCALAPPDATA%\Programs\ManT\bin. It updates user PATH unless-NoModifyPathis specified and removes the former default PATH entry only when the old receipt proves installer ownership. Custom installation destinations remain supported. The shared~/.local/binPATH entry is retained on uninstall. -
Versioned native process contracts advance from v0.11 to v0.12. Update request discriminators and regenerate client models with
mant --schema all; inspect supported identifiers withmant --protocol-version. Document and query payloads carry richer layout, table and equation structure. Known content loss is reported separately from semantic coverage and pagination. Published v0.11 snapshots remain historical contracts, not runtime compatibility adapters. -
Rust consumers must update changed public types and matches. Changes include typed native macro identities, table-row/cell kinds, definition layout and row hints, equation structure, diagnostics and loading policy. Update struct literals and exhaustive matches using the crate compatibility changelog. Users of the optional native renderer should also review golden output against the refreshed CVS baseline; its output changes are distinct from ManT's own text/TUI presentation.
Versions remain independent: mant, mant-ir, mant-protocol, mant-codec, mant-loader, mant-query, mant-render, mant-engine, mant-ui and libmandoc-rs are 0.12.0; mant-sources is 0.10.0. Existing crates.io package names are unchanged.
Install or update
Unix:
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/BryanHeBY/ManT/main/scripts/install.sh | shWindows PowerShell:
irm https://raw.githubusercontent.com/BryanHeBY/ManT/main/scripts/install.ps1 | iexPossible leftovers after upgrading
The upgrade preserves old files. Once the new version and your documents work normally, and no custom configuration still uses these locations, you may optionally remove unused ManT files:
| Platform | Old default location | Possible leftovers |
|---|---|---|
| Linux | ~/.local/share/mant/sources.toml |
Old source configuration copy |
| macOS | ~/Library/Application Support/ManT/ |
Old configuration, documents, source data and installation records |
| macOS | ~/Library/Caches/ManT/ |
Old ManT cache |
| Windows | %APPDATA%\ManT\ |
Old configuration, documents and source data |
| Windows | %LOCALAPPDATA%\ManT\ |
Old cache and installation records |
| Windows | %LOCALAPPDATA%\Programs\ManT\bin\mant.exe |
Old executable |
Do not delete the whole ~/.local/share/mant/ directory on Linux: it is still the default data directory. Linux/macOS's default ~/.local/bin/mant and Linux's default cache location have not moved. Keep current installation files and external tldr clients' caches. Cleanup is optional; custom directory settings may leave old files elsewhere.
The installers register the five bundled reference manuals. Public binary archives cover Linux x64, Linux arm64 and Windows x64. macOS continues to support Cargo/source installation pending signed and notarized archives; existing Cargo installations should upgrade with Cargo and follow the explicit storage migration instructions above.
Verify a release artifact
gh attestation verify mant-0.12.0-linux-x64.tar.gz --repo BryanHeBY/ManTThe release includes native archives, a platform-independent manuals archive, SHA-256 checksums, target-specific CycloneDX SBOMs, portable Sigstore bundles and complete license notices. GitHub Actions generates tagged-build provenance and SBOM attestations.
Full changelog: v0.11.0...v0.12.0