Skip to content

Tags: fizyr/fizyr-rpc

Tags

v0.8.0

Toggle v0.8.0's commit message
Version 0.8.0

Changes:
- [change][major] Mark `StreamConfig` and `UnixConfig` as non-exhaustive structs.
- [change][major] Make the `MessageHeader::encode/decode()` functions take an `endian` parameter.
- [add][major] Add an `endian` field to `StreamConfig` and `UnixConfig`.

v0.7.1

Toggle v0.7.1's commit message
Version 0.7.1

Changes:
- [change][patch] Remove dependency on `byteorder` crate.

v0.7.0

Toggle v0.7.0's commit message
Version 0.7.0

Changes:
- [change][major] Add `hidden` field to items in interface introspection types.
- [add][minor] Add `#[hidden]` attribute for interfaces, services, streams and updates in `interface! { ... }` macro.
- [add][minor] Add documentation about the protocol itself.
- [add][minor] Add `same_peer` function to `PeerWriteHandle` to check if they belong to the same peer.
- [fix][patch] Fix clippy warnings for unnecessary casting.

v0.6.0

Toggle v0.6.0's commit message
Version 0.6.0

Changes:
- [change][major] Update `filedesc` to `v0.6.0`.
- [change][minor] Update `tokio-seqpacket` to `v0.7.0`.
- [change][minor] Replace `WriteHalfType` and `ReadHalfType` with generic associated types.
- [change][minor] Bump minimum Rust version to 1.65.

v0.5.1

Toggle v0.5.1's commit message
Version 0.5.1

Changes:
- [fix][patch] Fix version of macro crate dependency.

v0.5.0

Toggle v0.5.0's commit message
Version 0.5.0

Changes:
- [rename][major] Rename `Server` to `Listener` to avoid confusion with generated interfaces.
- [change][major] Switch to a single opaque error type.
- [rename][major] Rename `Incoming` to `ReceivedMessage`.
- [remove][major] Remove unused `Outgoing` type.
- [rename][major] Rename `PeerHandle::next_message()` to `recv_message()`.
- [change][major] Move message body out of `ReceivedRequest`.
- [change][major] Change `SentRequest/ReceivedRequest::recv_update()` to return an `Option<Message>`.
- [rename][major] Rename `SentRequest` and `ReceivedRequest` to `SentRequestHandle` and `ReceivedRequestHandle`.
- [add][major] Have `Transport` implementations decide which I/O errors are fatal.
- [add][major] Provide transport info when spawning peers without giving access to the transport.
- [add][minor] Add utility functions for working with `RecvMessageError`.
- [add][minor] Add `Transport::info()` function to get information about a transport.
- [add][minor] Allow direct access to the underlying `Transport` of a `Peer`.
- [add][minor] Allow direct access to the underlying stream or socket of a `Transport`.
- [fix][minor] Fix unintended infinite recursion in generic trait implementations.
- [add][minor] Add `interface!()` macro to generate client/server structs with typed interfaces.
- [change][minor] Try unlinking Unix sockets before binding them.
- [add][minor] Add `SentRequestWriteHandle` and `ReceivedRequestWriteHandle` to support parallel reading and writing.
- [add][minor] Add `Body::as_error()` and `Body::into_error()` as required functions on the `Body` trait.
- [fix][patch] Fixed accepting connections with Unix stream sockets.
- [impl][patch] Use `poll_write_vectored` in the TCP transport to write the header and body with a single syscall.
- [add][patch] Add Wireshark dissector for TCP and UDP transports for easier debugging.

v0.5.0-alpha10

Toggle v0.5.0-alpha10's commit message
Version 0.5.0-alpha10

Changes:
- [add][major] Have `Transport` implementations decide which I/O errors are fatal.
- [add][major] Provide transport info when spawning peers without giving access to the transport.
- [add][minor] Add utility functions for working with `RecvMessageError`.
- [add][minor] Add `Transport::info()` function to get information about a transport.
- [add][minor] Allow direct access to the underlying `Transport` of a `Peer`.
- [add][minor] Allow direct access to the underlying stream or socket of a `Transport`.

v0.5.0-alpha9

Toggle v0.5.0-alpha9's commit message
Version 0.5.0-alpha9

Changes:
- [fix][minor] Fix unintended infinite recursion in generic trait implementations.
- [fix][patch] Fix `needless_question_mark` clippy warnings in generated code.
- [change][patch] Switch to `clap` v3 in the examples.

v0.5.0-alpha8

Toggle v0.5.0-alpha8's commit message
Version 0.5.0-alpha8

Changes:
- [rename][major] Rename `crate::util::format` module to `crate::format`.
- [add][minor] Add runtime interface introspection.
- [fix][minor] Remove the `Sized` restriction for the `EncodeBody` trait.
- [impl][patch] Use `poll_write_vectored` in the TCP transport to write the header and body with a single syscall.
- [add][patch] Add Wireshark dissector for TCP and UDP transports for easier debugging.

v0.5.0-alpha7

Toggle v0.5.0-alpha7's commit message
Version 0.5.0-alpha7

Changes:
- [add][minor] Add a specific `Format` trait for generated interaces to avoid writing overly long trait bounds.