Skip to content

Releases: cloudflare/workers-rs

Release v0.8.1

17 Apr 18:03

Choose a tag to compare

What's Changed

  • Fix the #[event(start)] regression from v0.8 by @jakubadamw in #974
  • feat(worker-build): auto-install nightly prereqs for --panic-unwind by @guybedford in #972

Full Changelog: v0.8.0...v0.8.1

Release v0.8.0

10 Apr 23:27

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.5...v0.8.0

Release v0.7.5

25 Feb 02:28

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.4...v0.7.5

Release v0.7.4

15 Jan 20:37
9806fe7

Choose a tag to compare

What's Changed

Full Changelog: v0.7.3...v0.7.4

Release v0.7.3

15 Jan 02:29
3cf4a3b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.2...v0.7.3

Release v0.7.2

20 Dec 17:51

Choose a tag to compare

What's Changed

  • fix(build): correct esbuild binary path on Windows by @Sabourifar in #889
  • Allow Result<T, E> while use worker::* and add ok::Ok helper by @ryo33 in #890
  • worker-build: fix output path resolution when CWD differs from crate root by @Summpot in #892

New Contributors

Full Changelog: v0.7.1...v0.7.2

Release v0.7.1

01 Dec 05:33

Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

Release v0.7.0

25 Nov 03:57

Choose a tag to compare

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.get now returns an option to handle missing entries instead of an error (#859)
  • The DurableObject trait 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 (#872)
  • As of version worker@0.7.0 and worker-build@0.7.0, these toolchains now are majorly versioned together and will throw when using unexpected versions. Attempting to use worker@0.6 with worker-build@0.7.0 will throw an error. It is instead recommended to lock the version of worker-build to the expected semver via cargo install worker-build@^0.7.

Deprecations

  • worker-kv is no longer published, and is instead available as worker::kv
  • data() and get_env() on RouteContext for instead using these fields directly

Features

Bug Fixes & Refactoring

New Contributors

Full Changelog: v0.6.7...v0.7.0

worker-build-v0.1.14

11 Nov 06:26

Choose a tag to compare

What's Changed

Full Changelog: worker-build-v0.1.13...worker-build-v0.1.14

worker-build-v0.1.13

28 Oct 04:48

Choose a tag to compare

What's Changed

Full Changelog: v0.6.7...worker-build-v0.1.13