Skip to content

v5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Nov 00:33

5.0.0 (2023-11-29)

Bug Fixes

Features

  • Convert to ESM (#286) (7824568)
  • Drop node 10.x support (7e0bb22)
  • Remove deprecated return value on .js and .css methods (e9052ed)

BREAKING CHANGES

  • Convert from CommonJS module to ESM

  • fix: Set type to be module

Co-authored-by: Trygve Lie trygve.lie@finn.no

  • In version 4 of podium it became possible to set multiple assets to a layout through its .js() and .css() methods. This did make it impossible to let these methods return a reasonable value, but to keep a backwards compatibility with version 3 of Podium, the first item passed in was returned for compatibility. This removes this compatibility with version 3 of Podium.

This resolves podium-lib/issues#23

  • Only support node 12 and 14.