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.25k stars 574 forks source link

fix(deps): update dependency lru-cache to v11 #3380

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lru-cache ^10.0.0 -> ^11.0.0 age adoption passing confidence

Release Notes

isaacs/node-lru-cache (lru-cache) ### [`v11.0.0`](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.3...v11.0.0) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.3...v11.0.0) ### [`v10.4.3`](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.2...v10.4.3) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.2...v10.4.3) ### [`v10.4.2`](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.1...v10.4.2) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.1...v10.4.2) ### [`v10.4.1`](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.0...v10.4.1) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.4.0...v10.4.1) ### [`v10.4.0`](https://togithub.com/isaacs/node-lru-cache/compare/v10.3.1...v10.4.0) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.3.1...v10.4.0) ### [`v10.3.1`](https://togithub.com/isaacs/node-lru-cache/compare/v10.3.0...v10.3.1) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.3.0...v10.3.1) ### [`v10.3.0`](https://togithub.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#1030) [Compare Source](https://togithub.com/isaacs/node-lru-cache/compare/v10.2.2...v10.3.0) - add `forceFetch()` method - set `disposeReason` to `'expire'` when it's the result of a TTL expiration, or `'fetch'` when it's the result of an aborted or `undefined`-returning `fetch()` - add `memo()` method

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 this update again.



This PR was generated by Mend Renovate. View the repository job log.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: fc2f982cd50702b439f35d72cdb6f90b469ec769

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

This PR includes changesets to release 23 packages | Name | Type | | ------------------------------------------ | ----- | | graphql-yoga | Patch | | @graphql-yoga/nestjs | Patch | | @graphql-yoga/render-graphiql | Patch | | @graphql-yoga/plugin-apollo-inline-trace | Patch | | @graphql-yoga/apollo-managed-federation | Patch | | @graphql-yoga/plugin-apq | Patch | | @graphql-yoga/plugin-csrf-prevention | Patch | | @graphql-yoga/plugin-defer-stream | Patch | | @graphql-yoga/plugin-disable-introspection | Patch | | @graphql-yoga/plugin-graphql-sse | Patch | | @graphql-yoga/plugin-jwt | Patch | | @graphql-yoga/plugin-persisted-operations | Patch | | @graphql-yoga/plugin-prometheus | Patch | | @graphql-yoga/plugin-response-cache | Patch | | @graphql-yoga/plugin-sofa | Patch | | apollo-federation-gateway-with-yoga | Patch | | apollo-subgraph-with-yoga | Patch | | graphql-lambda | Patch | | cloudflare-advanced | Patch | | cloudflare | Patch | | nextjs-app | Patch | | hello-world-benchmark | Patch | | @graphql-yoga/nestjs-federation | 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.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
graphql-yoga 5.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-managed-federation 0.3.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 3.0.1-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.3.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.8.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.6.2-alpha-20240723175454-fc2f982c npm ↗︎ unpkg ↗︎
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:

github-actions[bot] commented 3 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://bf1a77cf.graphql-yoga.pages.dev](https://bf1a77cf.graphql-yoga.pages.dev)
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% ✓ 418144      ✗ 0     
     data_received................................: 1.7 GB  14 MB/s
     data_sent....................................: 85 MB   704 kB/s
     http_req_blocked.............................: avg=1.45µs   min=1µs      med=1.28µs   max=247.26µs p(90)=1.93µs   p(95)=2.14µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=135.49µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=363.16µs min=212.14µs med=325.39µs max=18.62ms  p(90)=466.49µs p(95)=486.58µs
       { expected_response:true }.................: avg=363.16µs min=212.14µs med=325.39µs max=18.62ms  p(90)=466.49µs p(95)=486.58µs
     ✓ { mode:graphql-jit }.......................: avg=284.01µs min=212.14µs med=261.31µs max=18.62ms  p(90)=292.12µs p(95)=305.74µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=492.41µs min=402.09µs med=462.27µs max=9.64ms   p(90)=503.15µs p(95)=538.77µs
     ✓ { mode:graphql-response-cache }............: avg=344.77µs min=269.62µs med=324.35µs max=8.68ms   p(90)=357.54µs p(95)=371.02µs
     ✓ { mode:graphql }...........................: avg=369.46µs min=274µs    med=334.89µs max=13.39ms  p(90)=381.21µs p(95)=422.55µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 209072
     http_req_receiving...........................: avg=34.37µs  min=15.62µs  med=33.92µs  max=7.66ms   p(90)=39.66µs  p(95)=42.05µs 
     http_req_sending.............................: avg=8.33µs   min=5.96µs   med=7.3µs    max=434.8µs  p(90)=11.04µs  p(95)=12.05µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=320.44µs min=180.63µs med=283.5µs  max=18.47ms  p(90)=423.34µs p(95)=441.09µs
     http_reqs....................................: 209072  1742.240541/s
     iteration_duration...........................: avg=569.11µs min=386.21µs med=528.44µs max=19.16ms  p(90)=676.61µs p(95)=702.13µs
     iterations...................................: 209072  1742.240541/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   
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.