Releases: zslayton/stomp-rs
Releases · zslayton/stomp-rs
v0.11.0
- Internal
Pool<String>
instances now make use oflifeguard
v0.3.0's maximum sizes to prevent memory leaks. - @frederikbosch added hooks for
on_before_send
andon_before_receive
to allow for mutable access to inbound/outbound frames, useful for manually addressing gray areas in the STOMP protocol.
v0.10.2
- Modified Cargo.toml to use specific feature versions of dependencies. Thanks to @frederikbosch for the heads up!
v0.10.1
v0.10.0
stomp-rs
can now be used withrustc
's stable channel- Introduced automatic reconnect; in the event that the connection with the server is lost, the client will stop processing and attempt to re-establish it. Once the connection is up, all of the previous subscriptions will be re-established. Work is planned to make this configurable: #85.
- Created and incorporated the Lifeguard object pool to re-use
String
s andVec
s rather than allocating new ones. Benchmarks withperf
andvalgrind
show a marked improvement.
v0.9.0
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
- Created a
ToFrameBody
trait to reduce noise at theSession::message
callsite. - Removed the
Session::send_text
andSession::send_bytes
methods as well as their counterparts inTransaction
mime_type
is no longer a required parameter forSession::message
. AContentType
can now be specified as an OptionSetter if desired.- Exposed the
MessageBuilder
API fromTransaction
.