Releases: dotansimha/graphql-yoga
March 06, 2025
@graphql-yoga/apollo-link@3.13.1
@graphql-yoga/urql-exchange@3.13.1
graphql-yoga@5.13.1
Patch Changes
- #3865
dee7995
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/core@^5.2.3
↗︎ (from
^5.2.1
, independencies
) - Updated dependency
@whatwg-node/server@^0.10.1
↗︎
(from^0.10.0
, independencies
) - Added dependency
@envelop/instrumentation@^1.0.0
↗︎
(todependencies
) - Removed dependency
@envelop/instruments@^1.0.0
↗︎
(fromdependencies
)
- Updated dependency
@graphql-yoga/nestjs@3.13.1
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/nestjs-federation@3.13.1
Patch Changes
- #3865
dee7995
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/apollo-federation@^6.1.3
↗︎
(from^6.1.1
, independencies
) - Updated dependency
@envelop/core@^5.2.3
↗︎ (from
^5.2.1
, independencies
)
- Updated dependency
- Updated dependencies
[dee7995
]:- @graphql-yoga/plugin-apollo-inline-trace@3.13.1
- @graphql-yoga/nestjs@3.13.1
@graphql-yoga/plugin-apollo-inline-trace@3.13.1
Patch Changes
- #3865
dee7995
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/on-resolve@^5.1.3
↗︎
(from^5.1.1
, independencies
)
- Updated dependency
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/apollo-managed-federation@0.11.1
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-apollo-usage-report@0.8.2
Patch Changes
- Updated dependencies
[dee7995
,
dee7995
]:- @graphql-yoga/plugin-apollo-inline-trace@3.13.1
- graphql-yoga@5.13.1
@graphql-yoga/plugin-apq@3.13.2
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-csrf-prevention@3.13.1
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-defer-stream@3.13.1
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-disable-introspection@2.14.1
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-graphql-sse@3.13.2
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-jwt@3.7.2
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-persisted-operations@3.13.2
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-prometheus@6.8.1
Patch Changes
- #3865
dee7995
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/prometheus@^12.1.3
↗︎
(from^12.1.1
, independencies
)
- Updated dependency
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-response-cache@3.15.2
Patch Changes
- #3865
dee7995
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/core@^5.2.3
↗︎ (from
^5.2.1
, independencies
) - Updated dependency
@envelop/response-cache@^7.1.3
↗︎
(from^7.1.1
, independencies
)
- Updated dependency
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/plugin-sofa@3.13.2
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
@graphql-yoga/render-graphiql@5.13.1
Patch Changes
- Updated dependencies
[dee7995
]:- graphql-yoga@5.13.1
March 06, 2025
@graphql-yoga/plugin-apollo-usage-report@0.8.1
Patch Changes
- #3860
9599d45
Thanks @renovate! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
@graphql-yoga/plugin-apq@3.13.1
Patch Changes
- #3860
9599d45
Thanks @renovate! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
@graphql-yoga/plugin-graphql-sse@3.13.1
Patch Changes
- #3860
9599d45
Thanks @renovate! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
@graphql-yoga/plugin-jwt@3.7.1
Patch Changes
- #3860
9599d45
Thanks @renovate! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
@graphql-yoga/plugin-persisted-operations@3.13.1
Patch Changes
- #3860
9599d45
Thanks @renovate! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
@graphql-yoga/plugin-response-cache@3.15.1
Patch Changes
- #3860
9599d45
Thanks @renovate! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
@graphql-yoga/plugin-sofa@3.13.1
Patch Changes
- #3860
9599d45
Thanks @renovate! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
March 05, 2025
@graphql-yoga/apollo-link@3.13.0
@graphql-yoga/urql-exchange@3.13.0
graphql-yoga@5.13.0
Minor Changes
-
#3793
63b78d5
Thanks @EmrysMyrddin! - Add new Instruments APIIntroduction 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 ofInstruments
is to run allow running code before, after or around the whole process
of a phase, including plugins hooks executions.The main use case of this new API is observability (monitoring, tracing, etc...).
Basic usage
import { createYoga } from 'graphql-yoga' import Sentry from '@sentry/node' import schema from './schema' const server = createYoga({ schema, plugins: [ { instruments: { request: ({ request }, wrapped) => Sentry.startSpan({ name: 'Graphql Operation' }, async () => { try { await wrapped() } catch (err) { Sentry.captureException(err) } }) } } ] })
Multiple instruments plugins
It is possible to have multiple instruments 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).import { createYoga } from 'graphql-yoga' import schema from './schema' const server = createYoga({ schema, plugins: [useSentry(), useOpentelemetry()] })
sequenceDiagram Sentry->>Opentelemetry: ; Opentelemetry->>Server Adapter: ; Server Adapter->>Opentelemetry: ; Opentelemetry->>Sentry: ;
Custom instruments ordering
If the default composition ordering doesn't suite your need, you can manually compose instruments.
This allows to have a different execution order of hooks and instruments.import { composeInstruments, createYoga } from 'graphql-yoga' import schema from './schema' const { instruments: sentryInstruments, ...sentryPlugin } = useSentry() const { instruments: otelInstruments, ...otelPlugin } = useOpentelemetry() const instruments = composeInstruments([otelInstruments, sentryInstruments]) const server = createYoga({ schema, plugins: [{ instruments }, useSentry(), useOpentelemetry()] })
sequenceDiagram Opentelemetry->>Sentry: ; Sentry->>Server Adapter: ; Server Adapter->>Sentry: ; Sentry->>Opentelemetry: ;
Patch Changes
-
#3793
63b78d5
Thanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@envelop/core@^5.2.1
↗︎ (from
^5.0.2
, independencies
) - Added dependency
@envelop/instruments@^1.0.0
↗︎
(todependencies
) - Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Updated dependency
-
#3855
6ed67e8
Thanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/server@^0.10.0
↗︎
(from^0.9.71
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.13.0
Patch Changes
@graphql-yoga/nestjs-federation@3.13.0
Patch Changes
- #3793
63b78d5
Thanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@envelop/apollo-federation@^6.1.1
↗︎
(from^6.0.0
, independencies
) - Updated dependency
@envelop/core@^5.2.1
↗︎ (from
^5.0.0
, independencies
)
- Updated dependency
- Updated dependencies
[63b78d5
]:- @graphql-yoga/plugin-apollo-inline-trace@3.13.0
- @graphql-yoga/nestjs@3.13.0
@graphql-yoga/plugin-apollo-inline-trace@3.13.0
Patch Changes
- #3793
63b78d5
Thanks @EmrysMyrddin! - dependencies updates:- Updated dependency
@envelop/on-resolve@^5.1.1
↗︎
(from^5.0.0
, independencies
)
- Updated dependency
- Updated dependencies
[63b78d5
,
63b78d5
,
6ed67e8
]:- graphql-yoga@5.13.0
@graphql-yoga/apollo-managed-federation@0.11.0
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.8.0
Patch Changes
- Updated dependencies
[63b78d5
,
63b78d5
,
63b78d5
,
6ed67e8
]:- @graphql-yoga/plugin-apollo-inline-trace@3.13.0
- graphql-yoga@5.13.0
@graphql-yoga/plugin-apq@3.13.0
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.13.0
Patch Changes
@graphql-yoga/plugin-defer-stream@3.13.0
Patch Changes
@graphql-yoga/plugin-disable-introspection@2.14.0
Patch Changes
- #3793
63b78d5
Thanks @EmrysMyrddin! - dependencies updates:- Added dependency
@whatwg-node/promise-helpers@^1.2.4
↗︎
(todependencies
)
- Added dependency
- Updated dependencies
[63b78d5
,
63b78d5
,
6ed67e8
]:- graphql-yoga@5.13.0
@graphql-yoga/plugin-graphql-sse@3.13.0
Patch Changes
- Updated dependencies
[63b78d5
,
63b78d5
,
[6ed67e8
](https://github.com/dotansim...
March 03, 2025
@graphql-yoga/apollo-link@3.12.2
@graphql-yoga/urql-exchange@3.12.2
graphql-yoga@5.12.2
Patch Changes
- #3837
a6b3de9
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/server@^0.9.71
↗︎
(from^0.9.69
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/nestjs-federation@3.12.3
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.12.2
- @graphql-yoga/plugin-apollo-inline-trace@3.12.3
@graphql-yoga/plugin-apollo-inline-trace@3.12.3
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/apollo-managed-federation@0.10.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-apollo-usage-report@0.7.3
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
- @graphql-yoga/plugin-apollo-inline-trace@3.12.3
@graphql-yoga/plugin-apq@3.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-csrf-prevention@3.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-defer-stream@3.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-disable-introspection@2.13.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-graphql-sse@3.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-jwt@3.6.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-persisted-operations@3.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-prometheus@6.7.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-response-cache@3.14.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/plugin-sofa@3.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
@graphql-yoga/render-graphiql@5.12.2
Patch Changes
- Updated dependencies
[a6b3de9
]:- graphql-yoga@5.12.2
February 24, 2025
@graphql-yoga/apollo-link@3.12.1
@graphql-yoga/urql-exchange@3.12.1
graphql-yoga@5.12.1
Patch Changes
- #3808
fbf328c
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/fetch@^0.10.5
↗︎
(from^0.10.1
, independencies
) - Updated dependency
@whatwg-node/server@^0.9.69
↗︎
(from^0.9.64
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/nestjs-federation@3.12.2
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.12.1
- @graphql-yoga/plugin-apollo-inline-trace@3.12.2
@graphql-yoga/plugin-apollo-inline-trace@3.12.2
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/apollo-managed-federation@0.10.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-apollo-usage-report@0.7.2
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
- @graphql-yoga/plugin-apollo-inline-trace@3.12.2
@graphql-yoga/plugin-apq@3.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-csrf-prevention@3.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-defer-stream@3.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-disable-introspection@2.13.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-graphql-sse@3.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-jwt@3.6.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-persisted-operations@3.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-prometheus@6.7.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-response-cache@3.14.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/plugin-sofa@3.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
@graphql-yoga/render-graphiql@5.12.1
Patch Changes
- Updated dependencies
[fbf328c
]:- graphql-yoga@5.12.1
February 20, 2025
@graphql-yoga/nestjs-federation@3.12.1
Patch Changes
- Updated dependencies
[1d438ce
]:- @graphql-yoga/plugin-apollo-inline-trace@3.12.1
@graphql-yoga/plugin-apollo-inline-trace@3.12.1
Patch Changes
- #3790
1d438ce
Thanks @ardatan! - dependencies updates:- Removed dependency
@graphql-tools/utils@^10.6.1
↗︎
(frompeerDependencies
) - Removed dependency
@whatwg-node/fetch@^0.10.1
↗︎
(frompeerDependencies
)
- Removed dependency
@graphql-yoga/plugin-apollo-usage-report@0.7.1
Patch Changes
- Updated dependencies
[1d438ce
]:- @graphql-yoga/plugin-apollo-inline-trace@3.12.1
February 14, 2025
@graphql-yoga/plugin-response-cache@3.13.1
Patch Changes
-
#3759
bba7a83
Thanks @enisdenjo! - Provide cache key per oparation in a batched
requestInstead of per request, which would give out the same cache key for every operation in a batched
request.
February 06, 2025
@graphql-yoga/apollo-link@3.11.0
@graphql-yoga/urql-exchange@3.11.0
graphql-yoga@5.11.0
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
howGraphQLParams
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
function myPlugin(): Plugin { const context = new AsyncLocalStorage(); return { onParams({ paramsHandler, setParamsHandler }) { const store = { foo: 'bar' } setParamsHandler(payload => context.run(store, paramsHandler, payload)) } }
@graphql-yoga/nestjs@3.11.0
Patch Changes
@graphql-yoga/nestjs-federation@3.11.0
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.11.0
- @graphql-yoga/plugin-apollo-inline-trace@3.11.0
@graphql-yoga/plugin-apollo-inline-trace@3.11.0
Patch Changes
@graphql-yoga/apollo-managed-federation@0.9.0
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.6.0
Patch Changes
- Updated dependencies
[5fd15b8
,
d13b8a4
]:- graphql-yoga@5.11.0
- @graphql-yoga/plugin-apollo-inline-trace@3.11.0
@graphql-yoga/plugin-apq@3.11.0
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.11.0
Patch Changes
@graphql-yoga/plugin-defer-stream@3.11.0
Patch Changes
@graphql-yoga/plugin-disable-introspection@2.12.0
Patch Changes
@graphql-yoga/plugin-graphql-sse@3.11.0
Patch Changes
@graphql-yoga/plugin-jwt@3.5.0
Patch Changes
@graphql-yoga/plugin-persisted-operations@3.11.0
Patch Changes
@graphql-yoga/plugin-prometheus@6.6.0
Patch Changes
@graphql-yoga/plugin-response-cache@3.13.0
Patch Changes
@graphql-yoga/plugin-sofa@3.11.0
Patch Changes
@graphql-yoga/render-graphiql@5.11.0
Patch Changes
January 29, 2025
@graphql-yoga/nestjs-federation@3.10.13
Patch Changes
- Updated dependencies
[31b7754
]:- @graphql-yoga/plugin-apollo-inline-trace@3.10.12
@graphql-yoga/plugin-apollo-inline-trace@3.10.12
Patch Changes
@graphql-yoga/plugin-apollo-usage-report@0.5.9
Patch Changes
January 27, 2025
@graphql-yoga/apollo-link@3.10.10
@graphql-yoga/urql-exchange@3.10.11
@graphql-yoga/graphiql@4.3.5
Patch Changes
- #3712
1c055f5
Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
graphql-yoga@5.10.11
Patch Changes
- #3712
1c055f5
Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
@graphql-yoga/nestjs@3.10.12
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/nestjs-federation@3.10.12
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.10.12
- @graphql-yoga/plugin-apollo-inline-trace@3.10.11
@graphql-yoga/plugin-apollo-inline-trace@3.10.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/apollo-managed-federation@0.8.6
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-apollo-usage-report@0.5.8
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
- @graphql-yoga/plugin-apollo-inline-trace@3.10.11
@graphql-yoga/plugin-apq@3.10.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-csrf-prevention@3.10.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-defer-stream@3.10.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-disable-introspection@2.11.1
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-graphql-sse@3.10.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-jwt@3.4.13
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-persisted-operations@3.10.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-prometheus@6.5.9
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-response-cache@3.12.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11
@graphql-yoga/plugin-sofa@3.10.11
Patch Changes
- Updated dependencies
[1c055f5
]:- graphql-yoga@5.10.11