Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
fed80faa
Thanks @jahands! - fix: Pages Functions custom _routes.json not being usedAlso cleaned up when we were reading generated _routes.json
#1649
a366b12f
Thanks @Skye-31! - fix: [windows] unable to find netstat#1626
f650a0b2
Thanks @JacobMGEvans! - fix: Added pathname to the constructed URL service bindings + wrangler dev ignores pathname when making a request.resolves bug: service bindings + wrangler dev ignores pathname when making a request #1598
#1648
af669a19
Thanks @CarmenPopoviciu! - Implement new wrangler pages functions optimize-routes command#1622
02bdfde0
Thanks @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
662dfdf9
Thanks @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
1b232aaf
Thanks @Skye-31! - fix: dev.tsx opens 127.0.0.1 instead of 0.0.0.0 (doesn't work on windows)#1671
808c0ab3
Thanks @Skye-31! - feat: pages publish - log special files being uploaded#1656
37852672
Thanks @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
c40fca42
Thanks @GregBrimble! - fix: Fix SW and Durable Object request URLs made over the service registry#1645
ac397480
Thanks @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 🚀 Feature: Source code
wrangler init --from-dash
#1624Discussion: RFC/Spec: `wrangler init` with flag `--from-dash` #1623
Notes:
multiplart/form-data
parsing is not currently supported in Undici, so a temporary workaround to slice off top and bottom boundaries is in place.#1639
d86382a5
Thanks @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