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

Updating to 1.8.0 breaks gatsby 2.x compatibility #692

Open
50bbx opened this issue Nov 24, 2022 · 7 comments
Open

Updating to 1.8.0 breaks gatsby 2.x compatibility #692

50bbx opened this issue Nov 24, 2022 · 7 comments

Comments

@50bbx
Copy link

50bbx commented Nov 24, 2022

Hello,

Because of the change in the package.json requiring a peerDependency of gatsby 5.0.0, this plugin breaks on a Gatsby 2 website.

As you can see here v1.7.1 is compatible with Gatsby 2, but 1.8.x is not.

https://github.com/mdreizin/gatsby-plugin-robots-txt/blob/v1.7.1/package.json

@grahamd711
Copy link

grahamd711 commented Nov 29, 2022

@mdreizin +1 for this issue. We are on Gatsby 3.14.6 and have the same issue installing packages due to the Gatsby 5.0.0 dependency.

@julian-miracle
Copy link

+1 too. We are on gatsby 4.24.7 and have the same issue installing packages due to the Gatsby 5.0.0 dependency. We are using v1.7.1 now

@OstaOleh
Copy link

We have the same issue. Gatsby 3.14.6 and Node 16v do not allow install packages. We can not downgrade not cuz it could break other packages.

@Primajin
Copy link

Primajin commented Dec 4, 2022

This should either be made backwards compatible or it should be clearly stated as a breaking change and thus a major version bump would be in order 😕

@davideghz
Copy link

it would be handy a table with a compatibility map: what plugin version is compatible with Gatsby 2.x, 3.x, 4.x, 5.x, ...

@rosswaycaster
Copy link

@davideghz I wish every Gatsby plugin had this. Upgrading a Gatsby 3.x site to even just 4.x has been a complete nightmare.

@dancingmonkey
Copy link

dancingmonkey commented Oct 28, 2023

Yes you cannot update a package from 1.7.1 to 1.8.0, which according to semver should be a non-breaking change, and so suddenly require gatsby 5. This is my case because I am using Gatsby 4.25.7 and 1.8.0 depends on gatsby 5 suddenly.

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

No branches or pull requests

8 participants