Skip to content

Latest commit

 

History

History
221 lines (184 loc) · 6.72 KB

CHANGELOG.md

File metadata and controls

221 lines (184 loc) · 6.72 KB

Changelog

All notable changes to Remoc will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.14.0 - 2024-08-02

Added

  • remote trait calling (RTC): generate ReqReceiver type for handling requests from clients as messages

0.13.1 - 2024-07-14

Added

  • codec: added Postcard codec by Firaenix

0.13.0 - 2024-04-03

Added

  • chmux: forward channel closing

Changed

  • make forward a function of Receiver

0.12.0 - 2024-04-03

Added

  • chmux: allow specification of custom id (u32) when connecting a new channel
  • chmux: recursive port data forwarding
  • rch::bin: allow forwarding of binary channel

Changed

  • chmux: protocol version is now 3; fully backward compatible, but custom id and forwarding requires endpoint of same or higher version

0.11.7 - 2024-03-22

Added

  • remote trait calling (RTC): default method in remote traits
  • remote trait calling (RTC): allow specification of supertraits in remote traits

0.11.6 - 2024-03-13

Added

  • broadcast channel: method on sender to subscribe with specific maximum item size
  • remote channels: convenience methods for setting maximum item size on (sender, receiver)-tuple

0.11.5 - 2024-03-13

Added

  • watch channel: check() method on sender to check that no item-specific send errors have occurred
  • allow querying whether error is due to item being sent on all send error types

0.11.4 - 2024-03-13

Changed

  • watch channel: fail sender if send error is caused by item being sent; this results in subsequent send calls to fail, making the error visible to the caller
  • docs: clarify that mpsc and watch channel error reporting may be delayed

0.11.3 - 2023-11-08

Fixed

  • build with no enabled features

0.11.2 - 2023-11-08

Fixed

  • re-export serde for remoc_macro

0.11.1 - 2023-11-04

Fixed

  • unrecoverable error condition in remote channel receiver when deserialization fails

0.11.0 - 2023-09-13

Added

  • methods to adjust the maximum item size in serialized form of a remote channel
  • methods to adjust the maximum request and reply size for remote trait calling (RTC)

Changed

  • update minimum supported Rust version to 1.72
  • limit serialized item size of remote channels to 16 MB by default to prevent denial-of-service attacks by a malicious remote endpoint that sends arbitrarily large items to cause an out-of-memory condition on the receiving endpoint
  • make RTC value trait server require that target is Send + Sync

Fixed

  • RTC method not accepting any arguments if self was taken by value

Removed

  • serde_cbor codec

0.10.3 - 2023-03-22

Fixed

  • do not panic when observable list task terminates

0.10.2 - 2023-03-22

Added

  • Add argument clone to rtc::remote attribute. When present, this forces the generated client to be clonable, even if the trait contains methods taking the receiver by mutable reference.

Changed

  • clarify Send+Sync requirements in RTC docs

0.10.1 - 2023-02-01

Added

  • configuration option flush_delay to configure flush delay when no data to send is available

0.10.0 - 2022-05-25

Added

  • move remotely observable collections from remoc-obs crate into robs module
  • rch::watch::Receiver::send_modify method
  • chmux errors can now be converted into std::io::Error

Changed

  • minimum supported Rust version (MSRV) is 1.59
  • remove rch::buffer types and use const generics directly to specify buffer sizes of received channel halves
  • update uuid to 1.0

Fixed

  • fix infinite recursion in std::fmt::Debug implementation on some types

0.9.16 - 2022-02-24

Added

  • reference to remoc-obs crate for remotely observable collections

0.9.15 - 2022-02-08

Changed

  • optimize default configuration for higher throughput

Added

  • configuration defaults optimized for low memory usage or high throughput
  • enhanced configuration documentation

0.9.14 - 2022-02-02

Fixed

  • fix build when no default codec was selected

0.9.13 - 2022-01-26

Added

  • ConnectExt trait that allows for replacement of the base channel by another object, such as an RTC client or remote broadcast channel
  • RTC example in examples/rtc

Changed

  • optimized CI by baptiste0928
  • updated rmp-serde to 1.0

0.9.12 - 2022-01-24

Fixed

  • export rch::watch::ChangedError

0.9.11 - 2022-01-17

Added

  • conversions between remote channel receive errors
  • error message when trying to use lifetimes or function generics in a remote trait

0.9.10 - 2022-01-03

Added

  • Cbor codec using ciborium, contributed by baptiste0928

Deprecated

  • legacy Cbor codec using serde_cbor

0.9.9 - 2021-12-10

Added

  • rch::mpsc::Receiver implements the Stream trait
  • ReceiverStream for rch::broadcast::Receiver and rch::watch::Receiver
  • rch::watch::Sender::send_replace

0.9.8 - 2021-12-07

Added

  • rch::SendErrorExt and rch::SendResultExt for quick querying if a send error was due to disconnection

0.9.7 - 2021-11-26

Added

  • rch::mpsc::Receiver::try_recv, error and take_error
  • rch::mpsc::Sender::closed_reason
  • full-codecs crate feature to activate all codecs

Changed

  • An mpsc channel receiver will hold back a receive error due to connection failure if other senders are still active. The error will be returned after all other senders have been disconnected.
  • Fixes premature drop of RwLock owners.

0.9.6 - 2021-11-18

Added

  • add rtc::Client to prelude

0.9.5 - 2021-11-17

Added

  • rtc::Client trait implemented by all generated clients. This allows to receive notifications when the server has been dropped or disconnected.
  • configuration options for transport queue lengths

Changed

  • fix mpsc channel close notifications not being delivered sometimes

0.9.4 - 2021-11-17

Changed

  • fix build when no default codec is set

0.9.3 - 2021-11-11

Changed

  • fix premature chmux termination with outstanding remote port requests
  • fix build with Rust 1.51

0.9.2 - 2021-11-11

Changed

  • fix send error being missed during threaded serialization

0.9.1 - 2021-11-02

Changed

  • fix panic during threaded deserialization
  • propagate panics from serializers and deserializers spawned into threads

0.9.0 - 2021-11-01

Added

  • is_final() on channel error types

Changed

  • terminate providers and RTC servers when a final receive error occurs

Removed

  • chmux::Cfg::trace_id because using tracing spans makes it redundant

0.8.2 - 2021-10-29

Added

  • blocking send and receive functions for rch::mpsc

Changed

  • switch to tracing crate for logging

0.8.1 - 2021-10-26

Changed

  • remove default-codec-json from full feature

0.8.0 - 2021-10-21

  • initial release