Skip to content

v7.1.0

Choose a tag to compare

@yihao03 yihao03 released this 16 Apr 11:25
· 18 commits to master since this release

markbind-cli

User Facing Changes

Breaking Changes

Also give a brief explanation note about:

  • what was the old feature that was made obsolete
  • any replacement feature (if any), and
  • how the author should modify his website to migrate from the old feature to the replacement feature (if possible).

Custom Plugin File Extensions & Node.js Bump

Old feature that was made obsolete:
Previously, custom plugins written in .js files were always loaded implicitly as CommonJS (CJS) modules, preventing the use of modern ESM packages inside plugins.

Any replacement feature:
MarkBind now explicitly supports both CJS and ESM plugins. Plugin loading now relies on explicit file extensions (.cjs and .mjs) to safely mix module types. Additionally, the minimum required Node.js version is now v22.12.

How authors should modify their website to migrate:
1. Rename existing plugins: Rename any existing CommonJS custom plugin files from myPlugin.js to myPlugin.cjs to guarantee they are processed correctly.
2. Writing new plugins: Use .mjs for new ES Module plugins.
3. Update Node.js: Ensure your local environment and CI/CD deployment pipelines (e.g., GitHub Actions, Netlify) are using Node.js v22.12 or higher.


Features

Enhancements

Fixes

Documentation

Developer Facing Changes

Code Quality

DevOps Changes

Dependencies

Miscellaneous

Full Changelog: v6.3.1...v7.1.0