Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated return values from the podlet .js() and .css() methods #23

Closed
trygve-lie opened this issue Aug 1, 2019 · 0 comments
Closed
Labels
@podium/podlet Issue is related to code in @podium/podlet
Milestone

Comments

@trygve-lie
Copy link
Contributor

The .js() and .css() methods in the @podium/podlet module returns a value. These are deprecated (podium-lib/podlet#57).

Make it so that these does not return a value.

@trygve-lie trygve-lie added the @podium/podlet Issue is related to code in @podium/podlet label Aug 1, 2019
@trygve-lie trygve-lie added this to the Version 5.0.0 milestone Aug 1, 2019
trygve-lie pushed a commit to podium-lib/layout that referenced this issue Jul 21, 2020
BREAKING CHANGE: 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
github-actions bot pushed a commit to podium-lib/layout that referenced this issue Jul 21, 2020
# [5.0.0-next.2](v5.0.0-next.1...v5.0.0-next.2) (2020-07-21)

### Features

* Remove deprecated return value on .js and .css methods ([e9052ed](e9052ed))

### BREAKING CHANGES

* 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
github-actions bot pushed a commit to podium-lib/layout that referenced this issue Nov 29, 2023
# [5.0.0](v4.6.125...v5.0.0) (2023-11-29)

### Bug Fixes

* Remove lodash.merge ([#157](#157)) ([ea2bc77](ea2bc77))
* Resolve merge conflicts ([be49970](be49970))
* Use latest client and proxy ([#399](#399)) ([4035461](4035461))

### Features

* Convert to ESM ([#286](#286)) ([7824568](7824568))
* Drop node 10.x support ([7e0bb22](7e0bb22))
* Remove deprecated return value on .js and .css methods ([e9052ed](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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@podium/podlet Issue is related to code in @podium/podlet
Projects
None yet
Development

No branches or pull requests

1 participant