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

Upgrade plugin for styletron to v4.0 #4366

Merged
merged 2 commits into from
Mar 5, 2018
Merged

Upgrade plugin for styletron to v4.0 #4366

merged 2 commits into from
Mar 5, 2018

Conversation

ptb
Copy link
Contributor

@ptb ptb commented Mar 5, 2018

Using the Styletron v3 to v4 Migration Guide, this upgrades styletron from v3 to v4. The gatsby example using-styletron (aside from updating the dependencies), continues to work without code changes.

@gatsbybot
Copy link
Collaborator

gatsbybot commented Mar 5, 2018

Deploy preview for gatsbygram ready!

Built with commit bd6c5cf

https://deploy-preview-4366--gatsbygram.netlify.com

@KyleAMathews
Copy link
Contributor

This would be a breaking change for the plugin since you have to install a number of new peerDependencies correct?

@ptb
Copy link
Contributor Author

ptb commented Mar 5, 2018

The functions used in the using-styletron example remains the same, but yes, the dependencies are completely different.

@KyleAMathews
Copy link
Contributor

Ok, yeah. Since that'd break someone's site when upgrade gatsby-plugin-styletron, please bump the plugin version to 2.0.0

@KyleAMathews KyleAMathews merged commit ef263d0 into gatsbyjs:master Mar 5, 2018
@KyleAMathews
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants