5.2.4 (2024-11-21)
- reducing logl evel to info on 404 errors (e6d6d04)
5.2.3 (2024-11-13)
5.2.2 (2024-11-13)
5.2.1 (2024-11-13)
5.2.0 (2024-11-06)
- improve error messages when fetching from manifest, content and fallback routes when a timeout occurs (e188bbc)
- update @podium/schemas to 5.1.0 (95dafaa)
- update @podium/utils to support hints asset collection (fe97c44)
- use AbortController instead of AbortSignal to avoid unhandled exception (#412) (87f5ffe)
- use AbortSignal to ensure timeouts are respected (08899d9)
- keep track of which resources have emitted early hints and emit complete event once all resources have emitted (7cf916a)
- read assets from podlets using 103 early hints (64e4b27)
- replace early hints with header link reading (4429681)
- write early hints to browser (42513a3)
5.2.0-next.9 (2024-11-06)
- deps: update podium packages (b39cb3e)
- throw boom compatible error on badGateway for throwable podlet fetch (#437) (67c5268)
5.2.0-next.8 (2024-11-04)
- update @podium/schemas to 5.1.0 (95dafaa)
5.2.0-next.7 (2024-10-22)
- use AbortController instead of AbortSignal to avoid unhandled exception (#412) (ebdfc74)
- use AbortSignal to ensure timeouts are respected (3f970ed)
5.1.16 (2024-10-17)
- use AbortController instead of AbortSignal to avoid unhandled exception (#412) (ebdfc74)
- use AbortSignal to ensure timeouts are respected (3f970ed)
5.1.15 (2024-10-14)
- deps: update dependency undici to v6.20.1 (607944d)
5.1.14 (2024-10-09)
- deps: update dependency undici to v6.20.0 (cbbfcf4)
5.1.13 (2024-09-22)
- deps: update dependency @podium/utils to v5.3.1 (2cdc889)
5.1.12 (2024-09-20)
- deps: update dependency @podium/utils to v5.3.0 (3caf71b)
5.1.11 (2024-09-20)
- deps: update dependency @podium/utils to v5.2.1 (c9e9cfa)
5.1.10 (2024-09-06)
- deps: update dependency @podium/utils to v5.2.0 (f7d4675)
5.1.9 (2024-08-19)
- deps: update dependency undici to v6.19.8 (bd00ad4)
5.1.8 (2024-08-19)
- deps: update dependency @podium/utils to v5.1.0 (f75d3c6)
5.1.7 (2024-08-09)
- deps: update dependency undici to v6.19.7 (77a289d)
5.1.6 (2024-08-09)
- deps: update dependency undici to v6.19.6 (5ebf860)
5.1.5 (2024-07-31)
- deps: update dependency undici to v6.19.5 (31d70c6)
5.1.4 (2024-07-29)
- deps: update dependency @metrics/client to v2.5.3 (9100f6a)
5.1.3 (2024-07-22)
- deps: update dependency undici to v6.19.4 (048ed41)
5.1.2 (2024-07-22)
- deps: update dependency undici to v6.19.3 (eff4151)
5.1.1 (2024-07-13)
- deps: update dependency @podium/schemas to v5.0.6 (99085c8)
5.1.0 (2024-07-02)
- conditional fetch by deviceType header (de4e9c4)
5.0.34 (2024-06-18)
- deps: update dependency undici to v6.19.2 (ac66051)
5.0.33 (2024-06-17)
- deps: update dependency undici to v6.19.1 (c64b634)
5.0.32 (2024-06-14)
- deps: update dependency undici to v6.19.0 (ae67694)
5.0.31 (2024-06-05)
- deps: update dependency @podium/schemas to v5.0.5 (1fd5c68)
5.0.30 (2024-06-04)
- deps: update dependency @podium/schemas to v5.0.4 (d3574df)
5.0.29 (2024-05-29)
- deps: update dependency undici to v6.18.2 (68b44d0)
5.0.28 (2024-05-26)
- deps: update dependency @podium/schemas to v5.0.3 (089f50a)
5.0.27 (2024-05-22)
- deps: update dependency undici to v6.18.1 (f1d0705)
5.0.26 (2024-05-20)
- deps: update dependency undici to v6.18.0 (3c6585f)
5.0.25 (2024-05-17)
- deps: update dependency undici to v6.17.0 (83f8fba)
5.0.24 (2024-05-15)
- deps: update dependency @podium/utils to v5.0.7 (ee4ee5b)
5.0.23 (2024-05-15)
- make response toJSON return type serializable (026a723)
5.0.22 (2024-05-15)
- generate type definitions before publish (8189b01)
5.0.21 (2024-05-14)
5.0.20 (2024-05-14)
- deps: update dependency @podium/schemas to v5.0.2 (e8e2fb4)
5.0.19 (2024-05-13)
- deps: update dependency @podium/utils to v5.0.6 (fb1e29f)
5.0.18 (2024-05-10)
- deps: update dependency undici to v6.16.1 (16edd1c)
5.0.17 (2024-05-07)
- deps: update dependency undici to v6.16.0 (8884811)
5.0.16 (2024-05-07)
- deps: update dependency @podium/utils to v5.0.5 (4059526)
5.0.15 (2024-05-07)
- Requests hang on http errors (a9c82b6)
5.0.14 (2024-05-02)
- deps: update dependency abslog to v2.4.4 (0e21e41)
5.0.13 (2024-04-30)
- deps: update dependency abslog to v2.4.3 (ea2a8ff)
5.0.12 (2024-04-30)
- deps: update dependency @podium/schemas to v5.0.1 (f6b3f56)
5.0.11 (2024-04-23)
- deps: update dependency @podium/utils to v5.0.4 (b622774)
5.0.10 (2024-04-12)
- deps: update dependency abslog to v2.4.2 (f36069e)
5.0.9 (2024-04-12)
- deps: update dependency @podium/utils to v5.0.3 (9412fa6)
5.0.8 (2024-04-10)
- deps: update dependency abslog to v2.4.1 (105a16c)
5.0.7 (2024-02-01)
- deps: update dependency @podium/utils to v5.0.2 (dd7af21)
5.0.6 (2024-01-05)
- log the full URI, not only the base (f42640e)
5.0.5 (2023-12-13)
- deps: update dependency undici to v6 (b0701be)
5.0.4 (2023-12-08)
- deps: update dependency @podium/utils to v5.0.1 (ea93a78)
5.0.3 (2023-12-06)
- export default now that package is esm (a1739e8)
5.0.2 (2023-12-01)
- Consume body on non 200 requests (ebfc8be)
5.0.1 (2023-11-30)
- set correct types file (6d08e50)
5.0.0 (2023-11-28)
- deps: update dependency readable-stream to v4 (d3aff96)
- deps: update dependency readable-stream to v4 (9c7303a)
- Fix inspect method on response object (#294) (94d1485)
- Convert to ESM (#206) (d31298f)
- Drop node 10.x support (a71c3b0)
- Make HttpIncoming required first argument to .fetch() and .stream() (9b80ee7)
- Remove .js() and .css() methods (#128) (db6d306)
- Remove deprecated 'change' and 'dispose' events (#129) (449fff1)
- replace request with undici for http requests (31163db)
- Support new proxy structure in manifest (#295) (d8aa28a)
- Use ES private properties instead of Symbols and defineProperty for privacy (#131) (2787a6c)
- Use native streams (#215) (f949c9c)
-
Convert from CommonJS to ESM
-
fix: Remove outcommented code
Co-authored-by: Trygve Lie [email protected]
- Due to dropping node 10.x support we use ES private properties instead of Symbols and
.defineProperty()
.
We've been using Symbols and .defineProperty()
to define private properties in classes up until now. This has the downside that they are not true private and in later versions of node.js one would see these Symbols when inspecting an object. What we want is proper private properties.
This PR does also add a pretty printer which outputs an object literal or the object so when debugging one can see the getters and setters of the object.
Example: printing a object with console.log()
would previously print the following:
PodiumClientResponse {
[Symbol(podium:client:response:redirect)]: '',
[Symbol(podium:client:response:content)]: '',
[Symbol(podium:client:response:headers)]: {},
[Symbol(podium:client:response:css)]: [],
[Symbol(podium:client:response:js)]: []
}
Now the following will be printed:
{
redirect: '',
content: '',
headers: {},
css: [],
js: []
}
Co-authored-by: Trygve Lie [email protected]
- This removes the deprecated
change
anddispose
events.
Resolves: podium-lib/issues#24
- chore: lint love
Co-authored-by: Trygve Lie [email protected]
- Remove .js() and .css() methods to retrieve fetched js and css for all podlets. Also removes the
resolveJs
andresolveCss
arguments when registering a podlet.
Resolves: podium-lib/issues#25
Co-authored-by: Trygve Lie [email protected]
- Only support node 12 and 14.
HttpIncoming
must now be passed as the first argument to .fetch() and .stream()
5.0.0-next.15 (2023-11-28)
- deps: update dependency readable-stream to v4 (d3aff96)
- deps: update dependency readable-stream to v4 (9c7303a)
5.0.0-next.14 (2023-11-28)
- deps: update dependency @metrics/client to v2.5.1 (c7f6b5b)
- deps: update dependency @metrics/client to v2.5.2 (764886f)
- deps: update dependency @podium/schemas to v4.1.33 (9ee1fba)
- deps: update dependency @podium/schemas to v4.1.34 (e95650f)
- deps: update dependency @podium/utils to v4.4.37 (6d7fa24)
- deps: update dependency @podium/utils to v4.4.38 (05b14df)
- deps: update dependency @podium/utils to v4.4.39 (39289a0)
- deps: update dependency @podium/utils to v4.4.41 (e316c43)
- deps: update dependency @podium/utils to v4.5.1 (3632899)
- Replace .abort() with .destroy() (a41f44a)
- return correct type in typescript definition. (#311) (e06f610)
- Set log level for network errors to debug when throwable (#298) (3ba5d67)
- update type definitions (d63a621)
- use manifest asset scope field to filter assets (fd83d64)
4.6.1 (2023-11-20)
- deps: update dependency @podium/utils to v4.5.1 (3632899)
4.6.0 (2023-11-16)
- use manifest asset scope field to filter assets (fd83d64)
4.5.35 (2023-10-19)
- deps: update dependency @podium/utils to v4.4.41 (e316c43)
4.5.34 (2023-10-09)
- update type definitions (d63a621)
4.5.33 (2023-09-19)
- deps: update dependency @metrics/client to v2.5.2 (764886f)
4.5.32 (2023-09-14)
- deps: update dependency @metrics/client to v2.5.1 (c7f6b5b)
4.5.31 (2023-05-11)
- Replace .abort() with .destroy() (a41f44a)
4.5.30 (2023-02-15)
4.5.29 (2023-01-04)
- deps: update dependency @podium/utils to v4.4.39 (39289a0)
4.5.28 (2023-01-04)
- deps: update dependency @podium/schemas to v4.1.34 (e95650f)
4.5.27 (2022-12-07)
- deps: update dependency @podium/utils to v4.4.38 (05b14df)
4.5.26 (2022-11-14)
- deps: update dependency @podium/utils to v4.4.37 (6d7fa24)
4.5.25 (2022-11-14)
- deps: update dependency @podium/schemas to v4.1.33 (9ee1fba)
4.5.24 (2022-10-18)
4.5.23 (2022-09-01)
5.0.0-next.13 (2022-09-21)
5.0.0-next.12 (2022-09-20)
- replace request with undici for http requests (31163db)
5.0.0-next.11 (2022-09-08)
5.0.0-next.10 (2022-09-07)
5.0.0-next.9 (2022-05-09)
4.5.23 (2022-09-01)
- add 'redirect' to 'PodiumClientResponse' interface (#235) (6670007)
- deps: update dependency @podium/schemas to v4.1.17 (6d249ed)
- deps: update dependency @podium/schemas to v4.1.18 (36ca4a1)
- deps: update dependency @podium/schemas to v4.1.19 (8a7f288)
- deps: update dependency @podium/schemas to v4.1.20 (b9c7ef4)
- deps: update dependency @podium/schemas to v4.1.21 (5a12fbd)
- deps: update dependency @podium/schemas to v4.1.22 (a6ca70a)
- deps: update dependency @podium/schemas to v4.1.23 (0ad1042)
- deps: update dependency @podium/schemas to v4.1.24 (4cbad88)
- deps: update dependency @podium/schemas to v4.1.25 (8a8caa1)
- deps: update dependency @podium/schemas to v4.1.26 (a11d701)
- deps: update dependency @podium/schemas to v4.1.27 (9b1d8d7)
- deps: update dependency @podium/schemas to v4.1.28 (36e5398)
- deps: update dependency @podium/schemas to v4.1.29 (7664934)
- deps: update dependency @podium/schemas to v4.1.30 (1a1c18e)
- deps: update dependency @podium/schemas to v4.1.31 (563ebb7)
- deps: update dependency @podium/schemas to v4.1.32 (fc13291)
- deps: update dependency @podium/utils to v4.4.18 (0448d3e)
- deps: update dependency @podium/utils to v4.4.19 (e0c2c34)
- deps: update dependency @podium/utils to v4.4.20 (6b9b3f6)
- deps: update dependency @podium/utils to v4.4.21 (c007b67)
- deps: update dependency @podium/utils to v4.4.22 (f65fbd0)
- deps: update dependency @podium/utils to v4.4.23 (81200ea)
- deps: update dependency @podium/utils to v4.4.24 (747e73a)
- deps: update dependency @podium/utils to v4.4.25 (8e82542)
- deps: update dependency @podium/utils to v4.4.26 (9487380)
- deps: update dependency @podium/utils to v4.4.27 (556a158)
- deps: update dependency @podium/utils to v4.4.28 (581bdc6)
- deps: update dependency @podium/utils to v4.4.29 (f33f1d9)
- deps: update dependency @podium/utils to v4.4.30 (954b607)
- deps: update dependency @podium/utils to v4.4.31 (0afdb26)
- deps: update dependency @podium/utils to v4.4.32 (798ed3a)
- deps: update dependency @podium/utils to v4.4.33 (1136b6f)
- deps: update dependency @podium/utils to v4.4.34 (81967fc)
- deps: update dependency @podium/utils to v4.4.35 (9ba9720)
- deps: update dependency @podium/utils to v4.4.36 (6ca8bee)
5.0.0-next.8 (2021-05-17)
4.5.22 (2022-03-23)
- deps: update dependency @podium/utils to v4.4.36 (6ca8bee)
4.5.21 (2022-03-23)
- deps: update dependency @podium/schemas to v4.1.32 (fc13291)
4.5.20 (2022-02-05)
- deps: update dependency @podium/utils to v4.4.35 (9ba9720)
4.5.19 (2022-02-05)
- deps: update dependency @podium/schemas to v4.1.31 (563ebb7)
4.5.18 (2022-01-15)
- deps: update dependency @podium/utils to v4.4.34 (81967fc)
4.5.17 (2022-01-15)
- deps: update dependency @podium/schemas to v4.1.30 (1a1c18e)
4.5.16 (2022-01-02)
- deps: update dependency @podium/utils to v4.4.33 (1136b6f)
4.5.15 (2021-11-22)
- deps: update dependency @podium/utils to v4.4.32 (798ed3a)
4.5.14 (2021-11-22)
- deps: update dependency @podium/schemas to v4.1.29 (7664934)
4.5.13 (2021-11-17)
- deps: update dependency @podium/utils to v4.4.31 (0afdb26)
4.5.12 (2021-11-17)
- deps: update dependency @podium/schemas to v4.1.28 (36e5398)
4.5.11 (2021-11-15)
- deps: update dependency @podium/utils to v4.4.30 (954b607)
4.5.10 (2021-11-14)
- deps: update dependency @podium/utils to v4.4.29 (f33f1d9)
4.5.9 (2021-11-14)
- deps: update dependency @podium/schemas to v4.1.27 (9b1d8d7)
4.5.8 (2021-11-09)
- deps: update dependency @podium/utils to v4.4.28 (581bdc6)
4.5.7 (2021-11-09)
- deps: update dependency @podium/schemas to v4.1.26 (a11d701)
4.5.6 (2021-10-27)
- deps: update dependency @podium/utils to v4.4.27 (556a158)
4.5.5 (2021-10-27)
4.5.4 (2021-09-13)
- deps: update dependency @podium/utils to v4.4.26 (9487380)
4.5.3 (2021-09-13)
- deps: update dependency @podium/schemas to v4.1.25 (8a8caa1)
4.5.2 (2021-08-14)
- deps: update dependency @podium/utils to v4.4.25 (8e82542)
4.5.1 (2021-08-14)
- deps: update dependency @podium/schemas to v4.1.24 (4cbad88)
4.5.0 (2021-07-19)
5.0.0-next.7 (2021-05-05)
4.4.33 (2021-07-16)
- deps: update dependency @podium/schemas to v4.0.4 (#136) (9f71f0f), closes #142
- deps: update dependency @podium/schemas to v4.0.5 (e9263c9)
- deps: update dependency @podium/schemas to v4.1.10 (8f12c52)
- deps: update dependency @podium/schemas to v4.1.11 (4f136aa)
- deps: update dependency @podium/schemas to v4.1.14 (3870a77)
- deps: update dependency @podium/schemas to v4.1.15 (f9eea3f)
- deps: update dependency @podium/schemas to v4.1.16 (2156ae4)
- deps: update dependency @podium/utils to v4.3.1 (f5483b6)
- deps: update dependency @podium/utils to v4.3.3 (f4ee3a2)
- deps: update dependency @podium/utils to v4.4.0 (f3712b3)
- deps: update dependency @podium/utils to v4.4.1 (3f0dddc)
- deps: update dependency @podium/utils to v4.4.13 (6771733)
- deps: update dependency @podium/utils to v4.4.14 (cd7ed39)
- deps: update dependency @podium/utils to v4.4.15 (ce00590)
- deps: update dependency @podium/utils to v4.4.16 (f0bfe5f)
- deps: update dependency @podium/utils to v4.4.17 (a57669c)
- Update @podium/schema to version 4.1.9 to fix ajv error (#188) (1b03065)
-
Convert from CommonJS to ESM
-
fix: Remove outcommented code
Co-authored-by: Trygve Lie [email protected]
5.0.0-next.6 (2020-10-06)
- deps: update dependency @podium/utils to v4.4.24 (747e73a)
4.4.32 (2021-07-16)
- deps: update dependency @podium/schemas to v4.1.23 (0ad1042)
4.4.31 (2021-07-04)
- deps: update dependency @podium/schemas to v4.1.22 (a6ca70a)
4.4.30 (2021-07-04)
- deps: update dependency @podium/utils to v4.4.23 (81200ea)
4.4.29 (2021-06-07)
- deps: update dependency @podium/utils to v4.4.22 (f65fbd0)
4.4.28 (2021-06-06)
- deps: update dependency @podium/schemas to v4.1.21 (5a12fbd)
4.4.27 (2021-05-24)
- deps: update dependency @podium/utils to v4.4.21 (c007b67)
4.4.26 (2021-05-24)
- deps: update dependency @podium/schemas to v4.1.20 (b9c7ef4)
4.4.25 (2021-05-15)
- deps: update dependency @podium/utils to v4.4.20 (6b9b3f6)
4.4.24 (2021-05-14)
- deps: update dependency @podium/schemas to v4.1.19 (8a7f288)
4.4.23 (2021-05-09)
- deps: update dependency @podium/utils to v4.4.19 (e0c2c34)
4.4.22 (2021-05-09)
- deps: update dependency @podium/schemas to v4.1.18 (36ca4a1)
4.4.21 (2021-05-05)
- deps: update dependency @podium/utils to v4.4.18 (0448d3e)
4.4.20 (2021-05-05)
- deps: update dependency @podium/schemas to v4.1.17 (6d249ed)
4.4.19 (2021-04-27)
5.0.0-next.5 (2020-07-28)
- Due to dropping node 10.x support we use ES private properties instead of Symbols and
.defineProperty()
.
We've been using Symbols and .defineProperty()
to define private properties in classes up until now. This has the downside that they are not true private and in later versions of node.js one would see these Symbols when inspecting an object. What we want is proper private properties.
This PR does also add a pretty printer which outputs an object literal or the object so when debugging one can see the getters and setters of the object.
Example: printing a object with console.log()
would previously print the following:
PodiumClientResponse {
[Symbol(podium:client:response:redirect)]: '',
[Symbol(podium:client:response:content)]: '',
[Symbol(podium:client:response:headers)]: {},
[Symbol(podium:client:response:css)]: [],
[Symbol(podium:client:response:js)]: []
}
Now the following will be printed:
{
redirect: '',
content: '',
headers: {},
css: [],
js: []
}
Co-authored-by: Trygve Lie [email protected]
5.0.0-next.4 (2020-07-16)
- This removes the deprecated
change
anddispose
events.
Resolves: podium-lib/issues#24
- chore: lint love
Co-authored-by: Trygve Lie [email protected]
5.0.0-next.3 (2020-07-16)
- Remove .js() and .css() methods to retrieve fetched js and css for all podlets. Also removes the
resolveJs
andresolveCss
arguments when registering a podlet.
Resolves: podium-lib/issues#25
Co-authored-by: Trygve Lie [email protected]
5.0.0-next.2 (2020-07-12)
- Drop node 10.x support (a71c3b0)
- Only support node 12 and 14.
5.0.0-next.1 (2020-07-12)
- Make HttpIncoming required first argument to .fetch() and .stream() (9b80ee7)
HttpIncoming
must now be passed as the first argument to .fetch() and .stream()- deps: update dependency @podium/utils to v4.4.17 (a57669c)
4.4.18 (2021-04-27)
- deps: update dependency @podium/schemas to v4.1.16 (2156ae4)
4.4.17 (2021-04-12)
- deps: update dependency @podium/utils to v4.4.16 (f0bfe5f)
4.4.16 (2021-04-11)
- deps: update dependency @podium/schemas to v4.1.15 (f9eea3f)
4.4.15 (2021-04-02)
- deps: update dependency @podium/utils to v4.4.15 (ce00590)
4.4.14 (2021-04-02)
- deps: update dependency @podium/utils to v4.4.14 (cd7ed39)
4.4.13 (2021-04-02)
- deps: update dependency @podium/schemas to v4.1.14 (3870a77)
4.4.12 (2021-04-01)
- deps: update dependency @podium/utils to v4.4.13 (6771733)
4.4.11 (2021-04-01)
- deps: update dependency @podium/schemas to v4.1.11 (4f136aa)
4.4.10 (2021-03-31)
- deps: update dependency @podium/schemas to v4.1.10 (8f12c52)
4.4.9 (2021-03-31)
4.4.8 (2020-10-29)
- deps: update dependency @podium/utils to v4.4.1 (3f0dddc)
4.4.7 (2020-10-12)
- deps: update dependency @podium/utils to v4.4.0 (f3712b3)
4.4.6 (2020-10-10)
- deps: update dependency @podium/utils to v4.3.3 (f4ee3a2)
4.4.5 (2020-10-10)
- deps: update dependency @podium/schemas to v4.0.5 (e9263c9)
4.4.4 (2020-10-06)
- deps: update dependency @podium/schemas to v4.0.4 (#136) (9f71f0f), closes #142
- deps: update dependency @podium/utils to v4.3.1 (f5483b6)
4.4.3 (2020-10-06)
Notable changes to this project will be documented in this file.
The latest version of this document is always available in releases.
3.0.6 - 2019-03-27
- Clean up kill switch - #25
- Reworked state to HttpOutgoing - #22
- Updated @podium/utils to version 3.1.2 - #21
- Updated other dependencies
3.0.5 - 2019-03-15
- Use pipeline to stream content - #20
3.0.4 - 2019-03-11
3.0.3 - 2019-03-10
- Updated @metrics/client to version 2.4.1 - #15
3.0.2 - 2019-03-05
- Add error event listeners on all metric streams - #12
3.0.1 - 2019-02-21
- Updated dependencies.
3.0.0 - 2019-02-21
- Initial open source release.
2.2.3 - 2019-01-02
- Fixed metrics instrumentation of fallback requests
2.2.2 - 2018-12-20
- Fixed metrics label for podlet name
- Replaced @podium/metrics with @metrics/client
2.2.1 - 2018-09-13
- The name argument on .register() now follow the same naming rules as name in @podium/podlet and the manifest - #82
- Updated dependencies - #83
2.2.0 - 2018-07-17
- Introduces a kill switch to prevent a recursive loop in the process of re-fetching manifest, fallback and content in the process of a version update of a podlet - #77
2.1.0 - 2018-07-10
- Updated @podium/schema to version 2.1.1 - #75
- Added .refresh() method for loading / refreshing manifest and fallbacks without touching the content - #76