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] use `workspace` version range for monorepo deps #3300

Closed EmrysMyrddin closed 1 month ago

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 138281568b0e3bfd610b070fcfc98f8d32dafcf3

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

This PR includes changesets to release 25 packages | Name | Type | | ------------------------------------------ | ----- | | @graphql-yoga/nestjs | Patch | | @graphql-yoga/plugin-apollo-inline-trace | 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 | | @graphql-yoga/redis-event-target | Patch | | @graphql-yoga/render-graphiql | Patch | | @graphql-yoga/subscription | Patch | | graphql-yoga | Patch | | @graphql-yoga/nestjs-federation | Patch | | hello-world-benchmark | Patch | | apollo-federation-gateway-with-yoga | Patch | | apollo-subgraph-with-yoga | Patch | | graphql-lambda | Patch | | cloudflare-advanced | Patch | | cloudflare | Patch | | functions | Patch | | nextjs-app | 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 1 month ago
### 💻 Website Preview The latest changes are available as preview in: [https://98315572.graphql-yoga.pages.dev](https://98315572.graphql-yoga.pages.dev)
github-actions[bot] commented 1 month 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% ✓ 428982      ✗ 0     
     data_received................................: 1.7 GB  15 MB/s
     data_sent....................................: 87 MB   722 kB/s
     http_req_blocked.............................: avg=1.38µs   min=982ns    med=1.25µs   max=299.62µs p(90)=1.78µs   p(95)=2µs     
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=137.6µs  p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=352.35µs min=212.06µs med=315.56µs max=23.74ms  p(90)=458.66µs p(95)=477.85µs
       { expected_response:true }.................: avg=352.35µs min=212.06µs med=315.56µs max=23.74ms  p(90)=458.66µs p(95)=477.85µs
     ✓ { mode:graphql-jit }.......................: avg=275.09µs min=212.06µs med=254.24µs max=18.21ms  p(90)=284.86µs p(95)=296.28µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=481.42µs min=383.41µs med=455.51µs max=9.32ms   p(90)=493.83µs p(95)=515.7µs 
     ✓ { mode:graphql-response-cache }............: avg=332.94µs min=261.05µs med=313.88µs max=6.14ms   p(90)=347.09µs p(95)=358.43µs
     ✓ { mode:graphql }...........................: avg=358.5µs  min=270.4µs  med=324.85µs max=23.74ms  p(90)=370.61µs p(95)=407.98µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 214491
     http_req_receiving...........................: avg=32.84µs  min=15.77µs  med=32.61µs  max=6.34ms   p(90)=37.81µs  p(95)=39.93µs 
     http_req_sending.............................: avg=7.65µs   min=5.64µs   med=6.8µs    max=6.81ms   p(90)=10.34µs  p(95)=11.1µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=311.85µs min=176.97µs med=276.11µs max=23.62ms  p(90)=417.43µs p(95)=434.33µs
     http_reqs....................................: 214491  1787.398472/s
     iteration_duration...........................: avg=554.76µs min=376.81µs med=513.33µs max=24.43ms  p(90)=665.96µs p(95)=690.68µs
     iterations...................................: 214491  1787.398472/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   
github-actions[bot] commented 1 month 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 1 month 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-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/redis-event-target 3.0.1-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.3.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
graphql-yoga 5.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.1.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.6.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.4.0-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎
@graphql-yoga/subscription 5.0.1-rc-20240528145325-13828156 npm ↗︎ unpkg ↗︎