Releases: dotansimha/graphql-yoga
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
August 04, 2024
@graphql-yoga/apollo-link@3.6.3
@graphql-yoga/urql-exchange@3.6.3
graphql-yoga@5.6.3
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 response
protocol.This makes Yoga compatible with libraries that strictly follow the response protocol, such as
fetch-multipart-graphql.
@graphql-yoga/nestjs@3.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/nestjs-federation@3.6.3
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.6.3
- @graphql-yoga/plugin-apollo-inline-trace@3.6.3
@graphql-yoga/plugin-apollo-inline-trace@3.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/apollo-managed-federation@0.3.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-apq@3.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-csrf-prevention@3.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-defer-stream@3.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-disable-introspection@2.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-graphql-sse@3.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-jwt@3.0.2
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-persisted-operations@3.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-prometheus@5.3.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-response-cache@3.8.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/plugin-sofa@3.6.4
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
@graphql-yoga/render-graphiql@5.6.3
Patch Changes
- Updated dependencies
[0866c1b
]:- graphql-yoga@5.6.3
July 25, 2024
@graphql-yoga/apollo-link@3.6.2
@graphql-yoga/urql-exchange@3.6.2
graphql-yoga@5.6.2
Patch Changes
-
#3357
b7bf47b
Thanks @renovate! - dependencies updates:- Updated dependency
@whatwg-node/server@^0.9.41
↗︎
(from^0.9.40
, independencies
)
- Updated dependency
-
#3384
81a736b
Thanks @ardatan! - dependencies updates:- Updated dependency
@envelop/core@^5.0.1
↗︎ (from
^5.0.0
, independencies
) - Updated dependency
@graphql-tools/executor@^1.3.0
↗︎
(from^1.2.5
, independencies
) - Updated dependency
@graphql-tools/schema@^10.0.4
↗︎
(from^10.0.0
, independencies
) - Updated dependency
@graphql-tools/utils@^10.3.2
↗︎
(from^10.1.0
, independencies
) - Updated dependency
@whatwg-node/fetch@^0.9.18
↗︎
(from^0.9.17
, independencies
) - Updated dependency
@whatwg-node/server@^0.9.40
↗︎
(from^0.9.36
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.6.2
Patch Changes
@graphql-yoga/nestjs-federation@3.6.2
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.6.2
- @graphql-yoga/plugin-apollo-inline-trace@3.6.2
@graphql-yoga/plugin-apollo-inline-trace@3.6.2
Patch Changes
@graphql-yoga/apollo-managed-federation@0.3.2
Patch Changes
@graphql-yoga/plugin-apq@3.6.2
Patch Changes
@graphql-yoga/plugin-csrf-prevention@3.6.2
Patch Changes
@graphql-yoga/plugin-defer-stream@3.6.2
Patch Changes
@graphql-yoga/plugin-disable-introspection@2.6.2
Patch Changes
@graphql-yoga/plugin-graphql-sse@3.6.2
Patch Changes
@graphql-yoga/plugin-jwt@3.0.1
Patch Changes
@graphql-yoga/plugin-persisted-operations@3.6.2
Patch Changes
@graphql-yoga/plugin-prometheus@5.3.2
Patch Changes
@graphql-yoga/plugin-response-cache@3.8.2
Patch Changes
@graphql-yoga/plugin-sofa@3.6.3
Patch Changes
- #3357
b7bf47b
Thanks @renovate! - dependencies updates:- Updated dependency
sofa-api@^0.18.6
↗︎
(from^0.18.0
, independencies
)
- Updated dependency
- Updated dependencies
[b7bf47b
,
81a736b
]:- graphql-yoga@5.6.2
@graphql-yoga/render-graphiql@5.6.2
Patch Changes
July 24, 2024
July 18, 2024
@graphql-yoga/apollo-link@3.6.1
@graphql-yoga/urql-exchange@3.6.1
Patch Changes
- #3345
c6f3900
Thanks @renovate! - dependencies updates:- Updated dependency
@urql/core@^5.0.0
↗︎
(from^3.0.0 || ^4.0.0
, inpeerDependencies
)
- Updated dependency
@graphql-yoga/graphiql@4.3.1
Patch Changes
-
#3338
4252e3d
Thanks @ardatan! - dependencies updates:- Added dependency
tslib@2.6.3
↗︎ (to
dependencies
)
- Added dependency
-
#3346
e98970a
Thanks @renovate! - dependencies updates:- Updated dependency
@graphiql/plugin-explorer@^3.0.0
↗︎
(from^1.0.3
, independencies
)
- Updated dependency
graphql-yoga@5.6.1
Patch Changes
- #3338
4252e3d
Thanks @ardatan! - dependencies updates:- Updated dependency
@whatwg-node/server@^0.9.36
↗︎
(from^0.9.33
, independencies
)
- Updated dependency
@graphql-yoga/nestjs@3.6.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/nestjs-federation@3.6.1
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.6.1
- @graphql-yoga/plugin-apollo-inline-trace@3.6.1
@graphql-yoga/plugin-apollo-inline-trace@3.6.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/apollo-managed-federation@0.3.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-apq@3.6.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-csrf-prevention@3.6.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-defer-stream@3.6.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-disable-introspection@2.6.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-graphql-sse@3.6.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-jwt@3.0.0
Major Changes
-
#3366
057ad06
Thanks @dotansimha! - Re-write for the JWT plugin. This plugin
can be configured now with multiple providers, lookup locations, token verification, and more.The version has better version coverage, and it provides an improved API for configuring provider
and custom behaviors.Breaking Change: New Plugin Configuration
Signing key providers
❌ The
signingKey
option has be removed. ❌ ThejwksUri
+jwksOpts
options has been removed.
✅ Multiple signing key providers and support for fallbacks (singingKeyProviders[]
). ✅ Improved
API for defining signing key configuration. ✅ Better defaults for caching and rate-limiting for
remote JWKS providers.Before
useJWT({ signingKey: "...", // or jwksUri: "http://example.com/..." jwksOpts: { // ... } })
After
import { createInlineSigningKeyProvider, createRemoteJwksSigningKeyProvider, useJWT } from '@graphql-yoga/plugin-jwt' useJWT({ // Pass one or more providers singingKeyProviders: [ createRemoteJwksSigningKeyProvider({ // ... }) // This one also acts as a fallback in case of a fetching issue with the 1st provider createInlineSigningKeyProvider({ signingKey: "..."}) ] })
Improved Token Lookup
❌ Removed
getToken
option from the root config. ✅ Added support for autmatically extracting
the JWT token from cookie or header. ✅ Easier setup for extracting from multiple locations. ✅
getToken
is still available for advanced use-cases, you can pass a custom function to
lookupLocations
.Before
useJWT({ getToken: payload => payload.request.headers.get('...') })
After
With built-in extractors:
imoprt { extractFromHeader, extractFromCookie, useJWT } from '@graphql-yoga/plugin-jwt' const yoga = createYoga({ // ... plugins: [ useCookies(), // Required if "extractFromCookie" is used. useJWT({ lookupLocations: [ extractFromHeader({ name: 'authorization', prefix: 'Bearer' }), extractFromHeader({ name: 'x-legacy-auth' }), extractFromHeader({ name: 'x-api-key', prefix: 'API-Access' }), extractFromCookie({ name: 'browserAuth' }) ] }) ] })
With a custom
getToken
:useJWT({ lookupLocations: [payload => payload.request.headers.get('...')] })
Improved Verification Options
❌ Removed root-level config
algorithms
+audience
+issuer
flags. ✅ Easy API for
customizing token verifications (based onjsonwebtoken
library). ✅ Better defaults for token
algorithm verification (before:RS256
, after:RS256
andHS256
)Before
useJWT({ algorithms: ['RS256'], audience: 'my.app', issuer: 'http://my-issuer' })
After
useJWT({ tokenVerification: { algorithms: ['RS256', 'HS256'], audience: 'my.app', issuer: 'http://my-issuer' // You can pass more options to `jsonwebtoken.verify("...", options)` here } })
Customized Token Rejection
✅ New config flag
reject: { ... }
for configuring how to handle a missing or invalid tokens
(enbaled by default).useJWT({ reject: { missingToken: true, invalidToken: true } })
Flexible Context Injection
❌ Removed root-level config
extendContextField
flags. ✅ Added root-level config
extendContext
(boolean
/string
) ✅ Token and payload are injected now to the context
(structure:{ payload: {}, token: { value, prefix }}
)Before
useJWT({ reject: { extendContextField: true } })
After
// Can be a boolean. By default injects to "context.jwt" field useJWT({ reject: { extendContext: true } }) // Or an object to customize the field name useJWT({ reject: { extendContext: 'myJwt' } })
Patch Changes
- #3366
057ad06
Thanks @dotansimha! - dependencies updates:- Added dependency
@whatwg-node/server-plugin-cookies@1.0.2
↗︎
(todependencies
)
- Added dependency
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-persisted-operations@3.6.1
Patch Changes
-
#3339
f245472
Thanks @ziolekjj! - IncludeoperationName
in context params for
persisted operations -
Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-prometheus@5.3.1
Patch Changes
- Updated dependencies
[4252e3d
]:- graphql-yoga@5.6.1
@graphql-yoga/plugin-response-cache@3.8.1
Patch Changes
- Updated dependencies
[[4252e3d
](4252e3d0e664e3c247c709c...
July 01, 2024
@graphql-yoga/apollo-link@3.6.0
@graphql-yoga/urql-exchange@3.6.0
graphql-yoga@5.6.0
Minor Changes
-
#3333
9f3f945
Thanks @ardatan! - By default, Yoga does not allow extra parameters
in the request body other thanquery
,operationName
,extensions
, andvariables
, then
throws 400 HTTP Error. This change adds a new option calledextraParamNames
to allow extra
parameters in the request body.import { createYoga } from 'graphql-yoga' const yoga = createYoga({ /* other options */ extraParamNames: ['extraParam1', 'extraParam2'] }) const res = await yoga.fetch('/graphql', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ query: 'query { __typename }', extraParam1: 'value1', extraParam2: 'value2' }) }) console.assert(res.status === 200)
@graphql-yoga/nestjs@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/nestjs-federation@3.6.0
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.6.0
- @graphql-yoga/plugin-apollo-inline-trace@3.6.0
@graphql-yoga/plugin-apollo-inline-trace@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/apollo-managed-federation@0.3.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-apq@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-csrf-prevention@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-defer-stream@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-disable-introspection@2.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-graphql-sse@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-jwt@2.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-persisted-operations@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-prometheus@5.3.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-response-cache@3.8.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/plugin-sofa@3.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
@graphql-yoga/render-graphiql@5.6.0
Patch Changes
- Updated dependencies
[9f3f945
]:- graphql-yoga@5.6.0
June 30, 2024
@graphql-yoga/apollo-link@3.5.0
@graphql-yoga/urql-exchange@3.5.0
graphql-yoga@5.5.0
Minor Changes
-
#3332
0208024
Thanks @ardatan! - Customize the landing page by passing a custom
renderer that returnsResponse
to thelandingPage
optionimport { createYoga } from 'graphql-yoga' const yoga = createYoga({ landingPage: ({ url, fetchAPI }) => { return new fetchAPI.Response( /* HTML */ ` <!doctype html> <html> <head> <title>404 Not Found</title> </head> <body> <h1>404 Not Found</h1> <p>Sorry, the page (${url.pathname}) you are looking for could not be found.</p> </body> </html> `, { status: 404, headers: { 'Content-Type': 'text/html' } } ) } })
@graphql-yoga/nestjs@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/nestjs-federation@3.5.0
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.5.0
- @graphql-yoga/plugin-apollo-inline-trace@3.5.0
@graphql-yoga/plugin-apollo-inline-trace@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/apollo-managed-federation@0.2.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-apq@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-csrf-prevention@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-defer-stream@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-disable-introspection@2.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-graphql-sse@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-jwt@2.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-persisted-operations@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-prometheus@5.2.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-response-cache@3.7.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/plugin-sofa@3.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0
@graphql-yoga/render-graphiql@5.5.0
Patch Changes
- Updated dependencies
[0208024
]:- graphql-yoga@5.5.0