Releases: dotansimha/graphql-yoga
February 20, 2025
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1d438ce
]:- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
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/[email protected]
Patch Changes
- Updated dependencies
[1d438ce
]:- @graphql-yoga/[email protected]
February 14, 2025
@graphql-yoga/[email protected]
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/[email protected]
@graphql-yoga/[email protected]
[email protected]
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/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[5fd15b8
,
d13b8a4
]:- [email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
January 29, 2025
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[31b7754
]:- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
-
#3647
31b7754
Thanks @ardatan! - Wait for setting schemaId to prevent race
condition -
Updated dependencies
[31b7754
]:- @graphql-yoga/[email protected]
January 27, 2025
@graphql-yoga/[email protected]
@graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- #3712
1c055f5
Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
[email protected]
Patch Changes
- #3712
1c055f5
Thanks @ardatan! - Show deprecated input fields, arguments and all
other input values in GraphiQL
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:- [email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[1c055f5
]:
@graphql-yoga/[email protected]
Patch Changes
January 20, 2025
@graphql-yoga/[email protected]
Patch Changes
- #3676
c9b167b
Thanks @renovate! - dependencies updates:- Updated dependency
@nestjs/graphql@^13.0.0
↗︎ (from
^12.0.0
, inpeerDependencies
)
- Updated dependency
@graphql-yoga/[email protected]
Patch Changes
- #3676
c9b167b
Thanks @renovate! - dependencies updates:- Updated dependency
@nestjs/graphql@^13.0.0
↗︎ (from
^12.0.0
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[c9b167b
]:- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Minor Changes
-
#3677
7419797
Thanks @ardatan! - Expose the server context as the second
parameter, so introspection can be disabled based on the contextimport { createYoga } from 'graphql-yoga' import { useDisableIntrospection } from '@graphql-yoga/plugin-disable-introspection' // Provide your schema const yoga = createYoga({ graphiql: false, plugins: [ useDisableIntrospection({ isDisabled: (_req, ctx) => !ctx.jwt }) ] }) const server = createServer(yoga) server.listen(4000, () => { console.info('Server is running on http://localhost:4000/graphql') })
@graphql-yoga/[email protected]
Patch Changes
January 16, 2025
@graphql-yoga/[email protected]
Patch Changes
- #3660
d4cbae1
Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
@graphql-yoga/[email protected]
Patch Changes
- #3660
d4cbae1
Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[d4cbae1
]:- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- #3660
d4cbae1
Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
[email protected]
Patch Changes
- Updated dependencies
[d4cbae1
,
d4cbae1
]:- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- #3660
d4cbae1
Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
@graphql-yoga/[email protected]
Patch Changes
- #3666
356d5f2
Thanks @renovate! - dependencies updates:- Updated dependency
@nestjs/common@^11.0.0
↗︎ (from
^10.0.0
, inpeerDependencies
) - Updated dependency
@nestjs/core@^11.0.0
↗︎ (from
^10.0.0
, inpeerDependencies
)
- Updated dependency
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- #3666
356d5f2
Thanks @renovate! - dependencies updates:- Updated dependency
@nestjs/common@^11.0.0
↗︎ (from
^10.0.0
, inpeerDependencies
) - Updated dependency
@nestjs/core@^11.0.0
↗︎ (from
^10.0.0
, inpeerDependencies
)
- Updated dependency
- Updated dependencies
[356d5f2
,
d4cbae1
]:- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- #3660
d4cbae1
Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- #3660
d4cbae1
Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
- Updated dependencies
[d4cbae1
]:- @graphql-yoga/[email protected]
- [email protected]
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
@graphql-yoga/[email protected]
Patch Changes
- #3660
d4cbae1
Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.1
↗︎ (from
^2.5.2
, independencies
)
- Updated dependency
- Updated dependencies
[d4cbae1
]:- @graphql-yoga/[email protected]
January 15, 2025
@graphql-yoga/[email protected]
Patch Changes
January 06, 2025
@graphql-yoga/[email protected]
@graphql-yoga/[email protected]
[email protected]
Patch Changes
-
#3620
d24c5d5
Thanks @enisdenjo! - Bump dset dependency handling the
CVE-2024-21529 -
#3620
d24c5d5
Thanks @enisdenjo! - dependencies updates:- Updated dependency
dset@^3.1.4
↗︎ (from
^3.1.1
, independencies
)
- Updated dependency
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[d24c5d5
,
d24c5d5
]:- [email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
December 24, 2024
@graphql-yoga/[email protected]
@graphql-yoga/[email protected]
[email protected]
Patch Changes
- #3588
ed344ea
Thanks @ardatan! - MarkcreateLRUCache
utility as deprecated, and
export it as_createLRUCache
marking it as an internal utility
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:- [email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
-
#3590
840c6ae
Thanks @ardatan! - - Do not throw when `request` is not available
in the context, it can be a WebSockets connection- Export helper
extractFromConnectionParams
to get the token from WebSocketconnectionParams
when GraphQL WS is used like
here
import { extractFromConnectionParams, extractFromHeader, useJWT } from '@graphql-yoga/plugin-jwt' const yoga = createYoga({ // ... plugins: [ useJWT({ // So it will look for the token in the connectionParams.my-token field in case of a WebSockets connection // It will check WS params and headers, and get the available one lookupLocations: [ extractFromConnectionParams({ name: 'my-token' }), extractFromHeader({ name: 'authorization', prefix: 'Bearer ' }) ] }) ] })
- Export helper
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]:
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[ed344ea
]: