UNPKG

2.73 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## [Unreleased]
9
10## [3.0.1] - 2019-07-04
11
12### Fixed
13
14- Fixed an issue where async components would not be immediately available during server rendering
15- Added the missing dependencies for `@shopify/react-idle` and `@shopify/react-hydrate`
16
17## [3.0.0] - 2019-07-03
18
19Complete rewrite to support progressive hydration and hook-based prefetching. Please refer to the [migration guide](./documentation/migrations.md) for details.
20
21## [2.3.0] - 2019-05-22
22
23### Added
24
25- Prefetching now happens on `touchdown` to improve perceived performance on touch devices ([#708](https://github.com/Shopify/quilt/pull/708))
26
27## [2.2.0] - 2019-05-15
28
29- Added a `useAsyncAsset` hook to register an identifier as used when not directly using the `Async` component ([#702](https://github.com/Shopify/quilt/pull/702))
30
31## [2.1.0] - 2019-04-12
32
33- Small refactor to export `resolve` utility ([#649](https://github.com/Shopify/quilt/pull/649))
34
35## [2.0.0] - 2019-04-08
36
37This library now requires React 16.8 because of changes to `@shopify/react-effect`.
38
39## 1.3.0 - 2019-03-25
40
41### Added
42
43- Support the new `DeferTiming.InViewport` strategy ([#576](https://github.com/Shopify/quilt/pull/576))
44
45## 1.2.2 - 2019-02-27
46
47### Fixed
48
49- The library now performs a more exhaustive obfuscation of `require` to reliably fool Webpack ([#537](https://github.com/Shopify/quilt/pull/537))
50
51## 1.2.1 - 2019-02-26
52
53### Fixed
54
55- Fixed an issue where Webpack would complain about a dynamic `require` statement ([#533](https://github.com/Shopify/quilt/pull/533))
56
57## 1.2.0 - 2019-02-25
58
59### Changed
60
61- `Async` now attempts to resolve the `id` of the component with a bare `require` call when it is available ([#530](https://github.com/Shopify/quilt/pull/530))
62
63## 1.1.0 - 2019-02-15
64
65### Added
66
67- `createAsyncComponent` now accepts a `defer` property that dictates whether that component should wait until mount or idle to start loading the component ([#517](https://github.com/Shopify/quilt/pull/517))
68- The component returned from `createAsyncComponent` and its static `Preload`, `Prefetch`, and `KeepFresh` components all accept an `async` prop that is an object with an optional `defer` property, which controls the way loading is done for just that element ([#517](https://github.com/Shopify/quilt/pull/517))
69
70## 1.0.2 - 2019-02-10
71
72### Fixed
73
74- Fixed an issue where the `<Prefetcher />` would not watch user interactions by default.
75
76## 1.0.1 - 2019-02-10
77
78- Fixed some broken API choices
79
80## 1.0.0 - 2019-02-07
81
82- Initial release