UNPKG

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