Skip to content

Commit 5c2f1ea

Browse files
committed
Merge branch 'next' into track_early_hints_across_resources
2 parents fe97c44 + 97ca27a commit 5c2f1ea

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [5.2.0-next.3](https://github.com/podium-lib/client/compare/v5.2.0-next.2...v5.2.0-next.3) (2024-09-20)
2+
3+
4+
### Features
5+
6+
* write early hints to browser ([42513a3](https://github.com/podium-lib/client/commit/42513a38f5304648f7b2fb915995c66dc1dd3594))
7+
18
# [5.2.0-next.2](https://github.com/podium-lib/client/compare/v5.2.0-next.1...v5.2.0-next.2) (2024-09-16)
29

310

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The following values can be provided:
152152
- `throwable` - {Boolean} - Defines whether an error should be thrown if a failure occurs during the process of fetching a podium component. Defaults to `false` - Optional.
153153
- `excludeBy` - {Object} - Lets you define a set of rules where a `fetch` call will not be resolved if it matches. - Optional.
154154
- `includeBy` - {Object} - Inverse of `excludeBy`. Setting both at the same time will throw. - Optional.
155-
- `earlyHints` - {boolean} - Can be used to disable early hints from being sent to the browser for this resource.
155+
- `earlyHints` - {boolean} - Can be used to disable early hints from being sent to the browser for this resource, see [HTTP Status 103 Early Hints](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103).
156156

157157
##### `excludeBy` and `includeBy`
158158

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@podium/client",
3-
"version": "5.2.0-next.2",
3+
"version": "5.2.0-next.3",
44
"type": "module",
55
"license": "MIT",
66
"keywords": [

tests/http-outgoing.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ tap.test(
127127
);
128128

129129
tap.test(
130-
'HttpOutgoing() - call .writeEarlyHints() - should not all repsonse.writeEarlyHints() if no assets have been set',
130+
'HttpOutgoing() - call .writeEarlyHints() - should not call repsonse.writeEarlyHints() if no assets have been set',
131131
(t) => {
132132
t.plan(1);
133133
let count = 0;

0 commit comments

Comments
 (0)