Releases: cloudflare/workers-rs
Releases · cloudflare/workers-rs
Release v0.8.1
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
What's Changed
- Fixed leptos template by @Sushi-Mampfer in #945
- Fixed leptos template (again) by @Sushi-Mampfer in #955
- feat(worker-build): change default out-dir from pkg to build by @aquilacf in #958
- feat(kv): Add streaming support for
ReadableStreamin KV bindings by @qaz741wsd856 in #957 - fix: suppress semgrep false positive on lockfile path by @guybedford in #961
- Minor R2/Hyperdrive/Service Bindings related changes by @fisherdarling in #930
- Add get_bulk support to KV store bindings by @rorychatterton in #949
- deps: bump miniflare to 4.20260329.0 and remove undici dependency by @connyay in #959
- Add validation for the signatures of functions annotated with
#[event(fetch)],#[event(start)]etc. by @jakubadamw in #940 - feat(d1): add typed session API and tests by @jihuayu in #943
- deps: update wasm-bindgen to 0.2.117, esbuild to 0.27.4, wasm-opt to 129 by @guybedford in #963
- chore(deps-dev): bump vite from 7.1.11 to 7.3.2 by @dependabot[bot] in #965
- chore: upgrade remaining crates to Rust 2021 edition by @mvanhorn in #966
- Init inlining & panic=unwind reinitialization by @guybedford in #964
- Update readme by @irvinebroque in #968
- deps: update wasm-bindgen to 0.2.118 by @guybedford in #969
New Contributors
- @Sushi-Mampfer made their first contribution in #945
- @qaz741wsd856 made their first contribution in #957
- @rorychatterton made their first contribution in #949
- @jihuayu made their first contribution in #943
- @mvanhorn made their first contribution in #966
Full Changelog: v0.7.5...v0.8.0
Release v0.7.5
What's Changed
- Fix ci by @guybedford in #914
- fixed injecting default headers and cf options by @SATVIKsynopsis in #913
- Improve worker-build error for invalid working directory by @SATVIKsynopsis in #915
- Support --panic-unwind worker-build option by @guybedford in #912
- deps: update to wasm-bindgen@0.2.110 by @guybedford in #931
- fix: quote worker-build version to fix Windows builds by @edmundhung in #917
- Pin time crate to 0.3.37 for Rust 1.87.0 compatibility by @connyay in #925
- fix: SecretStore::get() returns None due to Fetcher indirection and error swallowing by @guybedford in #932
- Implement
run_bytesmethod on AI binding for models that return binary data. by @kflansburg in #920 - fix: use platform-native TLS for binary downloads to support corporate proxies by @aquilacf in #929
- deps: update to wasm-bindgen@0.2.112 by @guybedford in #933
- feat: Add BotManagement properties to Cf by @henryhchchc in #921
- Fix a few issues in worker-build by @jakubadamw in #935
- deps: update to wasm-bindgen@0.2.113 by @guybedford in #936
- add benchmark suite by @guybedford in #867
- fix: use staging directory with build lock to prevent concurrent build conflicts by @guybedford in #934
New Contributors
- @SATVIKsynopsis made their first contribution in #913
- @edmundhung made their first contribution in #917
- @aquilacf made their first contribution in #929
- @henryhchchc made their first contribution in #921
Full Changelog: v0.7.4...v0.7.5
Release v0.7.4
What's Changed
- feat: support using older wasm bindgen versions by @guybedford in #908
- cacheTtl can be negative by @danlapid in #909
Full Changelog: v0.7.3...v0.7.4
Release v0.7.3
What's Changed
- ci: add windows test to matrix by @guybedford in #898
- fix: windows unable to build by @Shua-github in #897
- docs: axum advanced example by @esotuvaka in #903
- deps: update to wasm-bindgen@0.2.108 by @guybedford in #905
- feat: add CacheMode to RequestInit by @danlapid in #904
New Contributors
- @Sabourifar made their first contribution in #889
- @ryo33 made their first contribution in #890
- @Summpot made their first contribution in #892
- @Shua-github made their first contribution in #897
- @esotuvaka made their first contribution in #903
- @danlapid made their first contribution in #904
Full Changelog: v0.7.2...v0.7.3
Release v0.7.2
What's Changed
- fix(build): correct esbuild binary path on Windows by @Sabourifar in #889
- Allow
Result<T, E>whileuse 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
- @Sabourifar made their first contribution in #889
- @ryo33 made their first contribution in #890
- @Summpot made their first contribution in #892
Full Changelog: v0.7.1...v0.7.2
Release v0.7.1
What's Changed
- Update examples and templates to 0.7 by @guybedford in #879
- deps: update to wasm-bindgen@0.2.106 by @guybedford in #883
Full Changelog: v0.7.0...v0.7.1
Release v0.7.0
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 (#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 (#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 #847
- IntoSend Trait by @omarabid in #676
Bug Fixes & Refactoring
- fix: better macro hygiene for durable objects by @guybedford in #869
- refactor: internalize more of wasm pack implementation by @guybedford in #873
New Contributors
Full Changelog: v0.6.7...v0.7.0
worker-build-v0.1.14
What's Changed
- deps: update toolchain by @guybedford in #860
- feat: Unified CLI bin cache with env var override support by @guybedford in #863
Full Changelog: worker-build-v0.1.13...worker-build-v0.1.14
worker-build-v0.1.13
What's Changed
- fix: queue and scheduled handlers by @guybedford in #856
Full Changelog: v0.6.7...worker-build-v0.1.13