Skip to content

Releases: semantic-release/semantic-release

v4.0.1

30 Jul 16:17
Compare
Choose a tag to compare

<a name"4.0.1">

4.0.1 (2015-07-30)

Bug Fixes

  • last-release: encode scoped packages (76d9e3d2)

v4.0.0 – The Great Rewrite

19 Jul 14:50
Compare
Choose a tag to compare

This is a pre-release tagged as next on npm, so nobody will get it by default. You have to explicitly install it:

npm i -D semantic-release@next

Features

This is a complete rewrite of semantic-release with a new structure and architecture. Everything is more modular and more extensible. It's easier than ever to write plugins, there are more plugins and semantic-release itself consists of plugins.

On top of that there are a lot new features. For example private module support (for real this time) and support for release channels, which means you can maintain multiple releases like "latest" and "next", or "beta", "canary" and the stable "latest".

Another huge thing is that the setup got about 4937 times easier and semantic-release is no longer using the old npm auth token format. There is even a single command setup that takes care of everything (Thank you @christophwitzko).

npm install -g semantic-release-cli

cd your-module
semantic-release-cli setup

CLI

If you want to get a feeling for how much easier it got, then compare the .travis.yml of master and the .travis.yml of next.

Tests

There is now a unit test suite and integration tests were rewritten so they run against the official npm-registry-couchapp and not sinopia anymore. The problem is that they don't yet run on Travis. Let me know if you want to help with this.

almost

Breaking Changes

Ironically the changelog generation doesn't work here, because this a complete rewrite with no shared history. I'll write them up manually, but there is a migration guide already.

Migrate from semantic-release <=3.x to 4.x

package.json

  1. Remove semantic-release pre from the prepublish script.
  2. Remove semantic-release post from the postpublish script.

.travis.yml

  1. If you had a setup with multiple node versions and travis_after_all remove python travis_after_all.py and export $(cat .to_export_back) from the after_failure script and remove rm -f travis_after_all.py .to_export_back from before_deploy.
  2. Add npm run semantic-release at the end of your after_success script.
  3. If you had a custom script in the before_deploy script, then move it right in front of npm run semantic-release.
  4. If you had a custom script in the after_deploy script, then move it right after npm run semantic-release.
  5. Entirely delete the deploy section.

semantic-release-cli

If you haven't already install the new semantic-release-cli.

npm install -g semantic-release-cli

Run semantic-release-cli setup inside your module's folder and enter your details.
When it comes to "What kind of .travis.yml do you want?" select "Create no .travis.yml".

This PR to pouchdb-hoodie-api is an execution of above guide so you can see what the diff looks like.

One More Thing

semantic-release has its own GitHub Organisation and a beautfiul logo now. Thank you @lewiscowper!

semantic-release logo

v3.4.1

17 Jun 17:21
Compare
Choose a tag to compare
v3.4.1 Pre-release
Pre-release

<a name"3.4.1">

3.4.1 (2015-06-17)

Bug Fixes

  • error: exit with 1, so npm publish isn't run after fails; (a27998f9, closes #45)

v3.4.0: Merge pull request #30 from boennemann/feat-private-modules

11 Jun 18:01
Compare
Choose a tag to compare

<a name"3.4.0">

3.4.0 (2015-06-11)

Bug Fixes

  • npm-info: support basic auth (25828960)

Features

  • npm-info: support private modules (25cb545e, closes #28)

v3.3.2: Merge pull request #38 from boennemann/feat-verify-version-placeholder

09 Jun 18:14
Compare
Choose a tag to compare

<a name"3.3.2">

3.3.2 (2015-06-09)

Bug Fixes

  • verify: not publishing placeholder versions (1591608f, closes #24)

v3.3.1

15 May 18:45
Compare
Choose a tag to compare

<a name"3.3.1">

3.3.1 (2015-05-15)

Bug Fixes

  • pre: use path instead of name at verification hook object (fd4c4d1c)

v3.3.0

15 May 18:24
Compare
Choose a tag to compare

<a name"3.3.0">

3.3.0 (2015-05-15)

Bug Fixes

  • pre:

Features

  • pre:
    • pass more information to the verification hook (41c90124)
    • verification hook (127cb673)

v3.2.2

12 May 06:57
Compare
Choose a tag to compare

<a name"3.2.2">

3.2.2 (2015-05-12)

Bug Fixes

  • npm-info: correctly encode scoped package names (4821aff6)
  • pre: use raw body instead of subject (a5dabed5)

v3.2.1

04 May 12:45
Compare
Choose a tag to compare

<a name"3.2.1">

3.2.1 (2015-05-04)

Bug Fixes

  • setup: add newline at the end of package.json (785e7f7b)

v3.2.0

24 Apr 14:00
Compare
Choose a tag to compare