Releases: zslayton/stomp-rs
Releases · zslayton/stomp-rs
v0.7.0
- Created
FrameHandler
trait to make error and receipt handling more ergonomic. Closures and custom structs are now supported. - A per-message
ReceiptHandler
mechanism was added, allowing the developer to react statefully to the server's confirmation that a message was processed. SUBSCRIBE
frames can now request a receipt by specifying aReceiptHandler
via theSubscriptionBuilder
.
v0.6.0
v0.5.2
- Rearranged example code following this upstream change.
- Simplified implementations of
MessageHandler
andToMessageHandler
- Added groundwork for builder APIs
- Added
examples
directory Transaction::abort
andTransaction::commit
now consumeself
v0.5.1
Minor cleanup, tracking upstream changes.
- Added
header_list!
macro variant to simplify encoding Headers. Invoked asheader_list![ "key1" => "value1", "key2" => "value2", ... ]
- Modified
Session::send
andSession::receive
to return an IoResult. std::io
renamed tostd::old_io
as Rust developers refactorstd::io
.#[allow(unstable)]
dropped in favor of per-featureallow
statements
v0.5.0
v0.4.0
- The
subscription::MessageHandler
trait replaced bare functions (fn
) in subscriptions to allow state to be tracked across invocations. - @fribeiro1 added a convenience macro for creating a set of Headers (
header_list!
) - Updates to now-deprecated method calls