UNPKG

65.5 kBMarkdownView Raw
1# @changesets/cli
2
3## 2.18.0
4
5### Minor Changes
6
7- [#634](https://github.com/atlassian/changesets/pull/634) [`2b49c39`](https://github.com/atlassian/changesets/commit/2b49c390a7cf24ce859ac932b432eb6d8f55c98b) Thanks [@joeldenning](https://github.com/joeldenning)! - The new `changeset tag` command has been added. It can be used to create git tags for all packages.
8
9 This is helpful in situations where a different tool is used to publish packages instead of Changesets. For situations where `changeset publish` is executed, running `changeset tag` is not needed.
10
11 Note that it is expected that `changeset version` is run before `changeset tag`, so that the `package.json` versions are updated before the git tags are created. This command also doesn't take any configuration into account - it simply create tags for all packages with whatever version that is currently in their respective `package.json`.
12
13### Patch Changes
14
15- [#585](https://github.com/atlassian/changesets/pull/585) [`74dda8c`](https://github.com/atlassian/changesets/commit/74dda8c0d8bd1741ca7b19f0ccb37b2330dc9549) Thanks [@javier-garcia-meteologica](https://github.com/javier-garcia-meteologica)! - Add support for `workspace:^` and `workspace:~` dependency ranges.
16
17* [#660](https://github.com/atlassian/changesets/pull/660) [`5413f3e`](https://github.com/atlassian/changesets/commit/5413f3e772bf867234922b0691e3c58c1864412d) Thanks [@tmkx](https://github.com/tmkx)! - Fixed an issue with adding `[undefined]` to the generated changelog when the commit adding a changeset file could not be found. This could have happened when running `changeset add && changeset version` in a single command and when using the default changelog generator.
18
19* Updated dependencies [[`2b49c39`](https://github.com/atlassian/changesets/commit/2b49c390a7cf24ce859ac932b432eb6d8f55c98b), [`74dda8c`](https://github.com/atlassian/changesets/commit/74dda8c0d8bd1741ca7b19f0ccb37b2330dc9549)]:
20 - @changesets/git@1.2.0
21 - @changesets/apply-release-plan@5.0.2
22 - @changesets/get-dependents-graph@1.2.3
23 - @changesets/read@0.5.1
24 - @changesets/assemble-release-plan@5.0.2
25 - @changesets/config@1.6.2
26 - @changesets/get-release-plan@3.0.2
27
28## 2.17.0
29
30### Minor Changes
31
32- [#626](https://github.com/atlassian/changesets/pull/626) [`bc611cf`](https://github.com/atlassian/changesets/commit/bc611cf2104ff8170e9ea8acb10952ea8cc2a784) Thanks [@Andarist](https://github.com/Andarist)! - From now on, changeset files starting with a dot (e.g. `.ignored-temporarily.md`) will be be ignored and kept around after versioning. This allows you to prepare a changeset for something that isn't supposed to be released immediately. An example use case could involve code hidden behind a feature flag.
33
34### Patch Changes
35
36- [#582](https://github.com/atlassian/changesets/pull/582) [`e89e28a`](https://github.com/atlassian/changesets/commit/e89e28a05f5fa43307db73812a6bcd269b62ddee) Thanks [@Andarist](https://github.com/Andarist)! - Add support for publishConfig.registry
37
38- Updated dependencies [[`bc611cf`](https://github.com/atlassian/changesets/commit/bc611cf2104ff8170e9ea8acb10952ea8cc2a784), [`e89e28a`](https://github.com/atlassian/changesets/commit/e89e28a05f5fa43307db73812a6bcd269b62ddee)]:
39 - @changesets/read@0.5.0
40 - @changesets/types@4.0.1
41 - @changesets/get-release-plan@3.0.1
42 - @changesets/apply-release-plan@5.0.1
43 - @changesets/assemble-release-plan@5.0.1
44 - @changesets/config@1.6.1
45 - @changesets/get-dependents-graph@1.2.2
46 - @changesets/git@1.1.2
47 - @changesets/pre@1.0.7
48 - @changesets/write@0.1.5
49
50## 2.16.0
51
52### Minor Changes
53
54- [#542](https://github.com/atlassian/changesets/pull/542) [`de2b4a5`](https://github.com/atlassian/changesets/commit/de2b4a5a7b244a37d94625bcb70ecde9dde5b612) Thanks [@Andarist](https://github.com/Andarist)! - A new `updateInternalDependents` experimental option has been added. It can be used to add dependent packages to the release (if they are not already a part of it) with patch bumps. To use it you can add this to your config:
55
56 ```json
57 {
58 "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
59 "updateInternalDependents": "always"
60 }
61 }
62 ```
63
64 This option accepts two values - `"always"` and `"out-of-range"` (the latter matches the current default behavior).
65
66* [#562](https://github.com/atlassian/changesets/pull/562) [`6353abf`](https://github.com/atlassian/changesets/commit/6353abf925d13c41feb1884124ddb5edc8c33555) Thanks [@Andarist](https://github.com/Andarist)! - Stop asking for changeset confirmation when it has been provided using an external editor.
67
68### Patch Changes
69
70- Updated dependencies [[`de2b4a5`](https://github.com/atlassian/changesets/commit/de2b4a5a7b244a37d94625bcb70ecde9dde5b612), [`de2b4a5`](https://github.com/atlassian/changesets/commit/de2b4a5a7b244a37d94625bcb70ecde9dde5b612)]:
71 - @changesets/config@1.6.0
72 - @changesets/types@4.0.0
73 - @changesets/apply-release-plan@5.0.0
74 - @changesets/assemble-release-plan@5.0.0
75 - @changesets/get-release-plan@3.0.0
76 - @changesets/get-dependents-graph@1.2.1
77 - @changesets/git@1.1.1
78 - @changesets/pre@1.0.6
79 - @changesets/read@0.4.7
80 - @changesets/write@0.1.4
81
82## 2.15.0
83
84### Minor Changes
85
86- [#559](https://github.com/atlassian/changesets/pull/559) [`bb7106d`](https://github.com/atlassian/changesets/commit/bb7106de901b579bff50b317f1ee81919257ee30) Thanks [@Andarist](https://github.com/Andarist)! - Added new `--open` flag to the `add` command. It opens the created changeset with an external editor.
87
88### Patch Changes
89
90- Updated dependencies [[`8b9ac07`](https://github.com/atlassian/changesets/commit/8b9ac076a87eaf9556ec5ede0222a75182095662)]:
91 - @changesets/assemble-release-plan@4.1.1
92
93## 2.14.1
94
95### Patch Changes
96
97- [`9224385`](https://github.com/atlassian/changesets/commit/92243856c1ccede60202b456e3eb1a6458a47ac7) [#522](https://github.com/atlassian/changesets/pull/522) Thanks [@emmenko](https://github.com/emmenko)! - Limit concurrency of publishing packages.
98
99## 2.14.0
100
101### Minor Changes
102
103- [`12f9a43`](https://github.com/atlassian/changesets/commit/12f9a433a6c3ac38f9405fcd77c9108c423d7101) [#507](https://github.com/atlassian/changesets/pull/507) Thanks [@zkochan](https://github.com/zkochan)! - New setting added: bumpVersionsWithWorkspaceProtocolOnly. When it is set to `true`, versions are bumped in `dependencies`, only if those versions are prefixed by the workspace protocol. For instance, `"foo": "workspace:^1.0.0"`.
104
105### Patch Changes
106
107- Updated dependencies [[`12f9a43`](https://github.com/atlassian/changesets/commit/12f9a433a6c3ac38f9405fcd77c9108c423d7101)]:
108 - @changesets/apply-release-plan@4.2.0
109 - @changesets/assemble-release-plan@4.1.0
110 - @changesets/config@1.5.0
111 - @changesets/get-dependents-graph@1.2.0
112 - @changesets/types@3.3.0
113
114## 2.13.1
115
116### Patch Changes
117
118- [`0d5b9e1`](https://github.com/atlassian/changesets/commit/0d5b9e1f709f568ff9c2b28d4c12674b6b8c119d) [#518](https://github.com/atlassian/changesets/pull/518) Thanks [@zkochan](https://github.com/zkochan)! - From now on, to fix issues with some auto-save configurations in IDEs, the editor won't be re-opened if one saves an empty summary. In such a scenario the CLI will prompt again for the summary to be written in the terminal.
119
120## 2.13.0
121
122### Minor Changes
123
124- [`412b4b9`](https://github.com/atlassian/changesets/commit/412b4b97e53b6326e8e733eb7d4e1f5738e6fed0) [#504](https://github.com/atlassian/changesets/pull/504) Thanks [@vitorbal](https://github.com/vitorbal)! - `changeset status` command no longer errors when no packages have been changed.
125
126* [`24d7bc9`](https://github.com/atlassian/changesets/commit/24d7bc9e56a6dce7c64b39e8f73e50e21762faac) [#495](https://github.com/atlassian/changesets/pull/495) Thanks [@RoystonS](https://github.com/RoystonS)! - Automatically deepen shallow clones in order to determine the correct commit at which changesets were added. This helps Git-based changelog generators to always link to the correct commit. From now on it's not required to configure `fetch-depth: 0` for your `actions/checkout` when using [Changesets GitHub action](https://github.com/changesets/action).
127
128### Patch Changes
129
130- Updated dependencies [[`24d7bc9`](https://github.com/atlassian/changesets/commit/24d7bc9e56a6dce7c64b39e8f73e50e21762faac), [`24d7bc9`](https://github.com/atlassian/changesets/commit/24d7bc9e56a6dce7c64b39e8f73e50e21762faac)]:
131 - @changesets/git@1.1.0
132
133## 2.12.0
134
135### Minor Changes
136
137- [`c6d38b5`](https://github.com/atlassian/changesets/commit/c6d38b579bdfddc22714c352c3459d04d1745326) [#469](https://github.com/atlassian/changesets/pull/469) Thanks [@camdub](https://github.com/camdub)! - Handle JSON errors for unpublished packages on the github package registry
138
139## 2.11.2
140
141### Patch Changes
142
143- [`b4e4b93`](https://github.com/atlassian/changesets/commit/b4e4b938b985b4bcdd23c573bcaba81669f2cafe) [#448](https://github.com/atlassian/changesets/pull/448) Thanks [@vlad-zhukov](https://github.com/vlad-zhukov)! - Packages are now published from cwd (usually the root of the repository) rather than from the package directories. This respects `.npmrc` files put in the root directory.
144
145## 2.11.1
146
147### Patch Changes
148
149- [`00e2602`](https://github.com/atlassian/changesets/commit/00e2602815851c8f17f1115c354d19aab6583f96) [#473](https://github.com/atlassian/changesets/pull/473) Thanks [@zzarcon](https://github.com/zzarcon)! - Upgraded [`meow`](https://github.com/sindresorhus/meow) dependency to benefit from its [`yarg-parser`](https://github.com/yargs/yargs-parser) dependency upgrade that contains a security fix.
150
151## 2.11.0
152
153### Minor Changes
154
155- [`e33e4ca`](https://github.com/atlassian/changesets/commit/e33e4ca7e71ba7747e21af5011057f11ddfab939) [#458](https://github.com/atlassian/changesets/pull/458) Thanks [@emmenko](https://github.com/emmenko)! - Allow glob expressions to be provided for the `linked` and `ignore` options
156
157### Patch Changes
158
159- [`a60c0e1`](https://github.com/atlassian/changesets/commit/a60c0e1557ccdc3a9e7f665dd679c223f64450fe) [#465](https://github.com/atlassian/changesets/pull/465) Thanks [@Andarist](https://github.com/Andarist)! - Fixed the printed description of how `pre` command can be used.
160
161- Updated dependencies [[`f4973a2`](https://github.com/atlassian/changesets/commit/f4973a25ec6a837f36d64c1fb4b108ace3bc1f9d), [`e33e4ca`](https://github.com/atlassian/changesets/commit/e33e4ca7e71ba7747e21af5011057f11ddfab939)]:
162 - @changesets/types@3.2.0
163 - @changesets/config@1.4.0
164
165## 2.10.3
166
167### Patch Changes
168
169- [`d1d987c`](https://github.com/atlassian/changesets/commit/d1d987c42cddff8be5d7f04d3ebb5a262779fa9f) [#455](https://github.com/atlassian/changesets/pull/455) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with linked package being bumped when its dev dependency from the linked set was bumped during the versioning.
170
171* [`9d99bd1`](https://github.com/atlassian/changesets/commit/9d99bd16f2b6b3ab4fe820358d4c9f313cb2ae76) [#446](https://github.com/atlassian/changesets/pull/446) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with dependant packages not being updated to their highest bump type in pre mode sometimes. This could happen when dependant packages were only versioned because of their dependencies being upgraded and not because of a dedicated changeset for those dependant packages.
172
173 For the very same reason linked packages were also not always bumped correctly in pre mode to the highest bump type in a linked group.
174
175* Updated dependencies [[`ab98fe3`](https://github.com/atlassian/changesets/commit/ab98fe33814867ba740fc04733602be80771915c), [`d1d987c`](https://github.com/atlassian/changesets/commit/d1d987c42cddff8be5d7f04d3ebb5a262779fa9f), [`9d99bd1`](https://github.com/atlassian/changesets/commit/9d99bd16f2b6b3ab4fe820358d4c9f313cb2ae76)]:
176 - @changesets/assemble-release-plan@4.0.0
177 - @changesets/get-release-plan@2.0.1
178
179## 2.10.2
180
181### Patch Changes
182
183- [`d531dbd`](https://github.com/atlassian/changesets/commit/d531dbdc9ac22faccb20356e9ea1313e5095cf9d) [#412](https://github.com/atlassian/changesets/pull/412) Thanks [@Feiyang1](https://github.com/Feiyang1)! - Fixed an issue with the same package specified as a different dependency type with different range types not being updated correctly for all of them.
184
185- Updated dependencies [[`d531dbd`](https://github.com/atlassian/changesets/commit/d531dbdc9ac22faccb20356e9ea1313e5095cf9d)]:
186 - @changesets/assemble-release-plan@3.0.1
187
188## 2.10.1
189
190### Patch Changes
191
192- [`efd01d9`](https://github.com/atlassian/changesets/commit/efd01d9b7a46ba2a44df1f5fdb47436e9219f44b) [#437](https://github.com/atlassian/changesets/pull/437) Thanks [@Blasz](https://github.com/Blasz)! - Fix version command not committing when commit config option is set
193
194## 2.10.0
195
196### Minor Changes
197
198- [`dca4a91`](https://github.com/atlassian/changesets/commit/dca4a91506dfca46915f7d4e833205ad3a685aa0) [#357](https://github.com/atlassian/changesets/pull/357) Thanks [@zkochan](https://github.com/zkochan)! - Open an editor when no message is given when creating a changeset
199
200* [`a57d163`](https://github.com/atlassian/changesets/commit/a57d16355ad7d67b18b768c8f79224d80afa507c) [#428](https://github.com/atlassian/changesets/pull/428) Thanks [@dotansimha](https://github.com/dotansimha)! - Added support for publishing from a subdirectory of packages, using `publishConfig.directory` field
201
202### Patch Changes
203
204- [`868eb1e`](https://github.com/atlassian/changesets/commit/868eb1e68ee91aabefa04a9abf13a7fc22eef019) [#434](https://github.com/atlassian/changesets/pull/434) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Add `--no-git-checks` to `pnpm publish` in `changeset publish` to resolve issues with publishing on CI
205
206- Updated dependencies [[`1dd3117`](https://github.com/atlassian/changesets/commit/1dd311708c65321e1a1c99d36129190f940435ed), [`a57d163`](https://github.com/atlassian/changesets/commit/a57d16355ad7d67b18b768c8f79224d80afa507c)]:
207 - @changesets/git@1.0.6
208 - @changesets/types@3.1.1
209
210## 2.9.2
211
212### Patch Changes
213
214- [`213de26`](https://github.com/atlassian/changesets/commit/213de26502c702b9e25ac3f4a04ea8e9099a5185) [#409](https://github.com/atlassian/changesets/pull/409) Thanks [@Andarist](https://github.com/Andarist)! - Add logs for failed `JSON.parse` calls.
215
216## 2.9.1
217
218### Patch Changes
219
220- [`377f5c3`](https://github.com/atlassian/changesets/commit/377f5c385ad9db4ff8458f159e2d452c39828567) [#393](https://github.com/atlassian/changesets/pull/393) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with experimental flags being written to disk as part of the default config when initializing Changesets.
221
222- Updated dependencies [[`377f5c3`](https://github.com/atlassian/changesets/commit/377f5c385ad9db4ff8458f159e2d452c39828567), [`377f5c3`](https://github.com/atlassian/changesets/commit/377f5c385ad9db4ff8458f159e2d452c39828567)]:
223 - @changesets/config@1.3.0
224
225## 2.9.0
226
227### Minor Changes
228
229- [`9006375`](https://github.com/atlassian/changesets/commit/90063752a4c4f187fcb3dc30c833405f209d9c84) [#392](https://github.com/atlassian/changesets/pull/392) Thanks [@Andarist](https://github.com/Andarist)! - Changed condition based on which single-package repositories are identified when creating tags after successful publish. It is now based on whether we have recognized the repository to be managed by monorepo tooling or not.
230
231* [`9dcc364`](https://github.com/atlassian/changesets/commit/9dcc364bf19e48f8f2824ebaf967d9ef41b6fc04) [#371](https://github.com/atlassian/changesets/pull/371) Thanks [@Feiyang1](https://github.com/Feiyang1)! - Added support for ignoring packages in the `version` command. The version of ignored packages will not be bumped, but their dependencies will still be bumped normally. This is useful when you have private packages, e.g. packages under development. It allows you to make releases for the public packages without changing the version of your private packages. To use the feature, you can define the `ignore` array in the config file with the name of the packages:
232
233 ```
234 {
235 ...
236 "ignore": ["pkg-a", "pkg-b"]
237 ...
238 }
239 ```
240
241 or you can pass the package names to the `--ignore` flag when using cli:
242
243 ```
244 yarn changeset version --ignore pkg-a --ignore --pkg-b
245 ```
246
247### Patch Changes
248
249- Updated dependencies [[`00e768e`](https://github.com/atlassian/changesets/commit/00e768e4af921a894debb900f944d4c9a4e27997), [`addd725`](https://github.com/atlassian/changesets/commit/addd7256d9251d999251a7c16c0a0b068d557b5d), [`9dcc364`](https://github.com/atlassian/changesets/commit/9dcc364bf19e48f8f2824ebaf967d9ef41b6fc04), [`9dcc364`](https://github.com/atlassian/changesets/commit/9dcc364bf19e48f8f2824ebaf967d9ef41b6fc04)]:
250 - @changesets/assemble-release-plan@3.0.0
251 - @changesets/apply-release-plan@4.0.0
252 - @changesets/get-release-plan@2.0.0
253 - @changesets/config@1.2.0
254 - @changesets/types@3.1.0
255
256## 2.8.0
257
258### Minor Changes
259
260- [`6d0790a`](https://github.com/atlassian/changesets/commit/6d0790a7aa9f00e350e9394f419e4b3c7ee7ca6a) [#359](https://github.com/atlassian/changesets/pull/359) Thanks [@ajaymathur](https://github.com/ajaymathur)! - Add support for snapshot flag to version command. Usage: `changeset version --snapshot [tag]`. The updated version of the packages looks like `0.0.0[-tag]-YYYYMMDDHHMMSS` where YYYY, MM, DD, HH, MM, and SS is the date and time of when the snapshot version is created. You can use this feature with the tag option in the publish command to publish packages under experimental tags from feature branches. To publish a snapshot version of a package under an experimental tag you can do:
261
262 ```
263 $ # Version packages to snapshot version
264 $ changeset version --snapshot
265 $ # Publish packages under exprimental tag, keeping next and latest tag clean
266 $ changeset publish --tag exprimental
267 ```
268
269* [`6d0790a`](https://github.com/atlassian/changesets/commit/6d0790a7aa9f00e350e9394f419e4b3c7ee7ca6a) [#359](https://github.com/atlassian/changesets/pull/359) Thanks [@ajaymathur](https://github.com/ajaymathur)! - Add support for tag flag to publish command. Usage: `changeset publish --tag <tag>`. This will publish the packages under passed npm tag.
270
271* [`5dc389f`](https://github.com/atlassian/changesets/commit/5dc389f9cc03a59ef44f34243efe8ad00e35d465) [#376](https://github.com/atlassian/changesets/pull/376) Thanks [@Andarist](https://github.com/Andarist)! - Changed what git tag is generated for single-package repositories after successful publish. The package name is being skipped and the scheme matches what `npm version` generates, so for example `v2.8.0`.
272
273### Patch Changes
274
275- Updated dependencies [[`6d0790a`](https://github.com/atlassian/changesets/commit/6d0790a7aa9f00e350e9394f419e4b3c7ee7ca6a)]:
276 - @changesets/apply-release-plan@3.1.0
277 - @changesets/assemble-release-plan@2.1.0
278
279## 2.7.2
280
281### Patch Changes
282
283- [`8040173`](https://github.com/atlassian/changesets/commit/80401737fddfc687f15e3d71dec967a6498317ea) [#368](https://github.com/atlassian/changesets/pull/368) Thanks [@Andarist](https://github.com/Andarist)! - When logging successful releases and creating tags include an information about those being git tags.
284
285* [`90f3b65`](https://github.com/atlassian/changesets/commit/90f3b651f9c0403920b17801b84a2fbe6f190e2a) [#373](https://github.com/atlassian/changesets/pull/373) Thanks [@Blasz](https://github.com/Blasz)! - Fix patch bumped dependencies not being updated in dependents package.json when leaving semver range with `updateInternalDependencies` set to minor.
286
287* Updated dependencies [[`90f3b65`](https://github.com/atlassian/changesets/commit/90f3b651f9c0403920b17801b84a2fbe6f190e2a)]:
288 - @changesets/apply-release-plan@3.0.3
289
290## 2.7.1
291
292### Patch Changes
293
294- [`52a88ce`](https://github.com/atlassian/changesets/commit/52a88ce816692f6b18fa8f3f67d707b78b0b8210) [#361](https://github.com/atlassian/changesets/pull/361) Thanks [@Blasz](https://github.com/Blasz)! - Fix dependency release lines being output when they were skipped via the updateInternalDependencies config option
295
296- Updated dependencies [[`52a88ce`](https://github.com/atlassian/changesets/commit/52a88ce816692f6b18fa8f3f67d707b78b0b8210)]:
297 - @changesets/apply-release-plan@3.0.1
298
299## 2.7.0
300
301### Minor Changes
302
303- [`2b49d66`](https://github.com/atlassian/changesets/commit/2b49d668ecaa1333bc5c7c5be4648dda1b11528d) [#358](https://github.com/atlassian/changesets/pull/358) Thanks [@Blasz](https://github.com/Blasz)! - Add new config option 'updateInternalDependencies' that can be set to 'minor' to only update internal dependencies in the same release if the dependency was minor released or above. Defaults to 'patch' which is the existing behaviour.
304
305### Patch Changes
306
307- Updated dependencies [[`89f0c49`](https://github.com/atlassian/changesets/commit/89f0c497ac21b8d008da67caff8032947836c7b1), [`2b49d66`](https://github.com/atlassian/changesets/commit/2b49d668ecaa1333bc5c7c5be4648dda1b11528d), [`09f62f9`](https://github.com/atlassian/changesets/commit/09f62f9c822f31899a48cbd93c7801d72a80b97e)]:
308 - @changesets/git@1.0.5
309 - @changesets/apply-release-plan@3.0.0
310 - @changesets/types@3.0.0
311 - @changesets/config@1.1.0
312 - @changesets/assemble-release-plan@2.0.4
313 - @changesets/get-release-plan@1.0.4
314 - @changesets/pre@1.0.4
315 - @changesets/read@0.4.6
316 - @changesets/write@0.1.3
317
318## 2.6.5
319
320### Patch Changes
321
322- [`d570a24`](https://github.com/atlassian/changesets/commit/d570a24740a374a9547dd7d931e6ac854e36a9fb) [#328](https://github.com/atlassian/changesets/pull/328) Thanks [@zkochan](https://github.com/zkochan)! - Use pnpm inside a pnpm workspace. Previously, pnpm was detected properly only in projects that use one lockfile per project. However, by default pnpm creates a single lockfile per workspace.
323
324- Updated dependencies [[`d678da5`](https://github.com/atlassian/changesets/commit/d678da5e9936862bb66e5edb538c5b8be23d4ffe)]:
325 - @changesets/assemble-release-plan@2.0.2
326
327## 2.6.4
328
329### Patch Changes
330
331- Updated dependencies [[`1706fb7`](https://github.com/atlassian/changesets/commit/1706fb751ecc2f5a792c42f467b2063078d58716)]:
332 - @changesets/apply-release-plan@2.0.1
333 - @changesets/assemble-release-plan@2.0.1
334 - @changesets/config@1.0.3
335 - @changesets/errors@0.1.4
336 - @changesets/get-release-plan@1.0.3
337 - @changesets/git@1.0.3
338 - @changesets/logger@0.0.5
339 - @changesets/pre@1.0.3
340 - @changesets/read@0.4.5
341 - @changesets/types@2.0.1
342 - @changesets/write@0.1.2
343
344## 2.6.3
345
346### Patch Changes
347
348- [`9cdfa36`](https://github.com/atlassian/changesets/commit/9cdfa36f831cca2b11593881671410a6d2f0b546) [#318](https://github.com/atlassian/changesets/pull/318) Thanks [@Noviny](https://github.com/Noviny)! - Typo fix in prerelease warning message
349
350- Updated dependencies [[`44555b4`](https://github.com/atlassian/changesets/commit/44555b44cac843d973d31adbfc7703f45117d204), [`c3cc232`](https://github.com/atlassian/changesets/commit/c3cc23204c6cb80487aced1b37ebe8ffde0e2111), [`011d57f`](https://github.com/atlassian/changesets/commit/011d57f1edf9e37f75a8bef4f918e72166af096e), [`011d57f`](https://github.com/atlassian/changesets/commit/011d57f1edf9e37f75a8bef4f918e72166af096e), [`011d57f`](https://github.com/atlassian/changesets/commit/011d57f1edf9e37f75a8bef4f918e72166af096e), [`011d57f`](https://github.com/atlassian/changesets/commit/011d57f1edf9e37f75a8bef4f918e72166af096e)]:
351 - @changesets/apply-release-plan@2.0.0
352 - @changesets/assemble-release-plan@2.0.0
353 - @changesets/types@2.0.0
354 - @changesets/get-release-plan@1.0.2
355 - @changesets/config@1.0.2
356 - @changesets/git@1.0.2
357 - @changesets/pre@1.0.2
358 - @changesets/read@0.4.4
359 - @changesets/write@0.1.1
360
361## 2.6.2
362
363### Patch Changes
364
365- [`04ddfd7`](https://github.com/atlassian/changesets/commit/04ddfd7c3acbfb84ef9c92873fe7f9dea1f5145c) [#305](https://github.com/atlassian/changesets/pull/305) Thanks [@Noviny](https://github.com/Noviny)! - Add link to changelog in readme
366
367* [`b49e1cf`](https://github.com/atlassian/changesets/commit/b49e1cff65dca7fe9e341a35aa91704aa0e51cb3) [#306](https://github.com/atlassian/changesets/pull/306) Thanks [@Andarist](https://github.com/Andarist)! - Ignore `node_modules` when glob searching for packages. This fixes an issue with package cycles.
368
369* Updated dependencies [[`04ddfd7`](https://github.com/atlassian/changesets/commit/04ddfd7c3acbfb84ef9c92873fe7f9dea1f5145c), [`e56928b`](https://github.com/atlassian/changesets/commit/e56928bbd6f9096def06ac37487bdbf28efec9d1), [`b49e1cf`](https://github.com/atlassian/changesets/commit/b49e1cff65dca7fe9e341a35aa91704aa0e51cb3)]:
370 - @changesets/apply-release-plan@1.0.1
371 - @changesets/assemble-release-plan@1.0.1
372 - @changesets/config@1.0.1
373 - @changesets/errors@0.1.3
374 - @changesets/get-release-plan@1.0.1
375 - @changesets/git@1.0.1
376 - @changesets/logger@0.0.4
377 - @changesets/parse@0.3.3
378 - @changesets/pre@1.0.1
379 - @changesets/read@0.4.3
380 - @changesets/test-utils@0.0.4
381 - @changesets/types@1.0.1
382
383## 2.6.1
384
385### Patch Changes
386
387- [`41e2e3d`](https://github.com/atlassian/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997) [#292](https://github.com/atlassian/changesets/pull/292) Thanks [@acheronfail](https://github.com/acheronfail)! - Use `@changesets/write` for writing changesets internally
388
389* [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20) [#290](https://github.com/atlassian/changesets/pull/290) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Use `@manypkg/get-packages` instead of `get-workspaces` internally
390
391- [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20) [#290](https://github.com/atlassian/changesets/pull/290) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Don't show `all packages` in list of selected packages in major and minor questions in `add` command after the question is answered
392
393- Updated dependencies [[`41e2e3d`](https://github.com/atlassian/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`2363366`](https://github.com/atlassian/changesets/commit/2363366756d1b15bddf6d803911baccfca03cbdf), [`41e2e3d`](https://github.com/atlassian/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997), [`41e2e3d`](https://github.com/atlassian/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20)]:
394 - @changesets/types@1.0.0
395 - @changesets/git@1.0.0
396 - @changesets/pre@1.0.0
397 - @changesets/get-release-plan@1.0.0
398 - @changesets/apply-release-plan@1.0.0
399 - @changesets/parse@0.3.2
400 - @changesets/write@0.1.0
401 - @changesets/config@1.0.0
402 - @changesets/assemble-release-plan@1.0.0
403 - @changesets/read@0.4.2
404
405## 2.6.0
406
407### Minor Changes
408
409- [`ca934d7`](https://github.com/atlassian/changesets/commit/ca934d7b9dcd3203f27a4a2cefb19e9cb90cb083) [#282](https://github.com/atlassian/changesets/pull/282) Thanks [@tarang9211](https://github.com/tarang9211)! - Add all packages option to major and minor selects
410
411### Patch Changes
412
413- [`2adfe66`](https://github.com/atlassian/changesets/commit/2adfe66252f9b8b7a6a0c261f608dcb3c9294bfb) [#288](https://github.com/atlassian/changesets/pull/288) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Stop running `npm profile get` when using non-npm registries
414
415- Updated dependencies []:
416 - @changesets/apply-release-plan@0.4.2
417
418## 2.5.2
419
420### Patch Changes
421
422- [`184a653`](https://github.com/atlassian/changesets/commit/184a653de2d050f877b91d0ad319f00683bbc7ff) [#278](https://github.com/atlassian/changesets/pull/278) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Use a single prompt for the semver version type when there is only a single package in the repo in `changeset add`
423
424 ![changeset add command with single package repo](https://user-images.githubusercontent.com/11481355/75123292-40f78f00-56fa-11ea-9e16-fe3f5e2d9cf5.gif)
425
426## 2.5.1
427
428### Patch Changes
429
430- [`1282ef6`](https://github.com/atlassian/changesets/commit/1282ef698761c1f634fb409842cc7de6b4d03da4) [#263](https://github.com/atlassian/changesets/pull/263) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed a bug where only the unreleased pre-release changesets were taken into account when calculating the new version, not previously released changesets.
431
432- Updated dependencies [[`1282ef6`](https://github.com/atlassian/changesets/commit/1282ef698761c1f634fb409842cc7de6b4d03da4)]:
433 - @changesets/assemble-release-plan@0.3.1
434 - @changesets/apply-release-plan@0.4.1
435
436## 2.5.0
437
438### Minor Changes
439
440- [`fe0d9192`](https://github.com/atlassian/changesets/commit/fe0d9192544646e1a755202b87dfe850c1c200a3) [#236](https://github.com/atlassian/changesets/pull/236) Thanks [@Andarist](https://github.com/Andarist)! - When in pnpm-managed project use pnpm for publishing.
441
442* [`fe0d9192`](https://github.com/atlassian/changesets/commit/fe0d9192544646e1a755202b87dfe850c1c200a3) [#236](https://github.com/atlassian/changesets/pull/236) Thanks [@Andarist](https://github.com/Andarist)! - Read also pnpm workspace packages when searching for packages.
443
444### Patch Changes
445
446- [`cc64ad52`](https://github.com/atlassian/changesets/commit/cc64ad52ef334ba77efb61ed8cd4b2f4abd2a668) [#254](https://github.com/atlassian/changesets/pull/254) Thanks [@Andarist](https://github.com/Andarist)! - Added GitHub Actions support to CI detection.
447
448* [`4af2a78b`](https://github.com/atlassian/changesets/commit/4af2a78b22a2d22b557fe21603c83cc99959773d) [#232](https://github.com/atlassian/changesets/pull/232) Thanks [@harrysolovay](https://github.com/harrysolovay)! - Change format of the automatic commit messages to be in line with conventional commits.
449
450- [`ef6402c9`](https://github.com/atlassian/changesets/commit/ef6402c9d8dc1832126732dbbafb015b71f57f83) [#252](https://github.com/atlassian/changesets/pull/252) Thanks [@Andarist](https://github.com/Andarist)! - Avoid trailing newline for single-line changesets to avoid double newline between release lines when generating final markdown for changelog.
451
452- Updated dependencies [[`fe0d9192`](https://github.com/atlassian/changesets/commit/fe0d9192544646e1a755202b87dfe850c1c200a3), [`ef6402c9`](https://github.com/atlassian/changesets/commit/ef6402c9d8dc1832126732dbbafb015b71f57f83), [`fe0d9192`](https://github.com/atlassian/changesets/commit/fe0d9192544646e1a755202b87dfe850c1c200a3), [`503154db`](https://github.com/atlassian/changesets/commit/503154db39fe8ab88a1176e4569c48078bcf5569)]:
453 - get-workspaces@0.6.0
454 - @changesets/apply-release-plan@0.4.0
455 - get-dependents-graph@0.2.0
456 - @changesets/get-release-plan@0.4.0
457 - @changesets/git@0.4.0
458 - @changesets/pre@0.2.0
459 - @changesets/read@0.4.1
460
461## 2.4.1
462
463### Patch Changes
464
465- [`6c0b53d`](https://github.com/atlassian/changesets/commit/6c0b53da63f287dfa9af45532f1f1d628b518b25) [#227](https://github.com/atlassian/changesets/pull/227) - Fix received typo
466
467## 2.4.0
468
469### Minor Changes
470
471- [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/atlassian/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added support for `baseBranch` option which specifies what branch Changesets should use when determining what packages have changed
472
473* [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/atlassian/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added support for `--since` option to the `status` command which shows the release plan since the git ref(branch, tag, commit, etc.) specified with `--since` and deprecate `--sinceMaster` option
474
475### Patch Changes
476
477- [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/atlassian/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Moved error advising users to run changeset init when a .changeset directory from the add command to all commands except init
478
479* [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/atlassian/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed old changesets not being read in status command
480* Updated dependencies [[`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2), [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2), [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2), [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2)]:
481 - @changesets/get-release-plan@0.3.0
482 - @changesets/read@0.4.0
483 - @changesets/config@0.3.0
484 - @changesets/git@0.3.0
485 - @changesets/apply-release-plan@0.3.1
486
487## 2.3.3
488
489### Patch Changes
490
491- [`9cd1eaf`](https://github.com/atlassian/changesets/commit/9cd1eafc1620894a39fe10d3e393ad8f812df53a) [#214](https://github.com/atlassian/changesets/pull/214) Thanks [@Noviny](https://github.com/Noviny)! - Remove unused dependencies
492- Updated dependencies [[`9cd1eaf`](https://github.com/atlassian/changesets/commit/9cd1eafc1620894a39fe10d3e393ad8f812df53a), [`b17ed74`](https://github.com/atlassian/changesets/commit/b17ed7411ea57e38b20e646321d5053b213d198a)]:
493 - @changesets/logger@0.0.3
494 - @changesets/pre@0.1.1
495 - @changesets/test-utils@0.0.3
496 - @changesets/git@0.2.5
497 - @changesets/config@0.2.4
498
499## 2.3.2
500
501### Patch Changes
502
503- [`7c1269de`](https://github.com/atlassian/changesets/commit/7c1269de31f02c731fdb69d7be037b83e12a0445) Thanks [@Noviny](https://github.com/Noviny)! - Fix previous version not having correctly built dists
504
505## 2.3.1
506
507### Patch Changes
508
509- [`a0b5dba`](https://github.com/atlassian/changesets/commit/a0b5dba3fe59d2b2e856173e40b936e56ab74ac6) [#209](https://github.com/atlassian/changesets/pull/209) Thanks [@ryanbraganza](https://github.com/ryanbraganza)! - Skip OTP check during isCI
510
511## 2.3.0
512
513### Minor Changes
514
515- [`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0) [#183](https://github.com/atlassian/changesets/pull/183) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Add support for prereleases. Prereleases work with two new commands, `pre enter` and `pre exit` along with changes to `version` and `exit`. For more information, see [the docs on prereleases](https://github.com/atlassian/changesets/blob/main/docs/prereleases.md).
516
517### Patch Changes
518
519- [`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0) [#183](https://github.com/atlassian/changesets/pull/183) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Add `InternalError` for errors which are unexpected and if they occur, an issue should be opened. The CLI catches the error and logs a link for users to open an issue with the error and versions of Node and Changesets filled in
520
521* [`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0) [#183](https://github.com/atlassian/changesets/pull/183) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Always publish packages if they don't exist on npm rather than only if they are a greater version than the latest version on npm
522* Updated dependencies [[`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0), [`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0), [`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0), [`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0), [`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0)]:
523 - @changesets/assemble-release-plan@0.3.0
524 - @changesets/apply-release-plan@0.3.0
525 - @changesets/get-release-plan@0.2.0
526 - @changesets/types@0.4.0
527 - @changesets/errors@0.1.2
528 - @changesets/pre@0.1.0
529 - @changesets/config@0.2.3
530 - get-dependents-graph@0.1.2
531 - get-workspaces@0.5.2
532 - @changesets/git@0.2.4
533 - @changesets/logger@0.0.2
534 - @changesets/parse@0.3.1
535 - @changesets/read@0.3.1
536 - @changesets/test-utils@0.0.2
537
538## 2.2.0
539
540### Minor Changes
541
542- [`a679b1d`](https://github.com/atlassian/changesets/commit/a679b1dcdcb56652d31536e2d6326ba02a9dfe62) [#204](https://github.com/atlassian/changesets/pull/204) Thanks [@Andarist](https://github.com/Andarist)! - Respect `publishConfig.access` in workspace package.jsons
543
544 Previously, every package in your repository had one 'public' or 'restricted' setting.
545
546 Now, if a workspace has `publishConfig.access` in its package.json, we will prioritize it over the global changesets config.
547
548- [`51a0d76`](https://github.com/atlassian/changesets/commit/51a0d766c7064b4c6a9d1490593522c6fcd02929) [#182](https://github.com/atlassian/changesets/pull/182) Thanks [@ajaymathur](https://github.com/ajaymathur)! - Updated the package to use the new `@changesets/logger` for logging.
549
550### Patch Changes
551
552- [`5ababa0`](https://github.com/atlassian/changesets/commit/5ababa08c8ea5ee3b4ff92253e2e752a5976cd27) [#201](https://github.com/atlassian/changesets/pull/201) Thanks [@ajaymathur](https://github.com/ajaymathur)! - Updated to use the Error classes from the @changesets/errors package
553
554* [`a679b1d`](https://github.com/atlassian/changesets/commit/a679b1dcdcb56652d31536e2d6326ba02a9dfe62) [#204](https://github.com/atlassian/changesets/pull/204) Thanks [@Andarist](https://github.com/Andarist)! - Correctly handle the 'access' flag for packages
555
556 Previously, we had access as "public" or "private", access "private" isn't valid. This was a confusing because there are three states for publishing a package:
557
558 - `private: true` - the package will not be published to npm (worked)
559 - `access: public` - the package will be publicly published to npm (even if it uses a scope) (worked)
560 - `access: restricted` - the package will be published to npm, but only visible/accessible by those who are part of the scope. This technically worked, but we were passing the wrong bit of information in.
561
562 Now, we pass the correct access options `public` or `restricted`.
563
564* [`da11ab8`](https://github.com/atlassian/changesets/commit/da11ab8a4e4324a7023d12f990beec8c3b6ae35f) [#205](https://github.com/atlassian/changesets/pull/205) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Don't update ranges set to \*/x/X when versioning
565
566* Updated dependencies [[`51a0d76`](https://github.com/atlassian/changesets/commit/51a0d766c7064b4c6a9d1490593522c6fcd02929), [`5ababa0`](https://github.com/atlassian/changesets/commit/5ababa08c8ea5ee3b4ff92253e2e752a5976cd27), [`a679b1d`](https://github.com/atlassian/changesets/commit/a679b1dcdcb56652d31536e2d6326ba02a9dfe62), [`5ababa0`](https://github.com/atlassian/changesets/commit/5ababa08c8ea5ee3b4ff92253e2e752a5976cd27), [`da11ab8`](https://github.com/atlassian/changesets/commit/da11ab8a4e4324a7023d12f990beec8c3b6ae35f)]:
567 - @changesets/logger@0.0.1
568 - @changesets/test-utils@0.0.1
569 - @changesets/config@0.2.2
570 - @changesets/apply-release-plan@0.2.3
571 - get-workspaces@0.5.1
572 - @changesets/types@0.3.1
573 - @changesets/errors@0.1.1
574
575## 2.1.2
576
577### Patch Changes
578
579- Remove console log
580- When 2fa token is wrong (ie, it has expired) reprompt instead of failing
581
582## 2.1.1
583
584### Patch Changes
585
586- [`71a0193`](https://github.com/atlassian/changesets/commit/71a0193939b13f693d3652c01a82a67a6be5e104) [#197](https://github.com/atlassian/changesets/pull/197) Thanks [@Noviny](https://github.com/Noviny)! - Close off error when running publish where individual packages have pre or post hooks.
587
588 Under the previous behaviour, JSON parsing the response to publish failed, causing git tags to not be created.
589
590## 2.1.0
591
592### Minor Changes
593
594- [`8dce96f`](https://github.com/atlassian/changesets/commit/8dce96f8aec43f82b35e65f54b06cbeed3275885) [#187](https://github.com/atlassian/changesets/pull/187) Thanks [@gardnerjack](https://github.com/gardnerjack)! - Added --empty flag to the add command for empty changeset files. New tests for adding, writing, parsing, and reading empty changesets.
595
596### Patch Changes
597
598- [`7e2fc8e`](https://github.com/atlassian/changesets/commit/7e2fc8ee58be3be3452358cc7852412fbec0f995) [#184](https://github.com/atlassian/changesets/pull/184) Thanks [@Noviny](https://github.com/Noviny)! - Fix message on warning if 'add' command is run before changesets has been initialised.
599
600- Updated dependencies [[`8dce96f`](https://github.com/atlassian/changesets/commit/8dce96f8aec43f82b35e65f54b06cbeed3275885)]:
601 - @changesets/parse@0.3.0
602 - @changesets/read@0.3.0
603 - @changesets/get-release-plan@0.1.3
604
605## 2.0.4
606
607### Patch Changes
608
609- [`f63b652`](https://github.com/atlassian/changesets/commit/f63b6521d2b20c61526c7e31ddf18c4b480b456f) [#176](https://github.com/atlassian/changesets/pull/176) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Change the log type of the default config writing message from `error` to `info` because the message isn't an error
610
611* [`df35f32`](https://github.com/atlassian/changesets/commit/df35f32f3844d34ed2bb2ee4a41495a88fd191a9) [#179](https://github.com/atlassian/changesets/pull/179) Thanks [@ryanbraganza](https://github.com/ryanbraganza)! - Remove dependency on uuid
612
613- [`94de7c1`](https://github.com/atlassian/changesets/commit/94de7c1df278d63f98b599c08271ba4ef26bc3f8) [#173](https://github.com/atlassian/changesets/pull/173) Thanks [@ajaymathur](https://github.com/ajaymathur)! - Catch errors from git being absent and continue on as best possible
614
615* [`72babcb`](https://github.com/atlassian/changesets/commit/72babcbccbdd41618d9cb90b2a8871fe63643601) [#178](https://github.com/atlassian/changesets/pull/178) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix changelog generator options not being provided
616
617* Updated dependencies [[`72babcb`](https://github.com/atlassian/changesets/commit/72babcbccbdd41618d9cb90b2a8871fe63643601)]:
618 - @changesets/apply-release-plan@0.2.2
619 - @changesets/git@0.2.3
620
621## 2.0.3
622
623### Patch Changes
624
625- [89c0894](https://github.com/atlassian/changesets/commit/89c08944fac84f71241305e359e9717ad4ec1b62) [#167](https://github.com/atlassian/changesets/pull/167) Thanks [@Noviny](https://github.com/Noviny)! - Fix broken `--since-master` flag (which was broken by the move to v2 changesets)
626
627- Updated dependencies [89c0894]:
628 - @changesets/git@0.2.2
629 - @changesets/get-release-plan@0.1.2
630 - @changesets/read@0.2.2
631
632## 2.0.2
633
634### Patch Changes
635
636- [1ff73b7](https://github.com/atlassian/changesets/commit/1ff73b74f414031e49c6fd5a0f68e9974900d381) [#156](https://github.com/atlassian/changesets/pull/156) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix commits not being obtained for old changesets
637
638* [0320391](https://github.com/atlassian/changesets/commit/0320391699a73621d0e51ce031062a06cbdefadc) [#163](https://github.com/atlassian/changesets/pull/163) Thanks [@Noviny](https://github.com/Noviny)! - Reordered dependencies in the package json (this should have no impact)
639
640* Updated dependencies [3dd003c, 1ff73b7, 8c43fa0, 0320391, 1ff73b7]:
641 - @changesets/get-release-plan@0.1.1
642 - @changesets/apply-release-plan@0.2.1
643 - @changesets/assemble-release-plan@0.2.1
644 - get-dependents-graph@0.1.1
645 - @changesets/git@0.2.1
646 - @changesets/parse@0.2.1
647 - @changesets/read@0.2.1
648 - @changesets/types@0.3.0
649 - @changesets/config@0.2.1
650
651## 2.0.1
652
653### Patch Changes
654
655- [62873042](https://github.com/atlassian/changesets/commit/62873042) [#153](https://github.com/atlassian/changesets/pull/153) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Make init write the default config file if it doesn't exist with a special message if an old config file exists
656
657- [85f837a7](https://github.com/atlassian/changesets/commit/85f837a7) [#150](https://github.com/atlassian/changesets/pull/150) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix init command from crashing because it was trying to access a config that doesn't exist
658
659* [709493b4](https://github.com/atlassian/changesets/commit/709493b4) - Fix version always removing legacy changesets even when the commit option is false
660
661- [16cb2ff3](https://github.com/atlassian/changesets/commit/16cb2ff3) [#151](https://github.com/atlassian/changesets/pull/151) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Include changelog directory in published files
662
663## 2.0.0
664
665Welcome to version 2 🎉🦋
666
667Quickest summary of the most exciting changes:
668
669🦋 Changesets (the written files) have a new format! They are now human readable/writeable
670
671🦋 The config options have been completely rethought to be clearer and more concise
672
673🦋 Changesets has been significantly decomposed, allowing an easier time building tools on top of it
674
675### Major Changes
676
677- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
678
679 #### Changed command line argument names
680
681 We have removed command line arguments that overrwrite the config. The following commands can no longer
682 be passed in:
683
684 - `updateChangelog`
685 - `isPublic`
686 - `skipCI`
687 - `commit`
688
689 This has been done to avoid overloading the number of ways you can pass options, as within any single
690 repository, there should be a single consistent way in which these values are always provided.
691
692- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
693
694 #### Changed how Config works
695
696 The Changesets config is now written in JSON with fewer options. The new defaults are shown below.
697
698 ```json
699 {
700 "$schema": "https://unpkg.com/@changesets/config/schema.json",
701 "changelog": "@changesets/cli/changelog",
702 "commit": false,
703 "linked": [],
704 "access": "private"
705 }
706 ```
707
708 **Reasoning**: Having a JSON config makes it easier to build other tools on changesets because the config can be read without executing user code that could potentially be unsafe. It also means we can have easy autocompletion and descriptions in editors that don't go out of date like the comments in the JS config along with being able to packagise changelog entry generators.
709
710 ##### Migrating
711
712 1. Run `yarn changeset init` to create a config file in the new format at `.changeset/config.json`
713 1. If you're using changelogs, move `getReleaseLine` and `getDependencyReleaseLine` to their own module and set the changelog option to the path to the module. If you're not using changelogs, set the changelog option to `false`. In the future, we will be providing packages to write changelogs for common use cases
714 1. Set `access` to `"public"` if `publishOptions.public` is `true`, otherwise set it to `"private"`
715 1. If you use `linked`, copy your linked package groups from the JS config to the the JSON file
716 1. If you use `commit` and `skipCI` in `versionOptions` or `publishOptions`, set commit to `true`, all commits will include a skip ci message. if you have a use case for only using commit on one command or not including a skip ci message by default, contact us and we will talk about re-implementing these features.
717 1. Delete `.changeset/config.js`
718
719- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
720
721 #### Changelog generation functions have minor changes
722
723 In addition to how these functions are defined (see changes to config), the data that is passed through
724 to these functions is notably different to what it was before. For the most part, the changelog functions
725 simply receive richer information, based on the new changelog format.
726
727 **BREAKING**: The release objects and dependency release objects now use `release.newVersion` for the latest
728 version, instead of the previous `release.version`.
729
730 The `@changesets/types` package includes exports for both `GetReleaseLine` as well as `GetDependencyReleaseLine`.
731
732 If you were using the default changelog generation scripts, you won't need to worry. Otherwise, we recommend updating
733 your command and manually running `version` to ensure you are still getting the changelogs you expect.
734
735 **Looking further forward** We are already aware that we want to change how people write these generation functions,
736 including opening up more flexibility, and access to things such as the underlying release plan. This will likely require
737 a breaking change in the future, but we thought we were changing enough this release that we didn't want too much turmoil. 😁
738
739- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
740
741 #### Renamed commands
742
743 - `bump` has been renamed to `version`
744 - `release` has been renamed to `publish`
745
746 This is a reversion to the changes made in `1.0.0`.
747
748 **Reasoning**: We switched the names because we wanted to avoid confusion with the related
749 tasks in npm. While technically it removed confusion that this was doing the same thing as
750 `npm version`, or `npm publish`, the new terms did not convey easily grokkable meanings. As
751 we weren't benefiting from the new names, we have decided to revert to names that have more
752 meaning within the community, even though these commands do slightly more than this.
753
754### Minor Changes
755
756- [296a6731](https://github.com/atlassian/changesets/commit/296a6731) - Safety bump: Towards the end of preparing changesets v2, there was a lot of chaos - this bump is to ensure every package on npm matches what is found in the repository.
757
758### Patch Changes
759
760- Updated dependencies [ca8ff585, 296a6731]:
761 - @changesets/get-release-plan@0.1.0
762 - @changesets/apply-release-plan@0.2.0
763 - @changesets/assemble-release-plan@0.2.0
764 - @changesets/config@0.2.0
765 - get-dependents-graph@0.1.0
766 - get-workspaces@0.5.0
767 - @changesets/git@0.2.0
768 - @changesets/parse@0.2.0
769 - @changesets/read@0.2.0
770 - @changesets/types@0.2.0
771
772## 1.3.3
773
774### Patch Changes
775
776- [a15abbf9](https://github.com/changesets/changesets/commit/a15abbf9) - Previous release shipped unbuilt code - fixing that
777
778## 1.3.1
779
780### Patch Changes
781
782- [c46e9ee7](https://github.com/changesets/changesets/commit/c46e9ee7) - Use 'spawndamnit' package for all new process spawning
783- [5b28c527](https://github.com/changesets/changesets/commit/5b28c527) - Fix 2FA check on release
784- [6f8eb05a](https://github.com/changesets/changesets/commit/6f8eb05a) - Updated readme
785- [6d119893](https://github.com/changesets/changesets/commit/6d119893) - Move `git` module to be its own external module
786
787## 1.3.0
788
789### Minor Changes
790
791- [e55fa3f0](https://github.com/changesets/changesets/commit/e55fa3f0) [#92](https://github.com/changesets/changesets/pull/92) Thanks [@highvoltag3](https://github.com/highvoltag3)! - Catch Promise rejection on SIGINT and exit gracefully
792- [94267ff3](https://github.com/changesets/changesets/commit/94267ff3) [#106](https://github.com/changesets/changesets/pull/106) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Improve 2FA support for publishing:
793
794 - Prompt for an OTP code when required
795 - Add `--otp` option to release command
796
797### Patch Changes
798
799- [a700de81](https://github.com/changesets/changesets/commit/a700de81) [#104](https://github.com/changesets/changesets/pull/104) Thanks [@Noviny](https://github.com/Noviny)! - Fix auto-generated documentation to point outwards to changesets repo to stop it going stale
800- [94267ff3](https://github.com/changesets/changesets/commit/94267ff3) [#106](https://github.com/changesets/changesets/pull/106) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Inline last usages of bolt
801- [d4bbab4e](https://github.com/changesets/changesets/commit/d4bbab4e) [#91](https://github.com/changesets/changesets/pull/91) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Convert some internals to TypeScript
802- [fc32bc11](https://github.com/changesets/changesets/commit/fc32bc11) [#94](https://github.com/changesets/changesets/pull/94) Thanks [@Noviny](https://github.com/Noviny)! - Better Docs in readme
803
804- Updated dependencies [cbb2c953]:
805 - get-workspaces@0.4.0
806
807## 1.2.0
808
809### Minor Changes
810
811- [16fde2e0](https://github.com/changesets/changesets/commit/16fde2e0) [#75](https://github.com/changesets/changesets/pull/75) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Use [enquirer](https://github.com/enquirer/enquirer) instead of inquirer for asking questions because it's smaller, faster and prettier.
812 Change bump type questions from asking for each bump type individually per package to asking users to two questions where the user selects what packages should have major and minor bumps and the packages left are assumed to be patch bumps. This dramatically cuts down the amount of time it takes to create a changeset with a large number of packages.
813
814 ![example of using the CLI with the new questions](https://user-images.githubusercontent.com/11481355/58873398-a1c4de80-8709-11e9-80e8-16061e395b15.gif)
815
816### Patch Changes
817
818- [20da7747](https://github.com/changesets/changesets/commit/20da7747) [#66](https://github.com/changesets/changesets/pull/66) Thanks [@Noviny](https://github.com/Noviny)! - Update package.json field so each links into its own package
819- [29ff34ed](https://github.com/changesets/changesets/commit/29ff34ed) [#82](https://github.com/changesets/changesets/pull/82) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Limit the number of rows the package selection question takes up so that the question is still visible in repos with a very large number of packages
820
821 ![changeset package question in atlaskit](https://user-images.githubusercontent.com/11481355/59012109-ff783880-8879-11e9-9b68-77ab672921fa.png)
822
823- [ef9be2df](https://github.com/changesets/changesets/commit/ef9be2df) [#81](https://github.com/changesets/changesets/pull/81) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix tables in status command from flowing over to the next line
824
825 ![changeset status --verbose output](https://user-images.githubusercontent.com/11481355/59011589-875d4300-8878-11e9-9e69-cada41f83261.png)
826
827- [91000292](https://github.com/changesets/changesets/commit/91000292) [#78](https://github.com/changesets/changesets/pull/78) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix misaligned CLI messages
828
829## 1.1.5
830
831### Patch Changes
832
833- [7fa42641](https://github.com/changesets/changesets/commit/7fa42641) [#61](https://github.com/changesets/changesets/pull/61) Thanks [@Noviny](https://github.com/Noviny)! - When bumping, run prettier over the changelog file.
834
835 If you want this option turned off, add `disabledLanguage: ["markdown"] to your prettier config.
836
837 - [6dc510f4](https://github.com/changesets/changesets/commit/6dc510f4) [#62](https://github.com/changesets/changesets/pull/62) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Add butterfly emoji prefix to CLI output
838
839## 1.1.4
840
841### Patch Changes
842
843- [83ba6d3f](https://github.com/Noviny/changesets/commit/83ba6d3f) - Convert various modules to TypeScript
844- [a966701d](https://github.com/Noviny/changesets/commit/a966701d) - Add repository information to package.json
845- [c00e65ef](https://github.com/Noviny/changesets/commit/c00e65ef) - Fix bug where unprovided command line options overrode the config file, leading to incorrect states
846- [8d2e700c](https://github.com/Noviny/changesets/commit/8d2e700c) - Remove unused function parseChangesetCommit
847- [7399648d](https://github.com/Noviny/changesets/commit/7399648d) - Make ids human readable
848
849- Updated dependencies [83ba6d3f]:
850 - get-workspaces@0.3.0
851
852## 1.1.3
853
854### Patch Changes
855
856- [67db935d](https://github.com/Noviny/changesets/commit/67db935d) - Fix release without built files
857
858## 1.1.2
859
860### Patch Changes
861
862- [c6f1c7b7](https://github.com/Noviny/changesets/commit/c6f1c7b7) [#46](https://github.com/Noviny/changesets/pull/46) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Convert a file to TypeScript
863- [9fe9ecff](https://github.com/Noviny/changesets/commit/9fe9ecff) [#45](https://github.com/Noviny/changesets/pull/45) Thanks [@Noviny](https://github.com/Noviny)! - Print out the last changes.md path in terminal as last step of adding a changeset
864- [61ac9ce7](https://github.com/Noviny/changesets/commit/61ac9ce7) [#42](https://github.com/Noviny/changesets/pull/42) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Make "All changed packages" option first in package list
865
866- Updated dependencies [355b4d00]:
867 - get-workspaces@0.2.0
868
869## 1.1.1
870
871### Patch Changes
872
873- [b93d04a2](https://github.com/Noviny/changesets/commit/b93d04a2) - Consume get-workspaces as dependency
874- [079eabae](https://github.com/Noviny/changesets/commit/079eabae) [#33](https://github.com/Noviny/changesets/pull/33) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix a bug with linked packages where it would break if there was a linked package that didn't have a changeset
875
876- Updated dependencies [b93d04a2]:
877 - get-workspaces@0.1.0
878
879## 1.1.0
880
881### Minor Changes
882
883- [6929624b](https://github.com/Noviny/changesets/commit/6929624b) [#27](https://github.com/Noviny/changesets/pull/27) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Add linked packages/lockstep
884
885## 1.0.1
886
887### Patch Changes
888
889- 9435d886: Fix binary and published files
890
891## 1.0.0
892
893### Major Changes
894
895- 51c8b0d6: Remove `noChangelog` flag in favor of `updateChangelog` flag (default behaviour remains the same).
896
897 If you were using this custom flag, you will need to replaces `noChangelog: true` with `updateChangelog: false`
898
899- 51c8b0d6: Rename commands from @atlaskit/build-releases
900
901 We are no longer mirroring the names from npm/yarn commands, so it is easy to write package scripts
902 for each command without footguns. The functionality of the commands remains the same. In addition,
903 the binary has been changed to `changeset`.
904
905 The new names are:
906
907 - `build-releases initialize` => `changeset init` (for ecosystem consistency)
908 - `build-releases changeset` => `changeset` (default command). You can also run `changeset add`
909 - `build-releases version` => `changeset bump`
910 - `build-releases publish` => `changeset release`
911
912 The function of these commands remains unchanged.
913
914 - 51c8b0d6: Change format of changelog entries
915
916 Previously changelog entries were in the form of:
917
918 ```md
919 ## 2.1.0
920
921 - [patch] Allows passing --public flag for publishing scoped packages [159c28e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/159c28e)
922 - [minor] Changes changelogs to be opt out rather than opt in [f461788](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f461788)
923 ```
924
925 which doesn't take into account the importance of particular entries. We are moving to an ordered system for changelog
926 entries, and to match this, we are updating the headings we use to the following format:
927
928 ```md
929 ## 2.1.0
930
931 ### Minor
932
933 - Allows passing --public flag for publishing scoped packages [159c28e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/159c28e)
934
935 ### Patch
936
937 - [minor] Changes changelogs to be opt out rather than opt in [f461788](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f461788)
938 ```
939
940 This changes the format of the default `getReleaseLine` from
941
942 ```js
943 const getReleaseLine = async (changeset, versionType) => {
944 const indentedSummary = changeset.summary
945 .split("\n")
946 .map(l => ` ${l}`.trimRight())
947 .join("\n");
948
949 return `- [${versionType}] ${changeset.commit}:\n\n${indentedSummary}`;
950 };
951 ```
952
953 to
954
955 ```js
956 const getReleaseLine = async (changeset, type) => {
957 const [firstLine, ...futureLines] = changeset.summary
958 .split("\n")
959 .map(l => l.trimRight());
960
961 return `- ${changeset.commit}: ${firstLine}\n${futureLines
962 .map(l => ` ${l}`)
963 .join("\n")}`;
964 };
965 ```
966
967 You will end up with some odd changelog entries if you do not update your release line.
968
969### Minor Changes
970
971- 51c8b0d6: Support non-bolt repositories
972
973 Changesets have been expanded to support:
974
975 - bolt repositories
976 - yarn workspaces-based repositories
977 - single package repositories.
978
979 Currently **not** supported: bolt repositories with nested workspaces.
980
981 To do this, functions that call out to bolt have been inlined, and obviously marked
982 within the file-system. In addition, the `get-workspaces` function has undergone
983 significant change, and will be extracted out into its own package soon.
984
985 This is to support other tools wanting this level of inter-operability.
986
987 If plans to modularize bolt proceed, we may go back to relying on its functions.
988
989 This should have no impact on use.
990
991 - 51c8b0d6: Add 'select all' and 'select all changed' options, to make mass-bumping easier.
992 - eeb4d5c6: Add new command: `status` - see Readme for more information
993
994# @atlaskit/build-releases - legacy changelog
995
996## 3.0.3
997
998- [patch][c87337f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c87337f):
999
1000 - The version command now removes empty folders before it starts. This should prevent a race condition in CI
1001
1002## 3.0.2
1003
1004- [patch][f7b030a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f7b030a):
1005
1006 - Fixes potential infinite loop in parseChangesetCommit
1007
1008## 3.0.1
1009
1010- [patch][494c1fe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/494c1fe):
1011
1012 - Update git commit message to match previous tooling.
1013
1014## 3.0.0
1015
1016- [major][44ec8bf" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/44ec8bf"
1017 d):
1018
1019 Changesets now use local file system - this has several effects:
1020
1021 1. Changesets will no longer automatically create a commit. You will need to add and commit the files yourself.
1022 2. Changesets are easier to modify. You should ONLY modify the changes.md file (_Not changes.json_).
1023 3. There will be a new directory which is `.changeset`, which will hold all the changesets.
1024
1025 Apart from these changes, your process using this should not have changed.
1026
1027 Changeset now accepts skipCI flag, where previously release commits automatically skipped CI. i.e.
1028
1029 ```
1030 yarn build-releases version --skipCI
1031 ```
1032
1033 **Breaking**: Changeset and version commands now accept `--commit` flag which makes them commit automatically (previously this was the default behaviour). Otherwise, these commands simply make the file-system changes.
1034
1035 ```
1036 yarn build-releases changeset --commit
1037 ```
1038
1039 We also introduce the `intitialize` command. See the package [README.md](https://www.npmjs.com/package/@atlaskit/build-releases) for more details about this.
1040
1041## 2.1.3
1042
1043- [patch] Bumps bolt version to get some bug fixes around publishing [493f5f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/493f5f7)
1044
1045## 2.1.2
1046
1047- [patch] Pulls in fix in bolt causing publishing to fail when running a yarn subprocess (see boltpkg/bolt #189) [2b36121](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b36121)
1048
1049## 2.1.1
1050
1051- [patch] Fixes bug where empty summaries would cause a changeset to not get found [25b30bf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25b30bf)
1052
1053## 2.1.0
1054
1055- [minor] Allows passing --public flag for publishing scoped packages [159c28e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/159c28e)
1056- [minor] Changes changelogs to be opt out rather than opt in [f461788](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f461788)
1057
1058## 2.0.0
1059
1060- [major] Completely refactors build-releases to be externally consumable 8458ef7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8458ef7)
1061
1062## 1.28.2
1063
1064- [patch] Bug fix and better error messages for changeset error [7f09b86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7f09b86)
1065
1066## 1.28.1
1067
1068- [patch] update flow dep, fix flow errors [722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
1069
1070## 1.28.0
1071
1072- [minor] Adds tagging to releases [34c64fd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/34c64fd)
1073
1074## 1.27.0
1075
1076- [minor] Splits out and exposes flattenChangesets function [5ee5f74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5ee5f74)
1077
1078## 1.26.0
1079
1080- [minor] Lots of new features (consider this package unstable and only for use internally) [7cdf2e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cdf2e6)
1081
\No newline at end of file