Repository navigation
Release v0.0.22
·
0 commits
to d33aa989f103d8e6a579cdca21bc43877041cbb8
since this release
This release continues our conversion to the http crate. In a number of key ways:
- Convert test suite to use
axumwhenhttpfeature is enabled. This was a great dogfooding exercise and helped to identify ergonomics issues. Based on this we developed the utilities (see documentation):- Introduce
worker::sendto mark arbitraryasyncfunctions asSend(useful foraxumhandler methods). - Introduce
SendFuturewrapper for marking a specificFutureasSend. - Introduce
SendWrapperfor marking a particular object asSend. This is useful foraxumrouter state.
- Introduce
- Implement Send, Sync, and Clone for Queue, making it easier to use with
axum. Thanks @avsaase!
We will continue to make ergonomic improvements to simplify usage of axum and other frameworks which generally expect objects to be Send, Sync, and Clone.
Other Changes
- implement get_tags for hibernatable websockets by @eric-seppanen in #484
- Add tests for Durable + Websocket + Hibernation API by @j-white in #495
- Introduce
D1PreparedStatement.bind_refsandbatch_bindwhich does not take ownership of arguments, and enables more ergonomic and performant use of the D1 API. It also introducesD1Typewhich provides better type safety for these arguments than the previous API which allowed arbitraryJsValue. @kflansburg in #493 - Expose DurableObject Storage's transaction function by @TannerRogalsky in #487
New Contributors
- @avsaase made their first contribution in #483
- @TannerRogalsky made their first contribution in #487
Full Changelog: v0.0.21...v0.0.22