These changes do the ground work needed in order to add Assets support for Workers in wrangler dev. They implement the following:
it creates a new package called workers-shared that hosts the Asset Server Worker, and the Router Workerin the future
it scaffolds the Asset Server Worker in some very basic form, with basic configuration. Further behaviour implementation will follow in a subsequent PR
it does the ground work of plumbing ASW into Miniflare
Bundle size was a proxy for startup time. Now that we have startup time
reported, focus on bundle size is less relevant.
wrangler@3.68.0
Minor Changes
#6318dc576c8 Thanks @danlapid! - feat: Add a log for worker startup time in wrangler deploy
#609764f34e8 Thanks @RamIdeas! - feat: implements the --experimental-dev-env (shorthand: --x-dev-env) flag for wrangler pages dev
Patch Changes
#637931aa15c Thanks @RamIdeas! - fix: clearer error message when trying to use Workers Sites or Legacy Assets with wrangler versions upload
#63677588800 Thanks @RamIdeas! - fix: implicitly cleanup (call stop()) in unstable_dev if the returned Promise rejected and the stop() function was not returned
#6330cfbdede Thanks @RamIdeas! - fix: when the worker's request.url is overridden using the host or localUpstream, ensure port is overridden/cleared too
When using --localUpstream=example.com, the request.url would incorrectly be "example.com:8787" but is now "example.com".
This only applies to wrangler dev --x-dev-env and unstable_dev({ experimental: { devEnv: true } }).
#636513549c3 Thanks @WalshyDev! - fix: WASM modules meant that wrangler versions secret ... could not properly update the version. This has now been fixed.
These changes do the ground work needed in order to add Assets support for Workers in wrangler dev. They implement the following:
it creates a new package called workers-shared that hosts the Asset Server Worker, and the Router Workerin the future
it scaffolds the Asset Server Worker in some very basic form, with basic configuration. Further behaviour implementation will follow in a subsequent PR
it does the ground work of plumbing ASW into Miniflare
Bundle size was a proxy for startup time. Now that we have startup time
reported, focus on bundle size is less relevant.
3.68.0
Minor Changes
#6318dc576c8 Thanks @danlapid! - feat: Add a log for worker startup time in wrangler deploy
#609764f34e8 Thanks @RamIdeas! - feat: implements the --experimental-dev-env (shorthand: --x-dev-env) flag for wrangler pages dev
Patch Changes
#637931aa15c Thanks @RamIdeas! - fix: clearer error message when trying to use Workers Sites or Legacy Assets with wrangler versions upload
#63677588800 Thanks @RamIdeas! - fix: implicitly cleanup (call stop()) in unstable_dev if the returned Promise rejected and the stop() function was not returned
#6330cfbdede Thanks @RamIdeas! - fix: when the worker's request.url is overridden using the host or localUpstream, ensure port is overridden/cleared too
When using --localUpstream=example.com, the request.url would incorrectly be "example.com:8787" but is now "example.com".
This only applies to wrangler dev --x-dev-env and unstable_dev({ experimental: { devEnv: true } }).
#636513549c3 Thanks @WalshyDev! - fix: WASM modules meant that wrangler versions secret ... could not properly update the version. This has now been fixed.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps wrangler from 3.60.3 to 3.69.1.
Release notes
Sourced from wrangler's releases.
... (truncated)
Changelog
Sourced from wrangler's changelog.
... (truncated)
Commits
2893c1a
Version Packages (#6433)cba2e25
fix: do not try to load in@cloudflare/workers-shared
if not using experiment...362bf34
Version Packages (#6400)8a3c6c0
feat: Create very basic Asset Worker and plumb it into wrangler dev (#6370)c3e19b7
print startup time in version upload (#6392)5146775
Version Packages (#6358)9f02173
Update Workers Sites/Legacy Assets error message in versions commands (#6390)31aa15c
Clearer error message when trying to use Workers Sites with `wrangler version...13549c3
Fix WASM modules in versions secrets (#6365)a9021aa
chore(deps): bump the workerd-and-workers-types group across 1 directory with...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show