Skip to content

check wrangler >= 4.59.2 to build Next 16.1+#1069

Merged
vicb merged 1 commit intomainfrom
vicb/seti
Jan 16, 2026
Merged

check wrangler >= 4.59.2 to build Next 16.1+#1069
vicb merged 1 commit intomainfrom
vicb/seti

Conversation

@vicb
Copy link
Contributor

@vicb vicb commented Jan 16, 2026

Fixes #1049

wrangler >= 4.59.2 uses a version of workerd that fixes setImmediate.

Tested locally

Warning

Next 16 is still not fully supported (as the warning warns you)
That is the next thing we'll work on, should hopefully land in the coming days.
(The e2e tests do not pass with 16.1+ yet, that's the reason why Next is not updated in this PR)

@changeset-bot
Copy link

changeset-bot bot commented Jan 16, 2026

🦋 Changeset detected

Latest commit: 18dda06

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 16, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@opennextjs/cloudflare@1069

commit: 18dda06

Copy link
Collaborator

@sommeeeer sommeeeer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, however should this perhaps be an error and exit? If its not working with workerd < 4.59.2?

Edit: I guess a warning is good enough for this case. If someone has already a workaround in place and can still use an affected workerd version.

@vicb
Copy link
Contributor Author

vicb commented Jan 16, 2026

Thanks for the reviews!

@vicb vicb merged commit 4ee4ba3 into main Jan 16, 2026
7 checks passed
@vicb vicb deleted the vicb/seti branch January 16, 2026 09:59
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.

[BUG] Next.js 16.1.0 crashes on Cloudflare Workers (Error 1101): Cannot assign to read only property 'setImmediate' of [object Module]

3 participants