@podium/client 5.2.0-next.8 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ # [5.2.0](https://github.com/podium-lib/client/compare/v5.1.18...v5.2.0) (2024-11-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * improve error messages when fetching from manifest, content and fallback routes when a timeout occurs ([e188bbc](https://github.com/podium-lib/client/commit/e188bbc40d30ed2e21947dd29de76bd218907428))
7
+ * update @podium/schemas to 5.1.0 ([95dafaa](https://github.com/podium-lib/client/commit/95dafaa0a5e9a6687f545f3a9983a647a4f6c1cb))
8
+ * update @podium/utils to support hints asset collection ([fe97c44](https://github.com/podium-lib/client/commit/fe97c44bc6d29d1e45d335235cd3b1ef6eeafeaa))
9
+ * use AbortController instead of AbortSignal to avoid unhandled exception ([#412](https://github.com/podium-lib/client/issues/412)) ([87f5ffe](https://github.com/podium-lib/client/commit/87f5ffe553aa49189658a9be0e19d1323878a55a))
10
+ * use AbortSignal to ensure timeouts are respected ([08899d9](https://github.com/podium-lib/client/commit/08899d974246037cb1893a5b6d06bd6df58815e2))
11
+
12
+
13
+ ### Features
14
+
15
+ * keep track of which resources have emitted early hints and emit complete event once all resources have emitted ([7cf916a](https://github.com/podium-lib/client/commit/7cf916ab286a3c6cb8fbfdae46634b58f2be256f))
16
+ * read assets from podlets using 103 early hints ([64e4b27](https://github.com/podium-lib/client/commit/64e4b27773b87c220bcab1028ecdda82be2aa9fc))
17
+ * replace early hints with header link reading ([4429681](https://github.com/podium-lib/client/commit/44296811441a857fabeaebb583c42da28ec47705))
18
+ * write early hints to browser ([42513a3](https://github.com/podium-lib/client/commit/42513a38f5304648f7b2fb915995c66dc1dd3594))
19
+
20
+ # [5.2.0-next.9](https://github.com/podium-lib/client/compare/v5.2.0-next.8...v5.2.0-next.9) (2024-11-06)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **deps:** update podium packages ([b39cb3e](https://github.com/podium-lib/client/commit/b39cb3eb173c27998e278dbfdc06768761012f88))
26
+ * throw boom compatible error on badGateway for throwable podlet fetch ([#437](https://github.com/podium-lib/client/issues/437)) ([67c5268](https://github.com/podium-lib/client/commit/67c526838210e48f93fc471fe5161f16fcc5edcc))
27
+
1
28
  # [5.2.0-next.8](https://github.com/podium-lib/client/compare/v5.2.0-next.7...v5.2.0-next.8) (2024-11-04)
2
29
 
3
30
 
@@ -294,7 +294,7 @@ export default class PodletClientContentResolver {
294
294
 
295
295
  // Network error
296
296
  if (outgoing.throwable) {
297
- throw badGateway(`Error reading content at ${uri}`, error);
297
+ throw badGateway(`Error reading content at ${uri}`);
298
298
  }
299
299
 
300
300
  outgoing.success = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podium/client",
3
- "version": "5.2.0-next.8",
3
+ "version": "5.2.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -40,7 +40,7 @@
40
40
  "@hapi/boom": "10.0.1",
41
41
  "@metrics/client": "2.5.3",
42
42
  "@podium/schemas": "5.1.0",
43
- "@podium/utils": "5.3.1",
43
+ "@podium/utils": "5.3.2",
44
44
  "abslog": "2.4.4",
45
45
  "http-cache-semantics": "^4.0.3",
46
46
  "lodash.clonedeep": "^4.5.0",
@@ -61,7 +61,7 @@
61
61
  "@podium/semantic-release-config": "2.0.0",
62
62
  "@podium/typescript-config": "1.0.0",
63
63
  "@sinonjs/fake-timers": "11.3.1",
64
- "@types/readable-stream": "4.0.15",
64
+ "@types/readable-stream": "4.0.18",
65
65
  "benchmark": "2.1.4",
66
66
  "eslint": "9.6.0",
67
67
  "get-stream": "9.0.1",