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
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
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.57.0 to 3.70.0.
Release notes
Sourced from wrangler's releases.
... (truncated)
Changelog
Sourced from wrangler's changelog.
... (truncated)
Commits
51cc4f8
Version Packages (#6439)09b5092
fix: tweak the properties of the new Wrangler output file entries for better ...19b1e69
feat(wrangler) - allowwrangler deploy
to deploy static assets only (#6445)d55eeca
chore(deps): bump the workerd-and-workers-types group across 1 directory with...05082ad
feat: support outputing ND-JSON files via an environment variable (#6383)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)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