5.4.0 (2024-11-13)
- refactor hints to assets (fa85f8a)
- add waitForAssets method (c4aaaf2)
5.3.2 (2024-11-04)
- update @podium/schemas to 5.1.0 (67d630b)
5.3.1 (2024-09-22)
- receive and emit hinted assets (a07e0e3)
5.3.0 (2024-09-20)
- add early hint tracking to html-template (e9b5867)
5.2.1 (2024-09-20)
- remove asset type header tagging (ff16547)
5.2.0 (2024-09-05)
- add asset-type link header attribute and set to either style or script (0a02da6)
5.1.0 (2024-08-18)
- add toEarlyHint methods to Asset classes (150b6e2)
5.0.7 (2024-05-15)
5.0.6 (2024-05-13)
5.0.5 (2024-05-07)
5.0.4 (2024-04-23)
5.0.3 (2024-04-11)
- ensure html-template lang attribute works in both layout and podlet (2545ac8)
5.0.2 (2024-02-01)
5.0.1 (2023-12-07)
- deps: update dependency camelcase to v8 (4bb0483)
5.0.0 (2023-11-28)
- Improve ESM exports to account for dual module exports (#123) (42ebb4f)
- Point require export to main.js (#122) (1438ee6)
- Remove original url module (#185) (6c01c0f)
- Simplify js and css value validation (#70) (05a1ffc)
- Convert to ESM (#119) (349c5b9)
- Drop node 10.x support (#67) (84203f8)
- Remove CJS build step (#170) (15390ed)
- Use ES private properties instead of Symbols for privacy (#72) (4083fa1)
-
Convert from CommonJS to ESM
-
feat: convert to ESM
-
fix: Remove outcommented code
-
ci: Add build step for backward compat to CJS
-
ci: Ignore linting dist directory
Co-authored-by: Trygve Lie [email protected]
- Due to dropping node 10.x support we use ES private properties instead of Symbols.
We've been using Symbols 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:
PodiumHttpIncoming {
[Symbol(podium:httpincoming:development)]: false,
[Symbol(podium:httpincoming:response)]: {},
[Symbol(podium:httpincoming:request)]: {},
[Symbol(podium:httpincoming:context)]: {},
[Symbol(podium:httpincoming:params)]: {},
[Symbol(podium:httpincoming:proxy)]: false,
[Symbol(podium:httpincoming:name)]: '',
[Symbol(podium:httpincoming:view)]: {},
[Symbol(podium:httpincoming:url)]: {},
[Symbol(podium:httpincoming:css)]: [],
[Symbol(podium:httpincoming:js)]: []
}
Now the following will be printed:
{
development: false,
response: {},
request: {},
context: {},
params: {},
proxy: false,
name: '',
view: {},
url: {},
css: [],
js: []
}
Co-authored-by: Trygve Lie [email protected]
- Only support node 12 and 14.
Co-authored-by: Trygve Lie [email protected]
5.0.0-next.10 (2023-11-20)
- add missing functions to type definition (b260c4f)
- correct typescript definitions for assets (6b39222)
- correctly build lazy load script tag html when asset strategy is lazy (b1b2646)
- deps: update dependency @podium/schemas to v4.1.33 (8036aa7)
- deps: update dependency @podium/schemas to v4.1.34 (a86e661)
- deps: update dependency @podium/schemas to v4.2.0 (be92192)
- make AssetCss and AssetJs constructable for TS (f3f7fee)
- mark params as optional (51d84da)
- add strategy and scope fields to AssetCss and AssetJs classes (5a8ecb1)
- update default document template to use asset strategy (0688b03)
4.5.1 (2023-11-19)
- correctly build lazy load script tag html when asset strategy is lazy (b1b2646)
4.5.0 (2023-11-16)
- add strategy and scope fields to AssetCss and AssetJs classes (5a8ecb1)
- update default document template to use asset strategy (0688b03)
5.0.0-next.9 (2022-10-09)
5.0.0-next.8 (2022-05-04)
5.0.0-next.7 (2022-05-03)
- deps: update dependency @podium/schemas to v4.1.16 (c47f0bf)
- deps: update dependency @podium/schemas to v4.1.17 (b45e56d)
- deps: update dependency @podium/schemas to v4.1.18 (21ef50a)
- deps: update dependency @podium/schemas to v4.1.19 (3a4f6a8)
- deps: update dependency @podium/schemas to v4.1.20 (7d9955b)
- deps: update dependency @podium/schemas to v4.1.21 (cebdc13)
- deps: update dependency @podium/schemas to v4.1.22 (15d8ea9)
- deps: update dependency @podium/schemas to v4.1.23 (c18698a)
- deps: update dependency @podium/schemas to v4.1.24 (35c41c7)
- deps: update dependency @podium/schemas to v4.1.25 (27b8507)
- deps: update dependency @podium/schemas to v4.1.26 (961e0e0)
- deps: update dependency @podium/schemas to v4.1.27 (72d4596)
- deps: update dependency @podium/schemas to v4.1.28 (b3d9275)
- deps: update dependency @podium/schemas to v4.1.29 (cc43020)
- deps: update dependency @podium/schemas to v4.1.30 (3a390ce)
- deps: update dependency @podium/schemas to v4.1.31 (2f67490)
- deps: update dependency @podium/schemas to v4.1.32 (0322287)
- deps: update dependency camelcase to v6.2.1 (2f9a3e3)
- deps: update dependency camelcase to v6.3.0 (fee3e49)
- Do not allow origin as a pathname value (#143) (ff9785d)
5.0.0-next.6 (2021-04-30)
4.4.42 (2023-11-16)
- deps: update dependency @podium/schemas to v4.2.0 (be92192)
4.4.41 (2023-10-19)
- add missing functions to type definition (b260c4f)
4.4.40 (2023-10-09)
4.4.39 (2023-01-04)
- deps: update dependency @podium/schemas to v4.1.34 (a86e661)
4.4.38 (2022-12-07)
- correct typescript definitions for assets (6b39222)
4.4.37 (2022-11-14)
- deps: update dependency @podium/schemas to v4.1.33 (8036aa7)
4.4.36 (2022-03-23)
5.0.0-next.5 (2021-04-27)
4.4.35 (2022-02-05)
4.4.34 (2022-01-15)
- deps: update dependency @podium/schemas to v4.1.30 (3a390ce)
5.0.0-next.4 (2021-04-27)
- deps: update dependency @podium/schemas to v4.0.4 (5ff49c0)
- deps: update dependency @podium/schemas to v4.0.5 (9bf1a14)
- deps: update dependency @podium/schemas to v4.1.0 (4ff5fe9)
- deps: update dependency @podium/schemas to v4.1.1 (f2cc938)
- deps: update dependency @podium/schemas to v4.1.10 (5a10235)
- deps: update dependency @podium/schemas to v4.1.11 (20941c6)
- deps: update dependency @podium/schemas to v4.1.13 (f677772)
- deps: update dependency @podium/schemas to v4.1.14 (0deb0d0)
- deps: update dependency @podium/schemas to v4.1.15 (446458c)
- Update @podium/schema to version 4.1.9 to fix ajv error (#110) (08ee7df)
- deps: update dependency @podium/schemas to v4.0.7 (cbded99)
- deps: update dependency @podium/schemas to v4.1.2 (04c7b1b)
- deps: update dependency @podium/schemas to v4.1.3 (e663829)
- deps: update dependency @podium/schemas to v4.1.4 (4cb9bb6)
- deps: update dependency @podium/schemas to v4.1.5 (d920dab)
- deps: update dependency @podium/schemas to v4.1.6 (f92062c)
- deps: update dependency @podium/schemas to v4.1.7 (9eac72d)
- deps: update dependency @podium/schemas to v4.1.8 (c8fde78)
- deps: update dependency camelcase to v6.1.0 (ef22149)
- deps: update dependency camelcase to v6.2.0 (3e9dec9)
- add .buildReactLinkAttributes and .buildReactScriptAttributes methods (ffb0bff)
- add .toReactAttrs() method to AssetJs and AssetCss classes and integration tests (7ab097f)
- Convert to ESM (#119) (349c5b9)
-
Convert from CommonJS to ESM
-
feat: convert to ESM
-
fix: Remove outcommented code
-
ci: Add build step for backward compat to CJS
-
ci: Ignore linting dist directory
Co-authored-by: Trygve Lie [email protected]
5.0.0-next.3 (2020-07-27)
- Due to dropping node 10.x support we use ES private properties instead of Symbols.
We've been using Symbols 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:
PodiumHttpIncoming {
[Symbol(podium:httpincoming:development)]: false,
[Symbol(podium:httpincoming:response)]: {},
[Symbol(podium:httpincoming:request)]: {},
[Symbol(podium:httpincoming:context)]: {},
[Symbol(podium:httpincoming:params)]: {},
[Symbol(podium:httpincoming:proxy)]: false,
[Symbol(podium:httpincoming:name)]: '',
[Symbol(podium:httpincoming:view)]: {},
[Symbol(podium:httpincoming:url)]: {},
[Symbol(podium:httpincoming:css)]: [],
[Symbol(podium:httpincoming:js)]: []
}
Now the following will be printed:
{
development: false,
response: {},
request: {},
context: {},
params: {},
proxy: false,
name: '',
view: {},
url: {},
css: [],
js: []
}
Co-authored-by: Trygve Lie [email protected]
5.0.0-next.2 (2020-07-15)
4.4.33 (2022-01-01)
- deps: update dependency camelcase to v6.3.0 (fee3e49)
4.4.32 (2021-11-22)
- deps: update dependency @podium/schemas to v4.1.29 (cc43020)
4.4.31 (2021-11-17)
- deps: update dependency @podium/schemas to v4.1.28 (b3d9275)
4.4.30 (2021-11-15)
- deps: update dependency camelcase to v6.2.1 (2f9a3e3)
4.4.29 (2021-11-14)
- deps: update dependency @podium/schemas to v4.1.27 (72d4596)
4.4.28 (2021-11-09)
- deps: update dependency @podium/schemas to v4.1.26 (961e0e0)
4.4.27 (2021-10-26)
4.4.26 (2021-09-13)
- deps: update dependency @podium/schemas to v4.1.25 (27b8507)
4.4.25 (2021-08-14)
- deps: update dependency @podium/schemas to v4.1.24 (35c41c7)
4.4.24 (2021-07-15)
- deps: update dependency @podium/schemas to v4.1.23 (c18698a)
4.4.23 (2021-07-04)
- deps: update dependency @podium/schemas to v4.1.22 (15d8ea9)
4.4.22 (2021-06-06)
- deps: update dependency @podium/schemas to v4.1.21 (cebdc13)
4.4.21 (2021-05-24)
- deps: update dependency @podium/schemas to v4.1.20 (7d9955b)
4.4.20 (2021-05-14)
- deps: update dependency @podium/schemas to v4.1.19 (3a4f6a8)
4.4.19 (2021-05-09)
- deps: update dependency @podium/schemas to v4.1.18 (21ef50a)
4.4.18 (2021-05-05)
- deps: update dependency @podium/schemas to v4.1.17 (b45e56d)
4.4.17 (2021-04-27)
- deps: update dependency @podium/schemas to v4.1.16 (c47f0bf)
4.4.16 (2021-04-11)
- deps: update dependency @podium/schemas to v4.1.15 (446458c)
4.4.15 (2021-04-02)
- deps: update dependency @podium/schemas to v4.1.14 (0deb0d0)
4.4.14 (2021-04-02)
- deps: update dependency @podium/schemas to v4.1.13 (f677772)
4.4.13 (2021-04-01)
- deps: update dependency @podium/schemas to v4.1.10 (5a10235)
- deps: update dependency @podium/schemas to v4.1.11 (20941c6)
4.4.12 (2021-03-30)
4.4.11 (2021-03-27)
- deps: update dependency @podium/schemas to v4.1.8 (c8fde78)
4.4.10 (2021-03-26)
- deps: update dependency @podium/schemas to v4.1.7 (9eac72d)
4.4.9 (2021-03-20)
- deps: update dependency @podium/schemas to v4.1.6 (f92062c)
4.4.8 (2021-03-08)
- deps: update dependency @podium/schemas to v4.1.5 (d920dab)
4.4.7 (2021-03-07)
- deps: update dependency @podium/schemas to v4.1.4 (4cb9bb6)
4.4.6 (2021-02-17)
5.0.0-next.1 (2020-07-12)
- Only support node 12 and 14.
Co-authored-by: Trygve Lie [email protected]
4.4.5 (2021-02-11)
- deps: update dependency @podium/schemas to v4.1.2 (04c7b1b)
4.4.4 (2021-02-02)
- deps: update dependency @podium/schemas to v4.1.1 (f2cc938)
4.4.3 (2021-01-22)
- deps: update dependency @podium/schemas to v4.1.0 (4ff5fe9)
4.4.2 (2021-01-21)
- deps: update dependency @podium/schemas to v4.0.7 (cbded99)
4.4.1 (2020-10-28)
- deps: update dependency camelcase to v6.2.0 (3e9dec9)
4.4.0 (2020-10-12)
- Only support node 12 and 14.
Co-authored-by: Trygve Lie [email protected]
- add .buildReactLinkAttributes and .buildReactScriptAttributes methods (ffb0bff)
- add .toReactAttrs() method to AssetJs and AssetCss classes and integration tests (7ab097f)
4.3.3 (2020-10-10)
- deps: update dependency @podium/schemas to v4.0.5 (9bf1a14)
4.3.2 (2020-10-10)
- deps: update dependency camelcase to v6.1.0 (ef22149)
4.3.1 (2020-09-13)
- deps: update dependency @podium/schemas to v4.0.4 (5ff49c0)
4.3.0 (2020-06-26)
Notable changes to this project.
The latest version of this document is always available in releases.
3.1.2 - 2019-03-21
- Improved performance of HttpIncoming - #6
3.1.1 - 2019-02-07
- Initial open source release.