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

Version Packages #2808

Merged
merged 2 commits into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/beige-fishes-relate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cuddly-needles-work.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fair-turkeys-bow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-hornets-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-rings-yawn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-squids-care.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-items-shake.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/quiet-mugs-travel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-fireants-itch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-eyes-fetch.md

This file was deleted.

12 changes: 12 additions & 0 deletions exchanges/execute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 2.1.0

### Minor Changes

- 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))

### Patch Changes

- 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))
- 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))
- @urql/core@3.1.0

## 2.0.0

### Major Changes
Expand Down
4 changes: 2 additions & 2 deletions exchanges/execute/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@urql/exchange-execute",
"version": "2.0.0",
"version": "2.1.0",
"description": "An exchange for executing queries against a local schema in urql",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/",
Expand Down Expand Up @@ -48,7 +48,7 @@
"prepublishOnly": "run-s clean build"
},
"dependencies": {
"@urql/core": ">=3.0.0",
"@urql/core": ">=3.1.0",
"wonka": "^6.0.0"
},
"peerDependencies": {
Expand Down
10 changes: 10 additions & 0 deletions exchanges/graphcache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @urql/exchange-graphcache

## 5.0.6

### Patch Changes

- 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))
- 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))
- ⚠️ 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))
- 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))
- @urql/core@3.1.0

## 5.0.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions exchanges/graphcache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@urql/exchange-graphcache",
"version": "5.0.5",
"version": "5.0.6",
"description": "A normalized and configurable cache exchange for urql",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/graphcache",
Expand Down Expand Up @@ -62,7 +62,7 @@
"prepublishOnly": "run-s clean build"
},
"dependencies": {
"@urql/core": ">=3.0.5",
"@urql/core": ">=3.1.0",
"wonka": "^6.0.0"
},
"peerDependencies": {
Expand Down
14 changes: 14 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @urql/core

## 3.1.0

### Minor Changes

- 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))

### Patch Changes

- 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))
- 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.
This change has a subtle consequence of our internals. Operation keys will change due to this
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))
- 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))

## 3.0.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@urql/core",
"version": "3.0.5",
"version": "3.1.0",
"description": "The shared core for the highly customizable and versatile GraphQL client",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/",
Expand Down
6 changes: 6 additions & 0 deletions packages/next-urql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 4.0.1

### Patch Changes

- 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))

## 4.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-urql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-urql",
"version": "4.0.0",
"version": "4.0.1",
"description": "Convenience wrappers for using urql with NextJS.",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/",
Expand Down
8 changes: 8 additions & 0 deletions packages/svelte-urql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @urql/svelte

## 3.0.2

### Patch Changes

- 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))
- 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))
- @urql/core@3.1.0

## 3.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte-urql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@urql/svelte",
"version": "3.0.1",
"version": "3.0.2",
"description": "A highly customizable and versatile GraphQL client for Svelte",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/",
Expand Down Expand Up @@ -52,7 +52,7 @@
"svelte": "^3.0.0"
},
"dependencies": {
"@urql/core": "^3.0.0",
"@urql/core": "^3.1.0",
"wonka": "^6.0.0"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/vue-urql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @urql/vue

## 1.0.3

### Patch Changes

- 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))
- 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))
- @urql/core@3.1.0

## 1.0.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/vue-urql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@urql/vue",
"version": "1.0.2",
"version": "1.0.3",
"description": "A highly customizable and versatile GraphQL client for vue",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/",
Expand Down Expand Up @@ -56,7 +56,7 @@
"vue": "^2.7.0 || ^3.0.0"
},
"dependencies": {
"@urql/core": "^3.0.0",
"@urql/core": "^3.1.0",
"wonka": "^6.0.0"
},
"publishConfig": {
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.