Skip to content

v2.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Nov 01:50
· 3 commits to main since this release

Fixes for non-ASCII text on Windows and for mdz add on archives without a recorded entry point. Built on MDZip.Core 2.0.1.

Fixed

  • Non-ASCII text on Windows (#9). All output is now UTF-8 (no BOM). It used the console's legacy code page (437 in the US), which replaced characters like — and ✅ with - and ? in cat, ls, inspect and error messages. The console's code page is put back when mdz exits.
  • cat writes the entry's exact bytes, without decoding and re-encoding it. Line endings, a BOM and non-UTF-8 text come through untouched, so mdz cat a.mdz page.md > page.md, then editing and mdz add, no longer corrupts the document.
  • add keeps the entry point when an archive's manifest has no entryPoint and a second root Markdown file is added. Before, the archive was left with two candidate main documents and none recorded; now the current entry point is written to the manifest.

Install

  • Windows: winget upgrade MDZip.Cli (once the WinGet update is merged), or the one-line installer.
  • macOS / Linux: the one-line installer, or download the archive for your platform below.

Full changelog: CHANGELOG.md