• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

conventional-changelog / conventional-changelog / 681 / 3
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2018 02:24PM UTC
Files 94
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Feb 2018 02:24PM UTC coverage: 96.094% (+0.03%) from 96.06%
681.3

push

travis-ci

GitHub
feat: support `conventional-changelog-*` presets in `conventional-recommended-bump` (#270)

Add support to pass in a `conventional-changelog-*` preset package
name through a `preset` option in the options argument passed to
`conventional-recommended-bump`.

Previous behavior of the `preset` option was to map the name provided
through the option to one of the presets built into this
`conventional-recommended-bump` package.

Now we take the name passed to the `preset` option, whether passed
programmatically or via the CLI, pass it to
`conventional-changelog-preset-loader`, and use the returned result as
the preset package.

The loading behavior matches the behavior of the `preset` option in
`conventional-changelog`. Including support for the different export
types of conventional preset packages, such as a promise, function,
or object.

Lastly, we defer to `recommendedBumpOpts.parserOpts` property of a preset
package if it exists, as our initial refactor efforts created a
`parserOpts` object under `recommendedBumpOpts` in each preset package.

In the future we will merge differences found in
`recommendedBumpOpts.parserOpts` into the top-level `parserOpts` object
of each `conventional-changelog-*` preset and remove
`recommendedBumpOpts.parserOpts` from each preset package, if it exists.

BREAKING CHANGES:

First:

Will only accept the name associated with a `conventional-changelog-*`
preset package for the purpose of loading preset configuration.

Built-in presets previously available in `conventional-recommended-bump`
are no longer available.

The preset package name can be any value supported by
[`conventional-changelog-preset-loader`](https://www.npmjs.com/package/conventional-changelog-preset-loader).

Related to #241

Second:

Remove backwards-compatible support for `whatBump` to return a number.

If `whatBump` returns a number it will no longer be mapped to an object
with a `level` and `releaseType` pr... (continued)

703 of 823 branches covered (85.42%)

4477 of 4659 relevant lines covered (96.09%)

45.8 hits per line

Source Files on job 681.3
  • Tree
  • List 0
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 681
  • Travis Job 681.3
  • 39240add on github
  • Prev Job for on master (#677.2)
  • Next Job for on master (#682.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc