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

conventional-changelog / conventional-changelog / 681
85%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2018 02:24PM UTC
Jobs 3
Files 94
Run time 4min
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

pending completion
681

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%)

137.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 681.1 12 Feb 2018 02:27PM UTC 0
96.09
Travis Job 681.1
2 681.2 12 Feb 2018 02:29PM UTC 0
96.09
Travis Job 681.2
3 681.3 12 Feb 2018 02:24PM UTC 0
96.09
Travis Job 681.3
Source Files on build 681
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #681
  • 39240add on github
  • Prev Build on master (#677)
  • Next Build on master (#682)
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