Skip to content

Releases: nats-io/nats.rs

0.7.0

13 Jul 10:21
cbdf54d
Compare
Choose a tag to compare

New Features

  • Support has been added for NATS Headers
    via the Connection::publish_with_reply_or_headers
    method.

Breaking Changes

  • The underlying TLS implementation has been switched
    from native-tls to rustls. The previously exported
    TLS functionality has been removed, and now you can
    supply certificates with the
    Options::add_root_certificate method.

0.6

29 Jun 18:34
5af548e
Compare
Choose a tag to compare
0.6

0.6.0

New Features

  • An experimental async Connection is now available
    to adventurous explorers by calling
    Options::connect_async.

Breaking Changes

  • ConnectionOptions has been renamed Options.
  • The minimum supported Rust version (MSRV) is now
    1.40.0.

0.3

13 Apr 12:39
023d4b2
Compare
Choose a tag to compare
0.3

New Features

  • #16 Implement reconnection logic.
  • #16 Buffer outbound data when in a disconnected state.
  • #16 Learn about new servers using the received INFO block.
  • #16 Callback functions may be provided via the new
    Options::set_disconnect_callback and
    Options::set_reconnect_callback which will be executed
    when the connection to a server has been terminated
    or when a new connection has been established afterward.

Breaking Changes

  • #11 Connection::new has been renamed Options::new.
  • #13 The various iterators have been replaced with concrete
    implementations: Iter, IntoIter, TimeoutIter which
    ensure that the backing Subscription is not closed
    while they are in use.