Skip to content

docmd@0.3.9 🚀 (Performance & Stability Update)

Choose a tag to compare

@mgks mgks released this 31 Jan 20:42
· 125 commits to main since this release

This release focuses on internal architecture, massive size reduction, and fixing long-standing parsing bugs. We have performed a "Codebase Surgery" to remove heavy dependencies and stabilize the development server.

✨ Improvements

  • 📉 90% Lighter: We went on a strict diet. docmd is now significantly lighter and faster to install.
  • CDN Strategy: We no longer bundle the massive mermaid.js and minisearch libraries inside the CLI. These are now loaded via CDN at runtime, reducing the package size from ~5.7MB to ~500KB.
  • Sticky TOC: The Table of Contents now sticks to the sidebar and highlights the active section as you scroll (ScrollSpy).

🐛 Critical Bug Fixes

  • Added support for configurable Base URL for subdirectory deployments (very early implementation config.base, will see likely better implementation in 0.4.0) (#43).

Markdown Parsing

  • Fixed incorrect removal of empty lines in code blocks (#39).
  • Fixed broken indentation in code blocks following a callout (#41).
  • Fixed parsing failure when a callout contains a code block with ::: markup (#42).

Known Bugs

  • Indentation loss when nesting code blocks inside Tabs.
  • Broken images/assets when viewing builds via file:// protocol (Offline Mode).

🏠 Housekeeping (Recall)

  • Repository Moved: The source code has moved to the docmd-io organization.
  • Website: Check out the new landing page at docmd.io.
  • Smarter Init: docmd init now auto-generates a package.json if missing, making projects deployment-ready instantly.

🔮 What's Next? (Roadmap to v0.4.0)

We are officially starting work on docmd v0.4.0. This will be a complete Monorepo Migration to separate the Core logic from the CLI. This architectural shift is required to enable a true Plugin Ecosystem and a fully browser-compatible (Isomorphic) engine. Further developments will be following in the dev-0.4.0 branch.

📥 Install Updated Version

npm install -g @mgks/docmd@latest

Full Changelog: 0.3.8...0.3.9