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]
Patch Changes
-
#1655
fed80faaThanks @jahands! - fix: Pages Functions custom _routes.json not being usedAlso cleaned up when we were reading generated _routes.json
-
#1649
a366b12fThanks @Skye-31! - fix: [windows] unable to find netstat -
#1626
f650a0b2Thanks @JacobMGEvans! - fix: Added pathname to the constructed URL service bindings + wrangler dev ignores pathname when making a request.resolves #1598
-
#1648
af669a19Thanks @CarmenPopoviciu! - Implement new wrangler pages functions optimize-routes command -
#1622
02bdfde0Thanks @Skye-31! - fix: Handle static files with multiple extensions, e.g. /a.b should resolve /a.b.html, if /a.b as a file does not exist -
#1666
662dfdf9Thanks @jahands! - fix: Consolidate routes that are over the limit to prevent failed deploymentsRather than failing a deployment because a route is too long (>100 characters), it will now be shortened to the next available level. Eg.
/foo/aaaaaaa...->/foo/* -
#1670
1b232aafThanks @Skye-31! - fix: dev.tsx opens 127.0.0.1 instead of 0.0.0.0 (doesn't work on windows) -
#1656
37852672Thanks @jahands! - fix: Warn when Pages Functions have no routesBuilding/publishing pages functions with no valid handlers would result in a Functions script containing no routes, often because the user is using the functions directory for something unrelated. This will no longer add an empty Functions script to the deployment, needlessly consuming Functions quota.
-
#1665
c40fca42Thanks @GregBrimble! - fix: Fix SW and Durable Object request URLs made over the service registry -
#1645
ac397480Thanks @JacobMGEvans! - feat: download & initialize a wrangler project from dashboard workerAdded
wrangler init --from-dash <worker-name>, which allows initializing a wrangler project from a pre-existing worker in the dashboard.Resolves #1624 Discussion: #1623
Notes:
multiplart/form-dataparsing is not currently supported in Undici, so a temporary workaround to slice off top and bottom boundaries is in place. -
#1639
d86382a5Thanks @matthewdavidrodgers! - fix: support 'exceededMemory' error status in tailWhile the exception for 'Worker exceeded memory limits' gets logged correctly when tailing, the actual status wasn't being counted as an error, and was falling through a switch case to 'unknown'
This ensures filtering and logging reflects that status correctly