Skip to content
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

Version Packages #4964

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Version Packages #4964

merged 1 commit into from
Feb 13, 2024

Conversation

workers-devprod
Copy link
Contributor

@workers-devprod workers-devprod commented Feb 9, 2024

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

[email protected]

Patch Changes

  • #4950 05360e43 Thanks @petebacondarwin! - fix: ensure we do not rewrite external Origin headers in wrangler dev

    In fix: ensure that Origin header is rewritten as necessary #4812 we tried to fix the Origin headers to match the Host header but were overzealous and rewrote Origin headers for external origins (outside of the proxy server's origin).

    This is now fixed, and moreover we rewrite any headers that refer to the proxy server on the request with the configured host and vice versa on the response.

    This should ensure that CORS is not broken in browsers when a different host is being simulated based on routes in the Wrangler configuration.

@cloudflare/[email protected]

Patch Changes

[email protected]

Patch Changes

  • #4950 05360e43 Thanks @petebacondarwin! - fix: ensure we do not rewrite external Origin headers in wrangler dev

    In fix: ensure that Origin header is rewritten as necessary #4812 we tried to fix the Origin headers to match the Host header but were overzealous and rewrote Origin headers for external origins (outside of the proxy server's origin).

    This is now fixed, and moreover we rewrite any headers that refer to the proxy server on the request with the configured host and vice versa on the response.

    This should ensure that CORS is not broken in browsers when a different host is being simulated based on routes in the Wrangler configuration.

  • #4997 bfeefe27 Thanks @dario-piotrowicz! - chore: add missing defineNavigatorUserAgent dependency to useEsbuild hook

  • #4966 36692326 Thanks @penalosa! - fix: Report Custom Build failures as UserErrors

  • #5002 315a651b Thanks @dario-piotrowicz! - chore: rename getBindingsProxy to getPlatformProxy

    initially getBindingsProxy was supposed to only provide proxies for bindings,
    the utility has however grown, including now cf, ctx and caches, to
    clarify the increased scope the utility is getting renamed to getPlatformProxy
    and its bindings field is getting renamed env

    note: getBindingProxy with its signature is still kept available, making this
    a non breaking change

  • Updated dependencies [05360e43]:

@workers-devprod workers-devprod requested review from a team as code owners February 9, 2024 12:22
Copy link
Contributor

github-actions bot commented Feb 9, 2024

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/7889729393/npm-package-wrangler-4964

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/4964/npm-package-wrangler-4964

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7889729393/npm-package-wrangler-4964 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7889729393/npm-package-create-cloudflare-4964 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7889729393/npm-package-cloudflare-kv-asset-handler-4964
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7889729393/npm-package-miniflare-4964
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7889729393/npm-package-cloudflare-pages-shared-4964

Note that these links will no longer work once the GitHub Actions artifact expires.


[email protected] includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240129.2
workerd 1.20240129.0 1.20240129.0
workerd --version 1.20240129.0 2024-01-29

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (315a651) 70.43% compared to head (5d5bbfb) 70.47%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4964      +/-   ##
==========================================
+ Coverage   70.43%   70.47%   +0.04%     
==========================================
  Files         297      297              
  Lines       15419    15419              
  Branches     3949     3949              
==========================================
+ Hits        10860    10867       +7     
+ Misses       4559     4552       -7     

see 6 files with indirect coverage changes

@workers-devprod workers-devprod force-pushed the changeset-release/main branch 7 times, most recently from fb4eda5 to 6551f43 Compare February 12, 2024 15:48
@1000hz 1000hz merged commit 96b18a7 into main Feb 13, 2024
20 checks passed
@1000hz 1000hz deleted the changeset-release/main branch February 13, 2024 17:10
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