Skip to content

Release v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 May 13:26

What's Changed

Tip

You can now get started in seconds by running cargo generate cloudflare/workers-rs!

  • Implement Send, Sync and Clone for some Durable Object types for better axum ergonomics by @avsaase in #563
  • Hyperdrive binding by @avsaase in #566

Tip

You can now use Workers Hyperdrive to speed up connections to your SQL database using tokio-postgres. Check out our updated example.

Caution

Rust 1.75 or greater is now required due to use of impl Trait in trait method return type.

Caution

In order to support range requests larger than 4GB, worker_sys::R2Range now accepts f64 instead of u32. worker::Range options have changed to make the functionality more clear and now accept u64 instead of u32.

  • Add encodeBody and cf to ResponseInit. Adopt builder pattern. by @kflansburg in #568

Caution

This change removes ResponseInit, which is replaced by an idiomatic ResponseBuilder pattern, all other APIs should remain unchanged. In addition, the encodeBody property is now available to support returning pre-compressed data.

New Contributors

Full Changelog: v0.2.0...v0.3.0