Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading