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

chore(deps): try supporting GraphQL v16 #764

Closed
wants to merge 6 commits into from
Closed

chore(deps): try supporting GraphQL v16 #764

wants to merge 6 commits into from

Conversation

benjie
Copy link
Member

@benjie benjie commented Oct 24, 2021

GraphQL v16 doesn't support Node 8 or Node 10 or older versions of Node 12, so we cannot merge all of this, I'm opening it primarily to see if CI will pass on Node 12+.

Fixes #773

@glen-84
Copy link

glen-84 commented Dec 11, 2021

Why do you need to support EOL versions of Node.js?

@benjie
Copy link
Member Author

benjie commented Dec 12, 2021

I agree; and will be officially and explicitly not supporting EOL versions of Node, Postgres, GraphQL, etc from V5 onwards. However this was not stated in the V4.0.0 release and I want to stay within semver which is somewhat fuzzy on the topic but there has definitely been pushback on removing support.

@glen-84 glen-84 mentioned this pull request Jan 1, 2022
6 tasks
@glen-84
Copy link

glen-84 commented Jan 2, 2022

It looks like getArgumentValues is no longer available. There's a related issue @ graphql/graphql-js#2719.

@boredland
Copy link

Is there anything I can do to help with this migration / what is the state of it right now?

@benjie
Copy link
Member Author

benjie commented Jan 27, 2022

According to the GraphQL.js WG yesterday a fix to the above issue is being worked on. Please follow that thread linked above.

@benjie benjie mentioned this pull request Feb 9, 2022
6 tasks
@hiepxanh
Copy link

getArgumentValues is available for now since it merged graphql/graphql-js#3487

@sachaw
Copy link

sachaw commented Mar 1, 2022

Any chance we can get an update on this? It's a major blocker for several down stream packages. Thanks.

@benjie
Copy link
Member Author

benjie commented Mar 1, 2022

Rebased, GraphQL version bumped in the lockfile, added a few type workarounds. Fingers crossed 🤞

@benjie
Copy link
Member Author

benjie commented Mar 1, 2022

Alas, more work is required to support V16 without breaking backwards compatibility with previously supported versions of GraphQL. My time is currently focussed on developing PostGraphile V5, but if you wanted to raise a PR against this PR to make the necessary changes you're welcome to - I suspect it's mostly signature changes on the various methods where object parameters are now required instead of positional arguments.

I don't personally see this as much of a priority because it's still perfectly reasonable to use GraphQL v15 and there's no features in v16 that PostGraphile v4 needs. If I'm missing something, please feel free to let me know what critical reasons there are for using GraphQL v16 rather than v15 👍

@hiepxanh
Copy link

hiepxanh commented Mar 4, 2022

I agree with you, let's focus on PostGraphile V5. We just fine, sometime the npm install auto upgrade cause we frustrated and then the feeling of everything perfect make us need the new version must be up to date, but after all it just fine. haha

Copy link

@jmarsal jmarsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@benjie
Copy link
Member Author

benjie commented Sep 27, 2023

If you need GraphQL v16 support, use PostGraphile V5 👍

@benjie benjie closed this Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GraphQL v16
6 participants