Upgrading release-it 9 to 10
Breaking9.8.3 โ 10.4.5Breaking6Platform2Deprecated2New7Changed14Fixed21Other15
BreakingUpgrade verdict
6 breaking changes and 2 platform requirement changes.
In plain terms
- Configuration options that were already deprecated in version 9 no longer work, especially the distribution repository setting.
- The command line debug flag is gone, but you can still get debug output by setting the DEBUG environment variable.
- Removes deprecations added in v9.
- The setting that controls changelog generation has moved from the scripts section to the git section of the config.
Must act Top 5 of 10 that need code or config changes
Node.js requirement changed in 10.0.0-rc.0: >=6 โ >=8.
Adds form-data 2.3.3, git-url-parse 11.1.2, url-join 4.0.0.
Drops @webpro/is-subdir, babel-preset-env, babel-register, parse-repo.
Installs 567 packages in all (was 622).
What you must change
Breaking6
Removes options deprecated in v9, in particular the
dist.repo config.dist.repoRemoves the
--debug flag; DEBUG=release-it:* ... still works.--debugDEBUGRemoves deprecations added in v9.
Moves the
scripts.changelog configuration option to git.changelog.scripts.changeloggit.changelogMerges git.validate into git.init.
git.validategit.initRemoves the --debug argument and enables debug in tests.
--debugPlatform2
Drops support for Node v6.
Removes support for Node v6.
Deprecations to plan for
Deprecated2
Deprecates scripts.afterBump, which is the same as scripts.beforeStage; v11 supports arrays for scripts.
scripts.afterBumpscripts.beforeStagescriptsDeprecates the default prompt config.