Skip to content

Conversation

workers-frameworks
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@opennextjs/[email protected]

Patch Changes

  • #445 6a389fe Thanks @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.

    {
      "services": [
        {
          "binding": "NEXT_CACHE_REVALIDATION_WORKER",
          "service": "<WORKER_NAME>"
        }
      ]
    }

Copy link

pkg-pr-new bot commented Mar 10, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@447

commit: 99b4b3f

@james-elicx james-elicx merged commit 52983ab into main Mar 10, 2025
7 checks passed
@james-elicx james-elicx deleted the changeset-release/main branch March 10, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants