workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

Version Packages

Open workers-devprod opened this issue 1 year ago • 1 comments

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]

Minor Changes

Patch Changes

[email protected]

Minor Changes

Patch Changes

  • #6167 e048958 Thanks @threepointone! - feature: alias modules in the worker

    Sometimes, users want to replace modules with other modules. This commonly happens inside a third party dependency itself. As an example, a user might have imported node-fetch, which will probably never work in workerd. You can use the alias config to replace any of these imports with a module of your choice.

    Let's say you make a fetch-nolyfill.js

    export default fetch; // all this does is export the standard fetch function`
    

    You can then configure wrangler.toml like so:

    # ...
    [alias]
    "node-fetch": "./fetch-nolyfill"
    

    So any calls to import fetch from 'node-fetch'; will simply use our nolyfilled version.

    You can also pass aliases in the cli (for both dev and deploy). Like:

    npx wrangler dev --alias node-fetch:./fetch-nolyfill
    
  • #6164 4cdad9b Thanks @threepointone! - fix: use account id for listing zones

    Fixes https://github.com/cloudflare/workers-sdk/issues/4944

    Trying to fetch /zones fails when it spans more than 500 zones. The fix to use an account id when doing so. This patch passes the account id to the zones call, threading it through all the functions that require it.

  • #6124 d03b102 Thanks @RamIdeas! - feat: url and inspectorUrl properties have been exposed on the worker object returned by new unstable_DevEnv().startWorker(options)

  • #6147 02dda3d Thanks @penalosa! - refactor: React free dev registry

  • #6127 1568c25 Thanks @DaniFoldi! - fix: Bump ws dependency

  • #6140 4072114 Thanks @petebacondarwin! - fix: add extra error logging to auth response errors

  • #6160 9466531 Thanks @sm-bean! - fix: removes unnecessary wrangler tail warning against resetting durable object

    fixes https://jira.cfdata.org/browse/STOR-3318

  • #6142 9272ef5 Thanks @dario-piotrowicz! - fix: improve the getPlatformProxy configPath option ts-doc comment to clarify its behavior

  • Updated dependencies [7ed675e, 1568c25]:

@cloudflare/[email protected]

Patch Changes

@cloudflare/[email protected]

Patch Changes

workers-devprod avatar Jun 26 '24 12:06 workers-devprod