-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: strips CF-Connecting-IP header within Wrangler #9246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 59790ee The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
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 |
|
A Wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-wrangler-9246Prereleases for other packages:
wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-workers-bindings-extension-9246 -O ./cloudflare-workers-bindings-extension.0.0.0-v5c9a16f70.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-v5c9a16f70.vsix
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-create-cloudflare-9246 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-kv-asset-handler-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-miniflare-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-pages-shared-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-unenv-preset-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-vite-plugin-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-vitest-pool-workers-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-workers-editor-shared-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-workers-shared-9246
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15029420754/npm-package-cloudflare-workflows-shared-9246Note that these links will no longer work once the GitHub Actions artifact expires. |
9c85a63 to
5376026
Compare
536ec34 to
59790ee
Compare
|
These changes have been automatically backported to Wrangler v3 🎉 You can view the automatically updated PR at v3-maintenance...v3-maintenance-9246. Please check that PR for correctness, and make sure it's merged after this one. Thank you for helping us keep Wrangler v3 supported! |
…ler (#9250) * fix(miniflare): disable stripCfConnectingIp option by default * add a regression test from the wrangler persepective * inject monkey patched fetch to strip header * add changeset --------- Co-authored-by: Edmund Hung <[email protected]>
This reverts commit d033a7d.
…ession (#9506) * Revert "fix: strips CF-Connecting-IP header within Wrangler (#9246)" This reverts commit d033a7d. * feat: add connect_pass_through compatibility flag to globalOutbound worker Add the connect_pass_through compatibility flag to the outbound service worker that strips CF-Connecting-IP headers. This resolves the TCP connection regression that was introduced when using globalOutbound service with workerd's connect() API. The connect_pass_through flag was added in workerd PR #4171 to fix the underlying issue, allowing us to remove the JavaScript injection workaround and use the cleaner global outbound approach. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * fix: add connect_pass_through and experimental compat flags, add changeset - Add 'experimental' compat flag alongside 'connect_pass_through' - Add changeset for the TCP regression fix - The deleted test was specific to the workaround we're replacing * human fixups * fix lockfile * fix lockfile * fix lockfile --------- Co-authored-by: Claude <[email protected]>
Fixes #9238.