cloudflare/workers-rs v0.7.0
cloudflare/workers-rs
Captured source
source ↗published Nov 25, 2025seen Jun 26captured 2whttp 200method plain
Release v0.7.0
Repository: cloudflare/workers-rs
Tag: v0.7.0
Published: 2025-11-25T03:57:22Z
Prerelease: no
Release notes: For users not updating to this version, make sure to use `cargo install worker-build@0.1.14`, as the latest 0.7 will no longer work with older versions of the worker library.
Breaking Changes
- Durable object
storage.getnow returns an option to handle missing entries instead of an error (https://github.com/cloudflare/workers-rs/pull/859) - The
DurableObjecttrait now needs to be explicitly imported and won't be brought into scope automatically, which was stopping multiple durable objects in the same file from working correctly (https://github.com/cloudflare/workers-rs/pull/872) - As of version
worker@0.7.0andworker-build@0.7.0, these toolchains now are majorly versioned together and will throw when using unexpected versions. Attempting to useworker@0.6withworker-build@0.7.0will throw an error. It is instead recommended to lock the version of worker-build to the expected semver viacargo install worker-build@^0.7.
Deprecations
- worker-kv is no longer published, and is instead available as
worker::kv data()andget_env()onRouteContextfor instead using these fields directly
Features
- feat: add Send+Sync+Display traits to KvError by @omarabid in https://github.com/cloudflare/workers-rs/pull/847
- IntoSend Trait by @omarabid in https://github.com/cloudflare/workers-rs/pull/676
Bug Fixes & Refactoring
- fix: better macro hygiene for durable objects by @guybedford in https://github.com/cloudflare/workers-rs/pull/869
- refactor: internalize more of wasm pack implementation by @guybedford in https://github.com/cloudflare/workers-rs/pull/873
New Contributors
- @omarabid made their first contribution in https://github.com/cloudflare/workers-rs/pull/847
Full Changelog: https://github.com/cloudflare/workers-rs/compare/v0.6.7...v0.7.0