UNPKG

52.7 kBMarkdownView Raw
1# @changesets/cli
2
3## 2.10.0
4
5### Minor Changes
6
7- [`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
8
9* [`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
10
11### Patch Changes
12
13- [`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
14
15- Updated dependencies [[`1dd3117`](https://github.com/atlassian/changesets/commit/1dd311708c65321e1a1c99d36129190f940435ed), [`a57d163`](https://github.com/atlassian/changesets/commit/a57d16355ad7d67b18b768c8f79224d80afa507c)]:
16 - @changesets/git@1.0.6
17 - @changesets/types@3.1.1
18
19## 2.9.2
20
21### Patch Changes
22
23- [`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.
24
25## 2.9.1
26
27### Patch Changes
28
29- [`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.
30
31- Updated dependencies [[`377f5c3`](https://github.com/atlassian/changesets/commit/377f5c385ad9db4ff8458f159e2d452c39828567), [`377f5c3`](https://github.com/atlassian/changesets/commit/377f5c385ad9db4ff8458f159e2d452c39828567)]:
32 - @changesets/config@1.3.0
33
34## 2.9.0
35
36### Minor Changes
37
38- [`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.
39
40* [`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:
41
42 ```
43 {
44 ...
45 "ignore": ["pkg-a", "pkg-b"]
46 ...
47 }
48 ```
49
50 or you can pass the package names to the `--ignore` flag when using cli:
51
52 ```
53 yarn changeset version --ignore pkg-a --ignore --pkg-b
54 ```
55
56### Patch Changes
57
58- 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)]:
59 - @changesets/assemble-release-plan@3.0.0
60 - @changesets/apply-release-plan@4.0.0
61 - @changesets/get-release-plan@2.0.0
62 - @changesets/config@1.2.0
63 - @changesets/types@3.1.0
64
65## 2.8.0
66
67### Minor Changes
68
69- [`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:
70
71 ```
72 $ # Version packages to snapshot version
73 $ changeset version --snapshot
74 $ # Publish packages under exprimental tag, keeping next and latest tag clean
75 $ changeset publish --tag exprimental
76 ```
77
78* [`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.
79
80* [`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`.
81
82### Patch Changes
83
84- Updated dependencies [[`6d0790a`](https://github.com/atlassian/changesets/commit/6d0790a7aa9f00e350e9394f419e4b3c7ee7ca6a)]:
85 - @changesets/apply-release-plan@3.1.0
86 - @changesets/assemble-release-plan@2.1.0
87
88## 2.7.2
89
90### Patch Changes
91
92- [`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.
93
94* [`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.
95
96* Updated dependencies [[`90f3b65`](https://github.com/atlassian/changesets/commit/90f3b651f9c0403920b17801b84a2fbe6f190e2a)]:
97 - @changesets/apply-release-plan@3.0.3
98
99## 2.7.1
100
101### Patch Changes
102
103- [`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
104
105- Updated dependencies [[`52a88ce`](https://github.com/atlassian/changesets/commit/52a88ce816692f6b18fa8f3f67d707b78b0b8210)]:
106 - @changesets/apply-release-plan@3.0.1
107
108## 2.7.0
109
110### Minor Changes
111
112- [`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.
113
114### Patch Changes
115
116- 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)]:
117 - @changesets/git@1.0.5
118 - @changesets/apply-release-plan@3.0.0
119 - @changesets/types@3.0.0
120 - @changesets/config@1.1.0
121 - @changesets/assemble-release-plan@2.0.4
122 - @changesets/get-release-plan@1.0.4
123 - @changesets/pre@1.0.4
124 - @changesets/read@0.4.6
125 - @changesets/write@0.1.3
126
127## 2.6.5
128
129### Patch Changes
130
131- [`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.
132
133- Updated dependencies [[`d678da5`](https://github.com/atlassian/changesets/commit/d678da5e9936862bb66e5edb538c5b8be23d4ffe)]:
134 - @changesets/assemble-release-plan@2.0.2
135
136## 2.6.4
137
138### Patch Changes
139
140- Updated dependencies [[`1706fb7`](https://github.com/atlassian/changesets/commit/1706fb751ecc2f5a792c42f467b2063078d58716)]:
141 - @changesets/apply-release-plan@2.0.1
142 - @changesets/assemble-release-plan@2.0.1
143 - @changesets/config@1.0.3
144 - @changesets/errors@0.1.4
145 - @changesets/get-release-plan@1.0.3
146 - @changesets/git@1.0.3
147 - @changesets/logger@0.0.5
148 - @changesets/pre@1.0.3
149 - @changesets/read@0.4.5
150 - @changesets/types@2.0.1
151 - @changesets/write@0.1.2
152
153## 2.6.3
154
155### Patch Changes
156
157- [`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
158
159- 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)]:
160 - @changesets/apply-release-plan@2.0.0
161 - @changesets/assemble-release-plan@2.0.0
162 - @changesets/types@2.0.0
163 - @changesets/get-release-plan@1.0.2
164 - @changesets/config@1.0.2
165 - @changesets/git@1.0.2
166 - @changesets/pre@1.0.2
167 - @changesets/read@0.4.4
168 - @changesets/write@0.1.1
169
170## 2.6.2
171
172### Patch Changes
173
174- [`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
175
176* [`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.
177
178* 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)]:
179 - @changesets/apply-release-plan@1.0.1
180 - @changesets/assemble-release-plan@1.0.1
181 - @changesets/config@1.0.1
182 - @changesets/errors@0.1.3
183 - @changesets/get-release-plan@1.0.1
184 - @changesets/git@1.0.1
185 - @changesets/logger@0.0.4
186 - @changesets/parse@0.3.3
187 - @changesets/pre@1.0.1
188 - @changesets/read@0.4.3
189 - @changesets/test-utils@0.0.4
190 - @changesets/types@1.0.1
191
192## 2.6.1
193
194### Patch Changes
195
196- [`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
197
198* [`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
199
200- [`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
201
202- 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)]:
203 - @changesets/types@1.0.0
204 - @changesets/git@1.0.0
205 - @changesets/pre@1.0.0
206 - @changesets/get-release-plan@1.0.0
207 - @changesets/apply-release-plan@1.0.0
208 - @changesets/parse@0.3.2
209 - @changesets/write@0.1.0
210 - @changesets/config@1.0.0
211 - @changesets/assemble-release-plan@1.0.0
212 - @changesets/read@0.4.2
213
214## 2.6.0
215
216### Minor Changes
217
218- [`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
219
220### Patch Changes
221
222- [`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
223
224- Updated dependencies []:
225 - @changesets/apply-release-plan@0.4.2
226
227## 2.5.2
228
229### Patch Changes
230
231- [`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`
232
233 ![changeset add command with single package repo](https://user-images.githubusercontent.com/11481355/75123292-40f78f00-56fa-11ea-9e16-fe3f5e2d9cf5.gif)
234
235## 2.5.1
236
237### Patch Changes
238
239- [`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.
240
241- Updated dependencies [[`1282ef6`](https://github.com/atlassian/changesets/commit/1282ef698761c1f634fb409842cc7de6b4d03da4)]:
242 - @changesets/assemble-release-plan@0.3.1
243 - @changesets/apply-release-plan@0.4.1
244
245## 2.5.0
246
247### Minor Changes
248
249- [`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.
250
251* [`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.
252
253### Patch Changes
254
255- [`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.
256
257* [`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.
258
259- [`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.
260
261- 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)]:
262 - get-workspaces@0.6.0
263 - @changesets/apply-release-plan@0.4.0
264 - get-dependents-graph@0.2.0
265 - @changesets/get-release-plan@0.4.0
266 - @changesets/git@0.4.0
267 - @changesets/pre@0.2.0
268 - @changesets/read@0.4.1
269
270## 2.4.1
271
272### Patch Changes
273
274- [`6c0b53d`](https://github.com/atlassian/changesets/commit/6c0b53da63f287dfa9af45532f1f1d628b518b25) [#227](https://github.com/atlassian/changesets/pull/227) - Fix received typo
275
276## 2.4.0
277
278### Minor Changes
279
280- [`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
281
282* [`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
283
284### Patch Changes
285
286- [`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
287
288* [`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
289* 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)]:
290 - @changesets/get-release-plan@0.3.0
291 - @changesets/read@0.4.0
292 - @changesets/config@0.3.0
293 - @changesets/git@0.3.0
294 - @changesets/apply-release-plan@0.3.1
295
296## 2.3.3
297
298### Patch Changes
299
300- [`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
301- Updated dependencies [[`9cd1eaf`](https://github.com/atlassian/changesets/commit/9cd1eafc1620894a39fe10d3e393ad8f812df53a), [`b17ed74`](https://github.com/atlassian/changesets/commit/b17ed7411ea57e38b20e646321d5053b213d198a)]:
302 - @changesets/logger@0.0.3
303 - @changesets/pre@0.1.1
304 - @changesets/test-utils@0.0.3
305 - @changesets/git@0.2.5
306 - @changesets/config@0.2.4
307
308## 2.3.2
309
310### Patch Changes
311
312- [`7c1269de`](https://github.com/atlassian/changesets/commit/7c1269de31f02c731fdb69d7be037b83e12a0445) Thanks [@Noviny](https://github.com/Noviny)! - Fix previous version not having correctly built dists
313
314## 2.3.1
315
316### Patch Changes
317
318- [`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
319
320## 2.3.0
321
322### Minor Changes
323
324- [`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/master/docs/prereleases.md).
325
326### Patch Changes
327
328- [`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
329
330* [`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
331* 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)]:
332 - @changesets/assemble-release-plan@0.3.0
333 - @changesets/apply-release-plan@0.3.0
334 - @changesets/get-release-plan@0.2.0
335 - @changesets/types@0.4.0
336 - @changesets/errors@0.1.2
337 - @changesets/pre@0.1.0
338 - @changesets/config@0.2.3
339 - get-dependents-graph@0.1.2
340 - get-workspaces@0.5.2
341 - @changesets/git@0.2.4
342 - @changesets/logger@0.0.2
343 - @changesets/parse@0.3.1
344 - @changesets/read@0.3.1
345 - @changesets/test-utils@0.0.2
346
347## 2.2.0
348
349### Minor Changes
350
351- [`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
352
353 Previously, every package in your repository had one 'public' or 'restricted' setting.
354
355 Now, if a workspace has `publishConfig.access` in its package.json, we will prioritize it over the global changesets config.
356
357- [`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.
358
359### Patch Changes
360
361- [`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
362
363* [`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
364
365 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:
366
367 - `private: true` - the package will not be published to npm (worked)
368 - `access: public` - the package will be publicly published to npm (even if it uses a scope) (worked)
369 - `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.
370
371 Now, we pass the correct access options `public` or `restricted`.
372
373* [`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
374
375* 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)]:
376 - @changesets/logger@0.0.1
377 - @changesets/test-utils@0.0.1
378 - @changesets/config@0.2.2
379 - @changesets/apply-release-plan@0.2.3
380 - get-workspaces@0.5.1
381 - @changesets/types@0.3.1
382 - @changesets/errors@0.1.1
383
384## 2.1.2
385
386### Patch Changes
387
388- Remove console log
389- When 2fa token is wrong (ie, it has expired) reprompt instead of failing
390
391## 2.1.1
392
393### Patch Changes
394
395- [`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.
396
397 Under the previous behaviour, JSON parsing the response to publish failed, causing git tags to not be created.
398
399## 2.1.0
400
401### Minor Changes
402
403- [`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.
404
405### Patch Changes
406
407- [`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.
408
409- Updated dependencies [[`8dce96f`](https://github.com/atlassian/changesets/commit/8dce96f8aec43f82b35e65f54b06cbeed3275885)]:
410 - @changesets/parse@0.3.0
411 - @changesets/read@0.3.0
412 - @changesets/get-release-plan@0.1.3
413
414## 2.0.4
415
416### Patch Changes
417
418- [`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
419
420* [`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
421
422- [`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
423
424* [`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
425
426* Updated dependencies [[`72babcb`](https://github.com/atlassian/changesets/commit/72babcbccbdd41618d9cb90b2a8871fe63643601)]:
427 - @changesets/apply-release-plan@0.2.2
428 - @changesets/git@0.2.3
429
430## 2.0.3
431
432### Patch Changes
433
434- [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)
435
436- Updated dependencies [89c0894]:
437 - @changesets/git@0.2.2
438 - @changesets/get-release-plan@0.1.2
439 - @changesets/read@0.2.2
440
441## 2.0.2
442
443### Patch Changes
444
445- [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
446
447* [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)
448
449* Updated dependencies [3dd003c, 1ff73b7, 8c43fa0, 0320391, 1ff73b7]:
450 - @changesets/get-release-plan@0.1.1
451 - @changesets/apply-release-plan@0.2.1
452 - @changesets/assemble-release-plan@0.2.1
453 - get-dependents-graph@0.1.1
454 - @changesets/git@0.2.1
455 - @changesets/parse@0.2.1
456 - @changesets/read@0.2.1
457 - @changesets/types@0.3.0
458 - @changesets/config@0.2.1
459
460## 2.0.1
461
462### Patch Changes
463
464- [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
465
466- [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
467
468* [709493b4](https://github.com/atlassian/changesets/commit/709493b4) - Fix version always removing legacy changesets even when the commit option is false
469
470- [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
471
472## 2.0.0
473
474Welcome to version 2 🎉🦋
475
476Quickest summary of the most exciting changes:
477
478🦋 Changesets (the written files) have a new format! They are now human readable/writeable
479
480🦋 The config options have been completely rethought to be clearer and more concise
481
482🦋 Changesets has been significantly decomposed, allowing an easier time building tools on top of it
483
484### Major Changes
485
486- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
487
488 #### Changed command line argument names
489
490 We have removed command line arguments that overrwrite the config. The following commands can no longer
491 be passed in:
492
493 - `updateChangelog`
494 - `isPublic`
495 - `skipCI`
496 - `commit`
497
498 This has been done to avoid overloading the number of ways you can pass options, as within any single
499 repository, there should be a single consistent way in which these values are always provided.
500
501- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
502
503 #### Changed how Config works
504
505 The Changesets config is now written in JSON with fewer options. The new defaults are shown below.
506
507 ```json
508 {
509 "$schema": "https://unpkg.com/@changesets/config/schema.json",
510 "changelog": "@changesets/cli/changelog",
511 "commit": false,
512 "linked": [],
513 "access": "private"
514 }
515 ```
516
517 **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.
518
519 ##### Migrating
520
521 1. Run `yarn changeset init` to create a config file in the new format at `.changeset/config.json`
522 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
523 1. Set `access` to `"public"` if `publishOptions.public` is `true`, otherwise set it to `"private"`
524 1. If you use `linked`, copy your linked package groups from the JS config to the the JSON file
525 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.
526 1. Delete `.changeset/config.js`
527
528- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
529
530 #### Changelog generation functions have minor changes
531
532 In addition to how these functions are defined (see changes to config), the data that is passed through
533 to these functions is notably different to what it was before. For the most part, the changelog functions
534 simply receive richer information, based on the new changelog format.
535
536 **BREAKING**: The release objects and dependency release objects now use `release.newVersion` for the latest
537 version, instead of the previous `release.version`.
538
539 The `@changesets/types` package includes exports for both `GetReleaseLine` as well as `GetDependencyReleaseLine`.
540
541 If you were using the default changelog generation scripts, you won't need to worry. Otherwise, we recommend updating
542 your command and manually running `version` to ensure you are still getting the changelogs you expect.
543
544 **Looking further forward** We are already aware that we want to change how people write these generation functions,
545 including opening up more flexibility, and access to things such as the underlying release plan. This will likely require
546 a breaking change in the future, but we thought we were changing enough this release that we didn't want too much turmoil. 😁
547
548- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)!
549
550 #### Renamed commands
551
552 - `bump` has been renamed to `version`
553 - `release` has been renamed to `publish`
554
555 This is a reversion to the changes made in `1.0.0`.
556
557 **Reasoning**: We switched the names because we wanted to avoid confusion with the related
558 tasks in npm. While technically it removed confusion that this was doing the same thing as
559 `npm version`, or `npm publish`, the new terms did not convey easily grokkable meanings. As
560 we weren't benefiting from the new names, we have decided to revert to names that have more
561 meaning within the community, even though these commands do slightly more than this.
562
563### Minor Changes
564
565- [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.
566
567### Patch Changes
568
569- Updated dependencies [ca8ff585, 296a6731]:
570 - @changesets/get-release-plan@0.1.0
571 - @changesets/apply-release-plan@0.2.0
572 - @changesets/assemble-release-plan@0.2.0
573 - @changesets/config@0.2.0
574 - get-dependents-graph@0.1.0
575 - get-workspaces@0.5.0
576 - @changesets/git@0.2.0
577 - @changesets/parse@0.2.0
578 - @changesets/read@0.2.0
579 - @changesets/types@0.2.0
580
581## 1.3.3
582
583### Patch Changes
584
585- [a15abbf9](https://github.com/changesets/changesets/commit/a15abbf9) - Previous release shipped unbuilt code - fixing that
586
587## 1.3.1
588
589### Patch Changes
590
591- [c46e9ee7](https://github.com/changesets/changesets/commit/c46e9ee7) - Use 'spawndamnit' package for all new process spawning
592- [5b28c527](https://github.com/changesets/changesets/commit/5b28c527) - Fix 2FA check on release
593- [6f8eb05a](https://github.com/changesets/changesets/commit/6f8eb05a) - Updated readme
594- [6d119893](https://github.com/changesets/changesets/commit/6d119893) - Move `git` module to be its own external module
595
596## 1.3.0
597
598### Minor Changes
599
600- [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
601- [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:
602
603 - Prompt for an OTP code when required
604 - Add `--otp` option to release command
605
606### Patch Changes
607
608- [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
609- [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
610- [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
611- [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
612
613- Updated dependencies [cbb2c953]:
614 - get-workspaces@0.4.0
615
616## 1.2.0
617
618### Minor Changes
619
620- [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.
621 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.
622
623 ![example of using the CLI with the new questions](https://user-images.githubusercontent.com/11481355/58873398-a1c4de80-8709-11e9-80e8-16061e395b15.gif)
624
625### Patch Changes
626
627- [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
628- [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
629
630 ![changeset package question in atlaskit](https://user-images.githubusercontent.com/11481355/59012109-ff783880-8879-11e9-9b68-77ab672921fa.png)
631
632- [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
633
634 ![changeset status --verbose output](https://user-images.githubusercontent.com/11481355/59011589-875d4300-8878-11e9-9e69-cada41f83261.png)
635
636- [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
637
638## 1.1.5
639
640### Patch Changes
641
642- [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.
643
644 If you want this option turned off, add `disabledLanguage: ["markdown"] to your prettier config.
645
646 - [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
647
648## 1.1.4
649
650### Patch Changes
651
652- [83ba6d3f](https://github.com/Noviny/changesets/commit/83ba6d3f) - Convert various modules to TypeScript
653- [a966701d](https://github.com/Noviny/changesets/commit/a966701d) - Add repository information to package.json
654- [c00e65ef](https://github.com/Noviny/changesets/commit/c00e65ef) - Fix bug where unprovided command line options overrode the config file, leading to incorrect states
655- [8d2e700c](https://github.com/Noviny/changesets/commit/8d2e700c) - Remove unused function parseChangesetCommit
656- [7399648d](https://github.com/Noviny/changesets/commit/7399648d) - Make ids human readable
657
658- Updated dependencies [83ba6d3f]:
659 - get-workspaces@0.3.0
660
661## 1.1.3
662
663### Patch Changes
664
665- [67db935d](https://github.com/Noviny/changesets/commit/67db935d) - Fix release without built files
666
667## 1.1.2
668
669### Patch Changes
670
671- [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
672- [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
673- [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
674
675- Updated dependencies [355b4d00]:
676 - get-workspaces@0.2.0
677
678## 1.1.1
679
680### Patch Changes
681
682- [b93d04a2](https://github.com/Noviny/changesets/commit/b93d04a2) - Consume get-workspaces as dependency
683- [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
684
685- Updated dependencies [b93d04a2]:
686 - get-workspaces@0.1.0
687
688## 1.1.0
689
690### Minor Changes
691
692- [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
693
694## 1.0.1
695
696### Patch Changes
697
698- 9435d886: Fix binary and published files
699
700## 1.0.0
701
702### Major Changes
703
704- 51c8b0d6: Remove `noChangelog` flag in favor of `updateChangelog` flag (default behaviour remains the same).
705
706 If you were using this custom flag, you will need to replaces `noChangelog: true` with `updateChangelog: false`
707
708- 51c8b0d6: Rename commands from @atlaskit/build-releases
709
710 We are no longer mirroring the names from npm/yarn commands, so it is easy to write package scripts
711 for each command without footguns. The functionality of the commands remains the same. In addition,
712 the binary has been changed to `changeset`.
713
714 The new names are:
715
716 - `build-releases initialize` => `changeset init` (for ecosystem consistency)
717 - `build-releases changeset` => `changeset` (default command). You can also run `changeset add`
718 - `build-releases version` => `changeset bump`
719 - `build-releases publish` => `changeset release`
720
721 The function of these commands remains unchanged.
722
723 - 51c8b0d6: Change format of changelog entries
724
725 Previously changelog entries were in the form of:
726
727 ```md
728 ## 2.1.0
729
730 - [patch] Allows passing --public flag for publishing scoped packages [159c28e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/159c28e)
731 - [minor] Changes changelogs to be opt out rather than opt in [f461788](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f461788)
732 ```
733
734 which doesn't take into account the importance of particular entries. We are moving to an ordered system for changelog
735 entries, and to match this, we are updating the headings we use to the following format:
736
737 ```md
738 ## 2.1.0
739
740 ### Minor
741
742 - Allows passing --public flag for publishing scoped packages [159c28e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/159c28e)
743
744 ### Patch
745
746 - [minor] Changes changelogs to be opt out rather than opt in [f461788](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f461788)
747 ```
748
749 This changes the format of the default `getReleaseLine` from
750
751 ```js
752 const getReleaseLine = async (changeset, versionType) => {
753 const indentedSummary = changeset.summary
754 .split("\n")
755 .map(l => ` ${l}`.trimRight())
756 .join("\n");
757
758 return `- [${versionType}] ${changeset.commit}:\n\n${indentedSummary}`;
759 };
760 ```
761
762 to
763
764 ```js
765 const getReleaseLine = async (changeset, type) => {
766 const [firstLine, ...futureLines] = changeset.summary
767 .split("\n")
768 .map(l => l.trimRight());
769
770 return `- ${changeset.commit}: ${firstLine}\n${futureLines
771 .map(l => ` ${l}`)
772 .join("\n")}`;
773 };
774 ```
775
776 You will end up with some odd changelog entries if you do not update your release line.
777
778### Minor Changes
779
780- 51c8b0d6: Support non-bolt repositories
781
782 Changesets have been expanded to support:
783
784 - bolt repositories
785 - yarn workspaces-based repositories
786 - single package repositories.
787
788 Currently **not** supported: bolt repositories with nested workspaces.
789
790 To do this, functions that call out to bolt have been inlined, and obviously marked
791 within the file-system. In addition, the `get-workspaces` function has undergone
792 significant change, and will be extracted out into its own package soon.
793
794 This is to support other tools wanting this level of inter-operability.
795
796 If plans to modularize bolt proceed, we may go back to relying on its functions.
797
798 This should have no impact on use.
799
800 - 51c8b0d6: Add 'select all' and 'select all changed' options, to make mass-bumping easier.
801 - eeb4d5c6: Add new command: `status` - see Readme for more information
802
803# @atlaskit/build-releases - legacy changelog
804
805## 3.0.3
806
807- [patch][c87337f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c87337f):
808
809 - The version command now removes empty folders before it starts. This should prevent a race condition in CI
810
811## 3.0.2
812
813- [patch][f7b030a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f7b030a):
814
815 - Fixes potential infinite loop in parseChangesetCommit
816
817## 3.0.1
818
819- [patch][494c1fe](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/494c1fe):
820
821 - Update git commit message to match previous tooling.
822
823## 3.0.0
824
825- [major][44ec8bf" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/44ec8bf"
826 d):
827
828 Changesets now use local file system - this has several effects:
829
830 1. Changesets will no longer automatically create a commit. You will need to add and commit the files yourself.
831 2. Changesets are easier to modify. You should ONLY modify the changes.md file (_Not changes.json_).
832 3. There will be a new directory which is `.changeset`, which will hold all the changesets.
833
834 Apart from these changes, your process using this should not have changed.
835
836 Changeset now accepts skipCI flag, where previously release commits automatically skipped CI. i.e.
837
838 ```
839 yarn build-releases version --skipCI
840 ```
841
842 **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.
843
844 ```
845 yarn build-releases changeset --commit
846 ```
847
848 We also introduce the `intitialize` command. See the package [README.md](https://www.npmjs.com/package/@atlaskit/build-releases) for more details about this.
849
850## 2.1.3
851
852- [patch] Bumps bolt version to get some bug fixes around publishing [493f5f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/493f5f7)
853
854## 2.1.2
855
856- [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)
857
858## 2.1.1
859
860- [patch] Fixes bug where empty summaries would cause a changeset to not get found [25b30bf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25b30bf)
861
862## 2.1.0
863
864- [minor] Allows passing --public flag for publishing scoped packages [159c28e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/159c28e)
865- [minor] Changes changelogs to be opt out rather than opt in [f461788](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f461788)
866
867## 2.0.0
868
869- [major] Completely refactors build-releases to be externally consumable 8458ef7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8458ef7)
870
871## 1.28.2
872
873- [patch] Bug fix and better error messages for changeset error [7f09b86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7f09b86)
874
875## 1.28.1
876
877- [patch] update flow dep, fix flow errors [722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
878
879## 1.28.0
880
881- [minor] Adds tagging to releases [34c64fd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/34c64fd)
882
883## 1.27.0
884
885- [minor] Splits out and exposes flattenChangesets function [5ee5f74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5ee5f74)
886
887## 1.26.0
888
889- [minor] Lots of new features (consider this package unstable and only for use internally) [7cdf2e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cdf2e6)
890
\No newline at end of file