UNPKG

3.95 kBMarkdownView Raw
1# Changelog
2
3This document lists breaking changes for each major release.
4
5See the GitHub Releases page for detailed changelogs:
6[https://github.com/release-it/release-it/releases](https://github.com/release-it/release-it/releases)
7
8## v13
9
10- Dropped support for Node v8
11- Dropped support for GitLab v11.6 and lower.
12- Deprecated `scripts` are removed (in favor of [hooks](https://github.com/release-it/release-it#hooks)).
13- Removed deprecated `--non-interactive` (`-n`) argument. Use `--ci` instead.
14- Removed old `%s` and `[REV_RANGE]` syntax in command substitutions. Use `${version}` and `${latestTag}` instead.
15
16## v12
17
18- The `--follow-tags` argument for `git push` has been moved to the default configuration. This is only a breaking
19 change if `git.pushArgs` was not empty (it was empty by default).
20
21## v11
22
23- The custom `conventional-changelog` increment (e.g. `"increment": "conventional:angular"`) with additional script
24 configuration is replaced with a plugin. Please see
25 [conventional changelog](https://github.com/release-it/release-it/blob/master/docs/changelog.md#conventional-changelog)
26 how to use this plugin.
27- The `pkgFiles` option has been removed. If there's a need to bump other files than what `npm version` bumps, it should
28 be (part of) a plugin.
29- By default, the latest version was derived from the latest Git tag. From v11, if the repo has a `package.json` then
30 that `version` is used instead. The `use` option has been removed. Also see
31 [latest version](https://github.com/release-it/release-it#latest-version).
32- `scripts.changelog` has been moved to `git.changelog`
33
34## v10
35
36- Dropped support for Node v6
37- Deprecated options from v9 are removed, the `dist.repo` config in particular (also see
38 [distribution repository](https://github.com/release-it/release-it/blob/master/docs/recipes/distribution-repo.md) for
39 alternatives).
40- Drop the `--debug` flag. `DEBUG=release-it:* ...` still works.
41
42## v9
43
44There should be no breaking changes, but there have been major internal refactorings and an improved UI. A bunch of new
45features and bug fixes have been implemented. Last but not least, the configuration structure is changed significantly.
46For this (backwards compatible) change, deprecation warnings are shown, and configurations must be migrated with the
47next major release (v10). See [deprecated.json](./config/deprecated.json) for the changes, mainly:
48
49- All "command hooks" have been moved to `scripts.*`, and some have been renamed.
50- All `src.*` options have been moved to `git.*` (and `scripts.*`).
51- The `dist.repo` configuration and functionality has been removed.
52
53## v8
54
55- Drop the `--force` flag. It's only use was to move a Git tag.
56
57## v7
58
59- No longer adds untracked files to release commit. (#230)
60
61## v6
62
63- Default value for `requireCleanWorkingDir` is now `true` (previously: `false`). (#173)
64- Skip prompt (interactive) if corresponding task (non-interactive) is disabled. E.g. `npm.publish: false` will also not
65 show "publish" prompt.
66
67## v5
68
69- Drop support for Node v4.
70
71[Release notes for v5](https://github.com/release-it/release-it/releases/tag/5.0.0-beta.0)
72
73## v4
74
75- Use `shell.exec` for build commands by default (previously this required a `!` prefix).
76
77[Release notes for v4](https://github.com/release-it/release-it/releases/tag/4.0.0-rc.0)
78
79## v3
80
81- Configuration filename must be `.release-it.json` (previously `.release.json`).
82- Refactored configuration structure in this file (and the CLI arguments with it).
83
84[Release notes for v3](https://github.com/release-it/release-it/releases/tag/3.0.0)
85
86## v2
87
88- Build command is executed before git commit/push.
89- Configuration options are better organized. Most of them are backwards compatible with a deprecation notice.
90
91[Release notes for v2](https://github.com/release-it/release-it/releases/tag/2.0.0)
92
93## v1
94
95Initial major release.
96
97[Release notes for v1](https://github.com/release-it/release-it/releases/tag/1.0.0)