Releases: dotansimha/graphql-yoga
November 29, 2024
@graphql-yoga/apollo-link@3.10.3
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/executor-apollo-link@^1.0.5
↗︎
(from^1.0.3
, independencies
) - Updated dependency
@graphql-tools/executor-http@^1.1.10
↗︎
(from^1.1.9
, independencies
)
- Updated dependency
@graphql-yoga/urql-exchange@3.10.4
graphql-yoga@5.10.4
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/core@^5.0.2
↗︎ (from
^5.0.1
, independencies
) - Updated dependency
@graphql-tools/executor@^1.3.5
↗︎
(from^1.3.3
, independencies
) - Updated dependency
@graphql-tools/schema@^10.0.10
↗︎
(from^10.0.4
, independencies
) - Updated dependency
@graphql-tools/utils@^10.6.1
↗︎
(from^10.3.2
, independencies
) - Updated dependency
@whatwg-node/server@^0.9.60
↗︎
(from^0.9.55
, independencies
) - Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.10.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/nestjs-federation@3.10.4
Patch Changes
- Updated dependencies
[944ecd5
]:- @graphql-yoga/plugin-apollo-inline-trace@3.10.4
- @graphql-yoga/nestjs@3.10.4
@graphql-yoga/plugin-apollo-inline-trace@3.10.4
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.6.1
↗︎
(from^10.0.0
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/apollo-managed-federation@0.7.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-apollo-usage-report@0.5.1
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.6.1
↗︎
(from^10.0.0
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[944ecd5
,
944ecd5
]:- @graphql-yoga/plugin-apollo-inline-trace@3.10.4
- graphql-yoga@5.10.4
@graphql-yoga/plugin-apq@3.10.4
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.6.1
↗︎
(from^10.0.0
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-csrf-prevention@3.10.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-defer-stream@3.10.4
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.6.1
↗︎
(from^10.0.0
, independencies
)
- Updated dependency
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-disable-introspection@2.10.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-graphql-sse@3.10.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-jwt@3.4.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-persisted-operations@3.10.4
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.6.1
↗︎
(from^10.0.0
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-prometheus@6.5.1
Patch Changes
- #3520
944ecd5
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/prometheus@^11.1.0
↗︎
(from11.1.0
, independencies
)
- Updated dependency
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-response-cache@3.12.4
Patch Changes
-
#3520
944ecd5
Thanks @ardatan! - dependencies updates:- Added dependency
@envelop/core@^5.0.2
↗︎ (to
dependencies
)
- Added dependency
-
#3520
944ecd5
Thanks @ardatan! - Pass `context` tosession
and
buildResponseCacheKey
So now
session
can get the context to use the JWT token extracted by JWT Plugin for instance;useResponseCache({ session: (req, ctx) => ctx.jwt.token })
-
Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/plugin-sofa@3.10.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
@graphql-yoga/render-graphiql@5.10.4
Patch Changes
- Updated dependencies
[944ecd5
]:- graphql-yoga@5.10.4
November 27, 2024
@graphql-yoga/plugin-apollo-usage-report@0.5.0
Minor Changes
- #3458
cb29c6c
Thanks @kroupacz! - ### Removed- Breaking change remove option to set
clientName
andclientVersion
as a staticstring
inApolloUsageReportOptions
- Breaking change remove option to set
Patch Changes
- #3488
a4bc07f
Thanks @kroupacz! - fixed: move logic fromonEnveloped
hook to
onParse
hook (onParseEnd
) which prevents theoperationName
could be missing.
@graphql-yoga/plugin-prometheus@6.5.0
Minor Changes
-
#3489
131dfa3
Thanks @EmrysMyrddin! - Allow to explicitly control which
events and timing should be observe.Each metric can now be configured to observe events and timings only for certain GraphQL pipeline
phases, or depending on the request context.Example: trace only execution and subscription errors
import { execute, parse, specifiedRules, subscribe, validate } from 'graphql' import { envelop, useEngine } from '@envelop/core' import { usePrometheus } from '@envelop/prometheus' const TRACKED_OPERATION_NAMES = [ // make a list of operation that you want to monitor ] const getEnveloped = envelop({ plugins: [ useEngine({ parse, validate, specifiedRules, execute, subscribe }), usePrometheus({ metrics: { // Here, an array of phases can be provided to enable the metric only on certain phases. // In this example, only error happening during the execute and subscribe phases will tracked graphql_envelop_phase_error: ['execute', 'subscribe'] } }) ] })
Example: Monitor timing only of a set of operations by name
import { execute, parse, specifiedRules, subscribe, validate } from 'graphql' import { envelop, useEngine } from '@envelop/core' import { usePrometheus } from '@envelop/prometheus' const TRACKED_OPERATION_NAMES = [ // make a list of operation that you want to monitor ] const getEnveloped = envelop({ plugins: [ useEngine({ parse, validate, specifiedRules, execute, subscribe }), usePrometheus({ metrics: { graphql_yoga_http_duration: createHistogram({ registry, histogram: { name: 'graphql_envelop_request_duration', help: 'Time spent on HTTP connection', labelNames: ['operationName'] }, fillLabelsFn: ({ operationName }, _rawContext) => ({ operationName }), phases: ['execute', 'subscribe'], // Here `shouldObserve` control if the request timing should be observed, based on context shouldObserve: ({ operationName }) => TRACKED_OPERATIONS.includes(operationName) }) } }) ] })
Default Behavior Change
A metric is enabled using
true
value in metrics options will observe in every phases available.Previously, which phase was observe was depending on which other metric were enabled. For example,
this config would only trace validation error:usePrometheus({ metrics: { graphql_envelop_phase_error: true, graphql_envelop_phase_validate: true } })
This is no longer the case. If you were relying on this behavior, please use an array of string to
restrict observed phases.usePrometheus({ metrics: { graphql_envelop_phase_error: ['validate'] } })
Deprecation
The
fillLabelFn
function was provided theresponse
andrequest
through thecontext
argument.This is now deprecated,
request
andresponse
are now available in the firstparams
argument.
This change allows to provide better typing, sincecontext
is not typed.
Patch Changes
-
#3489
131dfa3
Thanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@envelop/prometheus@11.1.0-alpha-20241122091727-adade563355e3d213f27427a9a1d86adf9431d41
↗︎
(from11.0.0
, independencies
)
- Updated dependency
-
#3519
ca1e8b4
Thanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@envelop/prometheus@11.1.0
↗︎
(from11.1.0-alpha-20241122091727-adade563355e3d213f27427a9a1d86adf9431d41
, independencies
)
- Updated dependency
November 20, 2024
@graphql-yoga/urql-exchange@3.10.3
Patch Changes
-
#3501
c93366d
Thanks @enisdenjo! - dependencies updates:- Updated dependency
@graphql-tools/executor-http@^1.1.9
↗︎
(from^1.0.4
, independencies
) - Updated dependency
@graphql-tools/executor-urql-exchange@^1.0.4
↗︎
(from^1.0.0
, independencies
)
- Updated dependency
-
#3501
c93366d
Thanks @enisdenjo! - Update transport executors containing
improvements and fixes
@graphql-yoga/graphiql@4.3.2
Patch Changes
-
#3501
c93366d
Thanks @enisdenjo! - dependencies updates:- Updated dependency
@graphql-tools/url-loader@^8.0.15
↗︎
(from8.0.2
, independencies
)
- Updated dependency
-
#3501
c93366d
Thanks @enisdenjo! - Update transport executors containing
improvements and fixes
graphql-yoga@5.10.3
Patch Changes
-
#3501
c93366d
Thanks @enisdenjo! - dependencies updates:- Updated dependency
@graphql-tools/executor@^1.3.3
↗︎
(from^1.3.0
, independencies
)
- Updated dependency
-
#3501
c93366d
Thanks @enisdenjo! - Update transport executors containing
improvements and fixes
@graphql-yoga/nestjs@3.10.3
Patch Changes
@graphql-yoga/nestjs-federation@3.10.3
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.10.3
- @graphql-yoga/plugin-apollo-inline-trace@3.10.3
@graphql-yoga/plugin-apollo-inline-trace@3.10.3
Patch Changes
@graphql-yoga/apollo-managed-federation@0.7.3
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.4.3
Patch Changes
- Updated dependencies
[c93366d
,
c93366d
]:- graphql-yoga@5.10.3
- @graphql-yoga/plugin-apollo-inline-trace@3.10.3
@graphql-yoga/plugin-apq@3.10.3
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.10.3
Patch Changes
@graphql-yoga/plugin-defer-stream@3.10.3
Patch Changes
-
#3501
c93366d
Thanks @enisdenjo! - Update transport executors containing
improvements and fixes -
Updated dependencies
[c93366d
,
c93366d
]:- graphql-yoga@5.10.3
@graphql-yoga/plugin-disable-introspection@2.10.3
Patch Changes
@graphql-yoga/plugin-graphql-sse@3.10.3
Patch Changes
@graphql-yoga/plugin-jwt@3.4.3
Patch Changes
@graphql-yoga/plugin-persisted-operations@3.10.3
Patch Changes
@graphql-yoga/plugin-prometheus@6.4.3
Patch Changes
@graphql-yoga/plugin-response-cache@3.12.3
Patch Changes
@graphql-yoga/plugin-sofa@3.10.3
Patch Changes
@graphql-yoga/render-graphiql@5.10.3
Patch Changes
November 14, 2024
@graphql-yoga/apollo-link@3.10.2
@graphql-yoga/urql-exchange@3.10.2
graphql-yoga@5.10.2
Patch Changes
-
#3491
7a413bc
Thanks @n1ru4l! - dependencies updates:- Updated dependency
@whatwg-node/server@^0.9.55
↗︎
(from^0.9.54
, independencies
)
- Updated dependency
-
#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 be
propagated to all other batched requests contexts. It is resolved by updating the dependency of
@whatwg-node/server
to0.9.55
.
@graphql-yoga/nestjs@3.10.2
Patch Changes
@graphql-yoga/nestjs-federation@3.10.2
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.10.2
- @graphql-yoga/plugin-apollo-inline-trace@3.10.2
@graphql-yoga/plugin-apollo-inline-trace@3.10.2
Patch Changes
@graphql-yoga/apollo-managed-federation@0.7.2
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.4.2
Patch Changes
- Updated dependencies
[7a413bc
,
7a413bc
]:- graphql-yoga@5.10.2
- @graphql-yoga/plugin-apollo-inline-trace@3.10.2
@graphql-yoga/plugin-apq@3.10.2
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.10.2
Patch Changes
@graphql-yoga/plugin-defer-stream@3.10.2
Patch Changes
@graphql-yoga/plugin-disable-introspection@2.10.2
Patch Changes
@graphql-yoga/plugin-graphql-sse@3.10.2
Patch Changes
@graphql-yoga/plugin-jwt@3.4.2
Patch Changes
@graphql-yoga/plugin-persisted-operations@3.10.2
Patch Changes
@graphql-yoga/plugin-prometheus@6.4.2
Patch Changes
@graphql-yoga/plugin-response-cache@3.12.2
Patch Changes
@graphql-yoga/plugin-sofa@3.10.2
Patch Changes
@graphql-yoga/render-graphiql@5.10.2
Patch Changes
November 11, 2024
@graphql-yoga/apollo-link@3.10.1
@graphql-yoga/urql-exchange@3.10.1
graphql-yoga@5.10.1
Patch Changes
- #3479
20cd9b6
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.1
↗︎
(from^0.9.22
, independencies
) - Updated dependency
@whatwg-node/server@^0.9.54
↗︎
(from^0.9.50
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/nestjs-federation@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- @graphql-yoga/plugin-apollo-inline-trace@3.10.1
- @graphql-yoga/nestjs@3.10.1
@graphql-yoga/plugin-apollo-inline-trace@3.10.1
Patch Changes
- #3479
20cd9b6
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.1
↗︎
(from^0.9.22
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/apollo-managed-federation@0.7.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-apollo-usage-report@0.4.1
Patch Changes
- #3479
20cd9b6
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.1
↗︎
(from^0.9.22
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[20cd9b6
,
20cd9b6
]:- @graphql-yoga/plugin-apollo-inline-trace@3.10.1
- graphql-yoga@5.10.1
@graphql-yoga/plugin-apq@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-csrf-prevention@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-defer-stream@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-disable-introspection@2.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-graphql-sse@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-jwt@3.4.1
Patch Changes
- #3479
20cd9b6
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/server-plugin-cookies@^1.0.3
↗︎
(from1.0.2
, independencies
)
- Updated dependency
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-persisted-operations@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-prometheus@6.4.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-response-cache@3.12.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/plugin-sofa@3.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
@graphql-yoga/render-graphiql@5.10.1
Patch Changes
- Updated dependencies
[20cd9b6
]:- graphql-yoga@5.10.1
November 11, 2024
@graphql-yoga/apollo-link@3.10.0
@graphql-yoga/urql-exchange@3.10.0
graphql-yoga@5.10.0
Minor Changes
- #3462
f81501c
Thanks @maeldur! - Correctly handle HTTP GET requests with?
characters in the query search string.
@graphql-yoga/nestjs@3.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/nestjs-federation@3.10.0
Patch Changes
- Updated dependencies
[6e2ab86
]:- @graphql-yoga/plugin-apollo-inline-trace@3.10.0
- @graphql-yoga/nestjs@3.10.0
@graphql-yoga/plugin-apollo-inline-trace@3.10.0
Patch Changes
- #3455
6e2ab86
Thanks @kroupacz! - - updated:@envelop/on-resolve@^4.1.1
dependency- fixed: package
@envelop/core@^5.0.2
was added to devDependencies and@envelop/on-resolve
was
removed
- fixed: package
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/apollo-managed-federation@0.7.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-apollo-usage-report@0.4.0
Patch Changes
-
#3455
6e2ab86
Thanks @kroupacz! - - fixed: get specific or the nearest possible
trace node if something fails atnon-nullable
GraphQL query field -
Updated dependencies
[6e2ab86
,
f81501c
]:- @graphql-yoga/plugin-apollo-inline-trace@3.10.0
- graphql-yoga@5.10.0
@graphql-yoga/plugin-apq@3.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-csrf-prevention@3.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-defer-stream@3.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-disable-introspection@2.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-graphql-sse@3.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-jwt@3.4.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-persisted-operations@3.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-prometheus@6.4.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-response-cache@3.12.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/plugin-sofa@3.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
@graphql-yoga/render-graphiql@5.10.0
Patch Changes
- Updated dependencies
[f81501c
]:- graphql-yoga@5.10.0
November 08, 2024
@graphql-yoga/apollo-link@3.9.0
@graphql-yoga/urql-exchange@3.9.0
graphql-yoga@5.9.0
Minor Changes
Patch Changes
@graphql-yoga/nestjs@3.9.0
Patch Changes
@graphql-yoga/nestjs-federation@3.9.0
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.9.0
- @graphql-yoga/plugin-apollo-inline-trace@3.9.0
@graphql-yoga/plugin-apollo-inline-trace@3.9.0
Patch Changes
@graphql-yoga/apollo-managed-federation@0.6.0
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.3.0
Patch Changes
- #3457
2523d9f
Thanks @kroupacz! - ### Fixed- do not set default values for
clientName
andclientVersion
- do not set default values for
- Updated dependencies
[2523d9f
,
87ee333
]:- graphql-yoga@5.9.0
- @graphql-yoga/plugin-apollo-inline-trace@3.9.0
@graphql-yoga/plugin-apq@3.9.0
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.9.0
Patch Changes
@graphql-yoga/plugin-defer-stream@3.9.0
Patch Changes
@graphql-yoga/plugin-disable-introspection@2.9.0
Patch Changes
@graphql-yoga/plugin-graphql-sse@3.9.0
Patch Changes
@graphql-yoga/plugin-jwt@3.3.0
Patch Changes
-
#3426
076d25c
Thanks @EmrysMyrddin! - Fix typo of the option
singingKeyProviders
=>signingKeyProviders
. -
Updated dependencies
[2523d9f
,
87ee333
]:- graphql-yoga@5.9.0
@graphql-yoga/plugin-persisted-operations@3.9.0
Minor Changes
- #3464
87ee333
Thanks @n1ru4l! - Forward server context into
extractPersistedOperationId
andgetPersistedOperation
handlers.
Patch Changes
@graphql-yoga/plugin-prometheus@6.3.0
Patch Changes
@graphql-yoga/plugin-response-cache@3.11.0
Patch Changes
@graphql-yoga/plugin-sofa@3.9.0
Patch Changes
@graphql-yoga/render-graphiql@5.9.0
Patch Changes
October 31, 2024
@graphql-yoga/apollo-link@3.8.0
@graphql-yoga/urql-exchange@3.8.0
graphql-yoga@5.8.0
Minor Changes
Patch Changes
- #3445
6bb19ed
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.9.22
↗︎
(from^0.9.18
, independencies
) - Updated dependency
@whatwg-node/server@^0.9.50
↗︎
(from^0.9.44
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.8.0
Patch Changes
@graphql-yoga/nestjs-federation@3.8.0
Patch Changes
- Updated dependencies
[6bb19ed
]:- @graphql-yoga/plugin-apollo-inline-trace@3.8.0
- @graphql-yoga/nestjs@3.8.0
@graphql-yoga/plugin-apollo-inline-trace@3.8.0
Patch Changes
- #3445
6bb19ed
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.9.22
↗︎
(from^0.9.17
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[18fe916
,
6bb19ed
]:- graphql-yoga@5.8.0
@graphql-yoga/apollo-managed-federation@0.5.0
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.2.0
Patch Changes
-
#3445
6bb19ed
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.9.22
↗︎
(from^0.9.17
, inpeerDependencies
)
- Updated dependency
-
18fe916
Thanks @kroupacz! - - Send ApolloclientName
,clientVersion
and
agentVersion
(agent name) with trace. -
Updated dependencies
[6bb19ed
,
18fe916
,
6bb19ed
]:- @graphql-yoga/plugin-apollo-inline-trace@3.8.0
- graphql-yoga@5.8.0
@graphql-yoga/plugin-apq@3.8.0
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.8.0
Patch Changes
@graphql-yoga/plugin-defer-stream@3.8.0
Patch Changes
@graphql-yoga/plugin-disable-introspection@2.8.0
Patch Changes
@graphql-yoga/plugin-graphql-sse@3.8.0
Patch Changes
@graphql-yoga/plugin-jwt@3.2.0
Patch Changes
@graphql-yoga/plugin-persisted-operations@3.8.0
Patch Changes
@graphql-yoga/plugin-prometheus@6.2.0
Patch Changes
@graphql-yoga/plugin-response-cache@3.10.0
Patch Changes
@graphql-yoga/plugin-sofa@3.8.0
Patch Changes
@graphql-yoga/render-graphiql@5.8.0
Patch Changes
August 15, 2024
@graphql-yoga/apollo-link@3.7.0
@graphql-yoga/urql-exchange@3.7.0
graphql-yoga@5.7.0
Minor Changes
-
#3331
5dae4ab
Thanks @EmrysMyrddin! - Expose server context in
onResultProcessHook
. In particular, this gives access to thewaitUntil
method to cleanly
handle 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 existingwaitUntil
method from the server context.
Patch Changes
- #3331
5dae4ab
Thanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@whatwg-node/server@^0.9.44
↗︎
(from^0.9.41
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.7.0
Minor Changes
- #3331
5dae4ab
Thanks @EmrysMyrddin! - Expose the already existingwaitUntil
method from the server context.
Patch Changes
@graphql-yoga/nestjs-federation@3.7.0
Patch Changes
- Updated dependencies
[5dae4ab
,
5dae4ab
]:- @graphql-yoga/plugin-apollo-inline-trace@3.7.0
- @graphql-yoga/nestjs@3.7.0
@graphql-yoga/plugin-apollo-inline-trace@3.7.0
Patch Changes
- #3331
5dae4ab
Thanks @EmrysMyrddin! - dependencies updates:- Added dependency
@apollo/usage-reporting-protobuf@^4.1.1
↗︎
(todependencies
) - Removed dependency
apollo-reporting-protobuf@^3.3.2
↗︎
(fromdependencies
)
- Added dependency
- Updated dependencies
[5dae4ab
,
5dae4ab
,
5dae4ab
,
5dae4ab
]:- graphql-yoga@5.7.0
@graphql-yoga/apollo-managed-federation@0.4.0
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.1.0
Patch Changes
- Updated dependencies
[5dae4ab
,
5dae4ab
,
5dae4ab
,
5dae4ab
,
5dae4ab
]:- @graphql-yoga/plugin-apollo-inline-trace@3.7.0
- graphql-yoga@5.7.0
@graphql-yoga/plugin-apq@3.7.0
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.7.0
Patch Changes
@graphql-yoga/plugin-defer-stream@3.7.0
Patch Changes
@graphql-yoga/plugin-disable-introspection@2.7.0
Patch Changes
@graphql-yoga/plugin-graphql-sse@3.7.0
Patch Changes
@graphql-yoga/plugin-jwt@3.1.0
Patch Changes
@graphql-yoga/plugin-persisted-operations@3.7.0
Patch Changes
@graphql-yoga/plugin-prometheus@6.1.0
Patch Changes
@graphql-yoga/plugin-response-cache@3.9.0
Patch Changes
- Updated dependencies
[[5dae4ab
](https://github...
August 14, 2024
@graphql-yoga/plugin-prometheus@6.0.0
Major Changes
-
#3391
0788d8a
Thanks @EmrysMyrddin! - Breaking Change: Rename all metrics
options to their actual metric name to avoid confusion.All metric options have been moved under a mandatory
metrics
key, and the name of each options
have been renamed to match the default metric name.The plugin option argument is also now mandatory.
export const serveConfig = defineConfig({ plugins: pluginCtx => [ usePrometheus({ ...pluginCtx, // Enable all available metrics - http: true - requestSummary: true, - parse: true, - validate: true, - contextBuilding: true, - execute: true, - subscribe: true, - errors: true, - deprecatedFields: true, - requestTotalDuration: true, - schemaChangeCount: true, // Warning: enabling resolvers level metrics will introduce significant overhead - resolvers: true, + metrics: { + graphql_yoga_http_duration: true, + graphql_envelop_request_time_summary: true, + graphql_envelop_phase_parse: true, + graphql_envelop_phase_validate: true, + graphql_envelop_phase_context: true, + graphql_envelop_phase_execute: true, + graphql_envelop_phase_subscribe: true, + graphql_envelop_error_result: true, + graphql_envelop_deprecated_field: true, + graphql_envelop_request_duration: true, + graphql_envelop_schema_change: true, // Warning: enabling resolvers level metrics will introduce significant overhead + graphql_envelop_execute_resolver: true, + } }) ] })
-
#3408
88393b3
Thanks @dotansimha! - By default, the following metrics are now
enabled:graphql_envelop_deprecated_field
graphql_envelop_request
graphql_envelop_request_duration
graphql_envelop_request_time_summary
graphql_envelop_phase_parse
graphql_envelop_phase_validate
graphql_envelop_phase_context
graphql_envelop_error_result
graphql_envelop_phase_execute
graphql_envelop_phase_subscribe
graphql_envelop_schema_change
graphql_yoga_http_duration
Minor Changes
-
#3391
0788d8a
Thanks @EmrysMyrddin! - Add missing labelspath
andphase
ofgraphql_envelop_error_result
metric to the configuration.Add missing labels
method
andstatusCode
ofgraphql_yoga_http_duration
metric to the
configuration.
Patch Changes
- #3391
0788d8a
Thanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@envelop/prometheus@11.0.0
↗︎
(from^10.0.0
, independencies
)
- Updated dependency