diff --git a/CHANGELOG.md b/CHANGELOG.md index 5822684..e419713 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ * **Breaking:** a connection dropped mid-stream now throws `AdbConnectionClosedException` instead of presenting as a clean end-of-stream. * **Breaking:** a read or write that exceeds its timeout now throws `AdbTimeoutException` instead of a raw `SocketTimeoutException`. * `pmInstall` (the non-`cmd` install path) now checks the `pm install` result instead of ignoring it. +* Fixed stream local-id collisions that surfaced as `Not listening for localId` and could tear down a live stream's state; stream ids are now sequential, like AOSP's adb client. +* Socket writes are now bounded by a write timeout, so a wedged device fails fast instead of blocking a write indefinitely; the connection is rebuilt on the next operation. +* A stream read parked in `MessageQueue.take()` no longer hangs when the connection closes or a read fails; it now wakes with the relevant `AdbException`. * Added opt-in result helpers — `onSuccess`/`onFailure`/`orThrow` on each `…Result` type. `orThrow` raises `AdbOperationFailedException`, which is **not** an `AdbException`, so a transport-level `catch (AdbException)` won't catch an opted-in operation-failure throw. ### 1.2.10 diff --git a/gradle.properties b/gradle.properties index 06c3ce7..9c2aa0c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=dev.mobile -VERSION_NAME=1.2.10 +VERSION_NAME=2.0.0 POM_DESCRIPTION=A library to communicate directly with Android devices over ADB without an ADB server POM_URL=https://github.com/mobile-dev-inc/dadb POM_SCM_URL=https://github.com/mobile-dev-inc/dadb