theguild-bot
released this
24 Dec 10:45
·
7 commits
to main
since this release
@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
]: