Skip to content

Conversation

@vicb
Copy link
Contributor

@vicb vicb commented Sep 2, 2025

node:http2 was implemented in cloudflare/workerd#4765, released in https://github.com/cloudflare/workerd/releases/tag/v1.20250814.0

unenv has a peer dep on workerd ^1.20250828.1 which includes this change.

Notes:

  • it is a deliberate choice not to fold getHttp2Overrides into getHttpOverrides in order to keep the preset code simple. The later already handle http modules and server modules and the dependency on server module to the base module
  • tests are expected to fail until workerd is >= 20250901 in wrangler and vite - needed to test the default enabled date. workerd was updated to 2050902 in Bump the workerd-and-workers-types group with 2 updates #10535

/cc @anonrig @jasnell


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: will be documented by the runtime team
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: unenv updates are not backported
@vicb vicb requested review from a team as code owners September 2, 2025 18:49
@changeset-bot
Copy link

changeset-bot bot commented Sep 2, 2025

🦋 Changeset detected

Latest commit: 4668967

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

This PR includes changesets to release 4 packages
Name Type
@cloudflare/unenv-preset Patch
@cloudflare/vite-plugin Patch
wrangler Patch
@cloudflare/vitest-pool-workers 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 Sep 2, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@10536 

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@10536 

miniflare

npm i https://pkg.pr.new/miniflare@10536 

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@10536 

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@10536 

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@10536 

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@10536 

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@10536 

wrangler

npm i https://pkg.pr.new/wrangler@10536 

commit: 4668967

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Sep 3, 2025
@vicb
Copy link
Contributor Author

vicb commented Sep 3, 2025

Thanks for the review @jamesopstad

@vicb vicb merged commit a565291 into main Sep 3, 2025
43 of 46 checks passed
@vicb vicb deleted the vicb/unenv-http2 branch September 3, 2025 09:59
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants