UNPKG

54.8 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6and from `v0.7.0`, this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
8## [Unreleased]
9
10N/A
11
12## [0.58.1] - 2018-09-13
13
14### Changed
15
16Exactly the same as 0.58.0. Needed to fix a markdown formatting issue.
17
18## [0.58.0] - 2018-09-13
19
20### Changed
21
22- Breaking change - improve Polaris tree shaking by consuming minimally transpiled js/scss [[#717](https://github.com/Shopify/sewing-kit/pull/717)]
23
24### Migration suggestions
25
26- Upgrade to `@shopify/polaris@3`
27
28## [0.57.0] - 2018-09-11
29
30### Added
31
32- Multiple graphql schema support using `.graphqlconfig` files ([Prisma graphql-config](https://github.com/prisma/graphql-config) format via [`graphql-typescript-definitions`](https://github.com/Shopify/graphql-tools-web) as of `0.11.0`). [[#949](https://github.com/Shopify/sewing-kit/pull/949)]
33
34### Fixed
35
36- Server tests are now run when performing `sewing-kit test` locally. [[#904](https://github.com/Shopify/sewing-kit/pull/904)]
37
38### Removed
39
40- Removed `--app-only` and `--server-only` arguments from `sewing-kit test`. This functionality can be provided by passing in path matches. [[#904](https://github.com/Shopify/sewing-kit/pull/904)]
41
42### Migration suggestions
43
44- Replace calls to `sewing-kit test --app-only` with `sewing-kit test "$(pwd)/(app|client)"`
45- Replace calls to `sewing-kit test --server-only` with `sewing-kit test "$(pwd)/server"`
46- Update `.vscode/launch.json` debug commands arguments to target specific folders (e.g. replace `"args": ["test", "--app-only", "--debug"]` with `"args": ["test", "--debug", "${workspaceRoot}/(app|client)"]`)
47- Replace schema types imports from `import {...} from 'types/graphql';` to `import {...} from 'types/graphql/${projectName}-types';` (for some `projectName` defined in the `.graphqlconfig` file, or just `types/graphql/types` for a nameless project).
48- Delete `.gqlconfig` if it exists. Create a new `.graphqlconfig` (see the [example project]())
49- Optionally, install [`prisma.vscode-graphql` VSCode extension](https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql)
50
51## [0.56.1] - 2018-08-28
52
53### Fixed
54
55- "Hang tight" redirect script no longer 404s [[#907](https://github.com/Shopify/sewing-kit/pull/907)]
56
57## [0.56.0] - 2018-08-27
58
59### Added
60
61- Dashboard page with asset / compilation information [[#838](https://github.com/Shopify/sewing-kit/pull/838/files)]
62- Rails projects now automatically gzip js/css/svg assets [[#879](https://github.com/Shopify/sewing-kit/pull/879)]
63- Type-safe configuration & autocomplete via `sewing-kit.config.ts` files [[#798](https://github.com/Shopify/sewing-kit/pull/798)]
64
65### Fixed
66
67- No more 404 errors for projects without a `plugins.vendor` configuration [[#898](https://github.com/Shopify/sewing-kit/pull/898)]
68
69### Migration suggestions
70
71- Rails only - remove `compression-webpack-plugin` from your project
72- Try converting `sewing-kit.config.js` to `sewing-kit.config.ts`
73
74## [0.55.0] - 2018-08-25
75
76### Added
77
78- Support `staging` mode [[#853](https://github.com/Shopify/sewing-kit/pull/853)]
79- Readable error for missing stylelint config [[#873](https://github.com/Shopify/sewing-kit/pull/873)]
80- `sewing-kit manifest` includes a `path` property which the `sewing_kit` gem uses to reload development manifests quickly [[#865](https://github.com/Shopify/sewing-kit/pull/865)]
81
82### Changed
83
84- Stack-traces from error logs no longer output at any verbosity level below `debug` [[#866](https://github.com/Shopify/sewing-kit/pull/866)]
85- Simpler downloads for GraphQL schemas in CI [[#892](https://github.com/Shopify/sewing-kit/pull/892/files)]
86- Reduce linting noise by hiding GraphQL fixture passes (via a `graphql-validate-fixtures` update) [[#871](https://github.com/Shopify/sewing-kit/pull/871)]
87
88### Fixed
89
90- Fail fast with a descriptive error message when `dev.yml` uses `type: ruby` [[#861](https://github.com/Shopify/sewing-kit/pull/861)]
91- Fail fast with a descriptive error message when `railgun.yml` and `dev.yml` ports are misconfigured [[#861](https://github.com/Shopify/sewing-kit/pull/861)]
92- Do not use `dev` hostname when there `railgun.yml` does not exist [[#876](https://github.com/Shopify/sewing-kit/pull/876)]
93- Fix config validation when Procfile has nonstandard file extensions [[#886](https://github.com/Shopify/sewing-kit/pull/886)]
94- Allow TypeScript projects to have non-TypeScript entrypoints [[#882](https://github.com/Shopify/sewing-kit/pull/882)]
95- Faster `sewing-kit test` startup time [[#895](https://github.com/Shopify/sewing-kit/pull/895)]
96
97### Removed
98
99- The `env` object passed to `sewing-kit.config.js`'s callback no longer provides `env.isProductionClient` / `env.isProductionServer`
100
101### Migration suggestions
102
103- Replace calls to `env.isProductionClient` with `env.isClient && env.hasProductionAssets`
104- Replace calls to `env.isProductionServer` with `env.isServer && env.hasProductionAssets`
105
106## [0.54.0] - 2018-08-20
107
108### Added
109
110- 404 responses now display a list of available assets [[#831](https://github.com/Shopify/sewing-kit/pull/831)]
111- 👨‍💻 Gracefully error when typescript is not installed but the app entrypoint uses a `.ts`/`.tsx` file [[#852](https://github.com/Shopify/sewing-kit/pull/852)]
112- Show meaningful error messages `tsconfig.json` does not exist [[#841](https://github.com/Shopify/sewing-kit/pull/841)]
113
114### Changed
115
116- Update required version of `webpack-dev-server` to `^3.1.5` [[#850](https://github.com/Shopify/sewing-kit/pull/850)]
117- Use `stylelint-prettier` to format our styles instead of `prettier-stylelint-formatter`. This is a stylelint plugin that exposes prettier errors as stylelint linting errors rather than using a wrapper to run `prettier`, then `stylelint`. This is similar to how we handle prettier and eslint integration for our js/ts files. [[#808](https://github.com/Shopify/sewing-kit/pull/808)]
118- Return a default manifest file that contains a redirection script for the 'Hang Tight!' page when loading the manifest fails in a Rails dev environment. [[#834](https://github.com/Shopify/sewing-kit/pull/834)]
119- Update `jest` to version `^23.0.0` including `jest-watch-typeahead` watch plugins [[#666](https://github.com/Shopify/sewing-kit/pull/666)]
120
121### Fixed
122
123- Dev mode 404 responses shouldn't cause oblique CSP errors [[#831](https://github.com/Shopify/sewing-kit/pull/831)]
124
125## [0.53.1] - 2018-08-01
126
127### Fixed
128
129- Vendor DLL now consumes transpiled sources [[#787](https://github.com/Shopify/sewing-kit/pull/787)]
130
131## [0.53.0] - 2018-07-31
132
133### Added
134
135- Display asset server hosts/ports on startup [[#767](https://github.com/Shopify/sewing-kit/pull/767)]
136- Vendor DLL can now be removed via `sewing-kit clean --vendor-dll` [[#769](https://github.com/Shopify/sewing-kit/pull/769)]
137- All commands accept user-provided log level via `--log-level` [[#722](https://github.com/Shopify/sewing-kit/pull/772)]
138
139### Changed
140
141- Update dependency `stylelint-config-shopify@5.1.2` [[#754](https://github.com/Shopify/sewing-kit/pull/754)]
142- Node apps with a `railgun.yml` host now serve development assets via `http://<railgun host>/webpack/assets` [[#763](https://github.com/Shopify/sewing-kit/pull/763)]
143- Rails only - all non-`development` environments now default to `/bundles` as a public path [[#764](https://github.com/Shopify/sewing-kit/pull/764)]
144- Consistent output message format [[#768](https://github.com/Shopify/sewing-kit/pull/768)]
145- GraphQL support is now activated using `plugins.graphql` [[#735](https://github.com/Shopify/sewing-kit/pull/735/files)]
146
147### Fixed
148
149- Remove `--fix` arg from lint/format suggestion [[#777](https://github.com/Shopify/sewing-kit/pull/777)]
150- Upgraded to latest version of GraphQL/ TypeScript dependencies, which fixes issues with TypeScript types of GraphQL unions [[#778](https://github.com/Shopify/sewing-kit/pull/778)]
151
152### Removed
153
154- Remove logic for long-deprecated `dev.yml#railgun.proxy` config [[#766](https://github.com/Shopify/sewing-kit/pull/766)]
155
156## [0.52.0] - 2018-07-18
157
158### Added
159
160- `sewing-kit lint` now accepts `--no-json`. Use `--no-json` to stop linting of JSON files in your project.
161
162### Changed
163
164- Breaking change - Upgraded to `eslint-plugin-shopify@23.0.0` [[#755](https://github.com/Shopify/sewing-kit/pull/755)]
165 - Please refer to the `eslint-plugin-shopify` [release notes](https://github.com/Shopify/eslint-plugin-shopify/releases/tag/v23.0.0) to understand why your `lint` is failing
166
167### Fixed
168
169- `lint` now passes the `--styles` value down to Prettier instead of assuming styles should be always be linted [[#752](https://github.com/Shopify/sewing-kit/pull/752)]
170
171## [0.51.1]
172
173### Fixed
174
175- Fix Rails integration tests by outputting to `public/bundles` again [[#750](https://github.com/Shopify/sewing-kit/pull/750)]
176
177## [0.51.0]
178
179### Changed
180
181- Prefer many small bundles over fewer large bundles [[#747](https://github.com/Shopify/sewing-kit/pull/747)]
182- Added integrity sha to react-loadable.json async chunk manifest for subresource integrity on CDN requests [[#739](https://github.com/Shopify/sewing-kit/pull/739)]
183
184### Fixed
185
186- Don't report erroneous module shaking information [[#746](https://github.com/Shopify/sewing-kit/pull/746)]
187
188## [0.50.1]
189
190### Changed
191
192- Update dependency `stylelint-config-shopify@5.1.1` [[#744](https://github.com/Shopify/sewing-kit/pull/744)]
193
194## [0.50.0]
195
196### Added
197
198- Cache SVG icons [[#722](https://github.com/Shopify/sewing-kit/pull/722)]
199- Fail on unexpected CSS side-effect module removal [[#728](https://github.com/Shopify/sewing-kit/pull/728/files)]
200- `--focus` option to only build selected sections for `sewing-kit dev` and `sewing-kit build` [[#734](https://github.com/Shopify/sewing-kit/pull/734)]
201
202### Changed
203
204- Update dependencies (`webpack@4.14.0`, `hard-source@0.9.0`, `yargs@12.0.1`) [[#730](https://github.com/Shopify/sewing-kit/pull/730)]
205- Update dependencies (`babel-loader@7.1.5`, `webpack@4.15.1`, `hard-source@0.10.1`, `node-sass@4.9.1`) [[#743](https://github.com/Shopify/sewing-kit/pull/743)]
206
207### Fixed
208
209- Don't overload CI servers with many parallel Uglify threads [[#721](https://github.com/Shopify/sewing-kit/pull/721)]
210- Fix webpack plugin deprecation warnings during compilation [[#738](https://github.com/Shopify/sewing-kit/pull/738/files)]
211- `sewing-kit playground` no longer exits with an error for Vim users [[#740](https://github.com/Shopify/sewing-kit/pull/740)]
212- Playgrounds now automatically open with the cursor positioned at the most likely line/column for editing content [[#740](https://github.com/Shopify/sewing-kit/pull/740)]
213
214### Migration suggestions
215
216- Polaris applications **must** upgrade to `@shopify/polaris@2.2.1`
217- Entrypoints using `import '@shopify/polaris/styles/components.scss';` **must** switch to conditionally importing via `plugins.entry`, e.g.:
218
219```js
220module.exports = function(plugins, env) {
221 return {
222 plugins: [
223 plugins.entry({
224 main: [
225 env.isDevelopment
226 ? '@shopify/polaris/styles/components.scss'
227 : undefined,
228 path.join('path/to/entry.js'),
229 ].filter(Boolean),
230 }),
231 ],
232 };
233};
234```
235
236## [0.49.1]
237
238### Fixed
239
240- Ignore TypeScript import/export errors in `test` mode builds [[#716](https://github.com/Shopify/sewing-kit/pull/716)]
241
242## [0.49.0]
243
244### Changed
245
246- Breaking: upgraded all GraphQL-related dependencies. All tools now rely on a minimum of `graphql@0.13.0`. Additionally, the upgraded version of `typescript-graphql-definitions` generates a different structure for type definitions in order to more accurately represent union and interface types. This may require updates to your type references. [[#671](https://github.com/Shopify/sewing-kit/pull/671)]
247
248### Migration suggestions
249
250- Some projects may see issues with multiple versions of `graphql`/ `@types/graphql` as a result of conflicts between sewing-kit and other packages, like apollo-client. We recommend using a `resolution` field in your package.json to force a version that conforms to sewing-kit’s dependency (`^0.13.0).
251- Run `sewing-kit type-check` to see new type errors introduced by changing GraphQL types. You will primarily see issues with referencing types detailing deeply nested fields in your query; these need to be updated to be the pascal case version of the keypath to that field:
252
253 ```graphql
254 query MyQuery {
255 self {
256 brother {
257 sister {
258 name
259 }
260 }
261 }
262 }
263 ```
264
265 ```typescript
266 // Assuming we want the type for `sister`, we now need to update our type reference:
267
268 import {MyQueryData} from './MyQuery.graphql';
269
270 type Sister = MyQueryData.SelfBrotherSister;
271 ```
272
273- If you were previously hand-writing `enum`s for GraphQL `enum` types, update your code to import them from the schema type definition file instead (note that, in accordance with our TypeScript styleguide, all `enum` cases are in pascal case):
274
275 ```typescript
276 // Before:
277 enum Format {
278 Pdf = "PDF"
279 Csv = "CSV"
280 }
281
282 // After:
283 import {Format} from 'types/graphql';
284 ```
285
286## [0.48.2] - 2018-06-19
287
288### Changed
289
290- Upgrade `uglifyjs-webpack-plugin` [[#709](https://github.com/Shopify/sewing-kit/pull/709)]
291- Disable image/icon caching (while investigating issues with `.png` generation in `web`) [[#710](https://github.com/Shopify/sewing-kit/pull/710)]
292
293## [0.48.1] - 2018-06-19
294
295### Added
296
297- `sewing-kit start` now accepts `--client-heap-size` / `--server-heap-size` [[#707](https://github.com/Shopify/sewing-kit/pull/707)]
298- svg/image loader results are now cached [[#708](https://github.com/Shopify/sewing-kit/pull/708)]
299- Production CSS loader results are now cached [[#708](https://github.com/Shopify/sewing-kit/pull/708)]
300
301### Migration suggestions
302
303- Larger app caches may require additional Node heap
304 - If builds are slow, try `node --max-old-space-size=2000 node_modules/.bin/sewing-kit build`
305
306## [0.48.0] - 2018-06-19
307
308Do not use this release. This is an incorrectly published version of the 0.47.0 release.
309
310## [0.47.1] - 2018-06-18
311
312### Changed
313
314- Run `react-loadable/babel` on server code as well [[#685](https://github.com/Shopify/sewing-kit/pull/685)]
315
316## [0.47.0] - 2018-06-18
317
318### Added
319
320- Added markdown support to `sewing-kit {check,lint,format}` [[#680](https://github.com/Shopify/sewing-kit/pull/680)]
321- `sewing-kit start` now compiles client/server in parallel [[#688](https://github.com/Shopify/sewing-kit/pull/688)]
322- Faster cold TypeScript server compilation via shared cache [[#699](https://github.com/Shopify/sewing-kit/pull/699/files)]
323
324### Changed
325
326- Upgraded to `prettier@1.13.5` [[#679](https://github.com/Shopify/sewing-kit/pull/679)]
327- Upgraded patch dependencies (`sass-loader`, `source-map-support`, `stylelint`) [[#690](https://github.com/Shopify/sewing-kit/pull/690)]
328- Upgraded dependencies: major (`babel-jest`) and minor (`babel-plugin-lodash`, `hard-source-webpack-plugin`, `image-webpack-loader`, `ts-loader`, `webpack`) [[#603](https://buildkite.com/shopify/sewing-kit/builds/603)]
329- Upgraded `webpack-uglifyjs-plugin` fork [[#693](https://github.com/Shopify/sewing-kit/pull/693)]
330- webpack-related caches are now stored in `build/cache/webpack` [[#697](https://github.com/Shopify/sewing-kit/pull/697)]
331- Cache JavaScript transpilation results [[#698](https://github.com/Shopify/sewing-kit/pull/698)]
332- Cache TypeScript transpilation results separately from production Babel transform results [[#701](https://github.com/Shopify/sewing-kit/pull/701)]
333
334### Fixed
335
336- The message `start from scratch with 'yarn sewing-kit clean'` when using the [vendors plugin](https://github.com/Shopify/sewing-kit/blob/master/docs/plugins/vendors.md) has been amended to include `--cache` to ensure the cache will actually be cleaned [[#681](https://github.com/Shopify/sewing-kit/issues/681)]
337- `--source-maps off` should completely disable sourcemaps [[#687](https://github.com/Shopify/sewing-kit/pull/687)], [[#694](https://github.com/Shopify/sewing-kit/pull/694)]
338- Pass consistent `BABEL_ENV` to Babel transforms [[#702](https://github.com/Shopify/sewing-kit/pull/702)]
339- Fix Polaris quirks in development by reverting to `react-hot-loader@3.1.3` [[#703](https://github.com/Shopify/sewing-kit/pull/703)]
340
341### Migration suggestions
342
343- Vet async imports for accidental `Module` assignments
344 - e.g., if `foo` is an ES Module
345 - `const foo = await import('./foo');` should be converted to
346 - `const {default: foo} = await import('./foo');`
347 - This behaviour was changed in `webpack@4.10`
348- If Prettier/stylelint fail on `.scss` files, look for value lists without a trailing comma, and use `// prettier-ignore` to suppress their warnings
349
350## [0.46.0] - 2018-06-08
351
352### Added
353
354- Improves client/server React hydration of async routes via `plugins.experiments({reactLoadable: true})` [[#668](https://github.com/Shopify/sewing-kit/pull/668)]
355 - See [shopify/web](https://github.com/Shopify/web/pull/4513/files) for more details on enabling code splitting & SSR
356 - See [`react-loadable`](https://github.com/jamiebuilds/react-loadable) for additional documentation
357
358### Changed
359
360- Use 3 jest workers on shopify-build [[#678](https://github.com/Shopify/sewing-kit/pull/678)]
361
362### Fixed
363
364- Playgrounds now work with `@shopify/polaris@2.x` [[#677](https://github.com/Shopify/sewing-kit/pull/677)]
365
366## [0.45.6] - 2018-06-06
367
368### Changed
369
370- Allow custom build paths for production Rails apps [[#674](https://github.com/Shopify/sewing-kit/pull/674)]
371
372## [0.45.5] - 2018-05-31
373
374### Added
375
376- Added `asset-server-only` flag to `sewing-kit start` [[#665](https://github.com/Shopify/sewing-kit/pull/665)]
377
378### Changed
379
380- `sewing-kit type-check` and `sewing-kit check` now output concise, readdable errors upon failure [[#670](https://github.com/Shopify/sewing-kit/pull/670)]
381
382## [0.45.4] - 2018-05-24
383
384### Changed
385
386- `sewing-kit test` now uses 5 worker threads in `shopify-build` [[#663](https://github.com/Shopify/sewing-kit/pull/663)]
387
388## [0.45.3] - 2018-05-17
389
390### Added
391
392- If `package.json#sideEffects` is configured to eliminate dead code, production client builds will fail when modules are unexpectedly removed (exclusions can be added via `FailOnUnexpectedModuleShakingPlugin#exclude`)
393
394## [0.45.2] - 2018-05-14
395
396### Added
397
398- Retry production GraphQL schema download if it fails the first time [[#657](https://github.com/Shopify/sewing-kit/pull/657)]
399
400## [0.45.1] - 2018-05-10
401
402### Changed
403
404- TypeScript type/interface imports are now suppressed in development mode [[#655](https://github.com/Shopify/sewing-kit/pull/655)]
405
406## [0.45.0] - 2018-05-10
407
408### Changed
409
410- Breaking change - Upgraded to `webpack@4.8.1`, and latest `webpack-dev-server`, `webpack-hot-middleware`, etc [[#632](https://github.com/Shopify/sewing-kit/pull/632)]
411 - [`split-chunks-plugin`](https://webpack.js.org/plugins/split-chunks-plugin/) provides much better code splitting
412 - [`mini-css-extra-plugin`](https://github.com/webpack-contrib/mini-css-extract-plugin) allows CSS to be split by chunk (`extract-text-webpack-plugin` was removed)
413- Breaking change - Many dependency updates (including `node-sass`, `stylelint`, `react-hot-loader`) [[#650](https://github.com/Shopify/sewing-kit/pull/650)]
414- `graphql-loader` results are now cached [[#652](https://github.com/Shopify/sewing-kit/pull/652)]
415- `ParallelUglifyPlugin` is always used for production client builds [[#648](https://github.com/Shopify/sewing-kit/pull/648)]
416 - Note: the above `webpack@4` upgrade obsoletes this change
417
418### Removed
419
420- Removed `parallelUglify` experiment toggle [[#648](https://github.com/Shopify/sewing-kit/pull/648)]
421- `Happypack` now leaves a thread free for general processing [[#649](https://github.com/Shopify/sewing-kit/commit/51c3998a9afe742cfd156ad9a4e785dcb0649937)]
422
423### Migration suggestions
424
425- 🎩 your app in development and production modes
426- Verify that gzipped size of your production assets has not increased
427- Verify that your development startup / incremental compile speed has not regressed
428
429## [0.44.0] - 2018-05-08
430
431### Removed
432
433- Removed `fastProductionBuild` experiment [[#643](https://github.com/Shopify/sewing-kit/pull/643)]
434
435## [0.43.0] - 2018-05-08
436
437### Changed
438
439- Breaking change - updated [`eslint-plugin-shopify`](https://github.com/Shopify/eslint-plugin-shopify) to version `^22.0.0`
440
441### Migration suggestions
442
443- Upgrade to `typescript` version `2.7.2` or later
444
445## [0.42.0] - 2018-05-06
446
447### Added
448
449- `sewing-kit build` now accepts `--no-graphql` [[#638](https://github.com/Shopify/sewing-kit/pull/638)]
450
451### Changed
452
453- Module concatenation is always enabled for production client builds [[#634](https://github.com/Shopify/sewing-kit/pull/634)]
454
455### Fixed
456
457- Only display total build duration in client + server builds [[#639](https://github.com/Shopify/sewing-kit/pull/639)]
458
459## [0.41.1] - 2018-05-02
460
461### Fixed
462
463- `AssetMetadataPlugin` now creates the destination directory before writing the manifest, if necessary [[#625](https://github.com/Shopify/sewing-kit/pull/625)]
464
465## [0.41.0] - 2018-05-01
466
467### Changed
468
469- Breaking change - `sewing-kit-manifest.json#assets` now contains `public`-relative paths [[#624](https://github.com/Shopify/sewing-kit/pull/624)]
470- Breaking change - `AssetMetadataPlugin` no longer accepts a `path` option; manifests are always written to the build directory [[#624](https://github.com/Shopify/sewing-kit/pull/624)]
471
472### Fixed
473
474- Make `sewing-kit-inspect` executable [[#620](https://github.com/Shopify/sewing-kit/pull/620)]
475
476## [0.40.0] - 2018-04-29
477
478### Added
479
480- Cache `.scss` compilation [[#613](https://github.com/Shopify/sewing-kit/pull/613)]
481
482### Changed
483
484- Do not type check TypeScript in development mode [[#612](https://github.com/Shopify/sewing-kit/pull/612)]
485- `sewing-kit dev` now transpiles using `ts-loader`, and caches transpilation results [[#614](https://github.com/Shopify/sewing-kit/pull/614)]
486
487### Migration suggestions
488
489- Use `sewing-kit type-check` to check for type violations previously reported by `sewing-kit dev`
490
491## [0.30.1] - 2018-04-16
492
493### Added
494
495- Log schema download times in CI [[#605](https://github.com/Shopify/sewing-kit/pull/605)]
496
497## [0.30.0] - 2018-04-15
498
499### Added
500
501- Better timing information for `sewing-kit dev` and `sewing-kit build` [[#600](https://github.com/Shopify/sewing-kit/pull/600)]
502
503### Changed
504
505- Breaking change - `fastStartup` is usable in test/production environments [[#596](https://github.com/Shopify/sewing-kit/pull/596)]
506- Breaking change - `sewing-kit build --report` no longer generates a `stats.json` file [[#604](https://github.com/Shopify/sewing-kit/pull/604)]
507- Do not limit jest's `maxWorker` count in BuildKite CI containers [[#602](https://github.com/Shopify/sewing-kit/pull/602/files)]
508
509### Fixed
510
511- `sewing-kit lint` no longer fails if Prettier is not configured [[#481](https://github.com/Shopify/sewing-kit/issues/481)]
512- React now generates readable stacktraces for errors thrown by dynamically imported chunks [[#598](https://github.com/Shopify/sewing-kit/pull/598)]
513
514### Removed
515
516- Breaking change - removed `sewing-kit check`'s `--build` option [[#599](https://github.com/Shopify/sewing-kit/pull/599)]
517
518### Migration suggestions
519
520- If `sewing-kit.config.js` enables `fastStartup`, use `env` conditions to limit its inclusion
521 - Rule of thumb: disable in `development` if HMR is essential to the development experience
522- If a project depends on a generated `build/client/bundle-analysis/stats.json` file, use `plugins.webpack` to set `BundleAnalyzerPlugin.generateStatsFile` to `true`
523
524## [0.29.17] - 2018-04-10
525
526### Fixed
527
528- `sewing-kit lint` now outputs parser exceptions, if necessary [[#588](https://github.com/Shopify/sewing-kit/pull/588)]
529- `codeframe` formatter is now used for lint output [[#566](https://github.com/Shopify/sewing-kit/pull/566)]
530
531## [0.29.16] - 2018-04-08
532
533### Changed
534
535- `sewing-kit dev --log-react-updates` to debug excess React rerenders [[#547](https://github.com/Shopify/sewing-kit/pull/547)]
536- `sewing-kit lint` no longer outputs stacktraces when stylelint fails [[#584](https://github.com/Shopify/sewing-kit/pull/584)]
537
538## [0.29.15] - 2018-03-25
539
540### Added
541
542- `playground --force` overwrites all existing playground files [[#577](https://github.com/Shopify/sewing-kit/pull/577)]
543
544### Changed
545
546- `playground` only writes files that don't exist yet [[#577](https://github.com/Shopify/sewing-kit/pull/577)]
547- `build --reports` should not throw memory exceptions in large projects [[#575](https://github.com/Shopify/sewing-kit/pull/575)]
548
549## [0.29.14] - 2018-03-12
550
551### Added
552
553- Allow debug without pausing on startup (via `sewing-kit-inspect`) [[#563](https://github.com/Shopify/sewing-kit/pull/563)]
554
555### Changed
556
557- Upgrade to `eslint-plugin-shopify@19.0.1` (fixes `shopify/jsx-no-hardcoded-content` rule) [[#562](https://github.com/Shopify/sewing-kit/pull/562)]
558
559### Migration suggestions
560
561- Enable `shopify/jsx-no-hardcoded-content` in your eslint config
562
563## [0.29.13] - 2018-03-06
564
565### Changed
566
567- `sewing-kit test --app-only` now includes tests in the `client` directory [[#552](https://github.com/Shopify/sewing-kit/pull/552)]
568
569## [0.29.12] - 2018-02-21
570
571### Added
572
573- Aliases for `sewing-kit` (`sk`) and `sewing-kit-debug` (`skd`) [[#539](https://github.com/Shopify/sewing-kit/pull/539)]
574
575## [0.29.11] - 2018-02-20
576
577### Changed
578
579- Update reference to webpack-parallel-uglify-plugin, preventing `npm install` from breaking [[#536](https://github.com/Shopify/sewing-kit/pull/536)]
580- Upgrade devDependencies [[#533](https://github.com/Shopify/sewing-kit/pull/533)]
581
582## [0.29.10] - 2018-02-19
583
584### Added
585
586- `lint --show-expected` option that displays the expected output for files failing Prettier checks [[#535](https://github.com/Shopify/sewing-kit/pull/535)]
587
588## [0.29.9] - 2018-02-16
589
590### Changed
591
592- Upgrade to eslint-plugin-shopify@19.0.0 [[#532](https://github.com/Shopify/sewing-kit/pull/532)]
593
594## [0.29.7] / [0.29.8] - 2018-02-16
595
596### Changed
597
598- Support for code coverage when running `sewing-kit test` [[#531](https://github.com/Shopify/sewing-kit/pull/531)]
599
600## [0.29.6] - 2018-02-15
601
602### Changed
603
604- Support for `csv` and `ico` files is now enabled by default with Jest transform and Webpack `file-loader` [[#508](https://github.com/Shopify/sewing-kit/pull/508)]
605
606## [0.29.5] - 2018-02-14
607
608### Changed
609
610- Problematic packages are now stripped from the `plugins.vendor` list [[#528](https://github.com/Shopify/sewing-kit/pull/528)]
611
612## [0.29.4] - 2018-02-13
613
614### Fixed
615
616- Vendor DLL is now served from the correct directory [[#527](https://github.com/Shopify/sewing-kit/pull/527)]
617
618## [0.29.3] - 2018-02-12
619
620### Changed
621
622- Vendor DLL is now cached and reused between server starts [[#526](https://github.com/Shopify/sewing-kit/pull/526)]
623
624## [0.29.2] - 2018-02-11
625
626### Changed
627
628- `sewing-kit test` now uses 3 Jest workers (previously 2) [[#524](https://github.com/Shopify/sewing-kit/pull/524)]
629
630## [0.29.1] - 2018-02-08
631
632### Fixed
633
634- `sewing-kit start` now displays logs [[#520](https://github.com/Shopify/sewing-kit/pull/520)]
635
636## [0.29.0] - 2018-02-07
637
638### Changed
639
640- `--source-maps` CLI option now acceps `accurate`, `fast`, `off` values [[#513](https://github.com/Shopify/sewing-kit/pull/513), [#515](https://github.com/Shopify/sewing-kit/pull/515)]
641
642### Fixed
643
644- Stop `shopify/web` performing concurrent HMR refreshes [[#514](https://github.com/Shopify/sewing-kit/pull/514)]
645
646### Migration suggestions
647
648- Search for `source-maps` references and:
649 - Replace `--source-maps` with `--source-maps accurate`
650 - Replace `--no-source-maps` wtih `--source-maps fast`
651
652## [0.28.1] - 2018-01-28
653
654### Added
655
656- "Hang tight" view now displays a tip about how to access sewing-kit logs [[#505](https://github.com/Shopify/sewing-kit/pull/505)]
657
658### Fixed
659
660- Fixed invalid `strip-ansi` call from version `0.28.0` [[#504](https://github.com/Shopify/sewing-kit/pull/504)]
661
662## [0.28.0] - 2018-01-28
663
664### Added
665
666- "Hang tight" view now displays progress messages [[#501](https://github.com/Shopify/sewing-kit/pull/501)]
667- "Hang tight" view now displays error dumps [[#501](https://github.com/Shopify/sewing-kit/pull/501)]
668- "Hang tight" view has less gender bias [[#502](https://github.com/Shopify/sewing-kit/pull/502)]
669- "Hang tight" view now refreshes the page on build completion [[#503](https://github.com/Shopify/sewing-kit/pull/503)]
670
671## [0.27.1] - 2018-01-24
672
673### Fixed
674
675- Allow cross-origin requests for vendor-dll [[#496](https://github.com/Shopify/sewing-kit/pull/496)]
676
677## [0.27.0] - 2018-01-21
678
679### Added
680
681- Breaking change - `asset.json`/`sewing-kit-manifest.json` now include asset integrity hashes (sha256, base64 encoded)
682 Before
683
684```json
685{
686 "entrypoints": {
687 "foo": {
688 "js": ["foo.js"]
689 }
690 }
691}
692```
693
694After
695
696```json
697{
698 "entrypoints": {
699 "foo": {
700 "js": [
701 {
702 "path": "foo.js",
703 "integrity": "4cd86c4a2c06dceff7d5ef1c381b1de1a8da9e8d36d51647dae249470a781f99.js"
704 }
705 ]
706 }
707 }
708}
709```
710
711### Fixed
712
713- Node only - `sewing-kit start` now starts up an assets server [[#492](https://github.com/Shopify/sewing-kit/pull/492)]
714
715### Migration Suggestions
716
717- Rails projects - upgrade to [`sewing_kit@0.27.0`](https://github.com/Shopify/sewing_kit/blob/master/CHANGELOG.md#0270---22-01-2018)
718- Node projects - adjust `asset.json` entrypoint consumers to account for plain path strings becoming objects with `path`/`integrity` properties
719
720## [0.26.0] - 2018-01-14
721
722### Changed
723
724- Breaking change: Rollup's default emitted filepath is now `dist/index.js` to match the name of the default input file.
725- Upgraded to `eslint-plugin-shopify@19.0.0-beta.4`
726- Upgraded to `prettier@1.9.2`
727
728### Fixed
729
730- Consumers no longer need to provide rollup plugins since they are now included as regular dependencies (instead of dev dependencies)
731
732### Migration Suggestions
733
734- Update `eslintConfig` to include: `plugins: ["shopify/jest"]`
735- Update `.prettierrc` to include: `arrowParens: "always"`
736- For Polaris projects, update `eslintConfig` to include: `plugins: ["shopify/polaris"]`
737- Consider adding new Shopify eslint rules:
738 - [`shopify/jsx-no-complex-expressions`](https://github.com/Shopify/eslint-plugin-shopify/blob/master/docs/rules/jsx-no-complex-expressions.md)
739 - [`shopify/jsx-no-hardcoded-content`](https://github.com/Shopify/eslint-plugin-shopify/blob/master/docs/rules/jsx-no-hardcoded-content.md)
740 - [`shopify/react-initialize-state`](https://github.com/Shopify/eslint-plugin-shopify/blob/master/docs/rules/react-initialize-state.md)
741 - [`shopify/react-type-state`](https://github.com/Shopify/eslint-plugin-shopify/blob/master/docs/rules/react-type-state.md)
742
743## [0.25.0] - 2018-01-12
744
745### Fixed
746
747- `dev --no-hot` mode now builds vendor DLLs [[#487](https://github.com/Shopify/sewing-kit/pull/487)]
748
749### Changed
750
751- Add svgs to prettierignore list on init command [[#484](https://github.com/Shopify/sewing-kit/pull/484)]
752- Use eslint cache to improve ESLint speed for code and GraphQL files [[#485](https://github.com/Shopify/sewing-kit/pull/485)]
753
754## [0.24.0] - 2018-01-11
755
756### Added
757
758- Libraries can be bundled with rollup by including `plugins.rollup` in their config
759
760### Changed
761
762- Omit confusing stacktraces for lint errors [[https://github.com/Shopify/sewing-kit/pull/482](#482)]
763
764## [0.23.0] - 2018-01-09
765
766### Fixed
767
768- Vendor DLL changes will be picked up without a hard browser refresh [[https://github.com/Shopify/sewing-kit/pull/477](#477)]
769
770### Removed
771
772- Breaking change: removed `sewing-kit test`'s `--build` option [[https://github.com/Shopify/sewing-kit/pull/478](#478)]
773
774### Migration Suggestions
775
776- If your project depended on `sewing-kit test --build`, please ping in `#web-foundations-tech` for tips on writing isolated server tests
777
778## [0.22.3] - 2018-01-05
779
780### Changed
781
782- Fix eslint error for ruby projects on CircleCI, adding `vendor/bundle` to ignores [[#475](https://github.com/Shopify/sewing-kit/pull/475)]
783
784## [0.22.2] - 2018-01-05
785
786### Changed
787
788- Fix lint error for ruby projects on CircleCI, adding `vendor/bundle` to stylelint ignores [[#474](https://github.com/Shopify/sewing-kit/pull/474)]
789
790## [0.22.1] - 2018-01-04
791
792### Added
793
794- Support `test` mode builds [[#445](https://github.com/Shopify/sewing-kit/pull/445)]
795
796## [0.22.0] - 2017-12-18
797
798### Added
799
800- Allow graphql schema to be read from a local file [[#427](https://github.com/Shopify/sewing-kit/pull/427)]
801
802### Changed
803
804- Bump `eslint-plugin-shopify` to [`18.3.0`](https://github.com/Shopify/eslint-plugin-shopify/blob/master/CHANGELOG.md#1830---2017-12-18) (shopify/no-debugger) [[464](https://github.com/Shopify/sewing-kit/pull/464/files)]
805
806## [0.21.0] - 2017-12-11
807
808- Allow compilation of a server bundle under the `railsWithNodeServer` experiment. By default Rails projects do not compile a server bundle. [[#444](https://github.com/Shopify/sewing-kit/pull/444)]
809
810## [0.20.0] - 2017-12-06
811
812### Added
813
814- Formatting support for `.ts` and `.tsx` files. Please see the Typescript formatting setup [docs](https://github.com/Shopify/sewing-kit/blob/master/docs/commands/format.md#setup) for more details. [[#440](https://github.com/Shopify/sewing-kit/pull/440)]
815- An `init` command to create config files for common tools. Includes `--prettierignore` flag to create a preconfigured .prettierignore file. [[#417](https://github.com/Shopify/sewing-kit/pull/417)]
816
817```
818yarn run sewing-kit init --prettierignore
819```
820
821### Removed
822
823- Linting via `tslint` has been removed in favor of linting typescript via Shopify's [typescript](https://github.com/Shopify/eslint-plugin-shopify/blob/master/lib/config/typescript.js) or [typescript-react](https://github.com/Shopify/eslint-plugin-shopify/blob/master/lib/config/typescript-react.js) eslint configs. `tslint.json` can be removed from consuming projects. [[#440](https://github.com/Shopify/sewing-kit/pull/440)]
824
825```
826{
827 "extends": [
828 "plugin:shopify/typescript-react"
829 ]
830}
831```
832
833## [0.19.1] - 2017-11-23
834
835### Added
836
837- Added support to selectively include Polaris globals. See [[#423](https://github.com/Shopify/sewing-kit/pull/423)]
838
839## [0.19.0] - 2017-11-22
840
841- Added `format` support for `scss`/`css` files. See [here](https://github.com/Shopify/sewing-kit/blob/master/docs/commands/format.md#setup) for more details. [[#364](https://github.com/Shopify/sewing-kit/pull/364)]
842
843### Changed
844
845- Improve warmup devServer dev experience. [[#420](https://github.com/Shopify/sewing-kit/pull/420)]
846- Upgraded node-sass from v4.6.0 to v4.7.2 [[#416](https://github.com/Shopify/sewing-kit/pull/416)]
847- Dependency updates [[#412](https://github.com/Shopify/sewing-kit/pull/412)]
848
849## [0.18.0] - 2017-11-16
850
851### Added
852
853- A server is now immediately bound when running `sewing-kit dev`, and will hand off to your actual development server when it is fully compiled. You can customize the port and IP of the temporary server with the new `devServer` plugin. [[#390](https://github.com/Shopify/sewing-kit/pull/390)]
854
855### Changed
856
857- `react-hot-loader` is enabled only for React projects [[#392](https://github.com/Shopify/sewing-kit/pull/392)]
858- `.jsx` files no longer throw exceptions on JSX elements [[#408](https://github.com/Shopify/sewing-kit/pull/408)]
859- Dependency updates [[#391](https://github.com/Shopify/sewing-kit/pull/391)]
860 - New eslint rules (see [updates between 17.2 - 18.0](https://github.com/Shopify/eslint-plugin-shopify/blob/master/CHANGELOG.md#1800---2017-10-31))
861 - A working `react-hot-loader` is now provided
862
863### Migration Suggestions
864
865- If your project uses a custom `react-hot-loader` version, it should be removed
866 - `yarn remove react-hot-loader`
867
868## [0.17.1] - 2017-11-09
869
870### Changed
871
872- `plugin.jest` now accepts a callback https://github.com/Shopify/sewing-kit/pull/329
873
874### Migration Suggestions
875
876- grep for `plugin.jest` calls, and replace the old hash parameter with a callback that overrides the default config's values
877 - Property names are aligned with Jest's config names
878 - e.g., `setupRun` => `setupFiles`, `setupTest` => `setupTestFrameworkScriptFile`
879- `npm rebuild` fixes `bindings`/`node-sass` errors
880
881## [0.17.0] - 2017-11-08
882
883### Added
884
885- Added `railsWithNodeServer` experiment to enable bundling of a server target inside of a Rails project.[[#378](https://github.com/Shopify/sewing-kit/pull/378)]
886- Added `format` support for `graphql` and `json` files. [[#377](https://github.com/Shopify/sewing-kit/pull/377)]
887
888### Changed
889
890- Improved nuke command [[#389](https://github.com/Shopify/sewing-kit/pull/389)]:
891 - Make it run in dev mode such that it does not fail in a project that has production dependencies
892 - Cleans out the correct assets folder in the appropriate places
893- Upgrade node-sass to 4.6.0 [[#381](https://github.com/Shopify/sewing-kit/pull/381)]
894- Lint will now fail if `.json` or `.graphql`/`.gql` is not formatted [[#377](https://github.com/Shopify/sewing-kit/pull/377)]
895- Polaris is now correctly treated as an external for server bundles, so it always references the correct class names for the environment and will resolve all its dependencies natively [[#223](https://github.com/Shopify/sewing-kit/pull/223)]
896- Improved startup speed by delaying the loading of many modules [[#338](https://github.com/Shopify/sewing-kit/pull/388)]
897- Breaking change: manifests now contain `assets` and `entrypoints` keys [[#387](https://github.com/Shopify/sewing-kit/pull/387)]
898 - `assets` contains the chunk=>js/css mappings that were previously at root level
899
900### Migration Suggestions
901
902- Any code reading from `assets.json`/`sewing-kit-manifest.json` should now dig into the `assets` map
903- `sewing_kit` apps should remove explicit `sewing_kit_script_tag`/`sewing_kit_link_tag` calls to output `runtime`, `vendor`, etc
904
905## [0.16.1] - 2017-10-27
906
907### Added
908
909- Added `format` command to format JS files. [[#357](https://github.com/Shopify/sewing-kit/pull/357)]
910
911### Fixed
912
913- Uglify cache is not erroneously invalidated during builds [[#368](https://github.com/Shopify/sewing-kit/pull/368)]
914
915## [0.16.0] - 2017-10-25
916
917### Fixed
918
919- Breaking change: builds now raise exceptions on compiler warnings [[#363](https://github.com/Shopify/sewing-kit/pull/363/files)]
920
921## [0.15.0] - 2017-10-25
922
923### Fixed
924
925- Pinned to `webpack@3.5.3` to work around hard-source errors in later versions [[#360](https://github.com/Shopify/sewing-kit/pull/360)]
926
927## [0.14.4] - 2017-10-22
928
929- Move Jest's cache to sewing-kit's cache directory [[#350](https://github.com/Shopify/sewing-kit/pull/350)]
930
931## [0.14.3] - 2017-10-21
932
933### Updated
934
935- CI now uses 2 jest worker threads [[#349](https://github.com/Shopify/sewing-kit/pull/349)]
936
937## [0.14.2] - 2017-10-16
938
939### Updated
940
941- Use a `stylelint` version that's compatible with `stylelint-config-shopify`'s requirements [[#342](https://github.com/Shopify/sewing-kit/pull/342)]
942
943## [0.14.1] - 2017-10-16
944
945### Added
946
947- Parallel/cacheable minification via [parallel-webpack-uglify-plugin](https://github.com/gdborton/webpack-parallel-uglify-plugin) [[#341](https://github.com/Shopify/sewing-kit/pull/341)]
948
949### Migration Suggestions
950
951- Turn on the `parallelUglify` experiment
952
953## [0.14.0] - 2017-10-15
954
955### Fixed
956
957- `lint` now builds GraphQL type definitions before running script linters [[#340](https://github.com/Shopify/sewing-kit/pull/340)]
958- `lint` now ignores `.scss` files in `node_modules` [[#338](https://github.com/Shopify/sewing-kit/pull/338)]
959- GraphQL tests no longer add 6 minutes to CircleCI runs [[#339](https://github.com/Shopify/sewing-kit/pull/339)]
960
961### Updated
962
963- Breaking change: `stylelint`/`stylelint-config-shopify` version bumps
964
965### Removed
966
967- `conciseModuleNames` experiment [[#331](https://github.com/Shopify/sewing-kit/pull/331)]
968
969### Migration Suggestions
970
971- Remove `stylelint` and `stylelint-config-shopify` from `package.json` (`dependencies`/`devDependencies`)
972
973## [0.13.0] - 2017-10-12
974
975### Added
976
977- `conciseModuleNames` experiment to reduce bulk from long-term caching [[#326](https://github.com/Shopify/sewing-kit/pull/326)]
978- `moduleConcatenation` experiment to make bundles smaller using [ModuleConcatenationPlugin](https://webpack.js.org/plugins/module-concatenation-plugin/) [(https://github.com/Shopify/sewing-kit/pull/328)]
979- Breaking change: `productionChunks` experiment to enable/disable long-term caching plugins [[#330](https://github.com/Shopify/sewing-kit/pull/330)]
980
981### Changed
982
983- Breaking change: Long-term caching naming is enabled for all projects (a side-effect of [#330](https://github.com/Shopify/sewing-kit/pull/330))
984
985## [0.12.8] - 2017-10-11
986
987### Added
988
989- Suppress auto-import of Polaris CSS globals with `plugins.sass({autoImportPolaris: false})` [[#307](https://github.com/Shopify/sewing-kit/pull/307)]
990- Toggle [`lodash-webpack-plugin`](https://github.com/lodash/lodash-webpack-plugin]) on/off via `plugins.experiments` [[#309](https://github.com/Shopify/sewing-kit/pull/309)]
991 - Defaults to `false`
992- `sewing-kit test` now updates Jest snapshots if `--update-snapshot` is an argument [[#318](https://github.com/Shopify/sewing-kit/pull/318)]
993
994### Changed
995
996- Enable `.ts`/`.tsx` compilation if `typescript` is a development dependency [[#308](https://github.com/Shopify/sewing-kit/pull/308)]
997
998## [0.12.7] - 2017-10-05
999
1000### Added
1001
1002- Automatic `postcss` config for projects that don't have a `postcss.config.js` file [[#296](https://github.com/Shopify/sewing-kit/pull/296)]
1003
1004### Changed
1005
1006- More README details [[#256](https://github.com/Shopify/sewing-kit/pull/256)]
1007
1008### Fixed
1009
1010- Fix server debugging for node@8 [[#301](https://github.com/Shopify/sewing-kit/pull/301)]
1011
1012## [0.12.6] - 2017-10-02
1013
1014### Changed
1015
1016- Use `babel-preset-env` even in projects that use `sprockets-commoner` [[#284](https://github.com/Shopify/sewing-kit/pull/284)]
1017
1018### Fixed
1019
1020- Fixed an issue where adding a custom webpack resolver for `csv` files broke jest. [[#294](https://github.com/Shopify/sewing-kit/pull/294)]
1021
1022## [0.12.5] - 2017-09-19
1023
1024### Added
1025
1026- You can now pass a `url` option to the Jest config plugin in order to set the root URL for your tests (reflected in `window.location`) [[#278](https://github.com/Shopify/sewing-kit/pull/278)]
1027
1028* In development mode, requesting a `vendor`/`js` path will return a link to a local vendor DLL [[#281](https://github.com/Shopify/sewing-kit/pull/281)]
1029
1030### Fixed
1031
1032- Fixed an issue where imports not beginning in `tests` were mapped to the tests directory [[#278](https://github.com/Shopify/sewing-kit/pull/278)]
1033
1034### Changed
1035
1036- You no longer need to include a `.babelrc` at the root of your project for tests to work correctly [[#278](https://github.com/Shopify/sewing-kit/pull/278)]
1037- Jest and its typings have been added as a dependency, so projects do not need to manually install them [[#278](https://github.com/Shopify/sewing-kit/pull/278)]
1038
1039## [0.12.4] - 2017-09-18
1040
1041### Added
1042
1043- `sewing-kit playground` spins up a hot-reloading playground [[#255](https://github.com/Shopify/sewing-kit/pull/255)]
1044
1045### Fixed
1046
1047- `.scss` linter now skips all `node_modules` folders
1048- Vendor DLL libraries are no longer duplicated in other development bundles [[#279](https://github.com/Shopify/sewing-kit/pull/279)]
1049
1050## [0.12.3] - 2017-09-13
1051
1052### Added
1053
1054- `sewing-kit lint` now ignores JavaScript files generated by Rails (`tmp`, `public`) [[#267](https://github.com/Shopify/sewing-kit/pull/267)]
1055- The new `railgun.yml` file is used for the dev server hostname [[#275](https://github.com/Shopify/sewing-kit/pull/275)]
1056
1057## [0.12.2] - 2017-09-07
1058
1059### Fixed
1060
1061- Embedded app production builds no longer attempt to access non-existent esnext files [[#266](https://github.com/Shopify/sewing-kit/pull/266)]
1062
1063### Added
1064
1065- Optimize lodash builds using babel-plugin-lodash & lodash-webpack-plugin [[#257](https://github.com/Shopify/sewing-kit/pull/257)]
1066
1067## [0.12.1] - 2017-09-06
1068
1069### Added
1070
1071- Vendor bundle hash is no longer changed by dynamic imports [[#228](https://github.com/Shopify/sewing-kit/pull/228)]
1072
1073### Changed
1074
1075- Real world development/production defaults for `publicPath` in Rails projects [[#258](https://github.com/Shopify/sewing-kit/pull/258)]
1076- `packages` tests are now included in `--app-only` runs [[#251](https://github.com/Shopify/sewing-kit/pull/251)]
1077
1078## [0.12.0] - 2017-08-30
1079
1080### Added
1081
1082- CSS minification for production assets [[#236](https://github.com/Shopify/sewing-kit/pull/236)]
1083- Add offline GraphQL schema [[#239](https://github.com/Shopify/sewing-kit/pull/239)]
1084- Vendor caching support in production using `CommonsChunkPlugin` [[#248](https://github.com/Shopify/sewing-kit/pull/248)]
1085 - Creates a `vendor` and `runtime` chunk
1086 - Supports consistent vendor caching when app modules are added
1087 - Supports consistent vendor caching when new entries are added
1088
1089## [0.11.1] - 2017-08-23
1090
1091### Added
1092
1093- `sewing-kit test` now accepts a path pattern parameter that filters out non-matching tests from execution [[#222](https://github.com/Shopify/sewing-kit/pull/222)]
1094 - e.g., `sewing-kit test Card` will run only tests with `Card` in their file path
1095- TypeScript errors now use pretty formatting [[#224](https://github.com/Shopify/sewing-kit/pull/224)]
1096
1097## [0.11.0] - 2017-08-18
1098
1099### Changed
1100
1101- `fastProductionBuild` now enables `hard-source-plugin` in production builds [[#214](https://github.com/Shopify/sewing-kit/pull/214)]
1102- `.svg` files are now processed by [Shopify's icon-loader](https://github.com/Shopify/images/blob/3e92d7960c2bf6b9bdea1e96652b99885d0eca9f/icon-loader.js) [[#202](https://github.com/Shopify/sewing-kit/pull/202)]
1103 - This replaces `white` fills with `currentColor`, and exports the svg's body as an importable JS module
1104 - A wrapper component is required to display the stringified SVG (a la [Polaris' `Icon` UI component](https://github.com/Shopify/polaris/blob/fb244772173a91c307492e89f515d40363fb7a61/src/components/Icon/Icon.tsx#L115))
1105- App tests with GraphQL types no longer depend on a full build [[#216](https://github.com/Shopify/sewing-kit/pull/216)]
1106
1107## [0.10.1] - 2017-08-12
1108
1109### Changed
1110
1111- `env.isCI` returns true when `ENV['CI'] == '1'` [[#203](https://github.com/Shopify/sewing-kit/pull/203)]
1112
1113## [0.10.0] - 2017-08-11
1114
1115### Changed
1116
1117- Updated webpack@3 (just a version bump; no new plugin integration, yet) [[#187](https://github.com/Shopify/sewing-kit/pull/187)]
1118- Rails projects should build faster. Cacheable build resources are now stores in a directory that buildkite shares between all container builds. [[#198](https://github.com/Shopify/sewing-kit/pull/198)]
1119
1120### Fixed
1121
1122- When using `fastProductionBuild`, CSS asset hashes match their content hash again (disabled `cheap-source-maps`) [[#199](https://github.com/Shopify/sewing-kit/pull/199)]
1123
1124## [0.9.0] - 2017-08-10
1125
1126### Changed
1127
1128- Uses `@shopify/polaris@1.3.1` [[#164](https://github.com/Shopify/sewing-kit/pull/164)]
1129- `typescript` is no longer a mandatory dependency for consumers [[#164](https://github.com/Shopify/sewing-kit/pull/164)]
1130
1131## [0.8.0] - 2017-08-09
1132
1133### Changed
1134
1135- Uses `@shopify/polaris@1.2.1`
1136- Uses `typescript@2.3.3` (this version allows destructuring of potentially undefined arguments in `.d.ts` files)
1137- `sewing-kit.config.js` can now define custom paths (via `plugins.paths`)
1138
1139## [0.7.0] - 2017-08-03
1140
1141### Added
1142
1143- `graphql-typescript-definitions` now runs in watch mode [[#171](https://github.com/Shopify/sewing-kit/pull/171)]
1144- End to end test for Polaris development builds [[#178](https://github.com/Shopify/sewing-kit/pull/178)]
1145- `fastProductionBuild` experiment [[#178](https://github.com/Shopify/sewing-kit/pull/178), [#184](https://github.com/Shopify/sewing-kit/pull/184)]
1146 - Allows production builds to use a precompiled version of Polaris with fully namespaced CSS classes
1147 - Turns off typeschecking
1148 - Uses `check-source-maps` for faster compilation
1149- End to end test for more consistent chunk names [[#175](https://github.com/Shopify/sewing-kit/pull/175)]
1150
1151### Fixed
1152
1153- GraphQL lint now lints mutations [[#183](https://github.com/Shopify/sewing-kit/pull/183)]
1154- GraphQL no longer outputs meaningless pages of stack traces on error [[#183](https://github.com/Shopify/sewing-kit/pull/183)]
1155
1156### Removed
1157
1158- Redundant static asset middleware route in development mode [[#170](https://github.com/Shopify/sewing-kit/pull/170)]
1159
1160[0.12.4]: https://github.com/Shopify/sewing-kit/compare/v0.12.3...v0.12.4
1161[0.12.5]: https://github.com/Shopify/sewing-kit/compare/v0.12.4...v0.12.5
1162[0.12.6]: https://github.com/Shopify/sewing-kit/compare/v0.12.5...v0.12.6
1163[0.12.7]: https://github.com/Shopify/sewing-kit/compare/v0.12.6...v0.12.7
1164[0.12.8]: https://github.com/Shopify/sewing-kit/compare/v0.12.7...v0.12.8
1165[0.13.0]: https://github.com/Shopify/sewing-kit/compare/v0.12.8...v0.13.0
1166[0.14.0]: https://github.com/Shopify/sewing-kit/compare/v0.13.0...v0.14.0
1167[0.14.1]: https://github.com/Shopify/sewing-kit/compare/v0.14.0...v0.14.1
1168[0.14.2]: https://github.com/Shopify/sewing-kit/compare/v0.14.1...v0.14.2
1169[0.14.3]: https://github.com/Shopify/sewing-kit/compare/v0.14.2...v0.14.3
1170[0.14.4]: https://github.com/Shopify/sewing-kit/compare/v0.14.3...v0.14.4
1171[0.15.0]: https://github.com/Shopify/sewing-kit/compare/v0.14.4...v0.15.0
1172[0.16.0]: https://github.com/Shopify/sewing-kit/compare/v0.15.0...v0.16.0
1173[0.16.1]: https://github.com/Shopify/sewing-kit/compare/v0.16.0...v0.16.1
1174[0.17.0]: https://github.com/Shopify/sewing-kit/compare/v0.16.1...v0.17.0
1175[0.17.1]: https://github.com/Shopify/sewing-kit/compare/v0.17.0...v0.17.1
1176[0.18.0]: https://github.com/Shopify/sewing-kit/compare/v0.17.1...v0.18.0
1177[0.19.0]: https://github.com/Shopify/sewing-kit/compare/v0.18.0...v0.19.0
1178[0.19.1]: https://github.com/Shopify/sewing-kit/compare/v0.19.0...v0.19.1
1179[0.20.0]: https://github.com/Shopify/sewing-kit/compare/v0.19.1...v0.20.0
1180[0.21.0]: https://github.com/Shopify/sewing-kit/compare/v0.20.0...v0.21.0
1181[0.22.0]: https://github.com/Shopify/sewing-kit/compare/v0.21.0...v0.22.0
1182[0.22.1]: https://github.com/Shopify/sewing-kit/compare/v0.22.0...v0.22.1
1183[0.22.2]: https://github.com/Shopify/sewing-kit/compare/v0.22.1...v0.22.2
1184[0.22.3]: https://github.com/Shopify/sewing-kit/compare/v0.22.2...v0.22.3
1185[0.23.0]: https://github.com/Shopify/sewing-kit/compare/v0.22.3...v0.23.0
1186[0.24.0]: https://github.com/Shopify/sewing-kit/compare/v0.23.0...v0.24.0
1187[0.25.0]: https://github.com/Shopify/sewing-kit/compare/v0.24.0...v0.25.0
1188[0.26.0]: https://github.com/Shopify/sewing-kit/compare/v0.25.0...v0.26.0
1189[0.27.0]: https://github.com/Shopify/sewing-kit/compare/v0.26.0...v0.27.0
1190[0.27.1]: https://github.com/Shopify/sewing-kit/compare/v0.27.0...v0.27.1
1191[0.28.0]: https://github.com/Shopify/sewing-kit/compare/v0.27.1...v0.28.0
1192[0.28.1]: https://github.com/Shopify/sewing-kit/compare/v0.28.0...v0.28.1
1193[0.29.0]: https://github.com/Shopify/sewing-kit/compare/v0.28.1...v0.29.0
1194[0.29.1]: https://github.com/Shopify/sewing-kit/compare/v0.29.0...v0.29.1
1195[0.29.2]: https://github.com/Shopify/sewing-kit/compare/v0.29.1...v0.29.2
1196[0.29.3]: https://github.com/Shopify/sewing-kit/compare/v0.29.2...v0.29.3
1197[0.29.4]: https://github.com/Shopify/sewing-kit/compare/v0.29.3...v0.29.4
1198[0.29.5]: https://github.com/Shopify/sewing-kit/compare/v0.29.3...v0.29.5
1199[0.29.6]: https://github.com/Shopify/sewing-kit/compare/v0.29.5...v0.29.6
1200[0.29.7]: https://github.com/Shopify/sewing-kit/compare/v0.29.6...v0.29.7
1201[0.29.8]: https://github.com/Shopify/sewing-kit/compare/v0.29.7...v0.29.8
1202[0.29.9]: https://github.com/Shopify/sewing-kit/compare/v0.29.8...v0.29.9
1203[0.29.10]: https://github.com/Shopify/sewing-kit/compare/v0.29.9...v0.29.10
1204[0.29.11]: https://github.com/Shopify/sewing-kit/compare/v0.29.10...v0.29.11
1205[0.29.12]: https://github.com/Shopify/sewing-kit/compare/v0.29.11...v0.29.12
1206[0.29.13]: https://github.com/Shopify/sewing-kit/compare/v0.29.12...v0.29.13
1207[0.29.14]: https://github.com/Shopify/sewing-kit/compare/v0.29.13...v0.29.14
1208[0.29.15]: https://github.com/Shopify/sewing-kit/compare/v0.29.14...v0.29.15
1209[0.29.16]: https://github.com/Shopify/sewing-kit/compare/v0.29.15...v0.29.16
1210[0.29.17]: https://github.com/Shopify/sewing-kit/compare/v0.29.16...v0.29.17
1211[0.30.0]: https://github.com/Shopify/sewing-kit/compare/v0.29.17...v0.30.0
1212[0.30.1]: https://github.com/Shopify/sewing-kit/compare/v0.30.0...v0.30.1
1213[0.40.0]: https://github.com/Shopify/sewing-kit/compare/v0.30.1...v0.40.0
1214[0.41.0]: https://github.com/Shopify/sewing-kit/compare/v0.40.0...v0.41.0
1215[0.41.1]: https://github.com/Shopify/sewing-kit/compare/v0.41.0...v0.41.1
1216[0.42.0]: https://github.com/Shopify/sewing-kit/compare/v0.41.1...v0.42.0
1217[0.43.0]: https://github.com/Shopify/sewing-kit/compare/v0.42.0...v0.43.0
1218[0.44.0]: https://github.com/Shopify/sewing-kit/compare/v0.43.0...v0.44.0
1219[0.45.0]: https://github.com/Shopify/sewing-kit/compare/v0.44.0...v0.45.0
1220[0.45.1]: https://github.com/Shopify/sewing-kit/compare/v0.45.0...v0.45.1
1221[0.45.2]: https://github.com/Shopify/sewing-kit/compare/v0.45.1...v0.45.2
1222[0.45.3]: https://github.com/Shopify/sewing-kit/compare/v0.45.2...v0.45.3
1223[0.45.4]: https://github.com/Shopify/sewing-kit/compare/v0.45.3...v0.45.4
1224[0.45.5]: https://github.com/Shopify/sewing-kit/compare/v0.45.4...v0.45.5
1225[0.45.6]: https://github.com/Shopify/sewing-kit/compare/v0.45.5...v0.45.6
1226[0.46.0]: https://github.com/Shopify/sewing-kit/compare/v0.45.6...v0.46.0
1227[0.47.0]: https://github.com/Shopify/sewing-kit/compare/v0.46.0...v0.47.0
1228[0.47.1]: https://github.com/Shopify/sewing-kit/compare/v0.47.0...v0.47.1
1229[0.48.0]: https://github.com/Shopify/sewing-kit/compare/v0.47.1...v0.48.0
1230[0.48.1]: https://github.com/Shopify/sewing-kit/compare/v0.48.0...v0.48.1
1231[0.48.2]: https://github.com/Shopify/sewing-kit/compare/v0.48.1...v0.48.2
1232[0.49.0]: https://github.com/Shopify/sewing-kit/compare/v0.48.2...v0.49.0
1233[0.49.1]: https://github.com/Shopify/sewing-kit/compare/v0.49.0...v0.49.1
1234[0.50.0]: https://github.com/Shopify/sewing-kit/compare/v0.49.1...v0.50.0
1235[0.50.1]: https://github.com/Shopify/sewing-kit/compare/v0.50.0...v0.50.1
1236[0.51.0]: https://github.com/Shopify/sewing-kit/compare/v0.50.1...v0.51.0
1237[0.51.1]: https://github.com/Shopify/sewing-kit/compare/v0.51.0...v0.51.1
1238[0.52.0]: https://github.com/Shopify/sewing-kit/compare/v0.51.1...v0.52.0
1239[0.53.0]: https://github.com/Shopify/sewing-kit/compare/v0.52.0...v0.53.0
1240[0.53.1]: https://github.com/Shopify/sewing-kit/compare/v0.53.0...v0.53.1
1241[0.54.0]: https://github.com/Shopify/sewing-kit/compare/v0.53.1...v0.54.0
1242[0.55.0]: https://github.com/Shopify/sewing-kit/compare/v0.54.0...v0.55.0
1243[0.56.0]: https://github.com/Shopify/sewing-kit/compare/v0.55.0...v0.56.0
1244[0.56.1]: https://github.com/Shopify/sewing-kit/compare/v0.56.0...v0.56.1
1245[0.57.0]: https://github.com/Shopify/sewing-kit/compare/v0.56.1...v0.57.0
1246[0.58.0]: https://github.com/Shopify/sewing-kit/compare/v0.57.0...v0.58.0
1247[0.58.1]: https://github.com/Shopify/sewing-kit/compare/v0.58.0...v0.58.1
1248[unreleased]: https://github.com/Shopify/sewing-kit/compare/v0.58.1...HEAD