diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9943e836..59307323 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,6 @@ jobs: - run: node common/scripts/install-run-rush.js install - run: node common/scripts/install-run-rush.js build --verbose - - run: node common/scripts/install-run-rush.js version --bump - run: node common/scripts/install-run-rush.js publish -p --include-all --set-access-level public env: NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/apps/cli/package.json b/apps/cli/package.json index 73dda355..7592b6a2 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -31,9 +31,9 @@ "lint": "eslint src/**/*.ts --fix" }, "dependencies": { - "@yume-chan/adb": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", "@yume-chan/adb-server-node-tcp": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/stream-extra": "workspace:^0.0.20", "commander": "^10.0.1", "source-map-support": "^0.5.21", "tslib": "^2.5.2" diff --git a/apps/demo/package.json b/apps/demo/package.json index 5520fbc5..e7bd9bc5 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -16,24 +16,24 @@ "@fluentui/react-icons": "^2.0.202", "@fluentui/style-utilities": "^8.9.10", "@griffel/react": "^1.5.7", - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/adb-credential-web": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/adb-credential-web": "workspace:^0.0.20", "@yume-chan/adb-daemon-direct-sockets": "workspace:^0.0.9", - "@yume-chan/adb-daemon-webusb": "workspace:^0.0.19", + "@yume-chan/adb-daemon-webusb": "workspace:^0.0.20", "@yume-chan/adb-daemon-ws": "workspace:^0.0.9", - "@yume-chan/adb-scrcpy": "workspace:^0.0.19", - "@yume-chan/android-bin": "workspace:^0.0.19", - "@yume-chan/aoa": "workspace:^0.0.19", + "@yume-chan/adb-scrcpy": "workspace:^0.0.20", + "@yume-chan/android-bin": "workspace:^0.0.20", + "@yume-chan/aoa": "workspace:^0.0.20", "@yume-chan/async": "^2.2.0", - "@yume-chan/b-tree": "workspace:^0.0.19", - "@yume-chan/event": "workspace:^0.0.19", - "@yume-chan/pcm-player": "workspace:^0.0.19", - "@yume-chan/scrcpy": "workspace:^0.0.19", - "@yume-chan/scrcpy-decoder-tinyh264": "workspace:^0.0.19", - "@yume-chan/scrcpy-decoder-webcodecs": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/b-tree": "workspace:^0.0.20", + "@yume-chan/event": "workspace:^0.0.20", + "@yume-chan/pcm-player": "workspace:^0.0.20", + "@yume-chan/scrcpy": "workspace:^0.0.20", + "@yume-chan/scrcpy-decoder-tinyh264": "workspace:^0.0.20", + "@yume-chan/scrcpy-decoder-webcodecs": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", "@yume-chan/stream-saver": "^2.0.6", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/struct": "workspace:^0.0.20", "@yume-chan/tabby-launcher": "workspace:^1.0.197-nightly.1", "@yume-chan/undici-browser": "5.22.1-mod.7", "comlink": "^4.4.1", diff --git a/apps/web/package.json b/apps/web/package.json index 3fc2f582..c8b3fa19 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -19,12 +19,12 @@ "@solidjs/meta": "^0.28.2", "@solidjs/router": "^0.8.2", "@solid-devtools/overlay": "^0.6.0", - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/adb-credential-web": "workspace:^0.0.19", - "@yume-chan/adb-daemon-webusb": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/adb-credential-web": "workspace:^0.0.20", + "@yume-chan/adb-daemon-webusb": "workspace:^0.0.20", "@yume-chan/async": "^2.2.0", - "@yume-chan/stream-extra": "workspace:^0.0.19", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/stream-extra": "workspace:^0.0.20", + "@yume-chan/struct": "workspace:^0.0.20", "solid-js": "^1.7.2", "solid-start": "^0.2.26", "undici": "^5.15.1" diff --git a/common/changes/@yume-chan/adb-credential-web/feat-scrcpy-1.26_2023-03-18-16-23.json b/common/changes/@yume-chan/adb-credential-web/feat-scrcpy-1.26_2023-03-18-16-23.json deleted file mode 100644 index 34422307..00000000 --- a/common/changes/@yume-chan/adb-credential-web/feat-scrcpy-1.26_2023-03-18-16-23.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb-credential-web", - "comment": "Change `AdbWebCredentialStore` to save private keys in IndexedDB, so it can be used in Web Workers. Previously saved keys in `localStorage` will be ignored and a new key will be generated.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb-credential-web" -} diff --git a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index 9c070aad..00000000 --- a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb-daemon-webusb", - "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0).", - "type": "none" - } - ], - "packageName": "@yume-chan/adb-daemon-webusb" -} diff --git a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-40.json b/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-40.json deleted file mode 100644 index ebebaaec..00000000 --- a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-40.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb-daemon-webusb", - "comment": "Rename package to `@yume-chan/adb-daemon-webusb` following the renaming of `AdbDaemonTransport`.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb-daemon-webusb" -} diff --git a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-41.json b/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-41.json deleted file mode 100644 index 41d22381..00000000 --- a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-41.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb-daemon-webusb", - "comment": "Rename `AdbWebUsbBackend` to `AdbDaemonWebUsbDevice` following the renaming of `AdbDaemonTransport`.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb-daemon-webusb" -} diff --git a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-42.json b/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-42.json deleted file mode 100644 index 8c167ba3..00000000 --- a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-42.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb-daemon-webusb", - "comment": "Add Support for detecting device disconnects. It no longer throws an `NetworkError` when the device is disconnected.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb-daemon-webusb" -} diff --git a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-43.json b/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-43.json deleted file mode 100644 index ed22ec09..00000000 --- a/common/changes/@yume-chan/adb-daemon-webusb/feat-scrcpy-1.26_2023-03-12-04-43.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb-daemon-webusb", - "comment": "Add `filters` parameter to `AdbDaemonWebUsbDeviceManager#getDevices`. The filtration is manually implemented because WebUSB's `getDevice` API doesn't support filters.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb-daemon-webusb" -} diff --git a/common/changes/@yume-chan/adb-scrcpy/feat-scrcpy-1.26_2023-04-13-05-41.json b/common/changes/@yume-chan/adb-scrcpy/feat-scrcpy-1.26_2023-04-13-05-41.json deleted file mode 100644 index fa58399b..00000000 --- a/common/changes/@yume-chan/adb-scrcpy/feat-scrcpy-1.26_2023-04-13-05-41.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb-scrcpy", - "comment": "", - "type": "none" - } - ], - "packageName": "@yume-chan/adb-scrcpy" -} \ No newline at end of file diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index 78f4c908..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0).", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-40.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-40.json deleted file mode 100644 index 62c39554..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-40.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Refactor `AdbSubprocessShellProtocol` class, this should improve some performance.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-41.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-41.json deleted file mode 100644 index 4f9f0fbb..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-41.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Split `mode` parameter in `AdbSync#write()` into `type` and `permission` for ease of use.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-42.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-42.json deleted file mode 100644 index 48459e40..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-42.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Add `AdbReverseCommand#addExternal()`. This only register the reverse tunnel to the device, the handler should already exists (for example you are adding a reverse tunnel for an external program that's already listening on the port). In ADB direct connection, this should do nothing, because the reverse tunnel is handled by this library and there is no mean of \"external\" handler.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-43.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-43.json deleted file mode 100644 index 45aa8d31..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-43.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Change `AdbTcpIpCommand#setPort` and `AdbTcpIpCommand#disable` to return or throw the response text. This can be displayed to the user to know what's wrong.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-44.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-44.json deleted file mode 100644 index e7ee4c6c..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-44.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Add support for connecting to ADB servers. Because a USB device can only be used by one process at a time, the ADB server is the process that manages all connected devices. The server proxies and multiplexes connections from ADB clients so multiple adb commands can be executed on one device at the same time. The `Adb` class is no longer responsible for connecting and authenticating with ADB daemons. The `AdbTransport` interface and its two implementations `AdbDaemonTransport` and `AdbServerTransport` was added to connect to either ADB daemons or servers in compatible environments. Read the PR for details, migration paths, and examples. ([#549](https://github.com/yume-chan/ya-webadb/pull/549))", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-45.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-45.json deleted file mode 100644 index 2ef1ff98..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-45.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Add `serial` field to `Adb` class.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-46.json b/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-46.json deleted file mode 100644 index db1bc752..00000000 --- a/common/changes/@yume-chan/adb/feat-scrcpy-1.26_2023-03-12-04-46.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/adb", - "comment": "Group `product`, `model`, `device` and `features` fields on `Adb` class to the `banner` field with type of `AdbBanner`.", - "type": "none" - } - ], - "packageName": "@yume-chan/adb" -} diff --git a/common/changes/@yume-chan/android-bin/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/android-bin/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index 236b44a2..00000000 --- a/common/changes/@yume-chan/android-bin/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/android-bin", - "comment": "", - "type": "none" - } - ], - "packageName": "@yume-chan/android-bin" -} \ No newline at end of file diff --git a/common/changes/@yume-chan/dataview-bigint-polyfill/feat-scrcpy-1.26_2023-03-18-16-23.json b/common/changes/@yume-chan/dataview-bigint-polyfill/feat-scrcpy-1.26_2023-03-18-16-23.json deleted file mode 100644 index 82e489e9..00000000 --- a/common/changes/@yume-chan/dataview-bigint-polyfill/feat-scrcpy-1.26_2023-03-18-16-23.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/dataview-bigint-polyfill", - "comment": "", - "type": "none" - } - ], - "packageName": "@yume-chan/dataview-bigint-polyfill" -} \ No newline at end of file diff --git a/common/changes/@yume-chan/event/feat-scrcpy-1.26_2023-03-18-16-23.json b/common/changes/@yume-chan/event/feat-scrcpy-1.26_2023-03-18-16-23.json deleted file mode 100644 index b351b5be..00000000 --- a/common/changes/@yume-chan/event/feat-scrcpy-1.26_2023-03-18-16-23.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/event", - "comment": "", - "type": "none" - } - ], - "packageName": "@yume-chan/event" -} \ No newline at end of file diff --git a/common/changes/@yume-chan/scrcpy-decoder-tinyh264/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/scrcpy-decoder-tinyh264/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index ce85b347..00000000 --- a/common/changes/@yume-chan/scrcpy-decoder-tinyh264/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/scrcpy-decoder-tinyh264", - "comment": "", - "type": "none" - } - ], - "packageName": "@yume-chan/scrcpy-decoder-tinyh264" -} \ No newline at end of file diff --git a/common/changes/@yume-chan/scrcpy-decoder-webcodecs/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/scrcpy-decoder-webcodecs/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index 02d5572b..00000000 --- a/common/changes/@yume-chan/scrcpy-decoder-webcodecs/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/scrcpy-decoder-webcodecs", - "comment": "Add support for decoding H.265 on supported browsers (Chrome works, Microsoft Edge with HEVC Video Extension from Microsoft Store doesn't decode H.265 correctly).", - "type": "none" - } - ], - "packageName": "@yume-chan/scrcpy-decoder-webcodecs" -} diff --git a/common/changes/@yume-chan/scrcpy/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/scrcpy/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index 280ade03..00000000 --- a/common/changes/@yume-chan/scrcpy/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/scrcpy", - "comment": "Add support for Scrcpy 2.0. New features including audio forwarding (supports PCM, AAC and OPUS encoding) and other video codecs (supports H.264 and H.265, AV1 not supported). Read the PR for new options and breaking changes. ([#495](https://github.com/yume-chan/ya-webadb/pull/495))", - "type": "none" - } - ], - "packageName": "@yume-chan/scrcpy" -} diff --git a/common/changes/@yume-chan/scrcpy/feat-scrcpy-1.26_2023-03-12-04-40.json b/common/changes/@yume-chan/scrcpy/feat-scrcpy-1.26_2023-03-12-04-40.json deleted file mode 100644 index eb930fc8..00000000 --- a/common/changes/@yume-chan/scrcpy/feat-scrcpy-1.26_2023-03-12-04-40.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/scrcpy", - "comment": "Move ADB related code to `@yume-chan/adb-scrcpy` package. This package now only implements the Scrcpy protocol.", - "type": "none" - } - ], - "packageName": "@yume-chan/scrcpy" -} diff --git a/common/changes/@yume-chan/stream-extra/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/stream-extra/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index fccd6308..00000000 --- a/common/changes/@yume-chan/stream-extra/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/stream-extra", - "comment": "Fix a bug where `BufferedReadableStream#release` might output duplicate data.", - "type": "none" - } - ], - "packageName": "@yume-chan/stream-extra" -} diff --git a/common/changes/@yume-chan/stream-extra/feat-scrcpy-1.26_2023-03-12-04-40.json b/common/changes/@yume-chan/stream-extra/feat-scrcpy-1.26_2023-03-12-04-40.json deleted file mode 100644 index e42bd795..00000000 --- a/common/changes/@yume-chan/stream-extra/feat-scrcpy-1.26_2023-03-12-04-40.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/stream-extra", - "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0).", - "type": "none" - } - ], - "packageName": "@yume-chan/stream-extra" -} diff --git a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-39.json b/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-39.json deleted file mode 100644 index c536efba..00000000 --- a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/struct", - "comment": "Rename `StructDeserializeStream` and `StructAsyncDeserializeStream` to `ExactReadable` and `AsyncExactReadable`. Rename its `read` method to `readExactly`. Add a `position` field so the caller can check how many bytes have been read.", - "type": "none" - } - ], - "packageName": "@yume-chan/struct" -} diff --git a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-40.json b/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-40.json deleted file mode 100644 index 456ef9fa..00000000 --- a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-40.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/struct", - "comment": "Improve performance for decoding integers.", - "type": "none" - } - ], - "packageName": "@yume-chan/struct" -} diff --git a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-41.json b/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-41.json deleted file mode 100644 index d6a114df..00000000 --- a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-41.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/struct", - "comment": "Rename `Struct#fields` to `Struct#concat`. Now `Struct#fields` returns an array of `[name: PropertyKey, definition: StructFieldDefinition]` tuples.", - "type": "none" - } - ], - "packageName": "@yume-chan/struct" -} diff --git a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-42.json b/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-42.json deleted file mode 100644 index bb8ab43f..00000000 --- a/common/changes/@yume-chan/struct/feat-scrcpy-1.26_2023-03-12-04-42.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@yume-chan/struct", - "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0).", - "type": "none" - } - ], - "packageName": "@yume-chan/struct" -} diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index 1417591b..5e83cf9e 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -89,7 +89,7 @@ { "definitionName": "lockStepVersion", "policyName": "adb", - "version": "0.0.19", + "version": "0.0.20", "nextBump": "patch" } ] diff --git a/libraries/adb-credential-web/CHANGELOG.json b/libraries/adb-credential-web/CHANGELOG.json index b17db073..2acfa840 100644 --- a/libraries/adb-credential-web/CHANGELOG.json +++ b/libraries/adb-credential-web/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@yume-chan/adb-credential-web", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/adb-credential-web_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": { + "none": [ + { + "comment": "Change `AdbWebCredentialStore` to save private keys in IndexedDB, so it can be used in Web Workers. Previously saved keys in `localStorage` will be ignored and a new key will be generated." + } + ] + } + }, { "version": "0.0.19", "tag": "@yume-chan/adb-credential-web_v0.0.19", diff --git a/libraries/adb-credential-web/CHANGELOG.md b/libraries/adb-credential-web/CHANGELOG.md index d5c60248..b2a61831 100644 --- a/libraries/adb-credential-web/CHANGELOG.md +++ b/libraries/adb-credential-web/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @yume-chan/adb-credential-web -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +### Updates + +- Change `AdbWebCredentialStore` to save private keys in IndexedDB, so it can be used in Web Workers. Previously saved keys in `localStorage` will be ignored and a new key will be generated. ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/adb-credential-web/package.json b/libraries/adb-credential-web/package.json index cf3319f8..84ee41c5 100644 --- a/libraries/adb-credential-web/package.json +++ b/libraries/adb-credential-web/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/adb-credential-web", - "version": "0.0.19", + "version": "0.0.20", "description": "Credential Store for `@yume-chan/adb` using Web LocalStorage API.", "keywords": [ "adb" @@ -30,7 +30,7 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@yume-chan/adb": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/adb-daemon-direct-sockets/package.json b/libraries/adb-daemon-direct-sockets/package.json index d09f62d2..f3af55a8 100644 --- a/libraries/adb-daemon-direct-sockets/package.json +++ b/libraries/adb-daemon-direct-sockets/package.json @@ -32,8 +32,8 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/adb-daemon-webusb/CHANGELOG.json b/libraries/adb-daemon-webusb/CHANGELOG.json index 9975168c..8567e3fc 100644 --- a/libraries/adb-daemon-webusb/CHANGELOG.json +++ b/libraries/adb-daemon-webusb/CHANGELOG.json @@ -1,133 +1,157 @@ { - "name": "@yume-chan/adb-daemon-webusb", - "entries": [ - { - "version": "0.0.19", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.19", - "date": "Sun, 09 Apr 2023 05:55:33 GMT", - "comments": { - "none": [ - { - "comment": "Remove stream queuing" - }, - { - "comment": "Add the `AdbWebUsbBackendManager` class to simplify the usage with custom WebUSB implementations (for example the `usb` NPM package)." - } - ] - } - }, - { - "version": "0.0.18", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.18", - "date": "Wed, 25 Jan 2023 21:33:49 GMT", - "comments": { - "none": [ - { - "comment": "Add an option to specify USB filters" - } - ] - } - }, - { - "version": "0.0.17", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.17", - "date": "Tue, 18 Oct 2022 09:32:30 GMT", - "comments": { - "none": [ - { - "comment": "Update to use new stream util package" - } - ] - } - }, - { - "version": "0.0.16", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.16", - "date": "Sat, 28 May 2022 03:56:37 GMT", - "comments": { - "none": [ - { - "comment": "Upgrade TypeScript to 4.7.2 to enable Node.js ESM" - } - ] - } - }, - { - "version": "0.0.15", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.15", - "date": "Mon, 02 May 2022 04:18:01 GMT", - "comments": { - "none": [ - { - "comment": "Improve connection lifecycle handling" - } - ] - } - }, - { - "version": "0.0.14", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.14", - "date": "Sat, 30 Apr 2022 14:05:48 GMT", - "comments": {} - }, - { - "version": "0.0.13", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.13", - "date": "Thu, 28 Apr 2022 01:23:53 GMT", - "comments": { - "none": [ - { - "comment": "Workaround an issue in Chrome where `transferIn` never returns `babble` on Windows" - } - ] - } - }, - { - "version": "0.0.12", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.12", - "date": "Sun, 03 Apr 2022 11:18:47 GMT", - "comments": {} - }, - { - "version": "0.0.11", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.11", - "date": "Sun, 03 Apr 2022 10:54:15 GMT", - "comments": { - "none": [ - { - "comment": "Update to use Web Streams API" - }, - { - "comment": "Improve compatibility with Node.js 12 ESM format" - }, - { - "comment": "Update license year" - } - ], - "dependency": [ - { - "comment": "Updating dependency \"@yume-chan/adb\" from `^0.0.10` to `^0.0.11`" - } - ] - } - }, - { - "version": "0.0.10", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.10", - "date": "Sun, 09 Jan 2022 15:52:20 GMT", - "comments": { - "none": [ - { - "comment": "Remove `encodeUtf8()` and `decodeUtf8()` from `AdbBackend`" - } - ] - } - }, - { - "version": "0.0.9", - "tag": "@yume-chan/adb-daemon-webusb_v0.0.9", - "date": "Sun, 09 Jan 2022 15:50:20 GMT", - "comments": {} - } - ] + "name": "@yume-chan/adb-daemon-webusb", + "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": { + "none": [ + { + "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0)." + }, + { + "comment": "Rename package to `@yume-chan/adb-daemon-webusb` following the renaming of `AdbDaemonTransport`." + }, + { + "comment": "Rename `AdbWebUsbBackend` to `AdbDaemonWebUsbDevice` following the renaming of `AdbDaemonTransport`." + }, + { + "comment": "Add Support for detecting device disconnects. It no longer throws an `NetworkError` when the device is disconnected." + }, + { + "comment": "Add `filters` parameter to `AdbDaemonWebUsbDeviceManager#getDevices`. The filtration is manually implemented because WebUSB's `getDevice` API doesn't support filters." + } + ] + } + }, + { + "version": "0.0.19", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.19", + "date": "Sun, 09 Apr 2023 05:55:33 GMT", + "comments": { + "none": [ + { + "comment": "Remove stream queuing" + }, + { + "comment": "Add the `AdbWebUsbBackendManager` class to simplify the usage with custom WebUSB implementations (for example the `usb` NPM package)." + } + ] + } + }, + { + "version": "0.0.18", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.18", + "date": "Wed, 25 Jan 2023 21:33:49 GMT", + "comments": { + "none": [ + { + "comment": "Add an option to specify USB filters" + } + ] + } + }, + { + "version": "0.0.17", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.17", + "date": "Tue, 18 Oct 2022 09:32:30 GMT", + "comments": { + "none": [ + { + "comment": "Update to use new stream util package" + } + ] + } + }, + { + "version": "0.0.16", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.16", + "date": "Sat, 28 May 2022 03:56:37 GMT", + "comments": { + "none": [ + { + "comment": "Upgrade TypeScript to 4.7.2 to enable Node.js ESM" + } + ] + } + }, + { + "version": "0.0.15", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.15", + "date": "Mon, 02 May 2022 04:18:01 GMT", + "comments": { + "none": [ + { + "comment": "Improve connection lifecycle handling" + } + ] + } + }, + { + "version": "0.0.14", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.14", + "date": "Sat, 30 Apr 2022 14:05:48 GMT", + "comments": {} + }, + { + "version": "0.0.13", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.13", + "date": "Thu, 28 Apr 2022 01:23:53 GMT", + "comments": { + "none": [ + { + "comment": "Workaround an issue in Chrome where `transferIn` never returns `babble` on Windows" + } + ] + } + }, + { + "version": "0.0.12", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.12", + "date": "Sun, 03 Apr 2022 11:18:47 GMT", + "comments": {} + }, + { + "version": "0.0.11", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.11", + "date": "Sun, 03 Apr 2022 10:54:15 GMT", + "comments": { + "none": [ + { + "comment": "Update to use Web Streams API" + }, + { + "comment": "Improve compatibility with Node.js 12 ESM format" + }, + { + "comment": "Update license year" + } + ], + "dependency": [ + { + "comment": "Updating dependency \"@yume-chan/adb\" from `^0.0.10` to `^0.0.11`" + } + ] + } + }, + { + "version": "0.0.10", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.10", + "date": "Sun, 09 Jan 2022 15:52:20 GMT", + "comments": { + "none": [ + { + "comment": "Remove `encodeUtf8()` and `decodeUtf8()` from `AdbBackend`" + } + ] + } + }, + { + "version": "0.0.9", + "tag": "@yume-chan/adb-daemon-webusb_v0.0.9", + "date": "Sun, 09 Jan 2022 15:50:20 GMT", + "comments": {} + } + ] } diff --git a/libraries/adb-daemon-webusb/CHANGELOG.md b/libraries/adb-daemon-webusb/CHANGELOG.md index 537ef8fd..86f00cd3 100644 --- a/libraries/adb-daemon-webusb/CHANGELOG.md +++ b/libraries/adb-daemon-webusb/CHANGELOG.md @@ -1,88 +1,89 @@ # Change Log - @yume-chan/adb-daemon-webusb -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +### Updates + +- Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0). +- Rename package to `@yume-chan/adb-daemon-webusb` following the renaming of `AdbDaemonTransport`. +- Rename `AdbWebUsbBackend` to `AdbDaemonWebUsbDevice` following the renaming of `AdbDaemonTransport`. +- Add Support for detecting device disconnects. It no longer throws an `NetworkError` when the device is disconnected. +- Add `filters` parameter to `AdbDaemonWebUsbDeviceManager#getDevices`. The filtration is manually implemented because WebUSB's `getDevice` API doesn't support filters. ## 0.0.19 - Sun, 09 Apr 2023 05:55:33 GMT ### Updates -- Remove stream queuing -- Add the `AdbWebUsbBackendManager` class to simplify the usage with custom WebUSB implementations (for example the `usb` NPM package). +- Remove stream queuing +- Add the `AdbWebUsbBackendManager` class to simplify the usage with custom WebUSB implementations (for example the `usb` NPM package). ## 0.0.18 - Wed, 25 Jan 2023 21:33:49 GMT ### Updates -- Add an option to specify USB filters +- Add an option to specify USB filters ## 0.0.17 - Tue, 18 Oct 2022 09:32:30 GMT ### Updates -- Update to use new stream util package +- Update to use new stream util package ## 0.0.16 - Sat, 28 May 2022 03:56:37 GMT ### Updates -- Upgrade TypeScript to 4.7.2 to enable Node.js ESM +- Upgrade TypeScript to 4.7.2 to enable Node.js ESM ## 0.0.15 - Mon, 02 May 2022 04:18:01 GMT ### Updates -- Improve connection lifecycle handling +- Improve connection lifecycle handling ## 0.0.14 - Sat, 30 Apr 2022 14:05:48 GMT _Version update only_ ## 0.0.13 - Thu, 28 Apr 2022 01:23:53 GMT ### Updates -- Workaround an issue in Chrome where `transferIn` never returns `babble` on Windows +- Workaround an issue in Chrome where `transferIn` never returns `babble` on Windows ## 0.0.12 - Sun, 03 Apr 2022 11:18:47 GMT _Version update only_ ## 0.0.11 - Sun, 03 Apr 2022 10:54:15 GMT ### Updates -- Update to use Web Streams API -- Improve compatibility with Node.js 12 ESM format -- Update license year +- Update to use Web Streams API +- Improve compatibility with Node.js 12 ESM format +- Update license year ## 0.0.10 - Sun, 09 Jan 2022 15:52:20 GMT ### Updates -- Remove `encodeUtf8()` and `decodeUtf8()` from `AdbBackend` +- Remove `encodeUtf8()` and `decodeUtf8()` from `AdbBackend` ## 0.0.9 - Sun, 09 Jan 2022 15:50:20 GMT _Initial release_ + diff --git a/libraries/adb-daemon-webusb/package.json b/libraries/adb-daemon-webusb/package.json index d0b39373..cc4a038f 100644 --- a/libraries/adb-daemon-webusb/package.json +++ b/libraries/adb-daemon-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/adb-daemon-webusb", - "version": "0.0.19", + "version": "0.0.20", "description": "Adb daemon transport connection for `@yume-chan/adb` using WebUSB API.", "keywords": [ "webusb", @@ -32,9 +32,9 @@ }, "dependencies": { "@types/w3c-web-usb": "^1.0.6", - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", + "@yume-chan/struct": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/adb-daemon-ws/package.json b/libraries/adb-daemon-ws/package.json index 1860615a..73e42b5b 100644 --- a/libraries/adb-daemon-ws/package.json +++ b/libraries/adb-daemon-ws/package.json @@ -31,8 +31,8 @@ "lint": "eslint src/**/*.ts --fix" }, "dependencies": { - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/adb-scrcpy/CHANGELOG.json b/libraries/adb-scrcpy/CHANGELOG.json new file mode 100644 index 00000000..bbdc47d7 --- /dev/null +++ b/libraries/adb-scrcpy/CHANGELOG.json @@ -0,0 +1,11 @@ +{ + "name": "@yume-chan/adb-scrcpy", + "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/adb-scrcpy_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + } + ] +} diff --git a/libraries/adb-scrcpy/CHANGELOG.md b/libraries/adb-scrcpy/CHANGELOG.md new file mode 100644 index 00000000..2cec0c2f --- /dev/null +++ b/libraries/adb-scrcpy/CHANGELOG.md @@ -0,0 +1,9 @@ +# Change Log - @yume-chan/adb-scrcpy + +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Initial release_ + diff --git a/libraries/adb-scrcpy/package.json b/libraries/adb-scrcpy/package.json index fd0abce2..bc983d43 100644 --- a/libraries/adb-scrcpy/package.json +++ b/libraries/adb-scrcpy/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/adb-scrcpy", - "version": "0.0.19", + "version": "0.0.20", "description": "Use `@yume-chan/adb` to bootstrap `@yume-chan/scrcpy`.", "keywords": [ "adb", @@ -33,12 +33,12 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@yume-chan/adb": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", "@yume-chan/async": "^2.2.0", - "@yume-chan/event": "workspace:^0.0.19", - "@yume-chan/scrcpy": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/event": "workspace:^0.0.20", + "@yume-chan/scrcpy": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", + "@yume-chan/struct": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/adb-server-node-tcp/package.json b/libraries/adb-server-node-tcp/package.json index df764f63..990716c2 100644 --- a/libraries/adb-server-node-tcp/package.json +++ b/libraries/adb-server-node-tcp/package.json @@ -33,9 +33,9 @@ "lint": "eslint src/**/*.ts --fix" }, "dependencies": { - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", + "@yume-chan/struct": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/adb/CHANGELOG.json b/libraries/adb/CHANGELOG.json index 483c001c..cf8e44eb 100644 --- a/libraries/adb/CHANGELOG.json +++ b/libraries/adb/CHANGELOG.json @@ -1,6 +1,39 @@ { "name": "@yume-chan/adb", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/adb_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": { + "none": [ + { + "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0)." + }, + { + "comment": "Refactor `AdbSubprocessShellProtocol` class, this should improve some performance." + }, + { + "comment": "Split `mode` parameter in `AdbSync#write()` into `type` and `permission` for ease of use." + }, + { + "comment": "Add `AdbReverseCommand#addExternal()`. This only register the reverse tunnel to the device, the handler should already exists (for example you are adding a reverse tunnel for an external program that's already listening on the port). In ADB direct connection, this should do nothing, because the reverse tunnel is handled by this library and there is no mean of \"external\" handler." + }, + { + "comment": "Change `AdbTcpIpCommand#setPort` and `AdbTcpIpCommand#disable` to return or throw the response text. This can be displayed to the user to know what's wrong." + }, + { + "comment": "Add support for connecting to ADB servers. Because a USB device can only be used by one process at a time, the ADB server is the process that manages all connected devices. The server proxies and multiplexes connections from ADB clients so multiple adb commands can be executed on one device at the same time. The `Adb` class is no longer responsible for connecting and authenticating with ADB daemons. The `AdbTransport` interface and its two implementations `AdbDaemonTransport` and `AdbServerTransport` was added to connect to either ADB daemons or servers in compatible environments. Read the PR for details, migration paths, and examples. ([#549](https://github.com/yume-chan/ya-webadb/pull/549))" + }, + { + "comment": "Add `serial` field to `Adb` class." + }, + { + "comment": "Group `product`, `model`, `device` and `features` fields on `Adb` class to the `banner` field with type of `AdbBanner`." + } + ] + } + }, { "version": "0.0.19", "tag": "@yume-chan/adb_v0.0.19", diff --git a/libraries/adb/CHANGELOG.md b/libraries/adb/CHANGELOG.md index 21492f63..5b16bb7a 100644 --- a/libraries/adb/CHANGELOG.md +++ b/libraries/adb/CHANGELOG.md @@ -1,6 +1,20 @@ # Change Log - @yume-chan/adb -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +### Updates + +- Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0). +- Refactor `AdbSubprocessShellProtocol` class, this should improve some performance. +- Split `mode` parameter in `AdbSync#write()` into `type` and `permission` for ease of use. +- Add `AdbReverseCommand#addExternal()`. This only register the reverse tunnel to the device, the handler should already exists (for example you are adding a reverse tunnel for an external program that's already listening on the port). In ADB direct connection, this should do nothing, because the reverse tunnel is handled by this library and there is no mean of "external" handler. +- Change `AdbTcpIpCommand#setPort` and `AdbTcpIpCommand#disable` to return or throw the response text. This can be displayed to the user to know what's wrong. +- Add support for connecting to ADB servers. Because a USB device can only be used by one process at a time, the ADB server is the process that manages all connected devices. The server proxies and multiplexes connections from ADB clients so multiple adb commands can be executed on one device at the same time. The `Adb` class is no longer responsible for connecting and authenticating with ADB daemons. The `AdbTransport` interface and its two implementations `AdbDaemonTransport` and `AdbServerTransport` was added to connect to either ADB daemons or servers in compatible environments. Read the PR for details, migration paths, and examples. ([#549](https://github.com/yume-chan/ya-webadb/pull/549)) +- Add `serial` field to `Adb` class. +- Group `product`, `model`, `device` and `features` fields on `Adb` class to the `banner` field with type of `AdbBanner`. ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/adb/package.json b/libraries/adb/package.json index 3385ca16..e8c74be3 100644 --- a/libraries/adb/package.json +++ b/libraries/adb/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/adb", - "version": "0.0.19", + "version": "0.0.20", "description": "TypeScript implementation of Android Debug Bridge (ADB) protocol.", "keywords": [ "adb", @@ -33,10 +33,10 @@ }, "dependencies": { "@yume-chan/async": "^2.2.0", - "@yume-chan/dataview-bigint-polyfill": "workspace:^0.0.19", - "@yume-chan/event": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/dataview-bigint-polyfill": "workspace:^0.0.20", + "@yume-chan/event": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", + "@yume-chan/struct": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/android-bin/CHANGELOG.json b/libraries/android-bin/CHANGELOG.json index dc088c01..2c75518a 100644 --- a/libraries/android-bin/CHANGELOG.json +++ b/libraries/android-bin/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@yume-chan/android-bin", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/android-bin_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + }, { "version": "0.0.19", "tag": "@yume-chan/android-bin_v0.0.19", diff --git a/libraries/android-bin/CHANGELOG.md b/libraries/android-bin/CHANGELOG.md index 74e40fd6..7d0a026b 100644 --- a/libraries/android-bin/CHANGELOG.md +++ b/libraries/android-bin/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @yume-chan/android-bin -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Version update only_ ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/android-bin/package.json b/libraries/android-bin/package.json index d40ae7de..dd1fa9bf 100644 --- a/libraries/android-bin/package.json +++ b/libraries/android-bin/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/android-bin", - "version": "0.0.19", + "version": "0.0.20", "description": "Wrappers for Android built-in executables.", "keywords": [ "adb", @@ -31,9 +31,9 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", + "@yume-chan/struct": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/aoa/CHANGELOG.json b/libraries/aoa/CHANGELOG.json new file mode 100644 index 00000000..b3d7b354 --- /dev/null +++ b/libraries/aoa/CHANGELOG.json @@ -0,0 +1,11 @@ +{ + "name": "@yume-chan/aoa", + "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/aoa_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + } + ] +} diff --git a/libraries/aoa/CHANGELOG.md b/libraries/aoa/CHANGELOG.md new file mode 100644 index 00000000..574da32b --- /dev/null +++ b/libraries/aoa/CHANGELOG.md @@ -0,0 +1,9 @@ +# Change Log - @yume-chan/aoa + +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Initial release_ + diff --git a/libraries/aoa/package.json b/libraries/aoa/package.json index 3312fd1a..7dd48562 100644 --- a/libraries/aoa/package.json +++ b/libraries/aoa/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/aoa", - "version": "0.0.19", + "version": "0.0.20", "description": "TypeScript implementation of Android Open Accessory protocol.", "keywords": [ "adb", diff --git a/libraries/b-tree/CHANGELOG.json b/libraries/b-tree/CHANGELOG.json new file mode 100644 index 00000000..9fec8dfe --- /dev/null +++ b/libraries/b-tree/CHANGELOG.json @@ -0,0 +1,11 @@ +{ + "name": "@yume-chan/b-tree", + "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/b-tree_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + } + ] +} diff --git a/libraries/b-tree/CHANGELOG.md b/libraries/b-tree/CHANGELOG.md new file mode 100644 index 00000000..855eab0d --- /dev/null +++ b/libraries/b-tree/CHANGELOG.md @@ -0,0 +1,9 @@ +# Change Log - @yume-chan/b-tree + +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Initial release_ + diff --git a/libraries/b-tree/package.json b/libraries/b-tree/package.json index ea07c04b..dc6edc23 100644 --- a/libraries/b-tree/package.json +++ b/libraries/b-tree/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/b-tree", - "version": "0.0.19", + "version": "0.0.20", "description": "A B-tree implementation in TypeScript", "keywords": [ "data-structure", diff --git a/libraries/dataview-bigint-polyfill/CHANGELOG.json b/libraries/dataview-bigint-polyfill/CHANGELOG.json index 4a59cef2..e023e953 100644 --- a/libraries/dataview-bigint-polyfill/CHANGELOG.json +++ b/libraries/dataview-bigint-polyfill/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@yume-chan/dataview-bigint-polyfill", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/dataview-bigint-polyfill_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + }, { "version": "0.0.19", "tag": "@yume-chan/dataview-bigint-polyfill_v0.0.19", diff --git a/libraries/dataview-bigint-polyfill/CHANGELOG.md b/libraries/dataview-bigint-polyfill/CHANGELOG.md index af72ea02..501027d1 100644 --- a/libraries/dataview-bigint-polyfill/CHANGELOG.md +++ b/libraries/dataview-bigint-polyfill/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @yume-chan/dataview-bigint-polyfill -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Version update only_ ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/dataview-bigint-polyfill/package.json b/libraries/dataview-bigint-polyfill/package.json index 0b77c82c..c974b615 100644 --- a/libraries/dataview-bigint-polyfill/package.json +++ b/libraries/dataview-bigint-polyfill/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/dataview-bigint-polyfill", - "version": "0.0.19", + "version": "0.0.20", "description": "Polyfill for `DataView#getBigInt64`, `DataView#getBigUint64`, `DataView#setBigInt64` and `DataView#setBigUint64`", "keywords": [ "polyfill", diff --git a/libraries/event/CHANGELOG.json b/libraries/event/CHANGELOG.json index a790c410..0c35bf49 100644 --- a/libraries/event/CHANGELOG.json +++ b/libraries/event/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@yume-chan/event", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/event_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + }, { "version": "0.0.19", "tag": "@yume-chan/event_v0.0.19", diff --git a/libraries/event/CHANGELOG.md b/libraries/event/CHANGELOG.md index bb299963..e6767816 100644 --- a/libraries/event/CHANGELOG.md +++ b/libraries/event/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @yume-chan/event -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Version update only_ ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/event/package.json b/libraries/event/package.json index 67d19bb1..e4abcdd7 100644 --- a/libraries/event/package.json +++ b/libraries/event/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/event", - "version": "0.0.19", + "version": "0.0.20", "description": "Event/EventEmitter", "keywords": [ "event", diff --git a/libraries/pcm-player/CHANGELOG.json b/libraries/pcm-player/CHANGELOG.json new file mode 100644 index 00000000..5cc59aab --- /dev/null +++ b/libraries/pcm-player/CHANGELOG.json @@ -0,0 +1,11 @@ +{ + "name": "@yume-chan/pcm-player", + "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/pcm-player_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + } + ] +} diff --git a/libraries/pcm-player/CHANGELOG.md b/libraries/pcm-player/CHANGELOG.md new file mode 100644 index 00000000..204fe1f9 --- /dev/null +++ b/libraries/pcm-player/CHANGELOG.md @@ -0,0 +1,9 @@ +# Change Log - @yume-chan/pcm-player + +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Initial release_ + diff --git a/libraries/pcm-player/package.json b/libraries/pcm-player/package.json index e4068098..62627032 100644 --- a/libraries/pcm-player/package.json +++ b/libraries/pcm-player/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/pcm-player", - "version": "0.0.19", + "version": "0.0.20", "description": "Play raw audio sample stream using Web Audio API", "keywords": [ "audio" diff --git a/libraries/scrcpy-decoder-tinyh264/CHANGELOG.json b/libraries/scrcpy-decoder-tinyh264/CHANGELOG.json index 270dfc07..e876e256 100644 --- a/libraries/scrcpy-decoder-tinyh264/CHANGELOG.json +++ b/libraries/scrcpy-decoder-tinyh264/CHANGELOG.json @@ -1,6 +1,12 @@ { "name": "@yume-chan/scrcpy-decoder-tinyh264", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/scrcpy-decoder-tinyh264_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": {} + }, { "version": "0.0.19", "tag": "@yume-chan/scrcpy-decoder-tinyh264_v0.0.19", diff --git a/libraries/scrcpy-decoder-tinyh264/CHANGELOG.md b/libraries/scrcpy-decoder-tinyh264/CHANGELOG.md index 4cc833af..134e2566 100644 --- a/libraries/scrcpy-decoder-tinyh264/CHANGELOG.md +++ b/libraries/scrcpy-decoder-tinyh264/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log - @yume-chan/scrcpy-decoder-tinyh264 -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +_Version update only_ ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/scrcpy-decoder-tinyh264/package.json b/libraries/scrcpy-decoder-tinyh264/package.json index 0a9841f4..ae2c9ef7 100644 --- a/libraries/scrcpy-decoder-tinyh264/package.json +++ b/libraries/scrcpy-decoder-tinyh264/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/scrcpy-decoder-tinyh264", - "version": "0.0.19", + "version": "0.0.20", "description": "Raw H.264 stream decoder and renderer wrapping TinyH264 and YUVCanvas packages (software decoding).", "keywords": [ "adb", @@ -35,9 +35,9 @@ }, "dependencies": { "@yume-chan/async": "^2.2.0", - "@yume-chan/event": "workspace:^0.0.19", - "@yume-chan/scrcpy": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/event": "workspace:^0.0.20", + "@yume-chan/scrcpy": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", "tinyh264": "^0.0.7", "tslib": "^2.5.2", "yuv-buffer": "^1.0.0", diff --git a/libraries/scrcpy-decoder-webcodecs/CHANGELOG.json b/libraries/scrcpy-decoder-webcodecs/CHANGELOG.json index 00131e99..c71cff4f 100644 --- a/libraries/scrcpy-decoder-webcodecs/CHANGELOG.json +++ b/libraries/scrcpy-decoder-webcodecs/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@yume-chan/scrcpy-decoder-webcodecs", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/scrcpy-decoder-webcodecs_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": { + "none": [ + { + "comment": "Add support for decoding H.265 on supported browsers (Chrome works, Microsoft Edge with HEVC Video Extension from Microsoft Store doesn't decode H.265 correctly)." + } + ] + } + }, { "version": "0.0.19", "tag": "@yume-chan/scrcpy-decoder-webcodecs_v0.0.19", diff --git a/libraries/scrcpy-decoder-webcodecs/CHANGELOG.md b/libraries/scrcpy-decoder-webcodecs/CHANGELOG.md index 11e8f02c..f0da8614 100644 --- a/libraries/scrcpy-decoder-webcodecs/CHANGELOG.md +++ b/libraries/scrcpy-decoder-webcodecs/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @yume-chan/scrcpy-decoder-webcodecs -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +### Updates + +- Add support for decoding H.265 on supported browsers (Chrome works, Microsoft Edge with HEVC Video Extension from Microsoft Store doesn't decode H.265 correctly). ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/scrcpy-decoder-webcodecs/package.json b/libraries/scrcpy-decoder-webcodecs/package.json index 0a3bfd65..adc95193 100644 --- a/libraries/scrcpy-decoder-webcodecs/package.json +++ b/libraries/scrcpy-decoder-webcodecs/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/scrcpy-decoder-webcodecs", - "version": "0.0.19", + "version": "0.0.20", "description": "Raw H.264 stream decoder and renderer using WebCodecs API (requires modern browser).", "keywords": [ "adb", @@ -35,9 +35,9 @@ }, "dependencies": { "@types/dom-webcodecs": "^0.1.6", - "@yume-chan/scrcpy": "workspace:^0.0.19", - "@yume-chan/scrcpy-decoder-tinyh264": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/scrcpy": "workspace:^0.0.20", + "@yume-chan/scrcpy-decoder-tinyh264": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/scrcpy/CHANGELOG.json b/libraries/scrcpy/CHANGELOG.json index 1f2ef295..eb616d77 100644 --- a/libraries/scrcpy/CHANGELOG.json +++ b/libraries/scrcpy/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@yume-chan/scrcpy", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/scrcpy_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": { + "none": [ + { + "comment": "Add support for Scrcpy 2.0. New features including audio forwarding (supports PCM, AAC and OPUS encoding) and other video codecs (supports H.264 and H.265, AV1 not supported). Read the PR for new options and breaking changes. ([#495](https://github.com/yume-chan/ya-webadb/pull/495))" + }, + { + "comment": "Move ADB related code to `@yume-chan/adb-scrcpy` package. This package now only implements the Scrcpy protocol." + } + ] + } + }, { "version": "0.0.19", "tag": "@yume-chan/scrcpy_v0.0.19", diff --git a/libraries/scrcpy/CHANGELOG.md b/libraries/scrcpy/CHANGELOG.md index baffc3c2..cdd7661c 100644 --- a/libraries/scrcpy/CHANGELOG.md +++ b/libraries/scrcpy/CHANGELOG.md @@ -1,6 +1,14 @@ # Change Log - @yume-chan/scrcpy -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +### Updates + +- Add support for Scrcpy 2.0. New features including audio forwarding (supports PCM, AAC and OPUS encoding) and other video codecs (supports H.264 and H.265, AV1 not supported). Read the PR for new options and breaking changes. ([#495](https://github.com/yume-chan/ya-webadb/pull/495)) +- Move ADB related code to `@yume-chan/adb-scrcpy` package. This package now only implements the Scrcpy protocol. ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/scrcpy/package.json b/libraries/scrcpy/package.json index ba2168dc..399be94a 100644 --- a/libraries/scrcpy/package.json +++ b/libraries/scrcpy/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/scrcpy", - "version": "0.0.19", + "version": "0.0.20", "description": "TypeScript implementation of Scrcpy.", "keywords": [ "adb", @@ -36,8 +36,8 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@yume-chan/stream-extra": "workspace:^0.0.19", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/stream-extra": "workspace:^0.0.20", + "@yume-chan/struct": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/stream-extra/CHANGELOG.json b/libraries/stream-extra/CHANGELOG.json index e8a5b9bc..5401ba2e 100644 --- a/libraries/stream-extra/CHANGELOG.json +++ b/libraries/stream-extra/CHANGELOG.json @@ -1,35 +1,50 @@ { - "name": "@yume-chan/stream-extra", - "entries": [ - { - "version": "0.0.19", - "tag": "@yume-chan/stream-extra_v0.0.19", - "date": "Sun, 09 Apr 2023 05:55:33 GMT", - "comments": { - "none": [ - { - "comment": "Add an option to combine small chunks into target size in `ChunkStream`, and rename it to `DistributionStream`" - } - ] - } - }, - { - "version": "0.0.18", - "tag": "@yume-chan/stream-extra_v0.0.18", - "date": "Wed, 25 Jan 2023 21:33:49 GMT", - "comments": { - "none": [ - { - "comment": "Change to load native Web Streams API implementation from `globalThis` if available" - } - ] - } - }, - { - "version": "0.0.17", - "tag": "@yume-chan/stream-extra_v0.0.17", - "date": "Tue, 18 Oct 2022 09:32:30 GMT", - "comments": {} - } - ] + "name": "@yume-chan/stream-extra", + "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/stream-extra_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": { + "none": [ + { + "comment": "Fix a bug where `BufferedReadableStream#release` might output duplicate data." + }, + { + "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0)." + } + ] + } + }, + { + "version": "0.0.19", + "tag": "@yume-chan/stream-extra_v0.0.19", + "date": "Sun, 09 Apr 2023 05:55:33 GMT", + "comments": { + "none": [ + { + "comment": "Add an option to combine small chunks into target size in `ChunkStream`, and rename it to `DistributionStream`" + } + ] + } + }, + { + "version": "0.0.18", + "tag": "@yume-chan/stream-extra_v0.0.18", + "date": "Wed, 25 Jan 2023 21:33:49 GMT", + "comments": { + "none": [ + { + "comment": "Change to load native Web Streams API implementation from `globalThis` if available" + } + ] + } + }, + { + "version": "0.0.17", + "tag": "@yume-chan/stream-extra_v0.0.17", + "date": "Tue, 18 Oct 2022 09:32:30 GMT", + "comments": {} + } + ] } diff --git a/libraries/stream-extra/CHANGELOG.md b/libraries/stream-extra/CHANGELOG.md index b67b8f27..d18a2468 100644 --- a/libraries/stream-extra/CHANGELOG.md +++ b/libraries/stream-extra/CHANGELOG.md @@ -1,6 +1,14 @@ # Change Log - @yume-chan/stream-extra -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +### Updates + +- Fix a bug where `BufferedReadableStream#release` might output duplicate data. +- Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0). ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT @@ -20,3 +28,4 @@ Wed, 25 Jan 2023 21:33:49 GMT Tue, 18 Oct 2022 09:32:30 GMT _Initial release_ + diff --git a/libraries/stream-extra/package.json b/libraries/stream-extra/package.json index fdd811c7..9fd7e480 100644 --- a/libraries/stream-extra/package.json +++ b/libraries/stream-extra/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/stream-extra", - "version": "0.0.19", + "version": "0.0.20", "description": "Extensions to Web Streams API", "keywords": [ "stream", @@ -33,7 +33,7 @@ }, "dependencies": { "@yume-chan/async": "^2.2.0", - "@yume-chan/struct": "workspace:^0.0.19", + "@yume-chan/struct": "workspace:^0.0.20", "tslib": "^2.5.2", "web-streams-polyfill": "^4.0.0-beta.3" }, diff --git a/libraries/struct/CHANGELOG.json b/libraries/struct/CHANGELOG.json index 82f9f423..fb83382c 100644 --- a/libraries/struct/CHANGELOG.json +++ b/libraries/struct/CHANGELOG.json @@ -1,6 +1,27 @@ { "name": "@yume-chan/struct", "entries": [ + { + "version": "0.0.20", + "tag": "@yume-chan/struct_v0.0.20", + "date": "Mon, 05 Jun 2023 02:51:41 GMT", + "comments": { + "none": [ + { + "comment": "Rename `StructDeserializeStream` and `StructAsyncDeserializeStream` to `ExactReadable` and `AsyncExactReadable`. Rename its `read` method to `readExactly`. Add a `position` field so the caller can check how many bytes have been read." + }, + { + "comment": "Improve performance for decoding integers." + }, + { + "comment": "Rename `Struct#fields` to `Struct#concat`. Now `Struct#fields` returns an array of `[name: PropertyKey, definition: StructFieldDefinition]` tuples." + }, + { + "comment": "Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0)." + } + ] + } + }, { "version": "0.0.19", "tag": "@yume-chan/struct_v0.0.19", diff --git a/libraries/struct/CHANGELOG.md b/libraries/struct/CHANGELOG.md index aa45872a..aa0797a8 100644 --- a/libraries/struct/CHANGELOG.md +++ b/libraries/struct/CHANGELOG.md @@ -1,6 +1,16 @@ # Change Log - @yume-chan/struct -This log was last generated on Sun, 09 Apr 2023 05:55:33 GMT and should not be manually modified. +This log was last generated on Mon, 05 Jun 2023 02:51:41 GMT and should not be manually modified. + +## 0.0.20 +Mon, 05 Jun 2023 02:51:41 GMT + +### Updates + +- Rename `StructDeserializeStream` and `StructAsyncDeserializeStream` to `ExactReadable` and `AsyncExactReadable`. Rename its `read` method to `readExactly`. Add a `position` field so the caller can check how many bytes have been read. +- Improve performance for decoding integers. +- Rename `Struct#fields` to `Struct#concat`. Now `Struct#fields` returns an array of `[name: PropertyKey, definition: StructFieldDefinition]` tuples. +- Use ECMAScript private class fields syntax (supported by Chrome 74, Firefox 90, Safari 14.1 and Node.js 12.0.0). ## 0.0.19 Sun, 09 Apr 2023 05:55:33 GMT diff --git a/libraries/struct/package.json b/libraries/struct/package.json index 7b613699..8d1cb90c 100644 --- a/libraries/struct/package.json +++ b/libraries/struct/package.json @@ -1,6 +1,6 @@ { "name": "@yume-chan/struct", - "version": "0.0.19", + "version": "0.0.20", "description": "C-style structure serializer and deserializer.", "keywords": [ "structure", @@ -34,7 +34,7 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@yume-chan/dataview-bigint-polyfill": "workspace:^0.0.19", + "@yume-chan/dataview-bigint-polyfill": "workspace:^0.0.20", "tslib": "^2.5.2" }, "devDependencies": { diff --git a/libraries/tabby-launcher/package.json b/libraries/tabby-launcher/package.json index c5410bcc..d58d62da 100644 --- a/libraries/tabby-launcher/package.json +++ b/libraries/tabby-launcher/package.json @@ -13,9 +13,9 @@ "@ng-bootstrap/ng-bootstrap": "^14.1.1", "@popperjs/core": "^2.11.6", "@types/js-yaml": "^4.0.5", - "@yume-chan/adb": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", "@yume-chan/async": "^2.2.0", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/stream-extra": "workspace:^0.0.20", "@yume-chan/tabby-tango": "workspace:^0.0.19", "buffer": "^6.0.3", "comlink": "^4.4.1", @@ -54,9 +54,9 @@ "main": "dist/main.js", "name": "@yume-chan/tabby-launcher", "peerDependencies": { - "@yume-chan/adb": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", "@yume-chan/async": "^2.2.0", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/stream-extra": "workspace:^0.0.20", "comlink": "^4.4.1" }, "resolutions": { diff --git a/libraries/tabby-tango/package.json b/libraries/tabby-tango/package.json index 9e2348e4..a4ca78a9 100644 --- a/libraries/tabby-tango/package.json +++ b/libraries/tabby-tango/package.json @@ -28,8 +28,8 @@ "@popperjs/core": "^2.11.6", "@types/node": "^20.2.1", "@types/webpack-env": "^1.16.0", - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", "babel-loader": "^9.1.2", "mobx": "^6.7.0", "rxjs": "^7.8.1", @@ -55,8 +55,8 @@ "@angular/platform-browser": "^15.2.6", "@angular/platform-browser-dynamic": "^15.2.6", "@ng-bootstrap/ng-bootstrap": "^14.1.0", - "@yume-chan/adb": "workspace:^0.0.19", - "@yume-chan/stream-extra": "workspace:^0.0.19", + "@yume-chan/adb": "workspace:^0.0.20", + "@yume-chan/stream-extra": "workspace:^0.0.20", "rxjs": "^7.8.0", "tabby-core": "1.0.197-nightly.1", "tabby-settings": "1.0.197-nightly.1",