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

Update HTTP Executor and add method and useGETForQueries to GraphiQL options #3133

Merged
merged 2 commits into from Dec 7, 2023

Conversation

ardatan
Copy link
Collaborator

@ardatan ardatan commented Dec 7, 2023

No description provided.

Copy link

changeset-bot bot commented Dec 7, 2023

🦋 Changeset detected

Latest commit: 506d023

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

This PR includes changesets to release 11 packages
Name Type
@graphql-yoga/graphiql Patch
graphql-yoga Patch
apollo-federation-gateway-with-yoga Patch
apollo-subgraph-with-yoga Patch
graphql-lambda Patch
cloudflare-advanced Patch
cloudflare Patch
functions Patch
hackernews Patch
nextjs-app Patch
hello-world-benchmark 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 7, 2023

Apollo Federation Subgraph Compatibility Results

Federation 1 SupportFederation 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 7, 2023

✅ 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% ✓ 385384      ✗ 0     
     data_received................................: 1.6 GB  13 MB/s
     data_sent....................................: 78 MB   648 kB/s
     http_req_blocked.............................: avg=1.59µs   min=1.03µs   med=1.35µs   max=349.72µs p(90)=2.09µs   p(95)=2.39µs  
     http_req_connecting..........................: avg=3ns      min=0s       med=0s       max=258.51µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=398.62µs min=214.45µs med=336.71µs max=18.31ms  p(90)=546.89µs p(95)=578.17µs
       { expected_response:true }.................: avg=398.62µs min=214.45µs med=336.71µs max=18.31ms  p(90)=546.89µs p(95)=578.17µs
     ✓ { mode:graphql-jit }.......................: avg=300.82µs min=214.45µs med=267.77µs max=18.31ms  p(90)=306.81µs p(95)=342.22µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=594.33µs min=470.14µs med=541.16µs max=11.58ms  p(90)=612.37µs p(95)=795.05µs
     ✓ { mode:graphql-response-cache }............: avg=375.42µs min=276.3µs  med=338.09µs max=9.65ms   p(90)=380.08µs p(95)=428.98µs
     ✓ { mode:graphql }...........................: avg=391.55µs min=287.63µs med=345.01µs max=13.05ms  p(90)=413.94µs p(95)=485.19µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 192692
     http_req_receiving...........................: avg=34.93µs  min=17.16µs  med=33.64µs  max=4.89ms   p(90)=40.53µs  p(95)=44.64µs 
     http_req_sending.............................: avg=9.1µs    min=5.8µs    med=7.7µs    max=3.79ms   p(90)=11.56µs  p(95)=13.27µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=354.58µs min=181.65µs med=294.94µs max=18.18ms  p(90)=502.58µs p(95)=530.93µs
     http_reqs....................................: 192692  1605.743694/s
     iteration_duration...........................: avg=617.63µs min=384.63µs med=546.45µs max=19.08ms  p(90)=768.11µs p(95)=817.57µs
     iterations...................................: 192692  1605.743694/s
     vus..........................................: 1       min=1         max=2   
     vus_max......................................: 2       min=2         max=2   

Copy link
Contributor

github-actions bot commented Dec 7, 2023

💻 Website Preview

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

Copy link
Contributor

github-actions bot commented Dec 7, 2023

🚀 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-cloud-run-guide 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-link 3.0.3-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.0.3-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.2.1-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
graphql-yoga 5.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.0.3-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.0.3-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.1.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.0.2-rc-20231207155100-506d023f npm ↗︎ unpkg ↗︎

@ardatan ardatan merged commit 77d107f into main Dec 7, 2023
27 of 28 checks passed
@ardatan ardatan deleted the graphiql-http branch December 7, 2023 16:18
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.

None yet

1 participant