2 Commits
Author SHA1 Message Date
swaits 2b3d353c7a chore: release 1.0.2 2026-04-22 20:51:17 -06:00
swaits 4fe11526f7 chore: release 1.0.1 2026-04-22 19:34:29 -06:00
4 changed files with 27 additions and 4 deletions

No files matched your search

+22
View File
@@ -1,5 +1,27 @@
# Changelog
## 1.0.2 — 2026-04-23
### Changed
- `donglora-protocol` dependency spec loosened from `"1.0.0"` to `"1"`.
The resolver already accepted any `1.x.y` (both specs mean `^1.0.0`),
but the `"1"` form signals intent: any 1.x release of the protocol
crate is accepted without requiring a fresh `donglora-client`
publication. Behavior unchanged.
## 1.0.1 — 2026-04-22
### Fixed
- `discovery::find_port` / `wait_for_device` now match the WCH CH340K
USB-UART bridge (`1a86:7522`) and standard CH340 (`1a86:7523`) in
the `BRIDGE_VID_PIDS` list. The Elecrow ThinkNode-M2 board ships
with a CH340K bridge; previously only CP2102, CH9102, and FTDI
bridges were recognized, so `donglora-mux` and any other
`donglora-client` consumer reported "no device" on that board
even when the serial port was clearly present.
## 1.0.0 — 2026-04-22
### Breaking
Generated
+1 -1
View File
@@ -71,7 +71,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "donglora-client"
version = "1.0.0"
version = "1.0.2"
dependencies = [
"anyhow",
"donglora-protocol",
+3 -3
View File
@@ -1,6 +1,6 @@
[package]
name = "donglora-client"
version = "1.0.0"
version = "1.0.2"
edition = "2024"
rust-version = "1.85"
authors = ["Stephen Waits <steve@waits.net>"]
@@ -13,7 +13,7 @@ categories = ["hardware-support"]
exclude = ["CLAUDE_TODO.md", "deny.toml", "justfile", "mise.toml", "rustfmt.toml", ".jj"]
[dependencies]
donglora-protocol = { version = "1.0.0", default-features = false, features = ["std"] }
donglora-protocol = { version = "1", default-features = false, features = ["std"] }
thiserror = "2"
tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync", "time", "macros", "io-util", "net"] }
tokio-serial = "5"
@@ -27,7 +27,7 @@ anyhow = "1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Direct access to raw wire primitives for tests (frame encoder/decoder
# helpers that are not part of the donglora-client public API).
donglora-protocol = { version = "1.0.0", default-features = false, features = ["std"] }
donglora-protocol = { version = "1", default-features = false, features = ["std"] }
heapless = "0.9"
[[example]]
+1
View File
@@ -20,6 +20,7 @@ pub const USB_PID: u16 = 0x5741;
const BRIDGE_VID_PIDS: &[(u16, u16)] = &[
(0x10C4, 0xEA60), // CP2102 (Silicon Labs)
(0x1A86, 0x55D4), // CH9102
(0x1A86, 0x7522), // CH340K — Elecrow ThinkNode-M2 ships with this
(0x1A86, 0x7523), // CH340
(0x0403, 0x6001), // FT232R (FTDI)
];