diff --git a/.changeset/spicy-seas-appear.md b/.changeset/spicy-seas-appear.md deleted file mode 100644 index b7e797c0..00000000 --- a/.changeset/spicy-seas-appear.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@opennextjs/cloudflare": patch ---- - -fix: deployed worker unable to invoke itself in memory queue - -In deployments, Cloudflare Workers are unable to invoke workers on the same account via fetch, and the recommended way to call a worker is to use a service binding. This change switches to use service bindings for the memory queue to avoid issues with worker-to-worker subrequests. - -To continue using the memory queue, add a service binding to your wrangler config for the binding `NEXT_CACHE_REVALIDATION_WORKER`. - -```json -{ - "services": [ - { - "binding": "NEXT_CACHE_REVALIDATION_WORKER", - "service": "" - } - ] -} -``` diff --git a/packages/cloudflare/CHANGELOG.md b/packages/cloudflare/CHANGELOG.md index 9382c6c4..7f6c0811 100644 --- a/packages/cloudflare/CHANGELOG.md +++ b/packages/cloudflare/CHANGELOG.md @@ -1,5 +1,26 @@ # @opennextjs/cloudflare +## 0.5.10 + +### Patch Changes + +- [#445](https://github.com/opennextjs/opennextjs-cloudflare/pull/445) [`6a389fe`](https://github.com/opennextjs/opennextjs-cloudflare/commit/6a389fe54b360e542e4db0266e29f0e818176651) Thanks [@james-elicx](https://github.com/james-elicx)! - fix: deployed worker unable to invoke itself in memory queue + + In deployments, Cloudflare Workers are unable to invoke workers on the same account via fetch, and the recommended way to call a worker is to use a service binding. This change switches to use service bindings for the memory queue to avoid issues with worker-to-worker subrequests. + + To continue using the memory queue, add a service binding to your wrangler config for the binding `NEXT_CACHE_REVALIDATION_WORKER`. + + ```json + { + "services": [ + { + "binding": "NEXT_CACHE_REVALIDATION_WORKER", + "service": "" + } + ] + } + ``` + ## 0.5.9 ### Patch Changes diff --git a/packages/cloudflare/package.json b/packages/cloudflare/package.json index 7230863f..520e57b1 100644 --- a/packages/cloudflare/package.json +++ b/packages/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@opennextjs/cloudflare", "description": "Cloudflare builder for next apps", - "version": "0.5.9", + "version": "0.5.10", "type": "module", "scripts": { "clean": "rimraf dist",