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.12k stars 558 forks source link

chore(deps): update dependency ts-morph to v22 #3320

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 weeks ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-morph ^20.0.0 -> ^22.0.0 age adoption passing confidence

Release Notes

dsherret/ts-morph (ts-morph) ### [`v22.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/22.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/21.0.1...22.0.0) #### What's Changed - feat(BREAKING): upgrade to TypeScript 5.4 by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1516](https://togithub.com/dsherret/ts-morph/pull/1516) - fix(BREAKING): `Node.prototype.forgetDescendants()` no longer returns self by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1515](https://togithub.com/dsherret/ts-morph/pull/1515) - feat: `Type.prototype.isAssignableTo` by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1517](https://togithub.com/dsherret/ts-morph/pull/1517) - feat: `TypeChecker.prototype.resolveName` by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1518](https://togithub.com/dsherret/ts-morph/pull/1518) - fix: MethodDeclarationStructure should write an asterisk isGenerator = true by [@​ajvincent](https://togithub.com/ajvincent) in [https://github.com/dsherret/ts-morph/pull/1502](https://togithub.com/dsherret/ts-morph/pull/1502) - docs: fix typo in adding-source-files.md by [@​ilirbeqirii](https://togithub.com/ilirbeqirii) in [https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490) - feat: ClassDeclarationStructure - support static blocks by [@​dsherret](https://togithub.com/dsherret) in [https://github.com/dsherret/ts-morph/pull/1520](https://togithub.com/dsherret/ts-morph/pull/1520) ##### CodeBlockWriter 13.0.1 People may have been working around these bugs in the past: - `.quote()` - should include newline on newline ([https://github.com/dsherret/code-block-writer/pull/47](https://togithub.com/dsherret/code-block-writer/pull/47)) - `.quote()` - escape characters were not always being escaped ([https://github.com/dsherret/code-block-writer/pull/46](https://togithub.com/dsherret/code-block-writer/pull/46)) #### New Contributors - [@​ilirbeqirii](https://togithub.com/ilirbeqirii) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1490](https://togithub.com/dsherret/ts-morph/pull/1490) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/21.0.1...22.0.0 ### [`v21.0.1`](https://togithub.com/dsherret/ts-morph/releases/tag/21.0.1) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/21.0.0...21.0.1) I forgot to run a code generation script to update some code for the 21.0.0 release and only realized after. This release fixes that and also reduces the chance of that happening in the future. For 21.0.0 release notes, see https://github.com/dsherret/ts-morph/releases/tag/21.0.0 **Full Changelog**: https://github.com/dsherret/ts-morph/compare/21.0.0...21.0.1 ### [`v21.0.0`](https://togithub.com/dsherret/ts-morph/releases/tag/21.0.0) [Compare Source](https://togithub.com/dsherret/ts-morph/compare/20.0.0...21.0.0) #### What's Changed - feat: `ProjectOptions::defaultCompilerOptions` by [@​wojpawlik](https://togithub.com/wojpawlik) in [https://github.com/dsherret/ts-morph/pull/1460](https://togithub.com/dsherret/ts-morph/pull/1460) - feat: TypeScript 5.3 [https://github.com/dsherret/ts-morph/pull/1476](https://togithub.com/dsherret/ts-morph/pull/1476) - feat: add interface and type literal getters & setters by [@​ajvincent](https://togithub.com/ajvincent) in [https://github.com/dsherret/ts-morph/pull/1473](https://togithub.com/dsherret/ts-morph/pull/1473) - feat: add wrapped method for `getShorthandAssignmentValueSymbol` to `TypeChecker`. add convenience method for getting the value symbol on `ShorthandPropertyAssignment`. by [@​kronodeus](https://togithub.com/kronodeus) in [https://github.com/dsherret/ts-morph/pull/1456](https://togithub.com/dsherret/ts-morph/pull/1456) - perf: use path.exists functions that don't throw internally when not exists [https://github.com/dsherret/ts-morph/pull/1478](https://togithub.com/dsherret/ts-morph/pull/1478) ##### Breaking Changes - Upgraded to TS 5.3 - Underlying `@ts-morph/common` file system methods return undefined instead of throwing when not exists (for perf). - Private fields are actually private (default build requires private fields). #### New Contributors - [@​ajvincent](https://togithub.com/ajvincent) made their first contribution in [https://github.com/dsherret/ts-morph/pull/1473](https://togithub.com/dsherret/ts-morph/pull/1473) **Full Changelog**: https://github.com/dsherret/ts-morph/compare/20.0.0...21.0.0

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 weeks ago

⚠️ No Changeset found

Latest commit: 0f9489b5ce6134280b2fb3771dbfea9d407e8fad

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 weeks 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.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/redis-event-target 3.0.1-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.3.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
graphql-yoga 5.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.1.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.6.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.4.0-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
@graphql-yoga/subscription 5.0.1-alpha-20240611133603-0f9489b5 npm ↗︎ unpkg ↗︎
github-actions[bot] commented 2 weeks 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% ✓ 412766      ✗ 0     
     data_received................................: 1.7 GB  14 MB/s
     data_sent....................................: 83 MB   695 kB/s
     http_req_blocked.............................: avg=1.46µs   min=1.02µs   med=1.32µs   max=269.68µs p(90)=1.92µs   p(95)=2.11µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=129.55µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=363.37µs min=210.66µs med=325.05µs max=24.44ms  p(90)=471.79µs p(95)=499.69µs
       { expected_response:true }.................: avg=363.37µs min=210.66µs med=325.05µs max=24.44ms  p(90)=471.79µs p(95)=499.69µs
     ✓ { mode:graphql-jit }.......................: avg=285.47µs min=210.66µs med=263.4µs  max=14.68ms  p(90)=293.23µs p(95)=304.17µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=496.07µs min=402.02µs med=467.31µs max=10.9ms   p(90)=528.81µs p(95)=565.98µs
     ✓ { mode:graphql-response-cache }............: avg=339.63µs min=265.71µs med=320.37µs max=6.55ms   p(90)=352.8µs  p(95)=363.38µs
     ✓ { mode:graphql }...........................: avg=370.78µs min=276.48µs med=339.13µs max=24.44ms  p(90)=388.25µs p(95)=425.7µs 
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 206383
     http_req_receiving...........................: avg=32.42µs  min=16.36µs  med=32.22µs  max=1.13ms   p(90)=38.05µs  p(95)=40.02µs 
     http_req_sending.............................: avg=7.79µs   min=5.55µs   med=6.94µs   max=331.47µs p(90)=10.41µs  p(95)=11.23µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=323.14µs min=182.02µs med=285.42µs max=24.31ms  p(90)=431.2µs  p(95)=457.01µs
     http_reqs....................................: 206383  1719.839062/s
     iteration_duration...........................: avg=576.7µs  min=383.23µs med=535.87µs max=25.11ms  p(90)=686.77µs p(95)=720.87µs
     iterations...................................: 206383  1719.839062/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   
github-actions[bot] commented 2 weeks 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 weeks ago
### 💻 Website Preview The latest changes are available as preview in: [https://e30ed09b.graphql-yoga.pages.dev](https://e30ed09b.graphql-yoga.pages.dev)