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

Allow gatsby-plugin-image v2 as peer dependency #179

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

michaellopez
Copy link
Contributor

We have been using gatsby-plugin-image@2.1.0 with gatsby-source-datocms@3.0.10 and it has worked really well for us so far.

Looking at the CHANGELOG for gatsby-plugin-image@2.2.0 the only thing I can see that prompts a major version bump is gatsbyjs/gatsby#32544 (basically when using multiple sources you need to include gatsby-plugin-image in your gatsby-config.js) but the commit itself isn't marked as a breaking change. So I don't really know. Maybe the major version bump was for Gatsby to be able to say that Gatsby v4 requires v2+ of gatsby-plugin-image? 🤷‍♂️

Either way, I manually checled the diff between 1.14.2 and 2.2.0 and I can't see any reason for the major version bump other than the above. The diff is basically only version bumps to dependencies, devDependencies and peerDependencies.

This PR would allow more flexibility for consumers of gatsby-source-datocms.

@matjack1 matjack1 merged commit a1132c6 into datocms:master Nov 19, 2021
@matjack1
Copy link
Member

Thanks!

@michaellopez michaellopez deleted the gatsby-plugin-image-v2 branch November 22, 2021 06:17
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.

2 participants