Skip to content

feat: make Base.plugin() accept an array instead of multiple arguments, and change APIs from Base.plugin() / Base.defaults() / Base.defaultOptions to Base.withPlugins() / Base.withDefaults() / Base.defaults #64

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

Merged
merged 8 commits into from
Jul 20, 2021

Conversation

gr2m
Copy link
Owner

@gr2m gr2m commented Jul 19, 2021

closes #62

BREAKING CHANGE: Base.plugin() now only accepts a single argument which has to be an array of plugin functions

@gr2m gr2m force-pushed the 61-static-plugin-function-accepting-array branch from c7d599c to 6579ae0 Compare July 20, 2021 17:43
@gr2m gr2m changed the title feat: make Base.plugin() accept an array instead of feat: make Base.plugin() accept an array instead of multiple arguments Jul 20, 2021
@gr2m gr2m changed the title feat: make Base.plugin() accept an array instead of multiple arguments feat: make Base.plugin() accept an array instead of multiple arguments, and change APIs from Base.plugin() / Base.defaults() / Base.defaultOptions to Base.withPlugins() / Base.withDefaults() / Base.defaults Jul 20, 2021
BREAKING CHANGE: `Base.plugin()` now only accepts a single argument which has to be an array of plugin functions
@gr2m gr2m force-pushed the 61-static-plugin-function-accepting-array branch from 6579ae0 to c0e7bb0 Compare July 20, 2021 17:46
@gr2m gr2m merged commit cba90c6 into main Jul 20, 2021
@gr2m gr2m deleted the 61-static-plugin-function-accepting-array branch July 20, 2021 19:59
@github-actions
Copy link

🎉 This PR is included in version 4.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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change APIs from Base.plugin() / Base.defaults() / Base.defaultOptions to Base.withPlugins() / Base.withDefaults() / Base.defaults
2 participants