-
Notifications
You must be signed in to change notification settings - Fork 2
fix(deps): update dependency graphql-yoga to v5 #210
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
base: master
Are you sure you want to change the base?
Conversation
|
b28cffd to
9804d63
Compare
9804d63 to
e23280b
Compare
e23280b to
7133ec4
Compare
7133ec4 to
f316ff3
Compare
f316ff3 to
e700a52
Compare
e700a52 to
d389141
Compare
d389141 to
cb75de3
Compare
cb75de3 to
f182573
Compare
f182573 to
8aed719
Compare
8aed719 to
b5218a8
Compare
b5218a8 to
fd787a3
Compare
fd787a3 to
967a198
Compare
967a198 to
4d6ba4c
Compare
94cf318 to
658b4e1
Compare
658b4e1 to
2b9fb79
Compare
2b9fb79 to
69a9203
Compare
3302aea to
619da6b
Compare
91c0aa8 to
1a390df
Compare
1a390df to
1901a28
Compare
1901a28 to
a1a8156
Compare
a1a8156 to
ba35509
Compare
ba35509 to
744ef98
Compare
30a3fb6 to
bdc5594
Compare
bdc5594 to
5ea1c23
Compare
df93875 to
6224b6f
Compare
9bad695 to
227d62b
Compare
227d62b to
b0ed48f
Compare
b0ed48f to
588f033
Compare
53a3343 to
301c728
Compare
301c728 to
3db1eea
Compare
3db1eea to
2ad2f9e
Compare
d267248 to
376a713
Compare
376a713 to
8704681
Compare
630275b to
81bf26f
Compare
81bf26f to
8ea1430
Compare
49ca690 to
4efd1be
Compare
2e78ca8 to
c96104c
Compare
c96104c to
da69d5a
Compare
448dd4a to
207e8af
Compare
fc7ad80 to
4d3222a
Compare
4d3222a to
f47e769
Compare
This PR contains the following updates:
3.9.1->5.16.2Release Notes
graphql-hive/graphql-yoga (graphql-yoga)
v5.16.2Compare Source
Patch Changes
#4270
ba38629Thanks @ardatan! - Fixes the bug where the error masking incorrectly
sets
http.unexpectedinstead of justunexpected.{ "extensions": { - "http": { "unexpected": true - } } }v5.16.1Compare Source
Patch Changes
#4263
6f83ceaThanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.10.14↗︎(from
^0.10.5, independencies)#4264
e1f52b6Thanks @renovate! - dependencies updates:
dset@^3.1.4↗︎ (fromdependencies)#4263
6f83ceaThanks @ardatan! - Update GraphiQL dependencies
v5.16.0Compare Source
Minor Changes
a4e1c5fThanks @EmrysMyrddin! - Add
allowedHeadersoption to allowfiltering Response and Request headers
Patch Changes
0a7a635Thanks @ardatan! - Fix workers' loading in online GraphiQL mode, so
that Monaco features like autocomplete can work properly
v5.15.2Compare Source
Patch Changes
e7b8906Thanks @ardatan! - Bump URL Loader in GraphiQL to the latest to
remove extra DOWNSTREAM_SERVICE_ERROR code in the errors
v5.15.1Compare Source
Patch Changes
ecd605bThanks @enisdenjo! - Does not GraphQL error extensions when it's
wrapping an internal server error
v5.15.0Compare Source
Minor Changes
ccb5c53Thanks @enisdenjo! - Configurable GraphiQL logo and favicon
Patch Changes
ccb5c53Thanks @enisdenjo! - Export GraphiQLPluginConfig and
GraphiQLOptionsOrFactory
v5.14.0Compare Source
Minor Changes
98c82a5Thanks @EmrysMyrddin! - Added new
withStateplugin utilityfor easy data sharing between hooks.
v5.13.5Compare Source
Patch Changes
8b41a52Thanks @renovate! - Remove extra error handling plugin
v5.13.4Compare Source
Patch Changes
#3995
000c33dThanks @enisdenjo! - Update whatwg-node packages
In light of ardatan/whatwg-node#2305. Please upgrade as soon as possible!
Updated dependencies
[
000c33d]:v5.13.3Compare Source
Patch Changes
#3968
1773c8cThanks @ardatan! - Handle unexpected errors correctly.
Yoga checks originalError to see if it is a wrapped error of an unexpected error, because
execution engine can wrap it multiple times.
#3930
3a7ef74Thanks @ardatan! - Bump
@whatwg-node/serverUpdated dependencies
[
3a7ef74]:v5.13.2Compare Source
Patch Changes
#3876
abe91bdThanks @EmrysMyrddin! - Re-export the utility type
AsyncIterableIteratorOrValuefrom@envelop/core.#3874
9311842Thanks @EmrysMyrddin! - Gives access to the request in the
operationinstrument payload, since the request is not in the context yet.v5.13.1Compare Source
Patch Changes
dee7995Thanks @ardatan! - dependencies updates:
@envelop/core@^5.2.3↗︎ (from^5.2.1, independencies)@whatwg-node/server@^0.10.1↗︎(from
^0.10.0, independencies)@envelop/instrumentation@^1.0.0↗︎(to
dependencies)@envelop/instruments@^1.0.0↗︎(from
dependencies)v5.13.0Compare Source
Minor Changes
#3793
63b78d5Thanks @EmrysMyrddin! - Add new Instrumentation API
Introduction of a new API allowing to instrument the graphql pipeline.
This new API differs from already existing Hooks by not having access to input/output of phases.
The goal of
Instrumentationis to run allow running code before, after or around the wholeprocess of a phase, including plugins hooks executions.
The main use case of this new API is observability (monitoring, tracing, etc...).
Basic usage
Multiple instrumentation plugins
It is possible to have multiple instrumentation plugins (Prometheus and Sentry for example), they
will be automatically composed by envelop in the same order than the plugin array (first is
outermost, last is inner most).
Custom instrumentation ordering
If the default composition ordering doesn't suite your need, you can manually compose
instrumentation. This allows to have a different execution order of hooks and instrumentation.
Patch Changes
#3793
63b78d5Thanks @EmrysMyrddin! - dependencies updates:
@envelop/core@^5.2.1↗︎ (from^5.0.2, independencies)@envelop/instrumentation@^1.0.0↗︎(to
dependencies)@whatwg-node/promise-helpers@^1.2.4↗︎(to
dependencies)#3855
6ed67e8Thanks @renovate! - dependencies updates:
@whatwg-node/server@^0.10.0↗︎(from
^0.9.71, independencies)v5.12.2Compare Source
Patch Changes
a6b3de9Thanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.71↗︎(from
^0.9.69, independencies)v5.12.1Patch Changes
fbf328cThanks @ardatan! - dependencies updates:
@whatwg-node/fetch@^0.10.5↗︎(from
^0.10.1, independencies)@whatwg-node/server@^0.9.69↗︎(from
^0.9.64, independencies)v5.12.0Minor Changes
5150146Thanks @ardatan! -
extensions.codeusage for specific errorsPatch Changes
#3764
96498eeThanks @slagiewka! - Pass through
disposeOnProcessTerminatetocreateServerAdapter#3672
5150146Thanks @ardatan! - dependencies updates:
@graphql-tools/executor@^1.4.0↗︎(from
^1.3.7, independencies)v5.11.0Compare Source
Minor Changes
#3727
5fd15b8Thanks @EmrysMyrddin! - Allow to configure the endpoint used by
GraphiQL to send requests.
#3736
d13b8a4Thanks @ardatan! - Now it is possible to replace or wrap the logic
how
GraphQLParamshandled;By default Yoga calls Envelop to handle the parameters, but now you can replace it with your own
logic.
Example: Wrap the GraphQL handling pipeline in an
AsyncLocalStoragev5.10.11Compare Source
Patch Changes
1c055f5Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
v5.10.10Compare Source
Patch Changes
[
d4cbae1,d4cbae1]:v5.10.9Compare Source
Patch Changes
#3620
d24c5d5Thanks @enisdenjo! - Bump dset dependency handling the
CVE-2024-21529
https://security.snyk.io/vuln/SNYK-JS-DSET-7116691
#3620
d24c5d5Thanks @enisdenjo! - dependencies updates:
dset@^3.1.4↗︎ (from^3.1.1, independencies)v5.10.8Compare Source
Patch Changes
ed344eaThanks @ardatan! - Mark
createLRUCacheutility as deprecated, andexport it as
_createLRUCachemarking it as an internal utilityv5.10.7Compare Source
Patch Changes
#3547
8fee214Thanks @Urigo! - dependencies updates:
@graphql-tools/executor@^1.3.7↗︎(from
^1.3.5, independencies)@graphql-tools/schema@^10.0.11↗︎(from
^10.0.10, independencies)@graphql-tools/utils@^10.6.2↗︎(from
^10.6.1, independencies)@whatwg-node/server@^0.9.63↗︎(from
^0.9.60, independencies)#3567
1df4912Thanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.64↗︎(from
^0.9.63, independencies)v5.10.6Compare Source
Patch Changes
121ccbaThanks @bridges-wood! - Fix stylesheet reference in graphiql
v5.10.5Compare Source
Patch Changes
#3546
eca7cd1Thanks @EmrysMyrddin! - Add documentation for Plugin hooks
#3549
05fe345Thanks @ardatan! - dependencies updates:
@graphql-tools/executor@^1.3.7↗︎(from
^1.3.5, independencies)@graphql-tools/schema@^10.0.11↗︎(from
^10.0.10, independencies)@graphql-tools/utils@^10.6.2↗︎(from
^10.6.1, independencies)@whatwg-node/server@^0.9.63↗︎(from
^0.9.60, independencies)Updated dependencies []:
v5.10.4Compare Source
Patch Changes
944ecd5Thanks @ardatan! - dependencies updates:
@envelop/core@^5.0.2↗︎ (from^5.0.1, independencies)@graphql-tools/executor@^1.3.5↗︎(from
^1.3.3, independencies)@graphql-tools/schema@^10.0.10↗︎(from
^10.0.4, independencies)@graphql-tools/utils@^10.6.1↗︎(from
^10.3.2, independencies)@whatwg-node/server@^0.9.60↗︎(from
^0.9.55, independencies)tslib@^2.8.1↗︎ (from^2.5.2, independencies)v5.10.3Compare Source
Patch Changes
#3501
c93366dThanks @enisdenjo! - dependencies updates:
@graphql-tools/executor@^1.3.3↗︎(from
^1.3.0, independencies)#3501
c93366dThanks @enisdenjo! - Update transport executors containing
improvements and fixes
v5.10.2Compare Source
Patch Changes
#3491
7a413bcThanks @n1ru4l! - dependencies updates:
@whatwg-node/server@^0.9.55↗︎(from
^0.9.54, independencies)#3491
7a413bcThanks @n1ru4l! - Fix issue where context values being shared between
batched requests.
A bug within
@whatwg-node/servercaused properties assigned to a batched requests context to bepropagated to all other batched requests contexts. It is resolved by updating the dependency of
@whatwg-node/serverto0.9.55.v5.10.1Compare Source
Patch Changes
1c055f5Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
v5.10.0Compare Source
Minor Changes
f81501cThanks @maeldur! - Correctly handle HTTP GET requests with
?characters in the query search string.
v5.9.0Compare Source
Minor Changes
87ee333Thanks @n1ru4l! - Inject initial context into
onParamshook.Patch Changes
2523d9fThanks @kroupacz! - ### Fixed
versionv5.8.0Compare Source
Minor Changes
18fe916Thanks @kroupacz! - Add
versionproperty to get version of YogaPatch Changes
6bb19edThanks @ardatan! - dependencies updates:
@whatwg-node/fetch@^0.9.22↗︎(from
^0.9.18, independencies)@whatwg-node/server@^0.9.50↗︎(from
^0.9.44, independencies)v5.7.0Compare Source
Minor Changes
#3331
5dae4abThanks @EmrysMyrddin! - Expose server context in
onResultProcessHook. In particular, this gives access to thewaitUntilmethod to cleanlyhandle hanging promises.
#3331
5dae4abThanks @EmrysMyrddin! - New hook: onExecutionResult which is
triggered when an execution is done on the pipeline. If it is a batched operation, this is called
per each operation in the batch
#3331
5dae4abThanks @EmrysMyrddin! - Expose the already existing
waitUntilmethod from the server context.
Patch Changes
5dae4abThanks @EmrysMyrddin! - dependencies updates:
@whatwg-node/server@^0.9.44↗︎(from
^0.9.41, independencies)v5.6.3Compare Source
Patch Changes
#3400
0866c1bThanks @n1ru4l! - Restores compatibility with
RFC1341: The Multipart Content-Type by
including preceding
\r\nfor initial boundary delimiter when using the multipart responseprotocol.
This makes Yoga compatible with libraries that strictly follow the response protocol, such as
fetch-multipart-graphql.
v5.6.2Compare Source
Patch Changes
#3357
b7bf47bThanks @renovate! - dependencies updates:
@whatwg-node/server@^0.9.41↗︎(from
^0.9.40, independencies)#3384
81a736bThanks @ardatan! - dependencies updates:
@envelop/core@^5.0.1↗︎ (from^5.0.0, independencies)@graphql-tools/executor@^1.3.0↗︎(from
^1.2.5, independencies)@graphql-tools/schema@^10.0.4↗︎(from
^10.0.0, independencies)@graphql-tools/utils@^10.3.2↗︎(from
^10.1.0, independencies)@whatwg-node/fetch@^0.9.18↗︎(from
^0.9.17, independencies)@whatwg-node/server@^0.9.40↗︎(from
^0.9.36, independencies)v5.6.1Compare Source
Patch Changes
4252e3dThanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.36↗︎(from
^0.9.33, independencies)v5.6.0Compare Source
Minor Changes
#3333
9f3f945Thanks @ardatan! - By default, Yoga does not allow extra parameters
in the request body other than
query,operationName,extensions, andvariables, thenthrows 400 HTTP Error. This change adds a new option called
extraParamNamesto allow extraparameters in the request body.
v5.5.0Compare Source
Minor Changes
#3332
0208024Thanks @ardatan! - Customize the landing page by passing a custom
renderer that returns
Responseto thelandingPageoptionv5.4.0Compare Source
Minor Changes
#3314
d5dfe99Thanks @EmrysMyrddin! - Allow for full customization of the
GraphiQL page.
Props from the
YogaGraphiQLare now forwarded to the underlying GraphiQL components.The
graphiqloption field type of the Yoga server as also been updated to document which optionsare configurable from the server side. Only serializable options are available.
#3255
7335a82Thanks @nissy-dev! - support shouldPersistHeaders option in
GraphiQL plugin
Patch Changes
#3325
4cd43b9Thanks @n1ru4l! - Fix TypeScript compatibility with
type: "module".#3300
fdd902cThanks @EmrysMyrddin! - dependencies updates:
@graphql-yoga/logger@workspace:^↗︎(from
^2.0.0, independencies)@graphql-yoga/subscription@workspace:^↗︎(from
^5.0.0, independencies)#3270
f9aa1cdThanks @andrew0! - Retain server context prototype for batched
requests
Updated dependencies
[
fdd902c]:v5.3.1Compare Source
Patch Changes
#3237
3324bbabThanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.33↗︎(from
^0.9.32, independencies)#3237
3324bbabThanks @ardatan! - In such environments like CloudFlare Workers, the
requestobject in the context always has the initial request object, so it was impossible toaccess the actual
Requestobject from the execution context. Now Yoga ensures that therequestin the context is the same with the actual
Request.v5.3.0Compare Source
Minor Changes
#3197
f775b341Thanks @n1ru4l! - Experimental support for aborting GraphQL execution
when the HTTP request is canceled.
The execution of subsequent GraphQL resolvers is now aborted if the incoming HTTP request is
canceled from the client side. This reduces the load of your API in case incoming requests with
deep GraphQL operation selection sets are canceled.
Learn more in our docs
Action Required In order to benefit from this new feature, you need to update your integration
setup for Fastify, Koa and Hapi.
Please refer to the corresponding integration guides for examples.
Patch Changes
#3197
f775b341Thanks @n1ru4l! - dependencies updates:
@graphql-tools/executor@^1.2.5↗︎(from
^1.2.2, independencies)@whatwg-node/fetch@^0.9.17↗︎(from
^0.9.7, independencies)@whatwg-node/server@^0.9.32↗︎(from
^0.9.1, independencies)#3214
f89a1aa2Thanks @n1ru4l! - Always include empty data payload for final
completeevent of SSE stream responses to ensureEventSourcecompatibility. Seethe
GraphQL over SSE protocol
for more information.
v5.2.0Compare Source
Minor Changes
71db7548Thanks @n1ru4l! - Allow setting async iterable within
onParamshooksetResultfunctionPatch Changes
71db7548Thanks @n1ru4l! - dependencies updates:
@graphql-tools/executor@^1.2.2↗︎(from
^1.0.0, independencies)@graphql-tools/utils@^10.1.0↗︎(from
^10.0.0, independencies)v5.1.1Compare Source
Patch Changes
3ef877a7Thanks @ardatan! - Support errors with extensions set undefined
v5.1.0Compare Source
Minor Changes
b1f0e3a2Thanks @magrinj! - Export YogaSchemaDefinition and mergeSchemas
v5.0.2Compare Source
Patch Changes
77d107feThanks @ardatan! - Update HTTP Executor and add
methodanduseGETForQueriesto GraphiQL optionsv5.0.1Compare Source
Patch Changes
3fea19f2Thanks @antonio-iodice! - Do not return 404 when using query
params or trailing slashes
v5.0.0Compare Source
Major Changes
#3063
01430e03Thanks @EmrysMyrddin! - Breaking Change: Drop support of
Node.js 16
#3070
5b615478Thanks @renovate! - dependencies updates:
@envelop/core@^5.0.0↗︎ (from^4.0.0, independencies)Patch Changes
#3051
350bb851Thanks @ardatan! - Use the same context object in the entire
pipeline
Updated dependencies
[
01430e03]:v4.0.5Compare Source
Patch Changes
bf602edfThanks @EmrysMyrddin! - Fix dynamic schema function type and
documentation
v4.0.4Compare Source
Patch Changes
5f182006Thanks @enisdenjo! - Start SSE stream with a ping
v4.0.3Compare Source
Patch Changes
5efb8250Thanks @n1ru4l! - dependencies updates:
@whatwg-node/fetch@^0.9.7↗︎(from
^0.9.0, independencies)@whatwg-node/server@^0.9.1↗︎(from
^0.8.1, independencies)v4.0.2Compare Source
Patch Changes
ce6d2465Thanks @nescalante! - Avoid overriding http status on extensions
when using a plugin that modifies error prop
v4.0.1Compare Source
Patch Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.