You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- New Simplified API (fully backward-compatible) - Helmet now takes plain HTML tags for the majority of the API with just a few remaining props for Helmet - retaining `titleTemplate`, `defaultTitle`, `onChangeClientState`, and one new - `encodeSpecialCharacters` - refer to README for details. Directly passing Helmet props will be deprecated in the future. [(#246)](https://github.com/nfl/react-helmet/pull/246)
39
7
-`requestIdleCallback` utilized to consolidate DOM changes and makes these non-blocking for things like animations. Fixes first client-side render not matching server-side render. Maintains one DOM change between route changes on the client-side as well. [(#248)](https://github.com/nfl/react-helmet/pull/248)
40
8
- On server-side, `Helmet.renderStatic()` aliased to `Helmet.rewind()` for more clarity. `rewind` will be deprecated in the future.
41
9
- Yarn support
42
10
43
-
##4.0.0
11
+
# 4.0.0
44
12
45
-
Features:
13
+
### Features
46
14
47
15
- Replacing PlainComponent with stateless functional component `NullComponent`, with a hard requirement to use React 15 or higher.
48
16
49
-
##3.3.2
17
+
# 3.3.2
50
18
51
-
Bugfixes:
19
+
### Bugfixes
52
20
53
21
- Removed stateless functional component `NullComponent` because of it's incompatibility with React 14 and reverted back to PlainComponent.
54
22
55
-
##3.3.1 [BROKEN]
23
+
# 3.3.1 [BROKEN]
56
24
57
-
Bugfixes:
25
+
### Bugfixes
58
26
59
27
- README updates - npm badge and helmet image
60
28
- Bump react-side-effect to 1.1.0
61
29
- Removing PlainComponent, replaced with NullComponent defined within Helmet.js
62
30
- Refactored code - cut lines of code and used `reduce` to simplify functions
63
31
- Replaced PlainComponent with NullComponent (now within Helmet.js)
64
32
65
-
##3.3.0
33
+
# 3.3.0
66
34
67
-
Features:
35
+
### Features
68
36
69
37
-`itemprop` available in meta tags
70
38
- New API - `titleAttributes` to add attributes to the title tag
71
39
-`class` support for html tag
72
40
73
-
##3.2.3
41
+
# 3.2.3
74
42
75
-
Bugfixes:
43
+
### Bugfixes
76
44
77
45
- applied previous fix (undefined value for primary attribute key) to base tag
78
46
- fix htmlAttributes fallback value when calling rewind() on blank Helmet
- Removed breaking changes `jsnext:main` and `module` from package.json. `es` version required special babel configuration for end users and needs to be re-thought for major release.
88
56
- Reverted `canUseDOM` setter in `Helmet.js`, as this was a breaking change for some users.
89
57
-[fix] runtime error when providing undefined value for primary attribute key (applies to meta, link, script, noscript, style)
90
58
91
-
##3.2.1 [BROKEN]
59
+
# 3.2.1 [BROKEN]
92
60
93
-
Bugfixes:
61
+
### Bugfixes
94
62
95
63
- Removing "engines" field in package.json.
96
64
97
-
##3.2.0 [BROKEN]
65
+
# 3.2.0 [BROKEN]
98
66
99
-
Features:
67
+
### Features
100
68
101
69
-`<noscript>` support
102
70
103
-
Bugfixes:
71
+
### Bugfixes
104
72
105
73
- Prevent stripping dollar signs from title when titleTemplate is present
106
74
- Offering jsnext:main build
107
75
- Removed Gulp Dependency
108
76
- Bump Dependencies
109
77
- IE8 Support
110
78
111
-
##3.1.0
79
+
# 3.1.0
112
80
113
-
Features:
81
+
### Features
114
82
115
83
- Add support for `<style>` elements.
116
84
117
-
##3.0.2
85
+
# 3.0.2
118
86
119
-
Bugfixes:
87
+
### Bugfixes
120
88
121
89
- Avoids rendering "undefined" if it's passed in as a value of an attribute, but instead renders just the attribute name.
122
90
- When htmlAttributes gets cleared, or is blank, the helmet attribute on the html tag, used for tracking, is cleaned up.
123
91
- Upgrading devDependency of React to 15.
124
92
125
-
##3.0.1
93
+
# 3.0.1
126
94
127
-
Bugfixes:
95
+
### Bugfixes
128
96
129
97
- The htmlAttributes feature will no longer remove existing attributes on the HTML tag
130
98
131
-
##3.0.0
99
+
# 3.0.0
132
100
133
-
Features:
101
+
### Features
134
102
135
103
- innerHTML for scripts. Originally added to support the use of JSON-LD (https://developers.google.com/schemas/formats/json-ld?hl=en), but this can be used for any inline scripts you would like in your document head.
136
104
- New htmlAttributes prop which allows users to add attributes to their html tag.
137
105
- New defaultTitle prop which allows users to have a fallback title in the scenario where a Helmet wants to define a titleTemplate for it's nested routes, but not for itself (for example, at the root component level). See README for use cases.
138
106
139
-
Bugfixes:
107
+
### Bugfixes
140
108
141
109
- Removed all polyfills from Helmet. Due to reported conflicts, to remove bloat, and to encourage users to polyfill at the application level. Please double-check that you weren't relying solely on Helmet for polyfilling certain features.
142
110
143
-
##2.3.1
111
+
# 2.3.1
144
112
145
-
Bugfixes:
113
+
### Bugfixes
146
114
147
115
- Fallback values for rewind on the server threw a `tags.map` error in Node. Changing the tag default values to `[]` fixes it.
148
116
149
-
##2.3.0
117
+
# 2.3.0
150
118
151
-
Bugfixes:
119
+
### Bugfixes
152
120
153
121
- FOUC fix - existing tags that persist between route changes, will not be removed and re-added to the DOM. They will remain unchanged. This will avoid, in particular, stylesheets being removed and re-added causing an unstyled flash when the new Helmet is rendered.
154
122
- onChangeClientState enhanced to also return the html tags that were added and removed.
155
123
- provide fallback object for rewind() result - If no Helmets are rendered, rewind() will still return head.base, head.title, etc.
156
124
- Tag attributes ordering does not matter. It no longer looks at the first valid attribute to identify the tag. All attributes of the tag will be searched for names that can be found in HelmetConstants.js. When rel="canonical" is included, it will take priority over href.
157
125
- Bump dependencies
158
126
159
-
##2.2.0
127
+
# 2.2.0
160
128
161
-
Features:
129
+
### Features
162
130
163
131
- New prop `onChangeClientState` to set a callback function that is called in the event the DOM is changed by Helmet. When set on a Helmet, it will apply to all subsequent Helmet instances downstream (similar to titleTemplate).
164
132
165
-
Bugfixes:
133
+
### Bugfixes
166
134
167
135
- Fix for double encoding when returning state to the server as React components.
168
136
- dist -> lib
169
137
- Added CLA url to CONTRIBUTING.
170
138
- Added .babelrc to .npmignore (fix for now, as the settings were not compatible with Babel 6)
171
139
- Bump dependencies (except Babel 6 as a dev dependency - coming soon)
172
140
173
-
##2.1.1
141
+
# 2.1.1
174
142
175
-
Bugfixes:
143
+
### Bugfixes
176
144
177
145
- Remove npm he dependency
178
146
- HTML entitiy encode only special characters instead of all characters that have HTML entity equivalents
179
147
180
-
##2.1.0
148
+
# 2.1.0
181
149
182
-
Features:
150
+
### Features
183
151
184
152
- All head attributes (title / base / meta / link / script) returned with `.toComponent()` and `.toString()` methods to use in any scenario when calling rewind on the server.
185
153
- Helmet using React 14 for unit testing.
186
154
187
-
Bugfixes:
155
+
### Bugfixes
188
156
189
157
- Bump dependencies
190
158
191
-
##2.0.0
159
+
# 2.0.0
192
160
193
-
Features:
161
+
### Features
194
162
195
163
- Base tag support.
196
164
- Script tag support.
197
165
- All head attributes (title / base / meta / link / script) returned as React components on the server with toString() support
198
166
- Removed ability to nest children in Helmet.
199
167
- Decorated component from react-side-effect, now wrapped by Helmet in order to enforce deep equal check on shouldComponentUpdate. This will limit unnecessary DOM changes and rendering.
200
168
201
-
Bugfixes:
169
+
### Bugfixes
202
170
203
171
- Bump dependencies
204
172
205
-
##1.1.5
173
+
# 1.1.5
206
174
207
-
Bugfixes:
175
+
### Bugfixes
208
176
209
177
- Adding webpack under devDependencies, as it's no longer automatically installed as a peer dependency
210
178
- Bump dependencies
211
179
212
-
##1.1.4
180
+
# 1.1.4
213
181
214
-
Bugfixes:
182
+
### Bugfixes
215
183
216
184
- Bumping to react-side-effect 1.0.2
217
185
- Updating peer dependences for react 0.14.0-rc1
218
186
- Bump dependencies
219
187
220
-
##1.1.3
188
+
# 1.1.3
221
189
222
-
Bugfixes:
190
+
### Bugfixes
223
191
224
192
- Externalize react-side-effect
225
193
- shouldComponentUpdate compares props with deep equal
@@ -229,40 +197,40 @@ Bugfixes:
229
197
- Bumping to react-side-effect 1.0.1
230
198
- Bump dependencies.
231
199
232
-
##1.1.2
200
+
# 1.1.2
233
201
234
-
Bugfixes:
202
+
### Bugfixes
235
203
236
204
- Use named exports in HelmetConstants
237
205
- Allow all React 0.14 betas in peer dependencies
238
206
- Bump dependencies.
239
207
- Fixed invariant check in CreateSideEffect
240
208
241
-
##1.1.1
209
+
# 1.1.1
242
210
243
-
Bugfixes:
211
+
### Bugfixes
244
212
245
213
- Externalizing of React helpers - exenv, invariant, shallowequal
246
214
- Using ES6 collections to manage tags
247
215
- Bumping peer dependency for use in React 0.14.0-beta.
248
216
- Title encoded when being rendered on the server
249
217
- Import a smaller subset of core-js modules instead of the whole shim.
250
218
251
-
##1.1.0
219
+
# 1.1.0
252
220
253
-
Features:
221
+
### Features
254
222
255
223
- titleTemplate attribute to help format `document.title`
256
224
257
-
Bugfixes:
225
+
### Bugfixes
258
226
259
227
- Bump dependencies.
260
228
- Title will never be overwritten with blank title. Lifts constraint where every component with Helmet needed to define a title.
261
229
- Re-organization of unit tests.
262
230
263
-
##1.0.1
231
+
# 1.0.1
264
232
265
-
Bugfixes:
233
+
### Bugfixes
266
234
267
235
- Bump dependencies
268
236
- rewind() saves title/meta/link values before disposing
@@ -271,8 +239,8 @@ Bugfixes:
271
239
- Added Travis CI integration
272
240
- npm requirement removed - removed reference in README (System Requirements) and in package.json (engines)
0 commit comments