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