-
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
560f07b
to
e086375
Compare
76c3b3f
to
6509b7a
Compare
379d664
to
395291c
Compare
395291c
to
eec442b
Compare
56080e2
to
2e9ae0c
Compare
39fea28
to
e1a32df
Compare
e1a32df
to
37448c4
Compare
37448c4
to
30a3fb6
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
588f033
to
53a3343
Compare
53a3343
to
301c728
Compare
This PR contains the following updates:
3.9.1
->5.13.4
Release Notes
graphql-hive/graphql-yoga (graphql-yoga)
v5.13.4
Compare Source
Patch Changes
#3995
000c33d
Thanks @enisdenjo! - Update whatwg-node packages
In light of https://github.com/ardatan/whatwg-node/pull/2305. Please upgrade as soon as possible!
Updated dependencies
[
000c33d
]:v5.13.3
Compare Source
Patch Changes
#3968
1773c8c
Thanks @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
3a7ef74
Thanks @ardatan! - Bump
@whatwg-node/server
Updated dependencies
[
3a7ef74
]:v5.13.2
Compare Source
Patch Changes
#3876
abe91bd
Thanks @EmrysMyrddin! - Re-export the utility type
AsyncIterableIteratorOrValue
from@envelop/core
.#3874
9311842
Thanks @EmrysMyrddin! - Gives access to the request in the
operation
instrument payload, since the request is not in the context yet.v5.13.1
Compare Source
Patch Changes
dee7995
Thanks @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.0
Compare Source
Minor Changes
#3793
63b78d5
Thanks @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
Instrumentation
is 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
63b78d5
Thanks @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
6ed67e8
Thanks @renovate! - dependencies updates:
@whatwg-node/server@^0.10.0
↗︎(from
^0.9.71
, independencies
)v5.12.2
Compare Source
Patch Changes
a6b3de9
Thanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.71
↗︎(from
^0.9.69
, independencies
)v5.12.1
Patch Changes
fbf328c
Thanks @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.0
Minor Changes
5150146
Thanks @ardatan! -
extensions.code
usage for specific errorsPatch Changes
#3764
96498ee
Thanks @slagiewka! - Pass through
disposeOnProcessTerminate
tocreateServerAdapter
#3672
5150146
Thanks @ardatan! - dependencies updates:
@graphql-tools/executor@^1.4.0
↗︎(from
^1.3.7
, independencies
)v5.11.0
Compare Source
Minor Changes
#3727
5fd15b8
Thanks @EmrysMyrddin! - Allow to configure the endpoint used by
GraphiQL to send requests.
#3736
d13b8a4
Thanks @ardatan! - Now it is possible to replace or wrap the logic
how
GraphQLParams
handled;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
AsyncLocalStorage
v5.10.11
Compare Source
Patch Changes
1c055f5
Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
v5.10.10
Compare Source
Patch Changes
[
d4cbae1
,d4cbae1
]:v5.10.9
Compare Source
Patch Changes
#3620
d24c5d5
Thanks @enisdenjo! - Bump dset dependency handling the
CVE-2024-21529
https://security.snyk.io/vuln/SNYK-JS-DSET-7116691
#3620
d24c5d5
Thanks @enisdenjo! - dependencies updates:
dset@^3.1.4
↗︎ (from^3.1.1
, independencies
)v5.10.8
Compare Source
Patch Changes
ed344ea
Thanks @ardatan! - Mark
createLRUCache
utility as deprecated, andexport it as
_createLRUCache
marking it as an internal utilityv5.10.7
Compare Source
Patch Changes
#3547
8fee214
Thanks @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
1df4912
Thanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.64
↗︎(from
^0.9.63
, independencies
)v5.10.6
Compare Source
Patch Changes
121ccba
Thanks @bridges-wood! - Fix stylesheet reference in graphiql
v5.10.5
Compare Source
Patch Changes
#3546
eca7cd1
Thanks @EmrysMyrddin! - Add documentation for Plugin hooks
#3549
05fe345
Thanks @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.4
Compare Source
Patch Changes
944ecd5
Thanks @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.3
Compare Source
Patch Changes
#3501
c93366d
Thanks @enisdenjo! - dependencies updates:
@graphql-tools/executor@^1.3.3
↗︎(from
^1.3.0
, independencies
)#3501
c93366d
Thanks @enisdenjo! - Update transport executors containing
improvements and fixes
v5.10.2
Compare Source
Patch Changes
#3491
7a413bc
Thanks @n1ru4l! - dependencies updates:
@whatwg-node/server@^0.9.55
↗︎(from
^0.9.54
, independencies
)#3491
7a413bc
Thanks @n1ru4l! - Fix issue where context values being shared between
batched requests.
A bug within
@whatwg-node/server
caused 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/server
to0.9.55
.v5.10.1
Compare Source
Patch Changes
1c055f5
Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
v5.10.0
Compare Source
Minor Changes
f81501c
Thanks @maeldur! - Correctly handle HTTP GET requests with
?
characters in the query search string.
v5.9.0
Compare Source
Minor Changes
87ee333
Thanks @n1ru4l! - Inject initial context into
onParams
hook.Patch Changes
2523d9f
Thanks @kroupacz! - ### Fixed
version
v5.8.0
Compare Source
Minor Changes
18fe916
Thanks @kroupacz! - Add
version
property to get version of YogaPatch Changes
6bb19ed
Thanks @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.0
Compare Source
Minor Changes
#3331
5dae4ab
Thanks @EmrysMyrddin! - Expose server context in
onResultProcessHook
. In particular, this gives access to thewaitUntil
method to cleanlyhandle hanging promises.
#3331
5dae4ab
Thanks @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
5dae4ab
Thanks @EmrysMyrddin! - Expose the already existing
waitUntil
method from the server context.
Patch Changes
5dae4ab
Thanks @EmrysMyrddin! - dependencies updates:
@whatwg-node/server@^0.9.44
↗︎(from
^0.9.41
, independencies
)v5.6.3
Compare Source
Patch Changes
#3400
0866c1b
Thanks @n1ru4l! - Restores compatibility with
RFC1341: The Multipart Content-Type by
including preceding
\r\n
for 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.2
Compare Source
Patch Changes
#3357
b7bf47b
Thanks @renovate! - dependencies updates:
@whatwg-node/server@^0.9.41
↗︎(from
^0.9.40
, independencies
)#3384
81a736b
Thanks @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.1
Compare Source
Patch Changes
4252e3d
Thanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.36
↗︎(from
^0.9.33
, independencies
)v5.6.0
Compare Source
Minor Changes
#3333
9f3f945
Thanks @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
extraParamNames
to allow extraparameters in the request body.
v5.5.0
Compare Source
Minor Changes
#3332
0208024
Thanks @ardatan! - Customize the landing page by passing a custom
renderer that returns
Response
to thelandingPage
optionv5.4.0
Compare Source
Minor Changes
#3314
d5dfe99
Thanks @EmrysMyrddin! - Allow for full customization of the
GraphiQL page.
Props from the
YogaGraphiQL
are now forwarded to the underlying GraphiQL components.The
graphiql
option 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
7335a82
Thanks @nissy-dev! - support shouldPersistHeaders option in
GraphiQL plugin
Patch Changes
#3325
4cd43b9
Thanks @n1ru4l! - Fix TypeScript compatibility with
type: "module"
.#3300
fdd902c
Thanks @EmrysMyrddin! - dependencies updates:
@graphql-yoga/logger@workspace:^
↗︎(from
^2.0.0
, independencies
)@graphql-yoga/subscription@workspace:^
↗︎(from
^5.0.0
, independencies
)#3270
f9aa1cd
Thanks @andrew0! - Retain server context prototype for batched
requests
Updated dependencies
[
fdd902c
]:v5.3.1
Compare Source
Patch Changes
#3237
3324bbab
Thanks @ardatan! - dependencies updates:
@whatwg-node/server@^0.9.33
↗︎(from
^0.9.32
, independencies
)#3237
3324bbab
Thanks @ardatan! - In such environments like CloudFlare Workers, the
request
object in the context always has the initial request object, so it was impossible toaccess the actual
Request
object from the execution context. Now Yoga ensures that therequest
in the context is the same with the actual
Request
.v5.3.0
Compare Source
Minor Changes
#3197
f775b341
Thanks @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
f775b341
Thanks @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
f89a1aa2
Thanks @n1ru4l! - Always include empty data payload for final
complete
event of SSE stream responses to ensureEventSource
compatibility. Seethe
GraphQL over SSE protocol
for more information.
v5.2.0
Compare Source
Minor Changes
71db7548
Thanks @n1ru4l! - Allow setting async iterable within
onParams
hooksetResult
functionPatch Changes
71db7548
Thanks @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.1
Compare Source
Patch Changes
3ef877a7
Thanks @ardatan! - Support errors with extensions set undefined
v5.1.0
Compare Source
Minor Changes
b1f0e3a2
Thanks @magrinj! - Export YogaSchemaDefinition and mergeSchemas
v5.0.2
Compare Source
Patch Changes
77d107fe
Thanks @ardatan! - Update HTTP Executor and add
method
anduseGETForQueries
to GraphiQL optionsv5.0.1
Compare Source
Patch Changes
3fea19f2
Thanks @antonio-iodice! - Do not return 404 when using query
params or trailing slashes
v5.0.0
Compare Source
Major Changes
#3063
01430e03
Thanks @EmrysMyrddin! - Breaking Change: Drop support of
Node.js 16
#3070
5b615478
Thanks @renovate! - dependencies updates:
@envelop/core@^5.0.0
↗︎ (from^4.0.0
, independencies
)Patch Changes
#3051
350bb851
Thanks @ardatan! - Use the same context object in the entire
pipeline
Updated dependencies
[
01430e03
]:v4.0.5
Compare Source
Patch Changes
bf602edf
Thanks @EmrysMyrddin! - Fix dynamic schema function type and
documentation
v4.0.4
Compare Source
Patch Changes
5f182006
Thanks @enisdenjo! - Start SSE stream with a ping
v4.0.3
Compare Source
Patch Changes
5efb8250
Thanks @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.2
Compare Source
Patch Changes
ce6d2465
Thanks @nescalante! - Avoid overriding http status on extensions
when using a plugin that modifies error prop
v4.0.1
Compare Source
Patch Changes
#2866
bb739b05
Thanks @renovate! - dependencies updates:
lru-cache@^10.0.0
↗︎(from
^9.0.0
, independencies
)#2869
8f7d7abc
Thanks @enisdenjo! - Properly serialise GraphQLError on graphql-js
v15
v4.0.0
Compare Source
Major Changes
#2767
4228c1d5
Thanks @renovate! - Drop support for Node.js 14. Require
Node.js
>=16
.#2776
34ecb4bb
Thanks @enisdenjo! - Drop unused graphiql options
defaultVariableEditorOpen
andheaderEditorEnabled
#2810
ec318fe6
Thanks @n1ru4l! - Remove support for executing Subscription
operations over the incremental delivery response protocol (
multipart/mixed
)#2775
dd699c4b
Thanks @enisdenjo! - Subscriptions use GraphQL over SSE "distinct
connections mode"
#2767
4228c1d5
Thanks @renovate! - Events without an event payload will now
always have
null
as the event payload instead ofundefined
.#2777
0522c740
Thanks @enisdenjo! - Parse and validation cache are now under a
single option
parserAndValidationCache
Patch Changes
#2720
cc370691
Thanks @n1ru4l! - Skip validation caching when there is no
schema
specified. This previously caused a cryptic error message when reaching execution/validation
without a schema. Now the missing schema error will actually originate from within the
validate
function instead.
#2726
b309ca0d
Thanks @ardatan! - Respect
toJSON
in the thrown errors.Updated dependencies
[
4228c1d5
,4228c1d5
]: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.