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

update context API #35

Merged
merged 2 commits into from
Dec 12, 2020
Merged

update context API #35

merged 2 commits into from
Dec 12, 2020

Conversation

estrattonbailey
Copy link
Member

Updates context API for better flexibility and clarity. Makes room for plugins. See docs for details. Resolves #33 for the moment.

Creates a more generic and flexible context object. Largest change is the addition of 'props' as a
catch-all for plugins and utilties to add data to context. Include there will be things like head
meta data, presta/load cache, and most importantly, the content of the file.
@estrattonbailey estrattonbailey merged commit 05d2287 into master Dec 12, 2020
@github-actions
Copy link
Contributor

🎉 This PR is included in version 0.22.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.

1 participant