workers-sdk
workers-sdk copied to clipboard
Version Packages
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
- #6127
1568c25Thanks @DaniFoldi! - fix: Bump ws dependency
[email protected]
Minor Changes
Patch Changes
-
#6167
e048958Thanks @threepointone! - feature: alias modules in the workerSometimes, 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.jsexport default fetch; // all this does is export the standard fetch function`You can then configure
wrangler.tomllike 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
devanddeploy). Like:npx wrangler dev --alias node-fetch:./fetch-nolyfill -
#6164
4cdad9bThanks @threepointone! - fix: use account id for listing zonesFixes https://github.com/cloudflare/workers-sdk/issues/4944
Trying to fetch
/zonesfails 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
d03b102Thanks @RamIdeas! - feat:urlandinspectorUrlproperties have been exposed on the worker object returned bynew unstable_DevEnv().startWorker(options) -
#6147
02dda3dThanks @penalosa! - refactor: React free dev registry -
#6127
1568c25Thanks @DaniFoldi! - fix: Bump ws dependency -
#6140
4072114Thanks @petebacondarwin! - fix: add extra error logging to auth response errors -
#6160
9466531Thanks @sm-bean! - fix: removes unnecessary wrangler tail warning against resetting durable object -
#6142
9272ef5Thanks @dario-piotrowicz! - fix: improve thegetPlatformProxyconfigPathoption ts-doc comment to clarify its behavior