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

fix(deps): update dependency @pothos/core to v4 - autoclosed #3364

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@pothos/core (source) 3.30.0 -> 4.0.2 age adoption passing confidence

Release Notes

hayes/pothos (@​pothos/core) ### [`v4.0.2`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#402) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@4.0.0...@pothos/core@4.0.2) ##### Patch Changes - [`777f6de`](https://togithub.com/hayes/pothos/commit/777f6de): Add builder.$inferSchemaTypes ### [`v4.0.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#400) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.41.2...@pothos/core@4.0.0) ##### Major Changes - [`29841a8`](https://togithub.com/hayes/pothos/commit/29841a8): Release Pothos v4 🎉 see https://pothos-graphql.dev/docs/migrations/v4 for more details ##### Patch Changes - [`c1e6dcb`](https://togithub.com/hayes/pothos/commit/c1e6dcb): update readmes ### [`v3.41.2`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3412) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.41.1...@pothos/core@3.41.2) ##### Patch Changes - [`1ecea46`](https://togithub.com/hayes/pothos/commit/1ecea46): revert accidental pinning of graphql peer dependency ### [`v3.41.1`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3411) [Compare Source](https://togithub.com/hayes/pothos/compare/9dfe52f1975f41a111e01bf96a20033a914e2acc...@pothos/core@3.41.1) ##### Patch Changes - [`f763170`](https://togithub.com/hayes/pothos/commit/f763170): Add delete method to context caches ### [`v3.41.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3410) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.40.1...9dfe52f1975f41a111e01bf96a20033a914e2acc) ##### Minor Changes - [`0d3778a`](https://togithub.com/hayes/pothos/commit/0d3778a): Allow inputRef to define inputs without normalization via builder.inputRef\(...) ### [`v3.40.1`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3401) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.40.0...@pothos/core@3.40.1) ##### Patch Changes - [`0f5cfa9`](https://togithub.com/hayes/pothos/commit/0f5cfa9): Fix bug when decoding lists of global IDs with null items ### [`v3.40.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3400) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.39.0...@pothos/core@3.40.0) ##### Minor Changes - [`41fe7d4`](https://togithub.com/hayes/pothos/commit/41fe7d4): Make options optional when registering existing scalars/types ### [`v3.39.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3390) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.38.0...@pothos/core@3.39.0) ##### Minor Changes - [`1483e74`](https://togithub.com/hayes/pothos/commit/1483e74): PothosError now extends GraphQL error ### [`v3.38.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3380) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.37.0...@pothos/core@3.38.0) ##### Minor Changes - [`22d1426`](https://togithub.com/hayes/pothos/commit/22d1426a): Support for adding type mappings in SchemaTypes for Input objects ### [`v3.37.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3370) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.36.0...@pothos/core@3.37.0) ##### Minor Changes - [`f8fb4e6`](https://togithub.com/hayes/pothos/commit/f8fb4e6b): Add support for $inferType and $inferInput helpers on Refs ### [`v3.36.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3360) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.35.0...@pothos/core@3.36.0) ##### Minor Changes - [`96ba182`](https://togithub.com/hayes/pothos/commit/96ba1822): Improve validation for global IDs ### [`v3.35.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3350) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.34.0...@pothos/core@3.35.0) ##### Minor Changes - [`b83e671`](https://togithub.com/hayes/pothos/commit/b83e671b): Add isOneOf option for input type. this adds [@​oneOf](https://togithub.com/oneOf) directive, but does not currently affect the typescript type for the input ##### Patch Changes - [`c123a28`](https://togithub.com/hayes/pothos/commit/c123a285): If available, prefer Buffer over btoa/atob for encoding and decoding cursor strings to/from base64. ### [`v3.34.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3340) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.33.1...@pothos/core@3.34.0) ##### Minor Changes - [`f024739`](https://togithub.com/hayes/pothos/commit/f0247390): Add isOneOf option for input type. this adds [@​oneOf](https://togithub.com/oneOf) directive, but does not currently affect the typescript type for the input ### [`v3.33.1`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3331) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.33.0...@pothos/core@3.33.1) ##### Patch Changes - [`6f155d8`](https://togithub.com/hayes/pothos/commit/6f155d82): Improve normalization of input types so that objects with functions are not normalized ### [`v3.33.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3330) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.32.1...@pothos/core@3.33.0) ##### Minor Changes - [`c775612`](https://togithub.com/hayes/pothos/commit/c7756128): Improve typing for t.expose methods when strict mode is disabled ### [`v3.32.1`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3321) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.32.0...@pothos/core@3.32.1) ##### Patch Changes - [`adc2d33`](https://togithub.com/hayes/pothos/commit/adc2d33d): Fix inputRefs when using any as scalar type ### [`v3.32.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3320) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.31.2...@pothos/core@3.32.0) ##### Minor Changes - [`be23f48`](https://togithub.com/hayes/pothos/commit/be23f48d): Fix issue with inputRef not serializing symbols correctly ### [`v3.31.2`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3312) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.31.1...@pothos/core@3.31.2) ##### Patch Changes - [`bd22a28`](https://togithub.com/hayes/pothos/commit/bd22a282): revert improved inference for inputRef.implement ### [`v3.31.1`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3311) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.31.0...@pothos/core@3.31.1) ##### Patch Changes - [`425435a`](https://togithub.com/hayes/pothos/commit/425435af): Improve typing of inputRefs and fix incorrectly normalized function properties of inputRef types ### [`v3.31.0`](https://togithub.com/hayes/pothos/blob/HEAD/packages/core/CHANGELOG.md#3310) [Compare Source](https://togithub.com/hayes/pothos/compare/@pothos/core@3.30.0...@pothos/core@3.31.0) ##### Minor Changes - [`664e794`](https://togithub.com/hayes/pothos/commit/664e794c): Fixed a couple bugs related to how types are defined for inputRefs ##### Patch Changes - [`5d3f7b9`](https://togithub.com/hayes/pothos/commit/5d3f7b97): Fix the EmptyToOptional utility type when strict mode is disabled

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 has been generated by Mend Renovate. View repository job log here.

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: 300e4e9a97535a4ea15c269d757a2c718b33a703

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 2 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% ✓ 421258     ✗ 0     
     data_received................................: 1.7 GB  14 MB/s
     data_sent....................................: 85 MB   709 kB/s
     http_req_blocked.............................: avg=1.46µs   min=1.01µs   med=1.31µs   max=308.48µs p(90)=1.93µs   p(95)=2.12µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=156.61µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=359.05µs min=216.26µs med=322.87µs max=24.24ms  p(90)=465.67µs p(95)=484.3µs 
       { expected_response:true }.................: avg=359.05µs min=216.26µs med=322.87µs max=24.24ms  p(90)=465.67µs p(95)=484.3µs 
     ✓ { mode:graphql-jit }.......................: avg=280.56µs min=216.26µs med=259.39µs max=17.98ms  p(90)=288.72µs p(95)=299.82µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=488.28µs min=407.22µs med=462.68µs max=9.53ms   p(90)=501.13µs p(95)=528.12µs
     ✓ { mode:graphql-response-cache }............: avg=342.84µs min=267.05µs med=324.76µs max=6.49ms   p(90)=354.44µs p(95)=365.08µs
     ✓ { mode:graphql }...........................: avg=362.59µs min=271.55µs med=329.53µs max=24.24ms  p(90)=373.08µs p(95)=405.6µs 
     http_req_failed..............................: 0.00%   ✓ 0          ✗ 210629
     http_req_receiving...........................: avg=33.58µs  min=17.15µs  med=33.38µs  max=760.36µs p(90)=39.22µs  p(95)=41.12µs 
     http_req_sending.............................: avg=8.06µs   min=5.92µs   med=7.2µs    max=329.42µs p(90)=10.66µs  p(95)=11.35µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=317.4µs  min=181.01µs med=281.51µs max=24.11ms  p(90)=424.14µs p(95)=440.56µs
     http_reqs....................................: 210629  1755.22136/s
     iteration_duration...........................: avg=564.91µs min=384.14µs med=525.11µs max=24.95ms  p(90)=676.35µs p(95)=699.27µs
     iterations...................................: 210629  1755.22136/s
     vus..........................................: 1       min=1        max=1   
     vus_max......................................: 2       min=2        max=2   
github-actions[bot] commented 2 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://5f1a1560.graphql-yoga.pages.dev](https://5f1a1560.graphql-yoga.pages.dev)
github-actions[bot] commented 2 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 2 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-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.3.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
graphql-yoga 5.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-managed-federation 0.3.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.3.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.8.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.6.1-alpha-20240712082550-300e4e9a npm ↗︎ unpkg ↗︎