Skip to content

chore: update dependency semantic-release to v15 #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brokenmass
Copy link
Owner

This Pull Request updates dependency semantic-release from v6.3.6 to v15.4.1

Release Notes

v15.4.1

Compare Source

Bug Fixes
  • use git rev-parse origin/${branch} to verify origin head (d7081fa)

v15.4.0

Compare Source

Features
  • set tag author and committer name/email (61d7d38)

v15.3.2

Compare Source

Bug Fixes
  • correct git merge-base error code handling (4352144)

v15.3.1

Compare Source

Bug Fixes
  • package: update cosmiconfig to version 5.0.0 (349b2e8)

v15.3.0

Compare Source

Features
  • log git error message when authentication verification fails (cd9f2bd)

v15.2.0

Compare Source

Features
  • add support for Bitbucket token in environment variables (c93775c)

v15.1.11

Compare Source

Bug Fixes
  • fix Bitbucket authenticated URL (e88ac63)

v15.1.10

Compare Source

Bug Fixes
  • verify the local branch is up to date with the remote one (d15905c)

v15.1.9

Compare Source

Bug Fixes
  • unshallow repository with credentials (45d7e6f)

v15.1.8

Compare Source

Bug Fixes
  • package: update env-ci to version 2.0.0 (b9bd650)

v15.1.7

Compare Source

Bug Fixes
  • package: update git-url-parse to version 9.0.0 (7c9ec41)
  • add trailing .git to repositoryUrl only if it's present in the configured URL (cb1f80c)

v15.1.6

Compare Source

Bug Fixes
  • match tag to tagFormat from the begining of the string (31ad231)

v15.1.5

Compare Source

Bug Fixes
  • package: update git-url-parse to version 8.3.1 (02746aa)

v15.1.4

Compare Source

Bug Fixes
  • handle case with no last release in history (51e340f)

v15.1.3

Compare Source

Bug Fixes
  • prevent git prompt before permissions verification (30ee231)
  • remove execa timeout (3c46455)

v15.1.2

Compare Source

Bug Fixes
  • prevent git CLI to prompt user/password on CI (7c48afa)

v15.1.1

Compare Source

Bug Fixes
  • package: Remove commander.js dependency (#​704) (c84ac15)

v15.1.0

Compare Source

Features
  • allow to use shorthand for repositoryUrl (5f1d530)

v15.0.4

Compare Source

Bug Fixes
  • package: update execa to version 0.10.0 (f13ec6a)

v15.0.3

Compare Source

Bug Fixes
  • convert git+https URL in package.json to https (b0b4fc8)
  • use correct debug namespace (6f74dcb)

v15.0.2

Compare Source

Bug Fixes
  • exclude prereleases from version retrived by getLastRelease (e4618a2)

v15.0.1

Compare Source

Bug Fixes
  • remove unecessary console.log (e5a73d8)

v15.0.0

Compare Source

Features
  • add the prepare plugin hook (c2beb64)
BREAKING CHANGES
  • Committing or creating files in the publish plugin hook is not supported anymore and now must be done in the prepare hook

Plugins with a publish hook that makes a commit or create a file that can be committed must use the prepare hook.


v14.0.4

Compare Source

Bug Fixes
  • exclude empty env var value from replacement (20246c0)

v14.0.3

Compare Source

Bug Fixes
  • allow boolean option to be set in config file (857d418)

v14.0.2

Compare Source

Bug Fixes

v14.0.1

Compare Source

Bug Fixes
  • do not transform repositoryUrl if it allow to push (305f4ee)

v14.0.0

Compare Source

Features
BREAKING CHANGES
  • success and fail hooks are now enabled by default

In order to disable the @semantic-release/github plugin for the success and fail hook, the corresponding options have to be set to false in the semantic-release configuration:

{
  "release": {
    "success": false,
    "fail": false
  }
}

Users who do not use the @semantic-release/github plugin, should disable it in the success and fail by setting the corresponding options to false or to alternative plugin providing success and fail hooks.

Migration Guide
For non GitHub users

If you do no want the success and fail notification on GitHub or if you are not using GitHub you need to disable the success and fail plugin hooks by adding the following to your semantic-release configuration:

Add the following to your semantic-release configuration:

{
  "release": {
    "success": false,
    "fail": false
  }
}
For GitHub users

GitHub users do not need to change anything. You will get comments on PR and issues when a release that resolved them is publish as well as an issue when a problem happen that prevent to perform a release.


v13.4.1

Compare Source

Bug Fixes
  • remove the github plugin from default success and fail hooks (04f3061)

v13.4.0

Compare Source
⚠️This release has been deprecated on npm as it was containing an unreported breaking change⚠️

Bug Fixes
  • log current version of semantic-release (f92677b)
  • set repository authentication when repositoryUrl is set as an option (ce1e74f)
Features

v13.3.1

Compare Source
⚠️This release has been deprecated on npm as it was containing an unreported breaking change⚠️

Bug Fixes
  • fix EPLUGINCONF error details (9dd127b)

v13.3.0

Compare Source
⚠️This release has been deprecated on npm as it was containing an unreported breaking change⚠️

Features
  • add success and fail notification plugins (49f5e70)
  • allow plugins to throw an iterable list of errors (9b2f6bf)

v13.2.0

Compare Source

Features
  • add debug logs for git commands (687435b)

v13.1.5

Compare Source

Bug Fixes

v13.1.4

Compare Source

Bug Fixes
  • package: update git-url-parse to version 8.1.0 (2edd9da)

v13.1.3

Compare Source

Bug Fixes
  • always transform git+https url to https (cbf5785)

v13.1.2

Compare Source

Bug Fixes
  • package: update [@​semantic-release]/github to version 4.0.2 (af8c830)

v13.1.1

Compare Source

Bug Fixes
  • use long option to delete tag in git push (d820823)

v13.1.0

Compare Source

Bug Fixes
  • log all core verification errors (faabffb)
Features
  • add tagFormat option to customize Git tag name (39536fa)

v13.0.2

Compare Source

Bug Fixes
  • prioritize GIT_CREDENTIALS for gtit credentials (467635b)

v13.0.1

Compare Source

Bug Fixes
  • hide sensitive info for Buffer and undefined (8b3605d)

v13.0.0

Compare Source

Bug Fixes
  • rename the --repositoryUrl CLI option to --repository-url (cb36dd4)
Features
  • get last release with git tags (d0b304e)
BREAKING CHANGES
  • The --repositoryUrl CLI options is replaced by --repository-url
  • Remove the getLastRelease plugin type

The getLastRelease plugins will not be called anymore.

  • Git repository authentication is now mandatory

The Git authentication is now mandatory and must be set via GH_TOKEN, GITHUB_TOKEN, GL_TOKEN, GITLAB_TOKEN or GIT_CREDENTIALS as described in CI configuration.

Migration Guide
Make sure the commit associated with the last release is tagged with v<last_release_version>

This will already be the case for all semantic-release users using the GitHub (default), Git or GitLab plugins or for any release done manually with npm publish.

Make sure the Git authentication is configured

This will already be the case for all semantic-release users using the GitHub (default), Git or GitLab plugins. See CI configuration.


v12.4.1

Compare Source

Bug Fixes
  • hide sensitive info for Buffer and undefined

v12.4.0

Compare Source

Features
  • hide sensitive info in stdout/sdtin (fb0caa0)

v12.3.0

Compare Source

Features
  • log all verification errors (cdb98f9)

v12.2.5

Compare Source

Bug Fixes
  • fix the --no-ci arg parsing (0d2d1f2)

v12.2.4

Compare Source

Bug Fixes
  • package: update lodash to version 4.17.4 (fa2ca8a)

v12.2.3

Compare Source

Bug Fixes
  • package: update cosmiconfig to version 4.0.0 (51c02b9)

v12.2.2

Compare Source

Bug Fixes
  • set node minimum version to 8.3 (cc0c312)

v12.2.1

Compare Source

Bug Fixes
  • package: update execa to version 0.9.0 (93173e2)

v12.2.0

Compare Source

Features
  • allow to exclude commits from analysis (53f3de6)

v12.1.1

Compare Source

Bug Fixes
  • security: Updated marked dependency (f4d9ebe)

v12.1.0

Compare Source

Features
  • allow to release from local machine (5bc46a0)

v12.0.0

Compare Source

Features
  • make semantic-release CI agnostic (8d57565)
BREAKING CHANGES
  • semantic-release doesn't make sure it runs only on one Travis job anymore.

The CI configuration has to be done such that semantic-release

  • runs only once per build
  • runs only after all tests are successful on every jobs of the build
  • runs on Node >=8

This can easily be done with travis-deploy-once.

For Yarn users semantic-release has to be installed with the option --ignore-engines when running on Node <= 8.

See Can I use semantic-release with Yarn? for more details.

Migration Guide

Install travis-deploy-once:

$ npm install --save-dev travis-deploy-once

Add thetravis-deploy-once script in your package.json:

"scripts": {
    "semantic-release": "semantic-release",
    "travis-deploy-once": "travis-deploy-once"
  }

Modify your .travis.yml to use travis-deploy-once.
Replace:

after_success:
  - npm run semantic-release

by:
Replace

after_success:
  - npm run travis-deploy-once "npm run semantic-release"

For Yarn users or any project with a yarn.lock file, adds the --ignore-engines option to yarn install.
If the install is not defined you have to define it with:

install:
  - yarn install --ignore-engines

v11.2.0

Compare Source

Features
  • move npm workaround for missing gitHead to the npm plugin (996305d)

v11.1.0

Compare Source

Features
  • allow to define plugin options globally (f707b1a)
  • support sharable configuration (754b420)

v11.0.3

Compare Source

Bug Fixes
  • package: update [@​semantic-release]/github to version 3.0.0 (d28b7e3)

v11.0.2

Compare Source

Bug Fixes
  • log plugin type in addition of path (4053d8f)

v11.0.1

Compare Source

11.0.1 (2017-11-29)

Bug Fixes
  • Accept undefined values for the getLastRelease and generateNotes plugins (d7b323d)
  • remove name from log as it's not an existing option anymore (fcb832b)
  • Typo in error messages (613a646)

v11.0.0

Compare Source

11.0.0 (2017-11-25)

Features
  • Expect plugins to return Promises (5bec59b)
  • Make semantic-release language agnostic (0c67ba5)
BREAKING CHANGES
  • pkg and env are not passed to plugin anymore.
    Plugins relying on a package.json must verify the presence of a valid package.json and load it.
    Plugins can use process.env instead of env.
  • Each plugin is expected to return an async function or a Promise returning function. The callback parameter is not passed to plugins anymore.
MIGRATION GUIDE

If you are using a third-party plugin, please verify its documentation and repository to make sure it has been updated to work with semantic-release version 11.0.0.


v10.0.1

Compare Source

Bug Fixes
  • Use default plugin if the path property is missing from a single plugin configuration (d4c7605)

v10.0.0

Compare Source

Features
  • Extract npm and github publish to plugins (d548edc)
BREAKING CHANGES
  • githubToken, githubUrl and githubApiPathPrefix have to be set at the github plugin level. They can be set via GH_TOKEN, GH_URL and GH_PREFIX environment variables.
  • the npm parameter is no longer passed to plugins. We recommend using npm-conf to read out information from the .npmrc file.

v9.1.1

Compare Source

9.1.1 (2017-11-10)

Bug Fixes
  • docs: remove unnecessary backticks in readme (a4951b7)

v9.1.0

Compare Source

9.1.0 (2017-10-30)

Features
  • Additional commit information (d0180c4)

v9.0.3

Compare Source

9.0.3 (2017-10-30)

Bug Fixes
  • package: update [@​semantic-release]/commit-analyzer to version 4.0.0 (186950a)

v9.0.2

Compare Source

9.0.2 (2017-10-29)

Bug Fixes
  • Check SemanticReleaseError by error.semanticRelease property (65d344b)
  • Include Error properties in logs (c90765e)

v9.0.1

Compare Source

9.0.1 (2017-10-29)

Bug Fixes
  • package: update [@​semantic-release]/release-notes-generator to version 5.0.0 (8a1dd7b)

v9.0.0

Compare Source

Features
  • Refactor CLI to run with one command, improve logs, modularize, add tests (e2a8a5c)
BREAKING CHANGES
  • Semantic-Release must now be executed with semantic-release instead of semantic-release pre && npm publish && semantic-release post.
  • The semantic-release command now returns with exit code 0 on expected exception (no release has to be done, running on a PR, gitHead not found, other CI job failed etc...). It only returns with 1 when there is an unexpected error (code error in a plugin, plugin not found, git command cannot be run etc..).
  • Calling the semantic-release command with unexpected argument(s) now exit with 1 and print an help message.
  • Semantic-Release does not rely on npmlog anymore and the log level cannot be configured. Debug logs can be activated with CLI option --debug or with environment variable DEBUG=semantic-release:*
  • The CLI options --debug doesn't enable the dry-run mode anymore but activate the debugs. The dry run mode is now set with the CLI command --dry-run or -d.
    semantic-release pre && npm shrinkwrap && semantic-release post
  • If you depend on npm shrinkwrap, you have to run it before semantic-release now. You can set "presemantic-release": "npm shrinkwrap" in your package.json file
MIGRATION GUIDE

Update the semantic-release in your package.json from:

"scripts": {
   "semantic-release": "semantic-release pre && npm publish && semantic-release post"
}

To:

"scripts": {
   "semantic-release": "semantic-release"
}

v8.2.3

Compare Source

Bug Fixes
  • package: update github to version 12.0.0 (16a02e5)

v8.2.2

Compare Source

Bug Fixes
  • Log error messages on reject (f6aacd2)

v8.2.1

Compare Source

Bug Fixes
  • handle errors when verifyConditions and verifyRelease are a pipeline (b0bc490)

v8.2.0

Compare Source

Features
  • Allow to recover from ENOTINHISTORY with a tag and handle detached head repo (580ad9c)

v8.1.2

Compare Source

Bug Fixes
  • Always pass pluginConfig to plugins as a defined object (8e9d9f7)

v8.1.1

Compare Source

Bug Fixes
  • Exit with 1 if unexpected error happens (90417c6)

v8.1.0

Compare Source

Features
  • Retrieve version gitHead from git tags and unshallow the repo if necessary (85dd69b), closes #​447 #​393 #​280 #​276

v8.0.4

Compare Source

Bug Fixes
  • package: update [@​semantic]-release/error to version 2.0.0 (3a4334f)

v8.0.3

Compare Source

Bug Fixes
  • package: Set minimum node version to 4 (#​442) (9951cf7)

v8.0.2

Compare Source

Bug Fixes
  • package: update [@​semantic]-release/last-release-npm to version 2.0.0 (2d14c53)

v8.0.1

Compare Source

Bug Fixes
  • package: update [@​semantic-release]/commit-analyzer to version 3.0.1 (8c44c31)
  • package: update [@​semantic-release]/release-notes-generator to version 4.0.0 (dd60b46)

v8.0.0

Compare Source

Bug Fixes
  • bin: adapt build leader error message to new leader detection algorithm (33dfcff)
BREAKING CHANGES
  • Remove support for publishing a package with node < 8. Details.

v7.0.2

Compare Source

Bug Fixes
  • post: create v1.2.3 tag tag instead of branch (3f85597)

    Note that if a version was released with v7.0.1, you will run into the ENOTINHISTORY error :( To recover, follow these steps:

    1. Make sure you are on your main branch and pulled the latest changes from remote
    2. Edit the package.json file, set "version" to what ever should have been released. As an example, let's say the new version number would be 1.2.3. Save the change
    3. run npm publish to release the new version. Make sure to run any pre-publish tasks first if you have any
    4. revert the changes
    5. create a tag with git tag v1.2.3 (put in the same version as in step 2. Push the tag to GitHub with git push --tags
    6. Manually create a release for the tag

    This will fix the problem and everything will work automagically again from here on now.


v7.0.1

Compare Source

Bug Fixes
  • post: Create a tag before makeing a release (3f85597)
  • post: fix target_commitish to be the default branch (f148a61)

v7.0.0

Compare Source

Bug Fixes
  • package: update @semantic-release/release-notes-generator to version 3.0.1 (1fa6d50)
BREAKING CHANGES
  • package: Dropped support for unmaintained Node.js versions (< v4)


🚀 This PR has been generated by Renovate using COB-LVS/renovate configuration.

@codecov
Copy link

codecov bot commented May 16, 2018

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #20   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           6      6           
  Lines         137    137           
=====================================
  Hits          137    137

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d13c62f...fad33c0. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant