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
-
#6573
3ff6506Thanks @penalosa! - feature: Usecreate-viteinstead ofcreate-react-appfor React projects.React's documentation now recommends using
create-viteovercreate-react-app, as the latter has been deprecated. To align with these best practices, React projects created with C3 will now use Vite.With this change, the default development command will switch from using
create-react-apptocreate-vite, providing a more modern and efficient development experience.Additionally, selection of variants for React projects created by Vite has been added, allowing users to choose different configurations based on their needs. The test suite has also been adapted to accommodate the new configuration, ensuring all tests run without errors.
[email protected]
Minor Changes
-
#6571
a7e1bfeThanks @penalosa! - feat: Add deployment http targets to wrangler deploy logs, and add url to pages deploy logs -
#6497
3bd833cThanks @WalshyDev! - chore: movewrangler versions ...,wrangler deployments ...,wrangler rollbackandwrangler triggers ...out of experimental and open beta. These are now available to use without the --x-versions flag, you can continue to pass this however without issue to keep compatibility with all the usage today.A few of the commands had an output that wasn't guarded by
--x-versionsthose have been updated to use the newer output, we have tried to keep compatibility where possible (for example:wrangler rollbackwill continue to output "Worker Version ID:" so users can continue to grab the ID). If you wish to use the old versions of the commands you can pass the--no-x-versionsflag. Note, these will be removed in the future so please work on migrating. -
#6586
72ea742Thanks @penalosa! - feat: Inject a 404 response for browser requestedfavicon.icofiles when loading the/__scheduledpage for scheduled-only Workers -
#6497
3bd833cThanks @WalshyDev! - feat: updatewrangler deployto use the new versions and deployments API. This should have zero user-facing impact but sets up the most used command to deploy Workers to use the new recommended APIs and move away from the old ones. We will still call the old upload path where required (e.g. Durable Object migration or Service Worker format).
Patch Changes
-
#6563
da48a70Thanks @threepointone! - chore: remove the warning about local mode flag being removed in the future -
#6595
0a76d7eThanks @vicb! - feat: update unenv to the latest available version -
#5738
c2460c4Thanks @penalosa! - fix: Prevent spaces in names when validating -
#6586
72ea742Thanks @penalosa! - chore: Improve Miniflare CRON warning wording -
#6593
f097cb7Thanks @vicb! - fix: removeexperimental:prefix requirement for nodejs_compat_v2 -
#6572
0d83428Thanks @penalosa! - fix: Show a clearer user error when trying to use a python worker without thepython_workerscompatibility flag specified -
#6589
f4c8ceaThanks @vicb! - feat: update unenv to the latest available version -
Updated dependencies [
45ad2e0]:- @cloudflare/[email protected]
@cloudflare/[email protected]
Patch Changes
- Updated dependencies [
da48a70,0a76d7e,c2460c4,72ea742,f097cb7,a7e1bfe,0d83428,3bd833c,72ea742,3bd833c,f4c8cea]:
@cloudflare/[email protected]
Patch Changes
-
#6588
45ad2e0Thanks @CarmenPopoviciu! - fix: Stabilize Workers naming acrossworkers-sharedThe Asset Worker and Router Worker use inconsistent naming conventions across
workers-shared. This commit stabilizes the naming to Asset Worker and Router Worker and permutations of those.
@cloudflare/[email protected]
Minor Changes
@cloudflare/[email protected]
Patch Changes
- #6558
2a5b648Thanks @edmundhung! - fix: disable autosave on quick editor to avoid context reset without explicit user action
A wrangler prerelease is available for testing. You can install this latest build in your project with:
npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-wrangler-6584
You can reference the automatically updated head of this PR with:
npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6584/npm-package-wrangler-6584
Or you can use npx with this latest build directly:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-wrangler-6584 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-create-cloudflare-6584 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-cloudflare-kv-asset-handler-6584
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-miniflare-6584
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-cloudflare-pages-shared-6584
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-cloudflare-vitest-pool-workers-6584
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-cloudflare-workers-editor-shared-6584
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10630707658/npm-package-cloudflare-workers-shared-6584
Note that these links will no longer work once the GitHub Actions artifact expires.
[email protected] includes the following runtime dependencies:
| Package | Constraint | Resolved |
|---|---|---|
miniflare |
workspace:* | 3.20240821.0 |
workerd |
1.20240821.1 | 1.20240821.1 |
workerd --version |
1.20240821.1 | 2024-08-21 |
Please ensure constraints are pinned, and miniflare/workerd minor versions match.