β¨ Highlights
This release introduces the new Deployer V2 system, alongside improvements to plugin safety, build reliability, and development workflows.
Deployment targets
The deployment engine has been extracted into a dedicated @docmd/deployer package with provider-based deployment targets.
You can now generate deployment files directly for GitHub Pages, Vercel, and Netlify:
docmd deploy --github-pages
docmd deploy --vercel
docmd deploy --netlify
Generated files automatically inherit values from your docmd.config.json, including the output directory, site URL, SPA routing, and Node.js version.
Existing deployment targets for Docker, Nginx, and Caddy continue to work unchanged.
Markdown line breaks
A new markdown.breaks option has been added to docmd.config.json.
Set this to false to disable automatic markdown line breaks and preserve wrapped markdown formatting.
{
"markdown": {
"breaks": false
}
}
Changelog
- Deployer: Extracted the deployment engine into
@docmd/deployerwith native support for GitHub Pages, Vercel, and Netlify targets. - Markdown formatting: Added the
markdown.breaksconfiguration option to control automatic soft-wrap line breaks (#137, #127). - Installer security: Restricted plugin installs to the official npm registry and replaced unsafe shell-based execution paths.
- Threads plugin: Disabled raw HTML rendering inside thread comments whilst preserving standard markdown formatting (#136).
- Build reliability: The parser and build lifecycle now exit with non-zero status codes on plugin failures, improving CI pipeline behaviour (#134).
- Developer experience: Reduced development server noise during hot reloads and added
filePatharguments to parser lifecycle hooks (#135). - UI updates: Refined the version switcher with Lucide icons and aligned Project Switcher dropdown styles with the standard theme menus.
- Bug fixes: Fixed project-switching cache overlaps, translation fetch issues on
noStylepages, and copy-code icon hover states.
Thanks π
Thanks to all contributors, testers, and issue reporters who helped improve this release. Special thanks to security researchers for coordinating responsible disclosures.
Documentation: https://docs.docmd.io/
GitHub: https://github.com/docmd-io/docmd