-
Notifications
You must be signed in to change notification settings - Fork 101
Plan migration to Webonyx 14 #283
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
Comments
Hey @moufmouf any movement on this, or need any help with it? |
Have you started any kind of plan/document on what would need changing yet? |
Not really. The big question is: do we need to bump a major version in GraphQLite when upgrading Webonyx? GraphQLite acts as a wrapper around Webonyx and in theory, we could have minor versions of GraphQLite using different major versions of Webonyx. In practice, there is one breaking change (Strict coercion of scalar types) that might impact GraphQLite users. What do you think? |
I think any breaking change of stable features should follow https://graphqlite.thecodingmachine.io/docs/semver otherwise that promise means nothing. If the stable public API of GraphQLite has a breaking change when updating the webonyx library, then it should bump up a major version. If the webonyx library has a new update with breaking changes that don't affect the public API of GraphQLite, then I would make it a minor update. |
@moufmouf @devmaslov Should we do this and target a 5.0 release now that #269 has been merged in? |
@oojacoboo There's one more thing. Based on the docs, we should drop the support of Doctrine Annotations in 5th version, which means as well PHP version less then 8. It might be too early for this. What do you think? BTW there's a PR for this already and looks like it needs some work. The unit tests are failing there. I can take a look into it closer to the weekend. |
@devmaslov thanks for looking into this. I think we should hold off on dropping Doctrine Annotations in version 5. We should deprecate Doctrine annotations first, for at least one full version, before dropping them. PHP 8 hasn't even been released for a year yet. I think we need to give this more time before making such a change. |
Totally agree |
+1, forcing PHP8 would prevent a lot of people using it that can't upgrade yet because of other dependencies, or local dependencies on older PHP versions. I do agree with the major 5.0 version update for updating Webonyx. |
Webonyx/Graphql-php 14 is out since 2 weeks now: https://github.com/webonyx/graphql-php/releases/tag/v14.0.0
We should plan a migration (and decide if this constitutes a major or not for us).
The text was updated successfully, but these errors were encountered: