|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [0.3.0] - 2023-04-05 |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +- Expose `reuse_port` option for TCP and WebSocket transports ([#69](https://github.com/paritytech/litep2p/pull/69)) |
| 13 | +- protocol/mdns: Use `SO_REUSEPORT` for the mDNS socket ([#68](https://github.com/paritytech/litep2p/pull/68)) |
| 14 | +- Add support for protocol/agent version ([#64](https://github.com/paritytech/litep2p/pull/64)) |
| 15 | + |
| 16 | +## [0.2.0] - 2023-09-05 |
| 17 | + |
| 18 | +This is the second release of litep2p, v0.2.0. The quality of the first release was so bad that this release is a complete rewrite of the library. |
| 19 | + |
| 20 | +Support is added for the following features: |
| 21 | + |
| 22 | +* Transport protocols: |
| 23 | + * TCP |
| 24 | + * QUIC |
| 25 | + * WebRTC |
| 26 | + * WebSocket |
| 27 | + |
| 28 | +* Protocols: |
| 29 | + * [`/ipfs/identify/1.0.0`](https://github.com/libp2p/specs/tree/master/identify) |
| 30 | + * [`/ipfs/ping/1.0.0`](https://github.com/libp2p/specs/blob/master/ping/ping.md) |
| 31 | + * [`/ipfs/kad/1.0.0`](https://github.com/libp2p/specs/tree/master/kad-dht) |
| 32 | + * [`/ipfs/bitswap/1.2.0`](https://github.com/ipfs/specs/blob/main/BITSWAP.md) |
| 33 | + * Request-response protocol |
| 34 | + * Notification protocol |
| 35 | + * Multicast DNS |
| 36 | + * API for creating custom protocols |
| 37 | + |
| 38 | +This time the architecture has been designed to be extensible and integrating new transport and/or user-level protocols should be easier. Additionally, the test coverage is higher both in terms of unit and integration tests. The project also contains conformance tests which test the behavior of `litep2p` against, [`rust-libp2p`](https://github.com/libp2p/rust-libp2p/), [`go-libp2p`](https://github.com/libp2p/go-libp2p/) and Substrate's [`sc-network`](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/client/network). Currently the Substrate conformance tests are not enabled by default as they require unpublished/unaccepted changes to Substrate. |
| 39 | + |
| 40 | +## [0.1.0] - 2023-04-04 |
| 41 | + |
| 42 | +This is the first release of `litep2p`, v0.1.0. |
| 43 | + |
| 44 | +Support is added for the following: |
| 45 | + |
| 46 | +* TCP + Noise + Yamux (compatibility with `libp2p`) |
| 47 | +* [`/ipfs/identify/1.0.0`](https://github.com/libp2p/specs/tree/master/identify) |
| 48 | +* [`/ipfs/ping/1.0.0`](https://github.com/libp2p/specs/blob/master/ping/ping.md) |
| 49 | +* Request-response protocol |
| 50 | +* Notification protocol |
| 51 | + |
| 52 | +The code quality is atrocious but it works and the second release focuses on providing high test coverage for the library. After that is done and most of the functionality is covered (unit, integration and conformance tests, benchmarks), the focus can be turned to refactoring the code into something clean and efficient. |
0 commit comments