1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
6 |
|
7 | ---
|
8 |
|
9 | ## Unreleased
|
10 |
|
11 | ## 9.2.2 - 2019-09-06
|
12 |
|
13 | - Add missing `useLocale` export
|
14 |
|
15 | ## 9.2.0 - 2019-08-26
|
16 |
|
17 | - New `useLocale` hook for setting the `lang` attribute on HTML
|
18 |
|
19 | ## 9.1.0 - 2019-08-26
|
20 |
|
21 | ### Added
|
22 |
|
23 | - New `stream` function for returning a streamed HTML response from a React tree ([904](https://github.com/Shopify/quilt/pull/904))
|
24 |
|
25 | ## 9.0.1 - 2019-07-04
|
26 |
|
27 | ### Changed
|
28 |
|
29 | - The `<Preconnect />` component now works for Safari users, at the expense of IE users. ([#776](https://github.com/Shopify/quilt/pull/776))
|
30 |
|
31 | ### Fixed
|
32 |
|
33 | - Fixed an issue where async components would not be immediately available during server rendering
|
34 | - Added the missing dependency for `@shopify/react-hydrate`
|
35 |
|
36 | ## 9.0.0 - 2019-07-03
|
37 |
|
38 | ### Changed
|
39 |
|
40 | - Updated to integrate with the newest `@shopify/sewing-kit-koa` and `@shopify/react-hydrate` packages. There is a single breaking change that is documented in the [migration guide](./documentation/migration-version-8-to-9.md). ([#762](https://github.com/Shopify/quilt/pull/762))
|
41 |
|
42 | ## 8.1.1 - 2019-06-14
|
43 |
|
44 | ### Fixed
|
45 |
|
46 | - The new features from 8.1.0 are now properly exported ([#753](https://github.com/Shopify/quilt/pull/753))
|
47 |
|
48 | ## 8.1.0 - 2019-06-11
|
49 |
|
50 | ### Added
|
51 |
|
52 | - Added the `useBodyAttributes` hook and `<BodyAttributes />` component to allow setting additional props on the `body` element during server renders. ([#748](https://github.com/Shopify/quilt/pull/748))
|
53 | - Added the `useHtmlAttributes` hook and `<HtmlAttributes />` component to allow setting additional props on the `body` element during server renders. ([#748](https://github.com/Shopify/quilt/pull/748))
|
54 |
|
55 | ## 8.0.9 - 2019-05-02
|
56 |
|
57 | ### Changed
|
58 |
|
59 | - Removed the `isServer` option from the constructor for `HtmlManager` [#682](https://github.com/Shopify/quilt/pull/682)
|
60 |
|
61 | ## 8.0.6 - 2019-04-15
|
62 |
|
63 | - The render of your app performed by the `Html` component now provides the `HtmlManager` instance, allowing it to access the serializations built up during `extract()` ([#655](https://github.com/Shopify/quilt/pull/655))
|
64 |
|
65 | ## 8.0.4 - 2019-04-12
|
66 |
|
67 | - `useServerDomEffect` now returns a result ([#636](https://github.com/Shopify/quilt/pull/636))
|
68 |
|
69 | ## 8.0.3 - 2019-04-09
|
70 |
|
71 | - Fixed `useTitle`, `useLink`, `useMeta`, `usePreconnect`, and `useFavicon` not being exported.
|
72 |
|
73 | ## 8.0.2 - 2019-04-09
|
74 |
|
75 | - Fixed an issue where `<HeadUpdater />` would attempt to access browser globals on the server.
|
76 |
|
77 | ## 8.0.0 - 2019-04-08
|
78 |
|
79 | This is a significant update that now requires at least React 16.8. You should refer to the [detailed migration guide](./documentation/migration-version-7-to-8.md) for additional guidance.
|
80 |
|
81 | ### Changed
|
82 |
|
83 | - This library now requires at least React 16.8 ([#547](https://github.com/Shopify/quilt/pull/547))
|
84 | - Removed `Provider`, exported the `HtmlContext` context object, exported a new `HeadUpdater` component for the client-side, and renamed `Manager` to `HtmlManager`.
|
85 |
|
86 | ### Added
|
87 |
|
88 | - Added hook counterparts for most of the component APIs: `useSerialized`, `useTitle`, `useLink`, `useMeta`, `useFavicon`, and `usePreconnect` ([#547](https://github.com/Shopify/quilt/pull/547))
|
89 |
|
90 | ## 7.1.6 - 2019-03-27
|
91 |
|
92 | ### Changed
|
93 |
|
94 | - Deferred scripts are now rendered in `<head>` [#605](https://github.com/Shopify/quilt/pull/605/files)
|
95 |
|
96 | ## 7.1.2 - 2019-03-02
|
97 |
|
98 | ### Fixed
|
99 |
|
100 | - Removed the `title` and `favicon` props from `<Html />` because they did not have any effect on the rendered markup. Developers should include `<Title />` and `<Favicon />` components themselves instead.
|
101 |
|
102 | ## 7.1.1 - 2019-02-27
|
103 |
|
104 | ### Fixed
|
105 |
|
106 | - Fixed an issue where `link`/ `meta` tags that were identical to previously-added tags would be removed and re-appended to `document.head` [#536](https://github.com/Shopify/quilt/pull/536)
|
107 |
|
108 | ## 7.1.0 - 2019-02-20
|
109 |
|
110 | ### Changed
|
111 |
|
112 | - Changed body styles from `display: none` to `visisbility: hidden` while page loads in development. [#515](https://github.com/Shopify/quilt/pull/515)
|
113 |
|
114 | ## 7.0.1 - 2019-02-07
|
115 |
|
116 | No changes
|
117 |
|
118 | ## 7.0.0 - 2019-02-04
|
119 |
|
120 | ### Changed
|
121 |
|
122 | - Updated `@shopify/react-effect` to the newest version. While this should not have any breaking changes on consumers of this library, it does require you to update your use of `@shopify/react-effect`’s `extract` function to the latest version, which _is_ a breaking change. [#477](https://github.com/Shopify/quilt/pull/477)
|
123 |
|
124 | ## 6.2.0 - 2019-01-29
|
125 |
|
126 | ### Added
|
127 |
|
128 | - Added metadata components: `AppleHomeScreen` and `Responsive`. [#481](https://github.com/Shopify/quilt/pull/481)
|
129 |
|
130 | ## 6.1.0 - 2019-01-24
|
131 |
|
132 | ### Added
|
133 |
|
134 | - Added a `<Preconnect />` component, which deprecates `@shopify/react-preconnect`. [#479](https://github.com/Shopify/quilt/pull/479)
|
135 |
|
136 | ## 6.0.2 - 2019-01-09
|
137 |
|
138 | - Start of Changelog
|