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

(core) - Remove deprecated operationName property from Operations #1357

Merged
merged 3 commits into from
Feb 10, 2021

Conversation

kitten
Copy link
Member

@kitten kitten commented Feb 2, 2021

Close #1354

Summary

In #1045 we've deprecated the Operation.operationName property as specced out in #1005.

I believe we're now ready to get rid of it as all exchanges that are maintained by us have been migrated over and nothing stops us from switching over as we've given sufficient time for people to adopt this change. The warning is still spurious in @urql/devtools and may confuse new users, so the sooner we can remove it the better.

Set of changes

  • Remove operationName and associated warning utilities
  • Update test files / snapshots
  • Bump bindings by a minor to force people onto the new @urql/core version

@changeset-bot
Copy link

changeset-bot bot commented Feb 2, 2021

🦋 Changeset detected

Latest commit: adba183

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@urql/core Major
@urql/preact Minor
@urql/svelte Minor
@urql/vue Minor
urql Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kitten kitten marked this pull request as ready for review February 9, 2021 10:59
@kitten kitten force-pushed the chore/remove-deprecated-operationname branch from 382fcd1 to adba183 Compare February 10, 2021 14:09
@kitten kitten merged commit 9a1f123 into main Feb 10, 2021
@kitten kitten deleted the chore/remove-deprecated-operationname branch February 10, 2021 14:32
@github-actions github-actions bot mentioned this pull request Feb 10, 2021
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.

Operation.operationName property has been depreciated with async headers
2 participants