npm / commit-and-tag-version
commit-and-tag-version
What changed in commit-and-tag-version 10 to 13, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-25.
13 breaking4 new APIs and options1 performance2 behavior and defaults10 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcommit-and-tag-version 1321 changes
Breaking changes 10
The package is now pure ESM; users of require need to access the default export.
Modernized conventional-changelog dependencies introduce breaking changes for users with custom presets.
Migrate the old mainTemplate option to template(context) when customizing the main changelog template.
The Node minimum is raised to 22.
The minimum engine version is raised to 20.19.
Using a preset other than conventionalcommits requires installing that preset alongside commit-and-tag-version.
Custom commitPartial values must now be JavaScript render functions rather than Handlebars template strings or partial files.
Custom footerPartial values must now be JavaScript render functions rather than Handlebars template strings or partial files.
Custom headerPartial values must now be JavaScript render functions rather than Handlebars template strings or partial files.
Custom template options must now be JavaScript render functions; implement template(context) instead of using the old mainTemplate option.
New APIs and options 3
Template helpers are exposed through a package subpath export.
Adds support for resolving versions in multi-module Maven projects.
Configuration files can now use ESM.
Behavior and default changes 2
Each prerelease changelog section lists changes since the previous prerelease with the same name, rather than repeating all changes since the last stable release. Stable releases and the first prerelease with a new name still list everything since the last…
Newly generated changelogs now have a single blank line between sections instead of two; existing content is not rewritten unless --releaseCount 0 is used.
Fixes and other changes 6
Parser and writer options from conventional-changelog 7+ presets are now accepted.
Restores a blank line between release notes sections.
Documents and supports custom writer render functions.
YAML handling now preserves long scalar lines.
Fixes prereleases being calculated from the wrong base.
Comments in pom.xml are preserved.
commit-and-tag-version 127 changes
Breaking changes 1
Support for Node.js 14 and 16 was dropped; Node.js 18 and 20 are now supported.
New APIs and options 1
Adds the --noBumpWhenEmptyChanges flag.
Performance 1
XML parsing and building now use fast-xml-parser, substantially reducing the bundle size.
Fixes and other changes 4
Preserves XML attributes when updating pom.xml files, preventing existing attributes from being lost.
Fixes the prerelease flag so it works with Gradle files.
Prereleases now auto-increment when the tag already exists.
Frontmatter is preserved when updating the changelog.
commit-and-tag-version 111 changes
Breaking changes 1
Generated changelogs always use H2 headers for versions, which may affect consumers relying on exact changelog formatting.
commit-and-tag-version 101 changes
Breaking changes 1
Support for Node.js 10 and 12 was dropped, while support for Node.js 16 and 18 was added.