Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependencies and export helpers #3549

Merged
merged 4 commits into from
Dec 13, 2024
Merged

Bump dependencies and export helpers #3549

merged 4 commits into from
Dec 13, 2024

Conversation

ardatan
Copy link
Collaborator

@ardatan ardatan commented Dec 13, 2024

  • Bump dependencies
  • Export helpers for Yoga plugins
  • Reorganize exports and imports
  • Remove unnecessary peer deps

Closes #3217

Copy link

changeset-bot bot commented Dec 13, 2024

🦋 Changeset detected

Latest commit: fd50fbe

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

This PR includes changesets to release 24 packages
Name Type
@graphql-yoga/plugin-apollo-usage-report Patch
@graphql-yoga/plugin-apq Patch
@graphql-yoga/plugin-persisted-operations Patch
graphql-yoga Patch
@graphql-yoga/nestjs Patch
@graphql-yoga/render-graphiql Patch
@graphql-yoga/plugin-apollo-inline-trace Patch
@graphql-yoga/apollo-managed-federation 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-prometheus Patch
@graphql-yoga/plugin-response-cache Patch
@graphql-yoga/plugin-sofa Patch
apollo-federation-gateway-with-yoga Patch
apollo-subgraph-with-yoga Patch
graphql-lambda Patch
cloudflare-advanced Patch
cloudflare Patch
nextjs-app Patch
hello-world-benchmark Patch
@graphql-yoga/nestjs-federation 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

Copy link
Contributor

github-actions bot commented Dec 13, 2024

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:

Copy link
Contributor

github-actions bot commented Dec 13, 2024

💻 Website Preview

The latest changes are available as preview in: https://b88f5667.graphql-yoga.pages.dev

Copy link
Contributor

github-actions bot commented Dec 13, 2024

✅ 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}
     ✓ no_errors{mode:uws}
     ✓ expected_result{mode:uws}

     checks.......................................: 100.00% ✓ 523748      ✗ 0     
     data_received................................: 2.1 GB  14 MB/s
     data_sent....................................: 105 MB  702 kB/s
     http_req_blocked.............................: avg=1.47µs   min=951ns    med=1.31µs   max=468.85µs p(90)=1.92µs   p(95)=2.11µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=174.64µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=358.46µs min=217.37µs med=325.67µs max=18.34ms  p(90)=466.56µs p(95)=489.12µs
       { expected_response:true }.................: avg=358.46µs min=217.37µs med=325.67µs max=18.34ms  p(90)=466.56µs p(95)=489.12µs
     ✓ { mode:graphql-jit }.......................: avg=289.88µs min=217.37µs med=272.14µs max=18.34ms  p(90)=303.97µs p(95)=319.22µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=489.38µs min=408.34µs med=467.05µs max=5.96ms   p(90)=510.06µs p(95)=554.66µs
     ✓ { mode:graphql-response-cache }............: avg=340.74µs min=261.96µs med=323.81µs max=6.38ms   p(90)=354.09µs p(95)=366.16µs
     ✓ { mode:graphql }...........................: avg=365.63µs min=281.52µs med=335.45µs max=14.87ms  p(90)=390.33µs p(95)=462.92µs
     ✓ { mode:uws }...............................: avg=342.16µs min=270.82µs med=324.79µs max=5.7ms    p(90)=359.76µs p(95)=381.98µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 261874
     http_req_receiving...........................: avg=32.28µs  min=16.13µs  med=31.84µs  max=3.32ms   p(90)=38.7µs   p(95)=41.03µs 
     http_req_sending.............................: avg=8.36µs   min=5.9µs    med=7.36µs   max=315.49µs p(90)=10.79µs  p(95)=11.62µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=317.81µs min=188.02µs med=285.93µs max=18.24ms  p(90)=425.47µs p(95)=446.18µs
     http_reqs....................................: 261874  1745.806969/s
     iteration_duration...........................: avg=568.01µs min=390.03µs med=531.04µs max=18.87ms  p(90)=679.87µs p(95)=708.28µs
     iterations...................................: 261874  1745.806969/s
     vus..........................................: 1       min=1         max=2   
     vus_max......................................: 2       min=2         max=2   

@ardatan ardatan requested a review from EmrysMyrddin December 13, 2024 08:52
@ardatan ardatan merged commit 05fe345 into main Dec 13, 2024
24 checks passed
@ardatan ardatan deleted the add-deps branch December 13, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support custom media types (HTTP Content-Type) for the normal request processor
2 participants