Skip to content

Releases: zslayton/stomp-rs

v0.11.0

24 Aug 19:49
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release
  • Internal Pool<String> instances now make use of lifeguard v0.3.0's maximum sizes to prevent memory leaks.
  • @frederikbosch added hooks for on_before_send and on_before_receive to allow for mutable access to inbound/outbound frames, useful for manually addressing gray areas in the STOMP protocol.

v0.10.2

07 Aug 19:14
Compare
Choose a tag to compare
v0.10.2 Pre-release
Pre-release
  • Modified Cargo.toml to use specific feature versions of dependencies. Thanks to @frederikbosch for the heads up!

v0.10.1

29 May 19:28
Compare
Choose a tag to compare
v0.10.1 Pre-release
Pre-release
  • Updating lifeguard pool initialization to use a usize.

v0.10.0

27 May 03:55
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release
  • stomp-rs can now be used with rustc'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 Strings and Vecs rather than allocating new ones. Benchmarks with perf and valgrind show a marked improvement.

v0.9.0

29 Apr 20:49
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release
  • Migrated to mio. The entire library is now single-threaded.
  • Some tracking of breaking changes to rustc
  • Migrated from old_io to io
  • Replaced uses of now-deprecated Timer with mio's timeouts

v0.8.4

05 Apr 15:27
Compare
Choose a tag to compare
v0.8.4 Pre-release
Pre-release
  • Structs implementing Copy now also implement Clone
  • Uses of as_slice transitioned to as_ref
  • Fixed calls to Error::new, which now expects only two arguments

v0.8.3

29 Mar 20:12
Compare
Choose a tag to compare
v0.8.3 Pre-release
Pre-release
  • Added the slice_patterns feature to the crate, allowing it to build

v0.8.2

25 Mar 23:35
Compare
Choose a tag to compare
v0.8.2 Pre-release
Pre-release

Across the board migration from std::old_io to std::io with the exception of Timer, which has no analogous mechanism in std::io as of yet.

v0.8.1

04 Mar 00:45
Compare
Choose a tag to compare
v0.8.1 Pre-release
Pre-release

Tracking upstream changes to rustc:

  • Lifetime issue in ReceiptHandler resolved using PhantomData. (Thanks to @cstorey!)
  • Warnings about using old_io suppressed.
  • Example code updated

v0.8.0

08 Feb 22:51
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release
  • Created a ToFrameBody trait to reduce noise at the Session::message callsite.
  • Removed the Session::send_text and Session::send_bytes methods as well as their counterparts in Transaction
  • mime_type is no longer a required parameter for Session::message. A ContentType can now be specified as an OptionSetter if desired.
  • Exposed the MessageBuilder API from Transaction.