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

v5 release #3063

Merged
merged 10 commits into from
Oct 16, 2023
Merged

v5 release #3063

merged 10 commits into from
Oct 16, 2023

Conversation

EmrysMyrddin
Copy link
Collaborator

Add remote docs for v4 and migration guide for v5

@changeset-bot
Copy link

changeset-bot bot commented Oct 12, 2023

🦋 Changeset detected

Latest commit: 021ff90

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

This PR includes changesets to release 31 packages
Name Type
@graphql-yoga/nestjs-federation Major
@graphql-yoga/plugin-apollo-inline-trace Major
@graphql-yoga/plugin-prometheus Major
@graphql-yoga/plugin-response-cache Major
@graphql-yoga/redis-event-target Major
@graphql-yoga/typed-event-target Major
@graphql-yoga/plugin-disable-introspection Major
@graphql-yoga/plugin-persisted-operations Major
@graphql-yoga/plugin-csrf-prevention Major
@graphql-yoga/urql-exchange Major
@graphql-yoga/plugin-defer-stream Major
@graphql-yoga/plugin-graphql-sse Major
@graphql-yoga/apollo-link Major
@graphql-yoga/render-graphiql Major
graphql-yoga Major
@graphql-yoga/plugin-sofa Major
@graphql-yoga/subscription Major
@graphql-yoga/plugin-apq Major
@graphql-yoga/plugin-jwt Major
@graphql-yoga/logger Major
@graphql-yoga/nestjs Major
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
graphql-yoga-cloud-run-guide Patch
hackernews 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
Copy link
Contributor

github-actions bot commented Oct 12, 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:

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 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% ✓ 255304      ✗ 0     
     data_received................................: 1.0 GB  8.7 MB/s
     data_sent....................................: 52 MB   429 kB/s
     http_req_blocked.............................: avg=2.12µs   min=1.2µs    med=1.8µs    max=1.34ms   p(90)=2.6µs    p(95)=2.9µs   
     http_req_connecting..........................: avg=5ns      min=0s       med=0s       max=252.81µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=618.53µs min=287.81µs med=490.73µs max=30.91ms  p(90)=882.84µs p(95)=1.03ms  
       { expected_response:true }.................: avg=618.53µs min=287.81µs med=490.73µs max=30.91ms  p(90)=882.84µs p(95)=1.03ms  
     ✓ { mode:graphql-jit }.......................: avg=450.86µs min=287.81µs med=380.62µs max=21.74ms  p(90)=475.61µs p(95)=573.62µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=1ms      min=755.04µs med=866.25µs max=25.84ms  p(90)=1.15ms   p(95)=1.76ms  
     ✓ { mode:graphql-response-cache }............: avg=544.97µs min=366.62µs med=476.12µs max=14.32ms  p(90)=558.05µs p(95)=658.13µs
     ✓ { mode:graphql }...........................: avg=627.5µs  min=422.42µs med=519.53µs max=30.91ms  p(90)=696.2µs  p(95)=891.59µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 127652
     http_req_receiving...........................: avg=38.14µs  min=19µs     med=32.2µs   max=12.91ms  p(90)=46.9µs   p(95)=51.1µs  
     http_req_sending.............................: avg=17.31µs  min=7.3µs    med=10.5µs   max=10.17ms  p(90)=17.1µs   p(95)=20.5µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=563.07µs min=256.11µs med=443.52µs max=25.73ms  p(90)=830.34µs p(95)=952.59µs
     http_reqs....................................: 127652  1063.745177/s
     iteration_duration...........................: avg=932.04µs min=518.23µs med=792.44µs max=31.49ms  p(90)=1.2ms    p(95)=1.41ms  
     iterations...................................: 127652  1063.745177/s
     vus..........................................: 1       min=1         max=2   
     vus_max......................................: 2       min=2         max=2   

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 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.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-link 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/redis-event-target 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/typed-event-target 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.2.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
graphql-yoga 5.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/logger 2.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎
@graphql-yoga/subscription 5.0.0-rc-20231016132816-021ff90e npm ↗︎ unpkg ↗︎

@EmrysMyrddin
Copy link
Collaborator Author

Not sure if I should update the migration guides from v2 and v3 to add the fact that Node.js 16 support is dropped and that plugin execution has changed, since this change is relevant if you come from all versions.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2023

💻 Website Preview

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

@EmrysMyrddin EmrysMyrddin changed the title add v5 to docs v5 release Oct 13, 2023
@EmrysMyrddin EmrysMyrddin force-pushed the docs/v5-migration branch 2 times, most recently from 67e5086 to 0ba0275 Compare October 16, 2023 10:44
@EmrysMyrddin EmrysMyrddin requested a review from ardatan October 16, 2023 10:53
@EmrysMyrddin EmrysMyrddin merged commit 01430e0 into main Oct 16, 2023
22 of 23 checks passed
@EmrysMyrddin EmrysMyrddin deleted the docs/v5-migration branch October 16, 2023 13:38
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.

1 participant