Skip to content

Commit 89b26c7

Browse files
authored
Merge pull request #102 from ubports/amartinz/6.0.0
6.0.0
2 parents 6241ede + acf8c9f commit 89b26c7

File tree

4 files changed

+30
-5
lines changed

4 files changed

+30
-5
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@ promise-android-tools versioning started at 1.0.0, but this changelog was not ad
66

77
## [Unreleased]
88

9+
## [6.0.0] - 2025-06-25
10+
11+
### Added
12+
13+
- Support Node v20 and above
14+
- Merge `android-tools-bin` into `promise-android-tools`
15+
- Support running within electron
16+
17+
### Changed
18+
19+
- `fastboot getvar` is more robust now
20+
21+
### Fixed
22+
23+
- `adb sideload` is not cancelling when finishing anymore
24+
- This was caused by `adb: failed to read command: Success` being sent via stderr
25+
- `fastboot --set-active` is working again
26+
- This got broken with 5.0.0
27+
928
## [5.0.1] - 2025-06-10
1029

1130
### Added

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# promise-android-tools ![Continuous Integration](https://github.com/ubports/promise-android-tools/workflows/Continuous%20Integration/badge.svg) [![npm](https://img.shields.io/npm/v/promise-android-tools)](https://www.npmjs.com/package/promise-android-tools) [![codecov](https://codecov.io/gh/ubports/promise-android-tools/branch/master/graph/badge.svg?token=cEneFUUbgt)](https://codecov.io/gh/ubports/promise-android-tools/)
1+
![Continuous Integration](https://github.com/ubports/promise-android-tools/workflows/Continuous%20Integration/badge.svg) [![npm](https://img.shields.io/npm/v/promise-android-tools)](https://www.npmjs.com/package/promise-android-tools) [![codecov](https://codecov.io/gh/ubports/promise-android-tools/branch/master/graph/badge.svg?token=cEneFUUbgt)](https://codecov.io/gh/ubports/promise-android-tools/)
2+
3+
# promise-android-tools
24

35
A wrapper for Adb, Fastboot, and Heimall written in modern asynchronous TypeScript that provides convenient promises for interacting with Android and Ubuntu Touch devices. The package was originally developed for the [UBports Installer](https://devices.ubuntu-touch.io/installer/) but has since been expanded to cover all APIs of the included tools.
46

57
## Usage
68

7-
Install the package by running `npm i promise-android-tools android-tools-bin`.
9+
Install the package by running `npm i promise-android-tools`.
810

911
### Quick-start example
1012

@@ -145,6 +147,10 @@ Typescript types are bundled and IntelliSense is supported. Run `npm run docs` t
145147

146148
## API Changes, Deprecation Notices, Upgrade Guide
147149

150+
### Upgrading to 6.x
151+
152+
Version 6.0.0 required Node v20 and above and has also dropped the dependency on `android-tools-bin`, as the dependency got added to this package instead to reduce maintanance burden.
153+
148154
### Upgrading to 5.x
149155

150156
For version 5.0.0, the library has been migrated to typescript for increased stability and type safety. Many under-the-hood components have been redesigned for more efficient abstraction and ease of use.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "promise-android-tools",
3-
"version": "5.0.1",
3+
"version": "6.0.0",
44
"description": "A wrapper for adb, fastboot, and heimdall that returns convenient promises.",
55
"type": "module",
66
"main": "./dist/module.cjs",

0 commit comments

Comments
 (0)