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 (#2808)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Phil Pluckthun <phil@kitten.sh>

+72 -69
-5
.changeset/beige-fishes-relate.md
··· 1 - --- 2 - 'next-urql': patch 3 - --- 4 - 5 - Change import for `createClient` to `@urql/core`, which helps Next not depend on `urql` and hence not cause `createContext` to be called when the import is treeshaken away.
-5
.changeset/cuddly-needles-work.md
··· 1 - --- 2 - '@urql/exchange-graphcache': patch 3 - --- 4 - 5 - Solve issue where partial data could cause loops between related queries
-7
.changeset/fair-turkeys-bow.md
··· 1 - --- 2 - '@urql/svelte': patch 3 - '@urql/vue': patch 4 - '@urql/core': patch 5 - --- 6 - 7 - Move remaining `Variables` generics over from `object` default to `Variables extends AnyVariables = AnyVariables`. This has been introduced previously in [#2607](https://github.com/urql-graphql/urql/pull/2607) but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version the `object` default is incompatible with `AnyVariables`.
-5
.changeset/healthy-hornets-warn.md
··· 1 - --- 2 - '@urql/exchange-execute': patch 3 - --- 4 - 5 - End iterator when teardown functions runs, previously it waited for one extra call to next, then ended the iterator
-5
.changeset/olive-rings-yawn.md
··· 1 - --- 2 - '@urql/exchange-execute': minor 3 - --- 4 - 5 - The `context` option, which may be set to a context value or a function returning a context, can now return a `Promise` and will be correctly resolved and awaited.
-5
.changeset/orange-squids-care.md
··· 1 - --- 2 - '@urql/exchange-graphcache': patch 3 - --- 4 - 5 - Add skipping of garbage collection runs when the cache is waiting for optimistic, deferred or other results in layers. This means that we only take an opportunity to run garbage collection after results have settled and are hence decreasing the chance of hogging the event loop when a run isn't needed.
-5
.changeset/poor-items-shake.md
··· 1 - --- 2 - '@urql/exchange-graphcache': patch 3 - --- 4 - 5 - Fix a deadlock condition in Graphcache's layers, which is caused by subscriptions (or other deferred layers) starting before one-off mutation layers. This causes the mutation to not be completed, which keeps its data preferred above the deferred layer. That in turn means that layers stop squashing, which causes new results to be missing indefinitely, when they overlap.
-8
.changeset/quiet-mugs-travel.md
··· 1 - --- 2 - '@urql/core': patch 3 - --- 4 - 5 - Reuse output of `stringifyDocument` in place of repeated `print`. This will mean that we now prevent calling `print` repeatedly for identical operations and are instead only reusing the result once. 6 - 7 - This change has a subtle consequence of our internals. Operation keys will change due to this 8 - refactor and we will no longer sanitise strip newlines from queries that `@urql/core` has printed.
-5
.changeset/swift-fireants-itch.md
··· 1 - --- 2 - '@urql/core': patch 3 - --- 4 - 5 - Update to `wonka@^6.1.2` to fix memory leak in `fetch` caused in Node.js by a lack of clean up after initiating a request.
-5
.changeset/violet-eyes-fetch.md
··· 1 - --- 2 - '@urql/core': minor 3 - --- 4 - 5 - Implement `mapExchange`, which replaces `errorExchange`, allowing `onOperation` and `onResult` to be called to either react to or replace operations and results. For backwards compatibility, this exchange is also exported as `errorExchange` and supports `onError`.
+12
exchanges/execute/CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## 2.1.0 4 + 5 + ### Minor Changes 6 + 7 + - The `context` option, which may be set to a context value or a function returning a context, can now return a `Promise` and will be correctly resolved and awaited, by [@YutaUra](https://github.com/YutaUra) (See [#2806](https://github.com/urql-graphql/urql/pull/2806)) 8 + 9 + ### Patch Changes 10 + 11 + - End iterator when teardown functions runs, previously it waited for one extra call to next, then ended the iterator, by [@danielkaxis](https://github.com/danielkaxis) (See [#2803](https://github.com/urql-graphql/urql/pull/2803)) 12 + - Updated dependencies (See [#2843](https://github.com/urql-graphql/urql/pull/2843), [#2847](https://github.com/urql-graphql/urql/pull/2847), [#2850](https://github.com/urql-graphql/urql/pull/2850), and [#2846](https://github.com/urql-graphql/urql/pull/2846)) 13 + - @urql/core@3.1.0 14 + 3 15 ## 2.0.0 4 16 5 17 ### Major Changes
+2 -2
exchanges/execute/package.json
··· 1 1 { 2 2 "name": "@urql/exchange-execute", 3 - "version": "2.0.0", 3 + "version": "2.1.0", 4 4 "description": "An exchange for executing queries against a local schema in urql", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/", ··· 48 48 "prepublishOnly": "run-s clean build" 49 49 }, 50 50 "dependencies": { 51 - "@urql/core": ">=3.0.0", 51 + "@urql/core": ">=3.1.0", 52 52 "wonka": "^6.0.0" 53 53 }, 54 54 "peerDependencies": {
+10
exchanges/graphcache/CHANGELOG.md
··· 1 1 # @urql/exchange-graphcache 2 2 3 + ## 5.0.6 4 + 5 + ### Patch Changes 6 + 7 + - Solve issue where partial data could cause loops between related queries, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#2831](https://github.com/urql-graphql/urql/pull/2831)) 8 + - Add skipping of garbage collection runs when the cache is waiting for optimistic, deferred or other results in layers. This means that we only take an opportunity to run garbage collection after results have settled and are hence decreasing the chance of hogging the event loop when a run isn't needed, by [@kitten](https://github.com/kitten) (See [#2862](https://github.com/urql-graphql/urql/pull/2862)) 9 + - ⚠️ Fix a deadlock condition in Graphcache's layers, which is caused by subscriptions (or other deferred layers) starting before one-off mutation layers. This causes the mutation to not be completed, which keeps its data preferred above the deferred layer. That in turn means that layers stop squashing, which causes new results to be missing indefinitely, when they overlap, by [@kitten](https://github.com/kitten) (See [#2861](https://github.com/urql-graphql/urql/pull/2861)) 10 + - Updated dependencies (See [#2843](https://github.com/urql-graphql/urql/pull/2843), [#2847](https://github.com/urql-graphql/urql/pull/2847), [#2850](https://github.com/urql-graphql/urql/pull/2850), and [#2846](https://github.com/urql-graphql/urql/pull/2846)) 11 + - @urql/core@3.1.0 12 + 3 13 ## 5.0.5 4 14 5 15 ### Patch Changes
+2 -2
exchanges/graphcache/package.json
··· 1 1 { 2 2 "name": "@urql/exchange-graphcache", 3 - "version": "5.0.5", 3 + "version": "5.0.6", 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", ··· 62 62 "prepublishOnly": "run-s clean build" 63 63 }, 64 64 "dependencies": { 65 - "@urql/core": ">=3.0.5", 65 + "@urql/core": ">=3.1.0", 66 66 "wonka": "^6.0.0" 67 67 }, 68 68 "peerDependencies": {
+14
packages/core/CHANGELOG.md
··· 1 1 # @urql/core 2 2 3 + ## 3.1.0 4 + 5 + ### Minor Changes 6 + 7 + - Implement `mapExchange`, which replaces `errorExchange`, allowing `onOperation` and `onResult` to be called to either react to or replace operations and results. For backwards compatibility, this exchange is also exported as `errorExchange` and supports `onError`, by [@kitten](https://github.com/kitten) (See [#2846](https://github.com/urql-graphql/urql/pull/2846)) 8 + 9 + ### Patch Changes 10 + 11 + - Move remaining `Variables` generics over from `object` default to `Variables extends AnyVariables = AnyVariables`. This has been introduced previously in [#2607](https://github.com/urql-graphql/urql/pull/2607) but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version the `object` default is incompatible with `AnyVariables`, by [@kitten](https://github.com/kitten) (See [#2843](https://github.com/urql-graphql/urql/pull/2843)) 12 + - Reuse output of `stringifyDocument` in place of repeated `print`. This will mean that we now prevent calling `print` repeatedly for identical operations and are instead only reusing the result once. 13 + This change has a subtle consequence of our internals. Operation keys will change due to this 14 + refactor and we will no longer sanitise strip newlines from queries that `@urql/core` has printed, by [@kitten](https://github.com/kitten) (See [#2847](https://github.com/urql-graphql/urql/pull/2847)) 15 + - Update to `wonka@^6.1.2` to fix memory leak in `fetch` caused in Node.js by a lack of clean up after initiating a request, by [@kitten](https://github.com/kitten) (See [#2850](https://github.com/urql-graphql/urql/pull/2850)) 16 + 3 17 ## 3.0.5 4 18 5 19 ### Patch Changes
+1 -1
packages/core/package.json
··· 1 1 { 2 2 "name": "@urql/core", 3 - "version": "3.0.5", 3 + "version": "3.1.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/next-urql/CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## 4.0.1 4 + 5 + ### Patch Changes 6 + 7 + - Change import for `createClient` to `@urql/core`, which helps Next not depend on `urql` and hence not cause `createContext` to be called when the import is treeshaken away, by [@SleeplessOne1917](https://github.com/SleeplessOne1917) (See [#2833](https://github.com/urql-graphql/urql/pull/2833)) 8 + 3 9 ## 4.0.0 4 10 5 11 ### Major Changes
+1 -1
packages/next-urql/package.json
··· 1 1 { 2 2 "name": "next-urql", 3 - "version": "4.0.0", 3 + "version": "4.0.1", 4 4 "description": "Convenience wrappers for using urql with NextJS.", 5 5 "sideEffects": false, 6 6 "homepage": "https://formidable.com/open-source/urql/docs/",
+8
packages/svelte-urql/CHANGELOG.md
··· 1 1 # @urql/svelte 2 2 3 + ## 3.0.2 4 + 5 + ### Patch Changes 6 + 7 + - Move remaining `Variables` generics over from `object` default to `Variables extends AnyVariables = AnyVariables`. This has been introduced previously in [#2607](https://github.com/urql-graphql/urql/pull/2607) but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version the `object` default is incompatible with `AnyVariables`, by [@kitten](https://github.com/kitten) (See [#2843](https://github.com/urql-graphql/urql/pull/2843)) 8 + - Updated dependencies (See [#2843](https://github.com/urql-graphql/urql/pull/2843), [#2847](https://github.com/urql-graphql/urql/pull/2847), [#2850](https://github.com/urql-graphql/urql/pull/2850), and [#2846](https://github.com/urql-graphql/urql/pull/2846)) 9 + - @urql/core@3.1.0 10 + 3 11 ## 3.0.1 4 12 5 13 ### Patch Changes
+2 -2
packages/svelte-urql/package.json
··· 1 1 { 2 2 "name": "@urql/svelte", 3 - "version": "3.0.1", 3 + "version": "3.0.2", 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/", ··· 52 52 "svelte": "^3.0.0" 53 53 }, 54 54 "dependencies": { 55 - "@urql/core": "^3.0.0", 55 + "@urql/core": "^3.1.0", 56 56 "wonka": "^6.0.0" 57 57 }, 58 58 "devDependencies": {
+8
packages/vue-urql/CHANGELOG.md
··· 1 1 # @urql/vue 2 2 3 + ## 1.0.3 4 + 5 + ### Patch Changes 6 + 7 + - Move remaining `Variables` generics over from `object` default to `Variables extends AnyVariables = AnyVariables`. This has been introduced previously in [#2607](https://github.com/urql-graphql/urql/pull/2607) but some missing ports have been missed due to TypeScript not catching them previously. Depending on your TypeScript version the `object` default is incompatible with `AnyVariables`, by [@kitten](https://github.com/kitten) (See [#2843](https://github.com/urql-graphql/urql/pull/2843)) 8 + - Updated dependencies (See [#2843](https://github.com/urql-graphql/urql/pull/2843), [#2847](https://github.com/urql-graphql/urql/pull/2847), [#2850](https://github.com/urql-graphql/urql/pull/2850), and [#2846](https://github.com/urql-graphql/urql/pull/2846)) 9 + - @urql/core@3.1.0 10 + 3 11 ## 1.0.2 4 12 5 13 ### Patch Changes
+2 -2
packages/vue-urql/package.json
··· 1 1 { 2 2 "name": "@urql/vue", 3 - "version": "1.0.2", 3 + "version": "1.0.3", 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/", ··· 56 56 "vue": "^2.7.0 || ^3.0.0" 57 57 }, 58 58 "dependencies": { 59 - "@urql/core": "^3.0.0", 59 + "@urql/core": "^3.1.0", 60 60 "wonka": "^6.0.0" 61 61 }, 62 62 "publishConfig": {
+4 -4
pnpm-lock.yaml
··· 142 142 143 143 exchanges/execute: 144 144 specifiers: 145 - '@urql/core': '>=3.0.0' 145 + '@urql/core': '>=3.1.0' 146 146 graphql: ^16.0.0 147 147 wonka: ^6.1.2 148 148 dependencies: ··· 154 154 exchanges/graphcache: 155 155 specifiers: 156 156 '@cypress/react': ^7.0.1 157 - '@urql/core': '>=3.0.5' 157 + '@urql/core': '>=3.1.0' 158 158 '@urql/exchange-execute': '*' 159 159 '@urql/introspection': '*' 160 160 cypress: ^11.1.0 ··· 469 469 470 470 packages/svelte-urql: 471 471 specifiers: 472 - '@urql/core': ^3.0.0 472 + '@urql/core': ^3.1.0 473 473 graphql: ^16.0.0 474 474 svelte: ^3.20.0 475 475 wonka: ^6.1.2 ··· 482 482 483 483 packages/vue-urql: 484 484 specifiers: 485 - '@urql/core': ^3.0.0 485 + '@urql/core': ^3.1.0 486 486 graphql: ^16.0.0 487 487 vue: ^3.0.11 488 488 wonka: ^6.1.2