Skip to content

Navigation Menu

Sign in
Sign up

Symfony 6 support #932

Answered by Tib-z
Nikoblood asked this question in Q&A
Dec 2, 2021 · 3 comments · 7 replies
Discussion options

Hello there! Do you planning to add support for Symfony 6 in the nearest future?

You must be logged in to vote

Hi,
As symfony 5.3 is already EOL, I plan to use symfony 6 for new projects (at least 5.4, but would like 6.0).
@Nikoblood do you have any update regarding symfony 6.0 (or 5.4) migration/compatibility progress?
@ruudk I saw your symfony 6 commit is already in the master branch.
e3b8342
Any plans on sf 6 support on a stable branch? I'm not sure about the roadmap.. Or do you think we should stick to sf 5.4 and use 0.13? However according to Symfony's backward compatibility promise as long as deprecations are fixed on 5.4, then 6.0 the next major will be compatible as well. @Nikoblood have you faced any issues with 0.13 on Sf 5.4?

Replies: 3 comments 7 replies

Comment options

Of course 😊 could you give it a try and create a PR? :)

I think the first step would be to enable 5.4 here https://github.com/overblog/GraphQLBundle/blob/master/.github/workflows/ci.yml#L25
and see if those tests pass...

If there are deprecations, you can fix them easily.

Then, in another PR, you can add 6.0 support via the same way + updating the composer.json file.

Not sure if you should target 0.14 branch or master, but that's up to @mcg-web

You must be logged in to vote
0 replies
Comment options

Thanks, I will try! We are using your bundle in our projects, and the last project is already updated to symfony 5.4, using last stable version of overblog/graphql-bundle: v0.13.6.

I`ll start from PR, related to symfony 5.4

You must be logged in to vote
1 reply
Comment options

Yeah, it works because we don't exclude 5.4. But it's good that we start testing with that release to spot bugs.

Thanks, let me know if you need further help 💪

Comment options

Hi,
As symfony 5.3 is already EOL, I plan to use symfony 6 for new projects (at least 5.4, but would like 6.0).
@Nikoblood do you have any update regarding symfony 6.0 (or 5.4) migration/compatibility progress?
@ruudk I saw your symfony 6 commit is already in the master branch.
e3b8342
Any plans on sf 6 support on a stable branch? I'm not sure about the roadmap.. Or do you think we should stick to sf 5.4 and use 0.13? However according to Symfony's backward compatibility promise as long as deprecations are fixed on 5.4, then 6.0 the next major will be compatible as well. @Nikoblood have you faced any issues with 0.13 on Sf 5.4?

You must be logged in to vote
6 replies
Comment options

@Carobit Symfony 6 has BC breaks, that needs to be done in overblog/GraphQLBundle. Because of this, I assume, that there must be new major version of this bundle, that will not have backward compatibility for older packages / versions of symfony.

Regarding to that, I think that there are too big responsibility for me to update this package for Symfony 6 and this must be done by maintainers of the package.

Comment options

@Carobit Also I must to say, that develop branch of this bundle is already supports Symfony 6. So our project has dependecy on dev-master ( we are using one concrete stable commit that has green tests ).

Comment options

Master branch is using https://github.com/webonyx/graphql-php dev-master and is waiting for a tagged release.

See:

Comment options

That being said, we are using dev-master of both projects in production and it works great. We pin to a specific commit hash so that we don't accidentally break things.

Comment options

Good to know, thanks for the heads up.

Answer selected by ruudk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /