wrangler@4.54.0
📦 cloudflare-workersView on GitHub →
✨ 5 features🐛 3 fixes🔧 4 symbols
Summary
This release introduces support for using `ctx.exports` with containerized Durable Objects and improves Vite project integration by automatically installing necessary plugins. It also removes container image validation during deployment for better internal compatibility.
Migration Steps
- If you are using Durable Objects accessed via `ctx.exports` with containers, you must now access the Durable Object using `ctx.exports.MyDOClassname` instead of the previous binding access (e.g., `env.DO`).
- If using containers with Durable Objects via `ctx.exports`, ensure your configuration includes `"compatibility_flags": ["enable_ctx_exports"]` for now.
✨ New Features
- Enabled using `ctx.exports` with Durable Objects that are accessed via `ctx.exports` when containers are configured.
- Wrangler will no longer attempt to add extra configuration to projects using `@cloudflare/vite-plugin` during deployment or `wrangler setup`.
- Wrangler now automatically installs `@cloudflare/vite-plugin` when a Vite project is detected.
- Added support for Analog projects in autoconfiguration.
- Introduced the `containers ssh` command.
🐛 Bug Fixes
- Prevented reporting SQLite errors from `wrangler d1 execute` to Sentry.
- Added extra logging to the user log-in flow to help diagnose failed login requests.
- Removed image validation for containers during `wrangler deploy` as registry validation is now handled by the API, allowing internal customers to use additional image registries.
🔧 Affected Symbols
ctx.exportswrangler setupwrangler deploywrangler d1 execute