-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(core) - Deprecate the "operationName" property and move to "kind" (#…
…1045) * Deprecate the Operation.operationName property in core/src/client * Add some missing files * Update the core exchanges * Add a changeset * Update the multipart-fetch exchange * Update the persisted-fetch exchange * Update exchanges and move getOperationName to utils * Remove confusing destructuring * Update the changeset * Update the testing doc * Update a reference to getOperationName * Update a reference to makeOperation * Make client.createOperationContext public * Changes for PR feedback * Update makeOperation and move addMetadata The addMetadata utility was definitely kept in the wrong place since it concerns operations. `makeOperation` has been updated to fill out the context if it isn't passed which may become convenient in a couple of places, instead setting it to the `operation.context`. * Update operation spreads to use `makeOperation` * Fix additional operation mapping case in cacheExchange * Update core docs and add callout to changeset * Replace all remaining operation spreads with makeOperation Co-authored-by: Phil Pluckthun <[email protected]>
- urql@4.2.1
- urql@4.2.0
- urql@4.1.0
- urql@4.0.7
- urql@4.0.6
- urql@4.0.5
- urql@4.0.4
- urql@4.0.3
- urql@4.0.2
- urql@4.0.1
- urql@4.0.0
- urql@3.0.4
- urql@3.0.3
- urql@3.0.2
- urql@3.0.1
- urql@3.0.0
- urql@2.2.3
- urql@2.2.2
- urql@2.2.1
- urql@2.2.0
- urql@2.1.3
- urql@2.1.2
- urql@2.1.1
- urql@2.1.0
- urql@2.0.6
- urql@2.0.5
- urql@2.0.4
- urql@2.0.3
- urql@2.0.2
- urql@2.0.1
- urql@2.0.0
- urql@1.11.6
- urql@1.11.5
- urql@1.11.4
- urql@1.11.3
- urql@1.11.2
- urql@1.11.1
- urql@1.11.0
- urql@1.10.3
- urql@1.10.2
- @urql/vue@1.4.2
- @urql/vue@1.4.1
- @urql/vue@1.4.0
- @urql/vue@1.3.2
- @urql/vue@1.3.1
- @urql/vue@1.3.0
- @urql/vue@1.2.2
- @urql/vue@1.2.1
- @urql/vue@1.2.0
- @urql/vue@1.1.3
- @urql/vue@1.1.2
- @urql/vue@1.1.1
- @urql/vue@1.1.0
- @urql/vue@1.0.5
- @urql/vue@1.0.4
- @urql/vue@1.0.3
- @urql/vue@1.0.2
- @urql/vue@1.0.1
- @urql/vue@1.0.0
- @urql/vue@0.6.4
- @urql/vue@0.6.3
- @urql/vue@0.6.2
- @urql/vue@0.6.1
- @urql/vue@0.6.0
- @urql/vue@0.5.0
- @urql/vue@0.4.3
- @urql/vue@0.4.2
- @urql/vue@0.4.1
- @urql/vue@0.4.0
- @urql/vue@0.3.0
- @urql/vue@0.2.1
- @urql/vue@0.2.0
- @urql/vue@0.1.0
- @urql/svelte@4.2.2
- @urql/svelte@4.2.1
- @urql/svelte@4.2.0
- @urql/svelte@4.1.1
- @urql/svelte@4.1.0
- @urql/svelte@4.0.4
- @urql/svelte@4.0.3
- @urql/svelte@4.0.2
- @urql/svelte@4.0.1
- @urql/svelte@4.0.0
- @urql/svelte@3.0.4
- @urql/svelte@3.0.3
- @urql/svelte@3.0.2
- @urql/svelte@3.0.1
- @urql/svelte@3.0.0
- @urql/svelte@2.0.2
- @urql/svelte@2.0.1
- @urql/svelte@2.0.0
- @urql/svelte@1.3.3
- @urql/svelte@1.3.2
- @urql/svelte@1.3.1
- @urql/svelte@1.3.0
- @urql/svelte@1.2.3
- @urql/svelte@1.2.2
- @urql/svelte@1.2.1
- @urql/svelte@1.2.0
- @urql/svelte@1.1.4
- @urql/svelte@1.1.3
- @urql/storybook-addon@2.0.1
- @urql/storybook-addon@2.0.0
- @urql/storybook-addon@1.0.9
- @urql/storybook-addon@1.0.8
- @urql/storybook-addon@1.0.7
- @urql/storybook-addon@1.0.6
- @urql/storybook-addon@1.0.5
- @urql/storybook-addon@1.0.4
- @urql/storage-rn@1.1.0
- @urql/storage-rn@1.0.3
- @urql/storage-rn@1.0.2
- @urql/storage-rn@1.0.1
- @urql/storage-rn@1.0.0
- @urql/storage-rn@0.1.1
- @urql/storage-rn@0.1.0
- @urql/solid@0.1.1
- @urql/solid@0.1.0
- @urql/preact@4.1.1
- @urql/preact@4.1.0
- @urql/preact@4.0.5
- @urql/preact@4.0.4
- @urql/preact@4.0.3
- @urql/preact@4.0.2
- @urql/preact@4.0.1
- @urql/preact@4.0.0
- @urql/preact@3.0.3
- @urql/preact@3.0.2
- @urql/preact@3.0.1
- @urql/preact@3.0.0
- @urql/preact@2.0.4
- @urql/preact@2.0.3
- @urql/preact@2.0.2
- @urql/preact@2.0.1
- @urql/preact@2.0.0
- @urql/preact@1.4.4
- @urql/preact@1.4.3
- @urql/preact@1.4.2
- @urql/preact@1.4.1
- @urql/preact@1.4.0
- @urql/preact@1.3.2
- @urql/preact@1.3.1
- @urql/next@1.1.3
- @urql/next@1.1.2
- @urql/next@1.1.1
- @urql/next@1.1.0
- @urql/next@1.0.0
- @urql/introspection@1.1.0
- @urql/introspection@1.0.3
- @urql/introspection@1.0.2
- @urql/introspection@1.0.1
- @urql/introspection@1.0.0
- @urql/introspection@0.3.3
- @urql/introspection@0.3.2
- @urql/introspection@0.3.1
- @urql/introspection@0.3.0
- @urql/introspection@0.2.0
- @urql/introspection@0.1.2
- @urql/introspection@0.1.1
- @urql/exchange-throw-on-error@0.1.0
- @urql/exchange-suspense@1.9.2
- @urql/exchange-retry@1.3.0
- @urql/exchange-retry@1.2.1
- @urql/exchange-retry@1.2.0
- @urql/exchange-retry@1.1.1
- @urql/exchange-retry@1.1.0
- @urql/exchange-retry@1.0.0
- @urql/exchange-retry@0.3.3
- @urql/exchange-retry@0.3.2
- @urql/exchange-retry@0.3.1
- @urql/exchange-retry@0.3.0
- @urql/exchange-retry@0.2.1
- @urql/exchange-retry@0.2.0
- @urql/exchange-retry@0.1.10
- @urql/exchange-retry@0.1.9
- @urql/exchange-request-policy@1.2.0
- @urql/exchange-request-policy@1.1.0
- @urql/exchange-request-policy@1.0.2
- @urql/exchange-request-policy@1.0.1
- @urql/exchange-request-policy@1.0.0
- @urql/exchange-request-policy@0.1.5
- @urql/exchange-request-policy@0.1.4
- @urql/exchange-request-policy@0.1.3
- @urql/exchange-request-policy@0.1.2
- @urql/exchange-request-policy@0.1.1
- @urql/exchange-refocus@1.1.0
- @urql/exchange-refocus@1.0.2
- @urql/exchange-refocus@1.0.1
- @urql/exchange-refocus@1.0.0
- @urql/exchange-refocus@0.2.5
- @urql/exchange-refocus@0.2.4
- @urql/exchange-refocus@0.2.3
- @urql/exchange-refocus@0.2.2
- @urql/exchange-refocus@0.2.1
- @urql/exchange-populate@1.2.0
- @urql/exchange-populate@1.1.2
- @urql/exchange-populate@1.1.1
- @urql/exchange-populate@1.1.0
- @urql/exchange-populate@1.0.0
- @urql/exchange-populate@0.2.3
- @urql/exchange-populate@0.2.2
- @urql/exchange-populate@0.2.1
- @urql/exchange-persisted-fetch@2.1.0
- @urql/exchange-persisted-fetch@2.0.0
- @urql/exchange-persisted-fetch@1.3.4
- @urql/exchange-persisted-fetch@1.3.3
- @urql/exchange-persisted-fetch@1.3.2
- @urql/exchange-persisted-fetch@1.3.1
- @urql/exchange-persisted-fetch@1.3.0
- @urql/exchange-persisted-fetch@1.2.3
- @urql/exchange-persisted-fetch@1.2.2
- @urql/exchange-persisted@4.3.0
- @urql/exchange-persisted@4.2.0
- @urql/exchange-persisted@4.1.1
- @urql/exchange-persisted@4.1.0
- @urql/exchange-persisted@4.0.1
- @urql/exchange-persisted@4.0.0
- @urql/exchange-persisted@3.0.1
- @urql/exchange-persisted@3.0.0
- @urql/exchange-multipart-fetch@1.1.0
- @urql/exchange-multipart-fetch@1.0.1
- @urql/exchange-multipart-fetch@1.0.0
- @urql/exchange-multipart-fetch@0.1.14
- @urql/exchange-multipart-fetch@0.1.13
- @urql/exchange-multipart-fetch@0.1.12
- @urql/exchange-multipart-fetch@0.1.11
- @urql/exchange-multipart-fetch@0.1.10
- @urql/exchange-graphcache@7.2.1
- @urql/exchange-graphcache@7.2.0
- @urql/exchange-graphcache@7.1.3
- @urql/exchange-graphcache@7.1.2
- @urql/exchange-graphcache@7.1.1
- @urql/exchange-graphcache@7.1.0
- @urql/exchange-graphcache@7.0.2
- @urql/exchange-graphcache@7.0.1
- @urql/exchange-graphcache@7.0.0
- @urql/exchange-graphcache@6.5.1
- @urql/exchange-graphcache@6.5.0
- @urql/exchange-graphcache@6.4.1
- @urql/exchange-graphcache@6.4.0
- @urql/exchange-graphcache@6.3.3
- @urql/exchange-graphcache@6.3.2
- @urql/exchange-graphcache@6.3.1
- @urql/exchange-graphcache@6.3.0
- @urql/exchange-graphcache@6.2.0
- @urql/exchange-graphcache@6.1.4
- @urql/exchange-graphcache@6.1.3
- @urql/exchange-graphcache@6.1.2
- @urql/exchange-graphcache@6.1.1
- @urql/exchange-graphcache@6.1.0
- @urql/exchange-graphcache@6.0.4
- @urql/exchange-graphcache@6.0.3
- @urql/exchange-graphcache@6.0.2
- @urql/exchange-graphcache@6.0.1
- @urql/exchange-graphcache@6.0.0
- @urql/exchange-graphcache@5.2.0
- @urql/exchange-graphcache@5.0.9
- @urql/exchange-graphcache@5.0.8
- @urql/exchange-graphcache@5.0.7
- @urql/exchange-graphcache@5.0.6
- @urql/exchange-graphcache@5.0.5
- @urql/exchange-graphcache@5.0.4
- @urql/exchange-graphcache@5.0.3
- @urql/exchange-graphcache@5.0.2
- @urql/exchange-graphcache@5.0.1
- @urql/exchange-graphcache@5.0.0
- @urql/exchange-graphcache@4.4.3
- @urql/exchange-graphcache@4.4.2
- @urql/exchange-graphcache@4.4.1
- @urql/exchange-graphcache@4.4.0
- @urql/exchange-graphcache@4.3.6
- @urql/exchange-graphcache@4.3.5
- @urql/exchange-graphcache@4.3.4
- @urql/exchange-graphcache@4.3.3
- @urql/exchange-graphcache@4.3.2
- @urql/exchange-graphcache@4.3.1
- @urql/exchange-graphcache@4.3.0
- @urql/exchange-graphcache@4.2.1
- @urql/exchange-graphcache@4.2.0
- @urql/exchange-graphcache@4.1.4
- @urql/exchange-graphcache@4.1.3
- @urql/exchange-graphcache@4.1.2
- @urql/exchange-graphcache@4.1.1
- @urql/exchange-graphcache@4.1.0
- @urql/exchange-graphcache@4.0.0
- @urql/exchange-graphcache@3.4.0
- @urql/exchange-graphcache@3.3.4
- @urql/exchange-graphcache@3.3.3
- @urql/exchange-graphcache@3.3.2
- @urql/exchange-graphcache@3.3.1
- @urql/exchange-graphcache@3.3.0
- @urql/exchange-graphcache@3.2.0
- @urql/exchange-graphcache@3.1.11
- @urql/exchange-graphcache@3.1.10
- @urql/exchange-graphcache@3.1.9
- @urql/exchange-graphcache@3.1.8
- @urql/exchange-execute@2.3.0
- @urql/exchange-execute@2.2.2
- @urql/exchange-execute@2.2.1
- @urql/exchange-execute@2.2.0
- @urql/exchange-execute@2.1.1
- @urql/exchange-execute@2.1.0
- @urql/exchange-execute@2.0.0
- @urql/exchange-execute@1.2.3
- @urql/exchange-execute@1.2.2
- @urql/exchange-execute@1.2.1
- @urql/exchange-execute@1.2.0
- @urql/exchange-execute@1.1.0
- @urql/exchange-execute@1.0.5
- @urql/exchange-execute@1.0.4
- @urql/exchange-execute@1.0.3
- @urql/exchange-execute@1.0.2
- @urql/exchange-context@0.3.0
- @urql/exchange-context@0.2.1
- @urql/exchange-context@0.2.0
- @urql/exchange-context@0.1.0
- @urql/exchange-auth@2.2.0
- @urql/exchange-auth@2.1.6
- @urql/exchange-auth@2.1.5
- @urql/exchange-auth@2.1.4
- @urql/exchange-auth@2.1.3
- @urql/exchange-auth@2.1.2
- @urql/exchange-auth@2.1.1
- @urql/exchange-auth@2.1.0
- @urql/exchange-auth@2.0.0
- @urql/exchange-auth@1.0.0
- @urql/exchange-auth@0.1.7
- @urql/exchange-auth@0.1.6
- @urql/exchange-auth@0.1.5
- @urql/exchange-auth@0.1.4
- @urql/exchange-auth@0.1.3
- @urql/exchange-auth@0.1.2
- @urql/core@5.1.0
- @urql/core@5.0.8
- @urql/core@5.0.7
- @urql/core@5.0.6
- @urql/core@5.0.5
- @urql/core@5.0.4
- @urql/core@5.0.3
- @urql/core@5.0.2
- @urql/core@5.0.1
- @urql/core@5.0.0
- @urql/core@4.3.0
- @urql/core@4.2.3
- @urql/core@4.2.2
- @urql/core@4.2.1
- @urql/core@4.2.0
- @urql/core@4.1.4
- @urql/core@4.1.3
- @urql/core@4.1.2
- @urql/core@4.1.1
- @urql/core@4.1.0
- @urql/core@4.0.11
- @urql/core@4.0.10
- @urql/core@4.0.9
- @urql/core@4.0.8
- @urql/core@4.0.7
- @urql/core@4.0.6
- @urql/core@4.0.5
- @urql/core@4.0.4
- @urql/core@4.0.3
- @urql/core@4.0.2
- @urql/core@4.0.1
- @urql/core@4.0.0
- @urql/core@3.2.2
- @urql/core@3.2.1
- @urql/core@3.1.1
- @urql/core@3.1.0
- @urql/core@3.0.5
- @urql/core@3.0.4
- @urql/core@3.0.3
- @urql/core@3.0.2
- @urql/core@3.0.1
- @urql/core@3.0.0
- @urql/core@2.6.1
- @urql/core@2.6.0
- @urql/core@2.5.0
- @urql/core@2.4.4
- @urql/core@2.4.3
- @urql/core@2.4.2
- @urql/core@2.4.1
- @urql/core@2.4.0
- @urql/core@2.3.6
- @urql/core@2.3.5
- @urql/core@2.3.4
- @urql/core@2.3.3
- @urql/core@2.3.2
- @urql/core@2.3.1
- @urql/core@2.3.0
- @urql/core@2.2.0
- @urql/core@2.1.6
- @urql/core@2.1.5
- @urql/core@2.1.4
- @urql/core@2.1.3
- @urql/core@2.1.2
- @urql/core@2.1.1
- @urql/core@2.1.0
- @urql/core@2.0.0
- @urql/core@1.16.2
- @urql/core@1.16.1
- @urql/core@1.16.0
- @urql/core@1.15.2
- @urql/core@1.15.1
- @urql/core@1.15.0
- @urql/core@1.14.1
- @urql/core@1.14.0
- next-urql@5.0.2
- next-urql@5.0.1
- next-urql@5.0.0
- next-urql@4.0.3
- next-urql@4.0.2
- next-urql@4.0.1
- next-urql@4.0.0
- next-urql@3.3.3
- next-urql@3.3.2
- next-urql@3.3.1
- next-urql@3.3.0
- next-urql@3.2.1
- next-urql@3.2.0
- next-urql@3.1.1
- next-urql@3.1.0
- next-urql@3.0.1
- next-urql@3.0.0
- next-urql@2.2.0
- next-urql@2.1.1
- next-urql@2.1.0
Showing
51 changed files
with
841 additions
and
635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
'@urql/exchange-auth': patch | ||
'@urql/exchange-execute': patch | ||
'@urql/exchange-graphcache': patch | ||
'@urql/exchange-multipart-fetch': patch | ||
'@urql/exchange-persisted-fetch': patch | ||
'@urql/exchange-populate': patch | ||
'@urql/exchange-refocus': patch | ||
'@urql/exchange-retry': patch | ||
'@urql/exchange-suspense': patch | ||
'@urql/core': minor | ||
'urql': patch | ||
--- | ||
|
||
Deprecate the `Operation.operationName` property in favor of `Operation.kind`. This name was | ||
previously confusing as `operationName` was effectively referring to two different things. You can | ||
safely upgrade to this new version, however to mute all deprecation warnings you will have to | ||
**upgrade** all `urql` packages you use. If you have custom exchanges that spread operations, please | ||
use [the new `makeOperation` helper | ||
function](https://formidable.com/open-source/urql/docs/api/core/#makeoperation) instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.