dotansimha / graphql-yoga

🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.
https://the-guild.dev/graphql/yoga-server
MIT License
8.21k stars 569 forks source link

chore(deps): update dependency @urql/core to v5 #3345

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@urql/core (source) ^3.0.0 \|\| ^4.0.0 -> ^5.0.0 age adoption passing confidence
@urql/core (source) 4.0.10 -> 5.0.4 age adoption passing confidence

Release Notes

urql-graphql/urql (@​urql/core) ### [`v5.0.4`](https://togithub.com/urql-graphql/urql/blob/HEAD/packages/core/CHANGELOG.md#504) [Compare Source](https://togithub.com/urql-graphql/urql/compare/@urql/core@5.0.3...@urql/core@5.0.4) ##### Patch Changes - Change how we calculate the `OperationKey` to take files into account, before we would encode them to `null` resulting in every mutation with the same variables (excluding the files) to have the same key. This resulted in mutations that upload different files at the same time to share a result in GraphCache Submitted by [@​JoviDeCroock](https://togithub.com/JoviDeCroock) (See [#​3601](https://togithub.com/urql-graphql/urql/pull/3601)) ### [`v5.0.3`](https://togithub.com/urql-graphql/urql/blob/HEAD/packages/core/CHANGELOG.md#503) [Compare Source](https://togithub.com/urql-graphql/urql/compare/@urql/core@5.0.2...@urql/core@5.0.3) ##### Patch Changes - Use `documentId` from persisted documents for document keys, when it's available Submitted by [@​kitten](https://togithub.com/kitten) (See [#​3575](https://togithub.com/urql-graphql/urql/pull/3575)) ### [`v5.0.2`](https://togithub.com/urql-graphql/urql/blob/HEAD/packages/core/CHANGELOG.md#502) [Compare Source](https://togithub.com/urql-graphql/urql/compare/@urql/core@5.0.1...@urql/core@5.0.2) ##### Patch Changes - ⚠️ Fix issue where a reexecute on an in-flight operation would lead to multiple network-requests. For example, this issue presents itself when Graphcache is concurrently updating multiple, inter-dependent queries with shared entities. One query completing while others are still in-flight may lead to duplicate operations being issued Submitted by [@​JoviDeCroock](https://togithub.com/JoviDeCroock) (See [#​3573](https://togithub.com/urql-graphql/urql/pull/3573)) ### [`v5.0.1`](https://togithub.com/urql-graphql/urql/blob/HEAD/packages/core/CHANGELOG.md#501) [Compare Source](https://togithub.com/urql-graphql/urql/compare/@urql/core@5.0.0...@urql/core@5.0.1) ##### Patch Changes - ⚠️ Fix `@ts-ignore` on TypeScript peer dependency import in typings not being applied due to a leading `!` character Submitted by [@​kitten](https://togithub.com/kitten) (See [#​3567](https://togithub.com/urql-graphql/urql/pull/3567)) ### [`v5.0.0`](https://togithub.com/urql-graphql/urql/blob/HEAD/packages/core/CHANGELOG.md#500) [Compare Source](https://togithub.com/urql-graphql/urql/compare/@urql/core@4.3.0...@urql/core@5.0.0) ##### Major Changes - Remove deprecated `dedupExchange` Submitted by [@​JoviDeCroock](https://togithub.com/JoviDeCroock) (See [#​3520](https://togithub.com/urql-graphql/urql/pull/3520)) - Remove deprecated `maskTypename` Submitted by [@​JoviDeCroock](https://togithub.com/JoviDeCroock) (See [#​3520](https://togithub.com/urql-graphql/urql/pull/3520)) ##### Patch Changes - Upgrade `@0no-co/graphql.web` to `1.0.5` Submitted by [@​kitten](https://togithub.com/kitten) (See [#​3553](https://togithub.com/urql-graphql/urql/pull/3553))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 0b39eeac83bf7a937ce26d3217d59fb77732000a

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

This PR includes changesets to release 1 package | Name | Type | | --------------------------- | ----- | | @graphql-yoga/urql-exchange | Patch |

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

github-actions[bot] commented 3 months ago

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets): Package Version Info
@graphql-yoga/apollo-link 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.3.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
graphql-yoga 5.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-managed-federation 0.3.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.3.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.8.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.6.1-alpha-20240701220047-0b39eeac npm ↗︎ unpkg ↗︎
renovate[bot] commented 3 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

github-actions[bot] commented 3 months ago

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}

     checks.......................................: 100.00% ✓ 428078      ✗ 0     
     data_received................................: 1.7 GB  15 MB/s
     data_sent....................................: 87 MB   721 kB/s
     http_req_blocked.............................: avg=1.4µs    min=982ns    med=1.28µs   max=289.28µs p(90)=1.8µs    p(95)=2.01µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=126.67µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=353.2µs  min=203.52µs med=317.81µs max=24.21ms  p(90)=455.49µs p(95)=474.14µs
       { expected_response:true }.................: avg=353.2µs  min=203.52µs med=317.81µs max=24.21ms  p(90)=455.49µs p(95)=474.14µs
     ✓ { mode:graphql-jit }.......................: avg=276.6µs  min=203.52µs med=255.97µs max=18.1ms   p(90)=285.07µs p(95)=296.26µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=477.77µs min=397.49µs med=452.18µs max=9.66ms   p(90)=489.78µs p(95)=512.65µs
     ✓ { mode:graphql-response-cache }............: avg=336.23µs min=268.61µs med=317.47µs max=6.07ms   p(90)=349.65µs p(95)=360.52µs
     ✓ { mode:graphql }...........................: avg=358.34µs min=270.33µs med=325.59µs max=24.21ms  p(90)=368.49µs p(95)=405.52µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 214039
     http_req_receiving...........................: avg=33.3µs   min=15.25µs  med=33.23µs  max=849.42µs p(90)=38.32µs  p(95)=40.45µs 
     http_req_sending.............................: avg=7.82µs   min=5.95µs   med=7.03µs   max=332.39µs p(90)=10.41µs  p(95)=11.07µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=312.07µs min=178.39µs med=277.29µs max=24.06ms  p(90)=414.14µs p(95)=430.84µs
     http_reqs....................................: 214039  1783.638731/s
     iteration_duration...........................: avg=555.95µs min=378.29µs med=516.9µs  max=24.86ms  p(90)=661.39µs p(95)=685.61µs
     iterations...................................: 214039  1783.638731/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   
github-actions[bot] commented 3 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://fc4648be.graphql-yoga.pages.dev](https://fc4648be.graphql-yoga.pages.dev)
github-actions[bot] commented 3 months ago

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more: