Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Version Packages (#1340)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

authored by

github-actions[bot]
github-actions[bot]
and committed by
GitHub
8894a86a d0e067ad

+135 -79
-5
.changeset/blue-bees-join.md
··· 1 - --- 2 - '@urql/exchange-graphcache': minor 3 - --- 4 - 5 - Allow `schema` option to be passed with a partial introspection result that only contains `queryType`, `mutationType`, and `subscriptionType` with their respective names. This allows you to pass `{ __schema: { queryType: { name: 'Query' } } }` and the likes to Graphcache's `cacheExchange` to alter the default root names without enabling full schema awareness.
-5
.changeset/cuddly-squids-cheat.md
··· 1 - --- 2 - '@urql/exchange-persisted-fetch': minor 3 - --- 4 - 5 - Add `enforcePersistedQueries` option to `persistedFetchExchange`, which disables automatic persisted queries and retry logic, and instead assumes that persisted queries will be handled like normal GraphQL requests.
-5
.changeset/gorgeous-squids-exercise.md
··· 1 - --- 2 - '@urql/core': major 3 - --- 4 - 5 - **Breaking**: Remove `pollInterval` feature from `OperationContext`. Instead consider using a source that uses `Wonka.interval` and `Wonka.switchMap` over `client.query()`'s source.
-5
.changeset/great-rice-lick.md
··· 1 - --- 2 - '@urql/vue': minor 3 - --- 4 - 5 - **Breaking**: Remove `pollInterval` option from `useQuery`. Please consider adding an interval manually calling `executeQuery()`.
-5
.changeset/metal-oranges-tease.md
··· 1 - --- 2 - 'urql': minor 3 - --- 4 - 5 - Reimplement `useQuery` to apply a consistent Suspense cache (torn down queries will still eliminate stale values) and support all Concurrent Mode edge cases. This work is based on `useMutableSource`'s mechanisms and allows React to properly fork lanes since no implicit state exists outside of `useState` in the implementation. The `useSubscription` hook has been updated similarly without a cache or retrieving values on mount.
-5
.changeset/orange-maps-raise.md
··· 1 - --- 2 - '@urql/introspection': minor 3 - --- 4 - 5 - Update `minifyIntrospectionQuery` utility to remove additional information on arguments and to filter out schema metadata types, like `__Field` and others.
-10
.changeset/plenty-carrots-prove.md
··· 1 - --- 2 - '@urql/core': major 3 - '@urql/preact': minor 4 - '@urql/svelte': minor 5 - '@urql/vue': minor 6 - 'urql': minor 7 - --- 8 - 9 - Remove deprecated `operationName` property from `Operation`s. The new `Operation.kind` property is now preferred. If you're creating new operations you may also use the `makeOperation` utility instead. 10 - When upgrading `@urql/core` please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using `npx yarn-deduplicate` (for Yarn) or `npm dedupe` (for npm).
-5
.changeset/small-apricots-exercise.md
··· 1 - --- 2 - '@urql/exchange-request-policy': patch 3 - --- 4 - 5 - Fix non-query operations being upgraded by `requestPolicyExchange` and time being stored by last issuance rather than last result.
-5
.changeset/smart-emus-jam.md
··· 1 - --- 2 - '@urql/exchange-graphcache': major 3 - --- 4 - 5 - Add improved error awareness to Graphcache. When Graphcache now receives a `GraphQLError` (via a `CombinedError`) it checks whether the `GraphQLError`'s `path` matches up with `null` values in the `data`. Any `null` values that the write operation now sees in the data will be replaced with a "cache miss" value (i.e. `undefined`) when it has an associated error. This means that errored fields from your GraphQL API will be marked as uncached and won't be cached. Instead the client will now attempt a refetch of the data so that errors aren't preventing future refetches or with schema awareness it will attempt a refetch automatically. Additionally, the `updates` functions will now be able to check whether the current field has any errors associated with it with `info.error`.
-5
.changeset/strong-emus-confess.md
··· 1 - --- 2 - '@urql/core': minor 3 - --- 4 - 5 - Reemit an `OperationResult` as `stale: true` if it's being reexecuted as `network-only` operation to give bindings immediate feedback on background refetches.
-6
.changeset/twelve-camels-sit.md
··· 1 - --- 2 - 'urql': major 3 - '@urql/preact': major 4 - --- 5 - 6 - **Breaking**: Remove `pollInterval` option from `useQuery`. Instead please consider using `useEffect` calling `executeQuery` on an interval.
+15
exchanges/graphcache/CHANGELOG.md
··· 1 1 # @urql/exchange-graphcache 2 2 3 + ## 4.0.0 4 + 5 + ### Major Changes 6 + 7 + - Add improved error awareness to Graphcache. When Graphcache now receives a `GraphQLError` (via a `CombinedError`) it checks whether the `GraphQLError`'s `path` matches up with `null` values in the `data`. Any `null` values that the write operation now sees in the data will be replaced with a "cache miss" value (i.e. `undefined`) when it has an associated error. This means that errored fields from your GraphQL API will be marked as uncached and won't be cached. Instead the client will now attempt a refetch of the data so that errors aren't preventing future refetches or with schema awareness it will attempt a refetch automatically. Additionally, the `updates` functions will now be able to check whether the current field has any errors associated with it with `info.error`, by [@kitten](https://github.com/kitten) (See [#1356](https://github.com/FormidableLabs/urql/pull/1356)) 8 + 9 + ### Minor Changes 10 + 11 + - Allow `schema` option to be passed with a partial introspection result that only contains `queryType`, `mutationType`, and `subscriptionType` with their respective names. This allows you to pass `{ __schema: { queryType: { name: 'Query' } } }` and the likes to Graphcache's `cacheExchange` to alter the default root names without enabling full schema awareness, by [@kitten](https://github.com/kitten) (See [#1379](https://github.com/FormidableLabs/urql/pull/1379)) 12 + 13 + ### Patch Changes 14 + 15 + - Updated dependencies (See [#1374](https://github.com/FormidableLabs/urql/pull/1374), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 16 + - @urql/core@2.0.0 17 + 3 18 ## 3.4.0 4 19 5 20 ### Minor Changes
+2 -2
exchanges/graphcache/package.json
··· 1 1 { 2 2 "name": "@urql/exchange-graphcache", 3 - "version": "3.4.0", 3 + "version": "4.0.0", 4 4 "description": "A normalized and configurable cache exchange for urql", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/graphcache", ··· 65 65 "preset": "../../scripts/jest/preset" 66 66 }, 67 67 "dependencies": { 68 - "@urql/core": ">=1.16.1", 68 + "@urql/core": ">=2.0.0", 69 69 "wonka": "^4.0.14" 70 70 }, 71 71 "peerDependencies": {
+11
exchanges/persisted-fetch/CHANGELOG.md
··· 1 1 # @urql/exchange-persisted-fetch 2 2 3 + ## 1.3.0 4 + 5 + ### Minor Changes 6 + 7 + - Add `enforcePersistedQueries` option to `persistedFetchExchange`, which disables automatic persisted queries and retry logic, and instead assumes that persisted queries will be handled like normal GraphQL requests, by [@kitten](https://github.com/kitten) (See [#1358](https://github.com/FormidableLabs/urql/pull/1358)) 8 + 9 + ### Patch Changes 10 + 11 + - Updated dependencies (See [#1374](https://github.com/FormidableLabs/urql/pull/1374), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 12 + - @urql/core@2.0.0 13 + 3 14 ## 1.2.3 4 15 5 16 ### Patch Changes
+2 -2
exchanges/persisted-fetch/package.json
··· 1 1 { 2 2 "name": "@urql/exchange-persisted-fetch", 3 - "version": "1.2.3", 3 + "version": "1.3.0", 4 4 "description": "An exchange that allows for persisted queries support when fetching queries", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 49 49 "preset": "../../scripts/jest/preset" 50 50 }, 51 51 "dependencies": { 52 - "@urql/core": ">=1.14.1", 52 + "@urql/core": ">=2.0.0", 53 53 "wonka": "^4.0.14" 54 54 }, 55 55 "peerDependencies": {
+8
exchanges/request-policy/CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## 0.1.1 4 + 5 + ### Patch Changes 6 + 7 + - ⚠️ Fix non-query operations being upgraded by `requestPolicyExchange` and time being stored by last issuance rather than last result, by [@kitten](https://github.com/kitten) (See [#1377](https://github.com/FormidableLabs/urql/pull/1377)) 8 + - Updated dependencies (See [#1374](https://github.com/FormidableLabs/urql/pull/1374), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 9 + - @urql/core@2.0.0 10 + 3 11 ## v0.1.0 4 12 5 13 **Initial Release**
+2 -2
exchanges/request-policy/package.json
··· 1 1 { 2 2 "name": "@urql/exchange-request-policy", 3 - "version": "0.1.0", 3 + "version": "0.1.1", 4 4 "description": "An exchange for operation request-policy upgrading in urql", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 56 56 "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" 57 57 }, 58 58 "dependencies": { 59 - "@urql/core": ">=1.12.0", 59 + "@urql/core": ">=2.0.0", 60 60 "wonka": "^4.0.14" 61 61 }, 62 62 "publishConfig": {
+12
packages/core/CHANGELOG.md
··· 1 1 # @urql/core 2 2 3 + ## 2.0.0 4 + 5 + ### Major Changes 6 + 7 + - **Breaking**: Remove `pollInterval` feature from `OperationContext`. Instead consider using a source that uses `Wonka.interval` and `Wonka.switchMap` over `client.query()`'s source, by [@kitten](https://github.com/kitten) (See [#1374](https://github.com/FormidableLabs/urql/pull/1374)) 8 + - Remove deprecated `operationName` property from `Operation`s. The new `Operation.kind` property is now preferred. If you're creating new operations you may also use the `makeOperation` utility instead. 9 + When upgrading `@urql/core` please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using `npx yarn-deduplicate` (for Yarn) or `npm dedupe` (for npm), by [@kitten](https://github.com/kitten) (See [#1357](https://github.com/FormidableLabs/urql/pull/1357)) 10 + 11 + ### Minor Changes 12 + 13 + - Reemit an `OperationResult` as `stale: true` if it's being reexecuted as `network-only` operation to give bindings immediate feedback on background refetches, by [@kitten](https://github.com/kitten) (See [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 14 + 3 15 ## 1.16.2 4 16 5 17 ### Patch Changes
+1 -1
packages/core/package.json
··· 1 1 { 2 2 "name": "@urql/core", 3 - "version": "1.16.2", 3 + "version": "2.0.0", 4 4 "description": "The shared core for the highly customizable and versatile GraphQL client", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/",
+6
packages/introspection/CHANGELOG.md
··· 1 1 # @urql/introspection 2 2 3 + ## 0.2.0 4 + 5 + ### Minor Changes 6 + 7 + - Update `minifyIntrospectionQuery` utility to remove additional information on arguments and to filter out schema metadata types, like `__Field` and others, by [@kitten](https://github.com/kitten) (See [#1351](https://github.com/FormidableLabs/urql/pull/1351)) 8 + 3 9 ## 0.1.2 4 10 5 11 ### Patch Changes
+1 -1
packages/introspection/package.json
··· 1 1 { 2 2 "name": "@urql/introspection", 3 - "version": "0.1.2", 3 + "version": "0.2.0", 4 4 "description": "Utilities for dealing with Introspection Queries and Client Schemas", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/",
+7
packages/next-urql/CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## 3.0.0 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies (See [#1335](https://github.com/FormidableLabs/urql/pull/1335), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1374](https://github.com/FormidableLabs/urql/pull/1374)) 8 + - urql@2.0.0 9 + 3 10 ## 2.2.0 4 11 5 12 ### Minor Changes
+2 -2
packages/next-urql/package.json
··· 1 1 { 2 2 "name": "next-urql", 3 - "version": "2.2.0", 3 + "version": "3.0.0", 4 4 "description": "Convenience wrappers for using urql with NextJS.", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 51 51 }, 52 52 "peerDependencies": { 53 53 "react": ">=16.8.0", 54 - "urql": "^1.10.3" 54 + "urql": "^2.0.0" 55 55 } 56 56 }
+16
packages/preact-urql/CHANGELOG.md
··· 1 1 # @urql/preact 2 2 3 + ## 2.0.0 4 + 5 + ### Major Changes 6 + 7 + - **Breaking**: Remove `pollInterval` option from `useQuery`. Instead please consider using `useEffect` calling `executeQuery` on an interval, by [@kitten](https://github.com/kitten) (See [#1374](https://github.com/FormidableLabs/urql/pull/1374)) 8 + 9 + ### Minor Changes 10 + 11 + - Remove deprecated `operationName` property from `Operation`s. The new `Operation.kind` property is now preferred. If you're creating new operations you may also use the `makeOperation` utility instead. 12 + When upgrading `@urql/core` please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using `npx yarn-deduplicate` (for Yarn) or `npm dedupe` (for npm), by [@kitten](https://github.com/kitten) (See [#1357](https://github.com/FormidableLabs/urql/pull/1357)) 13 + 14 + ### Patch Changes 15 + 16 + - Updated dependencies (See [#1374](https://github.com/FormidableLabs/urql/pull/1374), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 17 + - @urql/core@2.0.0 18 + 3 19 ## 1.4.4 4 20 5 21 ### Patch Changes
+2 -2
packages/preact-urql/package.json
··· 1 1 { 2 2 "name": "@urql/preact", 3 - "version": "1.4.4", 3 + "version": "2.0.0", 4 4 "description": "A highly customizable and versatile GraphQL client for Preact", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 60 60 "preact": ">= 10.0.0" 61 61 }, 62 62 "dependencies": { 63 - "@urql/core": "^1.16.0", 63 + "@urql/core": "^2.0.0", 64 64 "wonka": "^4.0.14" 65 65 }, 66 66 "publishConfig": {
+17
packages/react-urql/CHANGELOG.md
··· 1 1 # urql 2 2 3 + ## 2.0.0 4 + 5 + ### Major Changes 6 + 7 + - **Breaking**: Remove `pollInterval` option from `useQuery`. Instead please consider using `useEffect` calling `executeQuery` on an interval, by [@kitten](https://github.com/kitten) (See [#1374](https://github.com/FormidableLabs/urql/pull/1374)) 8 + 9 + ### Minor Changes 10 + 11 + - Reimplement `useQuery` to apply a consistent Suspense cache (torn down queries will still eliminate stale values) and support all Concurrent Mode edge cases. This work is based on `useMutableSource`'s mechanisms and allows React to properly fork lanes since no implicit state exists outside of `useState` in the implementation. The `useSubscription` hook has been updated similarly without a cache or retrieving values on mount, by [@kitten](https://github.com/kitten) (See [#1335](https://github.com/FormidableLabs/urql/pull/1335)) 12 + - Remove deprecated `operationName` property from `Operation`s. The new `Operation.kind` property is now preferred. If you're creating new operations you may also use the `makeOperation` utility instead. 13 + When upgrading `@urql/core` please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using `npx yarn-deduplicate` (for Yarn) or `npm dedupe` (for npm), by [@kitten](https://github.com/kitten) (See [#1357](https://github.com/FormidableLabs/urql/pull/1357)) 14 + 15 + ### Patch Changes 16 + 17 + - Updated dependencies (See [#1374](https://github.com/FormidableLabs/urql/pull/1374), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 18 + - @urql/core@2.0.0 19 + 3 20 ## 1.11.6 4 21 5 22 ### Patch Changes
+2 -2
packages/react-urql/package.json
··· 1 1 { 2 2 "name": "urql", 3 - "version": "1.11.6", 3 + "version": "2.0.0", 4 4 "description": "A highly customizable and versatile GraphQL client for React", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 58 58 "react": ">= 16.8.0" 59 59 }, 60 60 "dependencies": { 61 - "@urql/core": "^1.16.0", 61 + "@urql/core": "^2.0.0", 62 62 "wonka": "^4.0.14" 63 63 } 64 64 }
+12
packages/svelte-urql/CHANGELOG.md
··· 1 1 # @urql/svelte 2 2 3 + ## 1.2.0 4 + 5 + ### Minor Changes 6 + 7 + - Remove deprecated `operationName` property from `Operation`s. The new `Operation.kind` property is now preferred. If you're creating new operations you may also use the `makeOperation` utility instead. 8 + When upgrading `@urql/core` please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using `npx yarn-deduplicate` (for Yarn) or `npm dedupe` (for npm), by [@kitten](https://github.com/kitten) (See [#1357](https://github.com/FormidableLabs/urql/pull/1357)) 9 + 10 + ### Patch Changes 11 + 12 + - Updated dependencies (See [#1374](https://github.com/FormidableLabs/urql/pull/1374), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 13 + - @urql/core@2.0.0 14 + 3 15 ## 1.1.4 4 16 5 17 ### Patch Changes
+2 -2
packages/svelte-urql/package.json
··· 1 1 { 2 2 "name": "@urql/svelte", 3 - "version": "1.1.4", 3 + "version": "1.2.0", 4 4 "description": "A highly customizable and versatile GraphQL client for Svelte", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 55 55 "svelte": "^3.0.0" 56 56 }, 57 57 "dependencies": { 58 - "@urql/core": "^1.16.0", 58 + "@urql/core": "^2.0.0", 59 59 "wonka": "^4.0.14" 60 60 }, 61 61 "devDependencies": {
+13
packages/vue-urql/CHANGELOG.md
··· 1 1 # @urql/vue 2 2 3 + ## 0.3.0 4 + 5 + ### Minor Changes 6 + 7 + - **Breaking**: Remove `pollInterval` option from `useQuery`. Please consider adding an interval manually calling `executeQuery()`, by [@kitten](https://github.com/kitten) (See [#1374](https://github.com/FormidableLabs/urql/pull/1374)) 8 + - Remove deprecated `operationName` property from `Operation`s. The new `Operation.kind` property is now preferred. If you're creating new operations you may also use the `makeOperation` utility instead. 9 + When upgrading `@urql/core` please ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually using `npx yarn-deduplicate` (for Yarn) or `npm dedupe` (for npm), by [@kitten](https://github.com/kitten) (See [#1357](https://github.com/FormidableLabs/urql/pull/1357)) 10 + 11 + ### Patch Changes 12 + 13 + - Updated dependencies (See [#1374](https://github.com/FormidableLabs/urql/pull/1374), [#1357](https://github.com/FormidableLabs/urql/pull/1357), and [#1375](https://github.com/FormidableLabs/urql/pull/1375)) 14 + - @urql/core@2.0.0 15 + 3 16 ## 0.2.1 4 17 5 18 ### Patch Changes
+2 -2
packages/vue-urql/package.json
··· 1 1 { 2 2 "name": "@urql/vue", 3 - "version": "0.2.1", 3 + "version": "0.3.0", 4 4 "description": "A highly customizable and versatile GraphQL client for vue", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 59 59 "vue": "^3.0.0" 60 60 }, 61 61 "dependencies": { 62 - "@urql/core": "^1.16.0", 62 + "@urql/core": "^2.0.0", 63 63 "wonka": "^4.0.14" 64 64 }, 65 65 "publishConfig": {