Skip to content

Releases: release-it/release-it

Release 3.0.2

29 Sep 07:07
Compare
Choose a tag to compare
  • Make sure latest git tag is semver-valid, before falling back to npm package version (bc6338d)
  • Fix gh-pages update command (970851d)
  • Fix [].includes not in Node v4 (7d5d1c5)
  • https repo url (5244efe)
  • Add travis config (8f767ed)
  • Mock out node-github (5256973)

Release 3.0.1

28 Sep 21:00
Compare
Choose a tag to compare
  • Clarify some specs (63baa47)
  • Add latestVersion and version to config, exposing them in template commands (fa592d2)
  • Run template commands verbosely (266c373)
  • Always resolve run() with a string (310782b)
  • Add link to release notes in readme (922eee0)

Release 3.0.0

26 Sep 20:48
Compare
Choose a tag to compare

Release It! v3

Update now: npm install -g release-it

release-it

Remember, there is a "dry run" option, and a "no-questions-asked mode", working well together using release-it -dn:

dry

New features

  • Animated spinners, checkmarks and duration (in --non-interactive mode).
  • Disable specific tasks within the release process (e.g. skip tagging the commit).
  • Use --no- with CLI arguments to negate boolean settings, such as --no-npm.publish or --no-src.tag.
  • Separate github and npm configuration for source and dist repos.
  • Support for public scoped npm packages.

Breaking changes

  • npm
    • npm.publish is now true by default.
    • The npm. forcePublishSourceRepo is removed. Set npm.publish and dist.npm.publish to true as needed.
  • Github Release
    • Former githubAssets are now at github.assets and dist.github.assets.
    • Set github.release and/or dist.github.release to true as needed
  • Generic
    • The local configuration file .release.json must be renamed to .release-it.json.
    • The --message shortcut is no longer available (use src.commitMessage).
    • The prereleaseId option is renamed to preReleaseId.
    • Removed src.beforeStageCommand. It was pointless, as it was executed right before buildCommand (dist.beforeStageCommand is still there).
    • Removed implicit verbose output. Use --verbose as needed.
    • release-it --debug is now accompanied by DEBUG=release-it:* release-it.

Under the hood

  • Finally, a test suite.
  • Use modern JavaScript (ES6+)
  • Switch from home-made async file copy module to cpy.
  • Switch from minimist to yargs-parser for CLI argument parsing.
  • Use ora for spinners and checkmarks.
  • Use debug package for debug output.
  • Less retries for GitHub releases/upload assets when it seems pointless to do so.

Latest changeset:

  • Move gh-pages doc updater command (8f94fea)
  • Move beforeStartCommand and isGitRepo up (59d5f73)
  • Restore support for --debug arg & enable more colors for debug (526e30e)
  • Make release test more stand-alone (0acf626)
  • Use local git repo in test (6860c5a)
  • Minor refactoring of task runner (c6de5a3)
  • No need to pass branch at all by default (ae88f4c)
  • Fancier readme + CONTRIBUTING.md (b47fa0a)
  • Create CODE_OF_CONDUCT.md (#112) (c88c96d)

Release 3.0.0-beta.7

24 Sep 11:34
Compare
Choose a tag to compare
Release 3.0.0-beta.7 Pre-release
Pre-release

Release 3.0.0-beta.6

24 Sep 10:33
Compare
Choose a tag to compare
Release 3.0.0-beta.6 Pre-release
Pre-release
  • Further doc tweaks (3d1a5d8)
  • Always use t.end in sync tests (6c475ca)
  • Consistent "preRelease" + docs re. pre-releases (7597461)
  • Rewrite much of readme (1122601)
  • Change local config path to .release-it.json (d0d18d2)
  • Always generate changelog (2eabd81)
  • Clean up & fix config defaults (354ffa0)

Breaking changes

  • The local configuration file .release.json must be renamed to .release-it.json.
  • The --message shortcut is no longer available (use src.commitMessage).
  • The prereleaseId option is renamed to preReleaseId.

Release 3.0.0-beta.5

20 Sep 20:39
Compare
Choose a tag to compare
Release 3.0.0-beta.5 Pre-release
Pre-release
  • Fix "requireCleanWorkingDir" check (a363f18)

Release 3.0.0-beta.4

14 Sep 08:17
Compare
Choose a tag to compare
Release 3.0.0-beta.4 Pre-release
Pre-release
  • Fix babel-register in globally installed context (7ec45c4)
  • Update readme (3ccb202)
  • Move mock dir (fd85a15)

Release 3.0.0-beta.3

07 Sep 14:57
Compare
Choose a tag to compare
Release 3.0.0-beta.3 Pre-release
Pre-release
  • Add babel ESM transform (2696201)

Release 3.0.0-beta.2

04 Sep 18:04
Compare
Choose a tag to compare
Release 3.0.0-beta.2 Pre-release
Pre-release

Release 3.0.0-beta.1

30 Aug 15:24
Compare
Choose a tag to compare
Release 3.0.0-beta.1 Pre-release
Pre-release
  • Fix "main" field in package.json (75a6823)
  • Downgrade @std/esm (to v0.5.1) (0aa28f8)