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

feat: Remove deprecated return value on .js and .css methods #156

Merged
merged 1 commit into from
Jul 21, 2020
Merged

Conversation

trygve-lie
Copy link
Contributor

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

This also update all @podium dependencies to v5.

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
@trygve-lie trygve-lie merged commit d288c28 into next Jul 21, 2020
@trygve-lie trygve-lie deleted the deps branch July 21, 2020 08:32
@github-actions
Copy link

🎉 This PR is included in version 5.0.0-next.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants