UNPKG

2.65 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 adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
8## [3.3.2] - 2021-03-03
9
10### Fixed
11
12- Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers [#1759](https://github.com/Shopify/quilt/pull/1759)
13
14## [3.3.0] - 2020-12-18
15
16### Added
17
18- Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability [#1698](https://github.com/Shopify/quilt/pull/1698)
19
20## [3.2.13] - 2020-10-20
21
22- Updated `tslib` dependency to `^1.14.1`. [#1657](https://github.com/Shopify/quilt/pull/1657)
23
24## [3.2.1] - 2019-01-27
25
26- Specify package has no `sideEffects` ([#1233](https://github.com/Shopify/quilt/pull/1233))
27
28## [3.2.0] - 2019-06-27
29
30### Fixed
31
32- Fixed an issue where `betweenEachPass` was called on the last pass before `maxPasses` was reached. In order to correct this issue, returning `false` from `betweenEachPass` no longer halts render looping (use `afterEachPass` instead). [#769](https://github.com/Shopify/quilt/pull/769)
33
34## [3.1.0] - 2019-06-14
35
36### Added
37
38- You can now bail out of render passes in `extract` by returning `false` (or a promise that resolves to `false`) from `betweenEachPass`/ `afterEachPass` ([#747](https://github.com/Shopify/quilt/pull/747))
39
40## [3.0.0] - 2019-04-08
41
42This library now requires React 16.8.
43
44### Added
45
46- Added a `useServerEffect` hook as an alternative to the `<Effect />` component ([#547](https://github.com/Shopify/quilt/pull/547))
47
48## [2.1.0]
49
50### Added
51
52- Added a `maxPasses` option to `extract()` in order to limit the potential for infinite loops. This option defaults to 5 max render/ resolve cycles [#574](https://github.com/Shopify/quilt/pull/574)
53- All `afterEachPass`/ `betweenEachPass` callbacks now receive an argument detailing the current pass index, whether the extraction process is complete, and the duration of the render/ resolve phases [#574](https://github.com/Shopify/quilt/pull/574)
54
55## [2.0.0]
56
57### Changed
58
59- Removed `react-tree-walker` as a way to process the React element. Instead, the application is rendered to a string repeatedly until no more promises have been queued. For full details on migrating to the new API, please read the [upgrade guide](./documentation/migrating-version-1-to-2.md). [#477](https://github.com/Shopify/quilt/pull/477)
60
61## [1.0.3]
62
63- Manual release
64
65## [1.0.1]
66
67### Fixed
68
69- Published the server entry point. [#410](https://github.com/Shopify/quilt/pull/410)
70
71## [1.0.0]
72
73Initial release