Update semantic-release to the latest version π
The devDependency semantic-release was updated from 15.14.0 to 16.0.0.
This version is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Publisher: semantic-release-bot License: MIT
Release Notes for v16.0.0
16.0.0 (2020-01-09)
Bug Fixes
- add
channelto publish success log (5744c5e) - add a flag indicate which branch is the main one (2caafba)
- Add helpful detail to
ERELEASEBRANCHESerror message (#1188) (37bcc9e) - allow multiple branches with same channel (63f51ae)
- allow to set
cioption via API and config file (2faff26) - call
getTagHeadonly when necessary (de77a79) - call
successplugin only once for releases added to a channel (9a023b4) - correct log when adding channel to tag (61665be)
- correctly determine next pre-release version (0457a07)
- correctly determine release to add to a channel (aec96c7)
- correctly handle skipped releases (89663d3)
- display erroring git commands properly (1edae67)
- do not call
addChannelfor 2 merged branches configured with the same channel (4aad9cd) - do not create tags in dry-run mode for released to add to a channel (97748c5)
- fetch all release branches on CI (b729183)
- fix branch type regexp to handle version with multiple digits (52ca0b3)
- fix maintenance branch regex (a022996)
- fix range regexp to handle version with multiple digits (9a04e64)
- handle branch properties set to
false(751a5f1) - harmonize parameters passed to
getError(f96c660) - ignore lasst release only if pre-release on the same channel as current branch (990e85f)
- increase next version on prerelease branch based on highest commit type (9ecc7a3)
- look also for previous prerelease versions to determine the next one (9772563)
- modify fetch function to handle CircleCI specifics (cbef9d1)
- on maintenance branch add to channel only version >= to start range (c22ae17)
- remove confusing logs when searching for releases to add to a channel (162b4b9)
- remove hack to workaround GitHub Rebase & Merge (844e0b0)
- remove unnecessary
await(9a1af4d) - simplify
get-tagsalgorithm (00420a8) - throws error if the commit associated with a tag cannot be found (1317348)
- update plugin versions (0785a84)
- update plugins dependencies (9890584)
- verify is branch is up to date by comparing remote and local HEAD (a8747c4)
- pacjage: update
@semantic-release/githuband@semantic-release/npm(d55fda3) - package: update @semantic-release/commit-analyzer to version 7.0.0-beta.2 (725780b)
- package: update @semantic-release/github to version 5.3.0-beta.5 (c1c96a8)
- package: update @semantic-release/github to version 5.6.0-beta.1 (6053b89)
- package: update @semantic-release/npm to version 5.2.0-beta.3 (390e966)
- package: update @semantic-release/npm to version 6.0.0-beta.3 (65c4122)
- package: update
@semantic-release/github(9a30f35) - package: update
@semantic-release/npmand@semantic-release/github(d6731b9) - package: update aggregate-error to version 2.0.0 (5d6fd7c)
- package: update execa to version 3.0.0 (9537927)
- package: update marked to version 0.6.0 (d0891bf)
- package: update micromatch to version 3.1.10 (e5344cd)
- package: update micromatch to version 4.0.2 (5618641)
- package: update p-each-series to version 2.1.0 (2c655b2)
- package: update semver-diff to version 3.1.1 (581998c)
- remove unnecessary
branchparameter frompushfunction (968b996) - revert to the correct refspec in fetch function (9948a74)
- update plugins dependencies (73f0c77)
- repositoryUrl: on beta repositoryUrl needs auth for pre-release flows (#1186) (3610422)
Features
- allow
addChannelplugins to returnfalsein order to signify no release was done (e1c7269) - allow
publishplugins to returnfalsein order to signify no release was done (47484f5) - allow to release any version on a branch if up to date with next branch (916c268)
- require Node.js >=10.13 (0716a45)
- require Node.js >=8.15 (f1d983d)
- support multiple branches and distribution channels (7b40524)
- use Git notes to store the channels on which a version has been released (b2c1b2c)
- package: update @semantic-release/commit-analyzer to version 7.0.0 (e63e753)
Performance Improvements
- use
git tag --merge <branch>to filter tags present in a branch history (cffe9a8)
Reverts
- feat: create annotated tags (0629f3c)
- fix: prefix git auth url with "x-access-token:" when run in a GitHub Action (f67a667)
- fix: revert to execa
^1.0.0(fa62d0b) - fix(package): update @semantic-release/github back to a build from the beta branch (d120eae)
BREAKING CHANGES
- Require Node.js >= 10.13
- this feature change the way semantic-release keep track of the channels on which a version has been released.
It now use a JSON object stored in a Git note instead of Git tags formatted as v{version}@{channel}.
The tags formatted as v{version}@{channel} will now be ignored. If you have made releases with v16.0.0 on branches other than the default one you will have to update your repository.
The changes to make consist in:
- Finding all the versions that have been released on a branch other than the default one by searching for all tags formatted v{version}@{channel}
- For each of those version:
- Create a tag without the {@channel} if none doesn't already exists
- Add a Git note to the tag without the {@channel} containing the channels on which the version was released formatted as
{"channels":["channel1","channel2"]}and usingnullfor the default channel (for example.{"channels":[null,"channel1","channel2"]}) - Push the tags and notes
- Update the GitHub releases that refer to a tag formatted as v{version}@{channel} to use the tag without it
- Delete the tags formatted as v{version}@{channel}
- Git CLI version 2.7.1 or higher is now required
The --merge option of the git tag command has been added in Git version 2.7.1 and is now used by semantic-release
- Require Node.js => 8.15
- package: Regexp are not supported anymore for property matching in the
releaseRulesoption.
Regex are replaced by globs. For example /core-.*/ should be changed to 'core-*'.
- the
branchoption has been removed in favor ofbranches
The new branches option expect either an Array or a single branch definition. To migrate your configuration:
- If you want to publish package from multiple branches, please the configuration documentation
- If you use the default configuration and want to publish only from
master: nothing to change - If you use the
branchconfiguration and want to publish only from one branch: replacebranchbybranches("branch": "my-release-branch"=>"branches": "my-release-branch")
Commits
The new version differs by 114 commits.
0785a84fix: update plugin versions152bf45Merge remote-tracking branch 'origin/beta'3ba8f2aMerge remote-tracking branch 'origin/master' into beta9772563fix: look also for previous prerelease versions to determine the next one61665befix: correct log when adding channel to taga8747c4fix: verify is branch is up to date by comparing remote and local HEAD9a1af4dfix: remove unnecessaryawait9ecc7a3fix: increase next version on prerelease branch based on highest commit typec16fcc9Merge branch 'master' into beta0716a45feat: require Node.js >=10.13916c268feat: allow to release any version on a branch if up to date with next branch534c0dbMerge branch 'master' into betaec54c0btest: fix calls tofetchin testscbef9d1fix: modify fetch function to handle CircleCI specificsb2c1b2cfeat: use Git notes to store the channels on which a version has been released
There are 114 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot :palm_tree:
| Messages | |
|---|---|
| :book: | π Test coverage is looking good for the whole codebase |
Coverage in All Files
| File | Line Coverage | Statement Coverage | Function Coverage | Branch Coverage |
|---|---|---|---|---|
| src/config.model.ts | (7/7) 100% | (7/7) 100% | (1/1) 100% | (6/6) 100% |
| src/coverage.model.ts | (33/33) 100% | (37/37) 100% | (17/17) 100% | (15/15) 100% |
| src/filename-utils.ts | (34/35) 97% | (35/36) 97% | (5/5) 100% | (14/16) 88% |
| src/filesystem.service.ts | (2/4) 50% | (2/4) 50% | (0/2) 0% | (0/0) 100% |
| src/git.service.ts | (3/11) 27% | (3/11) 27% | (0/6) 0% | (0/8) 0% |
| src/index.ts | (92/97) 95% | (96/101) 95% | (23/23) 100% | (40/42) 95% |
| src/../parse-json-summary.ts | (42/43) 98% | (42/43) 98% | (5/5) 100% | (23/24) 96% |
| src/parser/parse-lcov.ts | (85/94) 90% | (86/95) 91% | (11/12) 92% | (38/42) 90% |
| Total | (298/324) 92% | (308/334) 92% | (62/71) 87% | (136/153) 89% |
Generated by :no_entry_sign: dangerJS against e15e4deae26ac2443a58ec3ce6de09df930f893a
- The
devDependencysemantic-release was updated from15.14.0to16.0.1.
- The
devDependencysemantic-release was updated from15.14.0to16.0.4.
- The
devDependencysemantic-release was updated from15.14.0to17.0.0.
- The
devDependencysemantic-release was updated from15.14.0to17.0.1.
- The
devDependencysemantic-release was updated from15.14.0to17.0.2.
- The
devDependencysemantic-release was updated from15.14.0to17.0.3.
- The
devDependencysemantic-release was updated from15.14.0to17.0.4.
- The
devDependencysemantic-release was updated from15.14.0to17.0.5.
- The
devDependencysemantic-release was updated from15.14.0to17.0.6.
- The
devDependencysemantic-release was updated from15.14.0to17.0.7.
π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
- The
devDependencysemantic-release was updated from15.14.0to17.0.8.