conventional-changelog-angular
Advanced tools
Comparing version 4.0.1 to 5.0.0
@@ -6,2 +6,25 @@ # Change Log | ||
<a name="5.0.0"></a> | ||
# [5.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@4.0.1...conventional-changelog-angular@5.0.0) (2018-06-06) | ||
### Features | ||
* re-use parser options within each preset ([#335](https://github.com/conventional-changelog/conventional-changelog/issues/335)) ([d3eaacf](https://github.com/conventional-changelog/conventional-changelog/commit/d3eaacf)), closes [#241](https://github.com/conventional-changelog/conventional-changelog/issues/241) | ||
### BREAKING CHANGES | ||
* Re-use parser options object between components of a preset. For some | ||
presets this may change the behavior of `conventional-recommended-bump` | ||
as the parser options object for the `conventional-recommended-bump` options | ||
within a preset were different than the parser options object for the | ||
`conventional-changelog` options within a preset. | ||
If you are not using `conventional-recommended-bump`, then this is | ||
**not** a breaking change for you. | ||
<a name="4.0.1"></a> | ||
@@ -8,0 +31,0 @@ ## [4.0.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@4.0.0...conventional-changelog-angular@4.0.1) (2018-06-02) |
'use strict' | ||
const parserOpts = require(`./parser-opts`) | ||
module.exports = { | ||
parserOpts, | ||
whatBump: (commits) => { | ||
@@ -27,15 +31,3 @@ let level = 2 | ||
} | ||
}, | ||
parserOpts: { | ||
headerPattern: /^(\w*)(?:\((.*)\))?: (.*)$/, | ||
headerCorrespondence: [ | ||
`type`, | ||
`scope`, | ||
`subject` | ||
], | ||
noteKeywords: `BREAKING CHANGE`, | ||
revertPattern: /^revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./, | ||
revertCorrespondence: [`header`, `hash`] | ||
} | ||
} |
{ | ||
"name": "conventional-changelog-angular", | ||
"version": "4.0.1", | ||
"version": "5.0.0", | ||
"description": "conventional-changelog angular preset", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26903
147
13