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

Upcoming Release Changes #3337

Closed theguild-bot closed 4 months ago

theguild-bot commented 4 months ago

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

graphql-yoga@5.6.0

Minor Changes

@graphql-yoga/nestjs@3.6.0

Patch Changes

@graphql-yoga/nestjs-federation@3.6.0

Patch Changes

@graphql-yoga/plugin-apollo-inline-trace@3.6.0

Patch Changes

@graphql-yoga/apollo-managed-federation@0.3.0

Patch Changes

@graphql-yoga/plugin-apq@3.6.0

Patch Changes

@graphql-yoga/plugin-csrf-prevention@3.6.0

Patch Changes

@graphql-yoga/plugin-defer-stream@3.6.0

Patch Changes

@graphql-yoga/plugin-disable-introspection@2.6.0

Patch Changes

@graphql-yoga/plugin-graphql-sse@3.6.0

Patch Changes

@graphql-yoga/plugin-jwt@2.6.0

Patch Changes

@graphql-yoga/plugin-persisted-operations@3.6.0

Patch Changes

@graphql-yoga/plugin-prometheus@5.3.0

Patch Changes

@graphql-yoga/plugin-response-cache@3.8.0

Patch Changes

@graphql-yoga/plugin-sofa@3.6.0

Patch Changes

@graphql-yoga/render-graphiql@5.6.0

Patch Changes

@graphql-yoga/apollo-link@3.6.0

@graphql-yoga/urql-exchange@3.6.0

hello-world-benchmark@3.8.0

Patch Changes

apollo-federation-gateway-with-yoga@3.6.0

Patch Changes

apollo-subgraph-with-yoga@3.6.0

Patch Changes

graphql-lambda@3.6.0

Patch Changes

cloudflare-advanced@3.6.0

Patch Changes

cloudflare@3.6.0

Patch Changes

nextjs-app@2.6.0

Patch Changes

github-actions[bot] commented 4 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://28e6ab97.graphql-yoga.pages.dev](https://28e6ab97.graphql-yoga.pages.dev)
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% ✓ 421840      ✗ 0     
     data_received................................: 1.7 GB  14 MB/s
     data_sent....................................: 85 MB   710 kB/s
     http_req_blocked.............................: avg=1.45µs   min=971ns    med=1.3µs    max=239.11µs p(90)=1.91µs   p(95)=2.11µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=132.73µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=358.14µs min=209.34µs med=323.01µs max=24.26ms  p(90)=461.53µs p(95)=482.96µs
       { expected_response:true }.................: avg=358.14µs min=209.34µs med=323.01µs max=24.26ms  p(90)=461.53µs p(95)=482.96µs
     ✓ { mode:graphql-jit }.......................: avg=279.98µs min=209.34µs med=258.66µs max=14.53ms  p(90)=289.24µs p(95)=301.78µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=484.49µs min=398.86µs med=457.33µs max=9.5ms    p(90)=502.77µs p(95)=533.55µs
     ✓ { mode:graphql-response-cache }............: avg=344.09µs min=271.12µs med=324.19µs max=7.55ms   p(90)=357.08µs p(95)=368.97µs
     ✓ { mode:graphql }...........................: avg=360.9µs  min=274.65µs med=329.96µs max=24.26ms  p(90)=374.2µs  p(95)=407.37µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 210920
     http_req_receiving...........................: avg=33.37µs  min=16.98µs  med=33.17µs  max=7.3ms    p(90)=38.91µs  p(95)=40.93µs 
     http_req_sending.............................: avg=8.03µs   min=5.9µs    med=7.17µs   max=294.72µs p(90)=10.64µ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=316.73µs min=178.24µs med=282.12µs max=24.12ms  p(90)=419.47µs p(95)=438.55µs
     http_reqs....................................: 210920  1757.647973/s
     iteration_duration...........................: avg=564.12µs min=373.74µs med=525.91µs max=24.86ms  p(90)=672.18µs p(95)=698.49µs
     iterations...................................: 210920  1757.647973/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   
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: