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 missing workspace ranges #3301

Closed EmrysMyrddin closed 4 months ago

changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 899e5d969b103fe6816d83f6004cf0cfae93cc75

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 4 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 4 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://d5087bb0.graphql-yoga.pages.dev](https://d5087bb0.graphql-yoga.pages.dev)
github-actions[bot] commented 4 months ago

🚀 Snapshot Release (rc)

The latest changes of this PR are available as rc on npm (based on the declared changesets): Package Version Info
@graphql-yoga/apollo-link 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/redis-event-target 3.0.1-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.3.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
graphql-yoga 5.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.1.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.6.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.4.0-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
@graphql-yoga/subscription 5.0.1-rc-20240528172906-899e5d96 npm ↗︎ unpkg ↗︎
github-actions[bot] commented 4 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% ✓ 428692      ✗ 0     
     data_received................................: 1.7 GB  14 MB/s
     data_sent....................................: 87 MB   722 kB/s
     http_req_blocked.............................: avg=1.42µs   min=1.01µs   med=1.28µs   max=291.29µs p(90)=1.84µs   p(95)=2.05µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=138.14µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=351.22µs min=203.69µs med=316.2µs  max=24.16ms  p(90)=451.96µs p(95)=471.18µs
       { expected_response:true }.................: avg=351.22µs min=203.69µs med=316.2µs  max=24.16ms  p(90)=451.96µs p(95)=471.18µs
     ✓ { mode:graphql-jit }.......................: avg=275.94µs min=203.69µs med=254.64µs max=14.82ms  p(90)=285.5µs  p(95)=297.98µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=472.29µs min=398.25µs med=447.91µs max=9.83ms   p(90)=485.79µs p(95)=509.52µs
     ✓ { mode:graphql-response-cache }............: avg=334.67µs min=267.72µs med=315.12µs max=6.17ms   p(90)=347.89µs p(95)=358.76µs
     ✓ { mode:graphql }...........................: avg=356.63µs min=272.3µs  med=324.87µs max=24.16ms  p(90)=370.88µs p(95)=407.48µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 214346
     http_req_receiving...........................: avg=33.08µs  min=16.98µs  med=32.91µs  max=666.32µs p(90)=38.11µs  p(95)=40.2µs  
     http_req_sending.............................: avg=7.94µs   min=5.98µs   med=7.1µs    max=351.1µs  p(90)=10.57µs  p(95)=11.26µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=310.19µs min=173.1µs  med=275.71µs max=24ms     p(90)=410.66µs p(95)=427.65µs
     http_reqs....................................: 214346  1786.197916/s
     iteration_duration...........................: avg=555.17µs min=381.09µs med=516.71µs max=24.8ms   p(90)=660.13µs p(95)=684.41µs
     iterations...................................: 214346  1786.197916/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2