Release v0.3.0
What's Changed
- Rust-friendly DigestStream API (see example) by @dakom in #529
- Introduce cargo generate templates and update getting started by @kflansburg in #559
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.
- Use
u64
for R2 range requests by @kflansburg in #564
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
andcf
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
- @sachaos made their first contribution in #572
- @thiskevinwang made their first contribution in #575
Full Changelog: v0.2.0...v0.3.0