November 19, 2024
theguild-bot
released this
19 Nov 16:24
·
272 commits
to master
since this release
@graphql-mesh/[email protected]
Minor Changes
-
#7958
355203c
Thanks @enisdenjo! - Allow KV bindings in ES modules formatThe new ES modules format of Cloudflare Workers does not set the bindings in the global scope,
instead it sets them inside theenv
argument of thefetch
handler.wrangler.toml
These
KV namespaces inwrangler.toml
would be used as following.kv_namespaces = [ { binding = "MY_KV", id = "<ID>" } ]
Bindings in ES modules format
import CloudflareKVCacheStorage from '@graphql-mesh/cache-cfw-kv' export default { async fetch(request, env, ctx) { const cache = new CloudflareKVCacheStorage({ namespace: env.MY_KV }) } }
Bindings in Service Worker format (legacy)
import CloudflareKVCacheStorage from '@graphql-mesh/cache-cfw-kv' addEventListener('fetch', async event => { const cache = new CloudflareKVCacheStorage({ namespace: 'MY_KV' }) })
@graphql-mesh/[email protected]
Patch Changes
- Updated dependencies
[10dd636
]:- @omnigraph/[email protected]
@graphql-mesh/[email protected]
Patch Changes
- Updated dependencies []:
- @omnigraph/[email protected]
@graphql-mesh/[email protected]
Patch Changes
- Updated dependencies []:
- @omnigraph/[email protected]
@omnigraph/[email protected]
Patch Changes
- #7949
10dd636
Thanks @renovate! - dependencies updates:- Updated dependency
[email protected]
↗︎ (from6.13.0
,
independencies
)
- Updated dependency
- Updated dependencies
[10dd636
]:- @graphql-mesh/[email protected]
@omnigraph/[email protected]
Patch Changes
- Updated dependencies
[10dd636
]:- @omnigraph/[email protected]
@omnigraph/[email protected]
Patch Changes
- Updated dependencies
[10dd636
]:- @omnigraph/[email protected]
@graphql-mesh/[email protected]
Patch Changes
- #7949
10dd636
Thanks @renovate! - dependencies updates:- Updated dependency
[email protected]
↗︎ (from6.13.0
,
independencies
)
- Updated dependency