diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-11-28 01:33:23 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-11-28 01:54:50 +0100 |
| commit | c12ebb3a80fec9a98793d89c43c2193b4607ee91 (patch) | |
| tree | a810c0b5c0edddd26eeff8e38bcf763ae017751a /embassy-net | |
| parent | 8b8b7fa05ef0524a337a050584835026afa3015a (diff) | |
net: release v0.5.0
Diffstat (limited to 'embassy-net')
| -rw-r--r-- | embassy-net/CHANGELOG.md | 28 | ||||
| -rw-r--r-- | embassy-net/Cargo.toml | 2 |
2 files changed, 29 insertions, 1 deletions
diff --git a/embassy-net/CHANGELOG.md b/embassy-net/CHANGELOG.md index 56e245b92..c4ccff277 100644 --- a/embassy-net/CHANGELOG.md +++ b/embassy-net/CHANGELOG.md | |||
| @@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 7 | 7 | ||
| 8 | ## Unreleased | 8 | ## Unreleased |
| 9 | 9 | ||
| 10 | No unreleased changes yet... Quick, go send a PR! | ||
| 11 | |||
| 12 | ## 0.5 - 2024-11-28 | ||
| 13 | |||
| 14 | - Refactor the API structure, simplifying lifetimes and generics. | ||
| 15 | - Stack is now a thin handle that implements `Copy+Clone`. Instead of passing `&Stack` around, you can now pass `Stack`. | ||
| 16 | - `Stack` and `DnsSocket` no longer need a generic parameter for the device driver. | ||
| 17 | - The `run()` method has been moved to a new `Runner` struct. | ||
| 18 | - Sockets are covariant wrt their lifetime. | ||
| 19 | - An implication of the refactor is now you need only one `StaticCell` instead of two if you need to share the network stack between tasks. | ||
| 20 | - Use standard `core::net` IP types instead of custom ones from smoltcp. | ||
| 21 | - Update to `smoltcp` v0.12. | ||
| 22 | - Add `mdns` Cargo feature. | ||
| 23 | - dns: properly handle `AddrType::Either` in `get_host_by_name()` | ||
| 24 | - dns: truncate instead of panic if the DHCP server gives us more DNS servers than the configured maximum. | ||
| 25 | - stack: add `wait_link_up()`, `wait_link_down()`, `wait_config_down()`. | ||
| 26 | - tcp: Add `recv_queue()`, `send_queue()`. | ||
| 27 | - tcp: Add `wait_read_ready()`, `wait_write_ready()`. | ||
| 28 | - tcp: allow setting timeout through `embedded-nal` client. | ||
| 29 | - tcp: fix `flush()` hanging forever if socket is closed with pending data. | ||
| 30 | - tcp: fix `flush()` not waiting for ACK of FIN. | ||
| 31 | - tcp: implement `ReadReady`, `WriteReady` traits from `embedded-io`. | ||
| 32 | - udp, raw: Add `wait_send_ready()`, `wait_recv_ready()`, `flush()`. | ||
| 33 | - udp: add `recv_from_with()`, `send_to_with()` methods, allowing for IO with one less copy. | ||
| 34 | - udp: send/recv now takes/returns full `UdpMetadata` instead of just the remote `IpEndpoint`. | ||
| 35 | - raw: add raw sockets. | ||
| 36 | |||
| 37 | |||
| 10 | ## 0.4 - 2024-01-11 | 38 | ## 0.4 - 2024-01-11 |
| 11 | 39 | ||
| 12 | - Update to `embassy-time` v0.3. | 40 | - Update to `embassy-time` v0.3. |
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 23748973a..1d79a2a07 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "embassy-net" | 2 | name = "embassy-net" |
| 3 | version = "0.4.0" | 3 | version = "0.5.0" |
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | description = "Async TCP/IP network stack for embedded systems" | 6 | description = "Async TCP/IP network stack for embedded systems" |
