Releases: semantic-release/commit-analyzer
Releases · semantic-release/commit-analyzer
v9.0.0-beta.2
9.0.0-beta.2 (2021-08-21)
Features
BREAKING CHANGES
@semantic-release/commit-analyzer
is now a native ES Module- When setting the
releaseRules
option to a path, the path must include the.js
extension, and the file must be an ES Module itself, exporting an array as default
Before:
{
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": "./config/release-rules"
}],
"@semantic-release/release-notes-generator"
]
}
// File: config/release-rules.js
module.exports = [
{type: 'docs', scope: 'README', release: 'patch'},
{type: 'refactor', scope: 'core-*', release: 'minor'},
{type: 'refactor', release: 'patch'},
];
After:
{
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": "./config/release-rules.js"
}],
"@semantic-release/release-notes-generator"
]
}
// File: config/release-rules.js
export default [
{type: 'docs', scope: 'README', release: 'patch'},
{type: 'refactor', scope: 'core-*', release: 'minor'},
{type: 'refactor', release: 'patch'},
];
Co-authored-by: Gregor Martynus [email protected]
v9.0.0-beta.1
9.0.0-beta.1 (2021-08-20)
Features
BREAKING CHANGES
- the minimum required version of node is now v14.17 (#244)
v8.0.1
v8.0.0
v7.0.0
7.0.0 (2020-01-09)
Bug Fixes
- use correct peerDependencies for semantic-release (4ff652f)
- package: update import-from to version 3.0.0 (060dc29)
Features
- add support for conventionalcommits preset (2b5ac0a)
- allow to disable default release rules with
release: false
(ea2b204) - require Node.js >=10.13 (9f72907)
- use globs instead of regexp for releases rules (fc9b28a)
BREAKING CHANGES
- Require Node.js >= 10.13
- Regexp are not supported anymore for property matching in the
releaseRules
option.
Regex are replaced by globs. For example /core-.*/
should be changed to 'core-*'
.
v7.0.0-beta.7
7.0.0-beta.7 (2019-12-05)
Features
- require Node.js >=10.13 (9f72907)
BREAKING CHANGES
- Require Node.js >= 10.13