chore: add changelogs

This commit is contained in:
Simon Chan 2024-06-17 23:42:15 +08:00
parent 1c14eb69e7
commit 37ef1dd2fa
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
11 changed files with 73 additions and 12 deletions

View file

@ -2,7 +2,7 @@
"changes": [
{
"packageName": "@yume-chan/adb-scrcpy",
"comment": "Removed `AdbScrcpyClient#deviceMessageStream`. Use `ScrcpyOptions#clipboard` to watch clipboard changes.",
"comment": "Remove `AdbScrcpyClient#deviceMessageStream`. Use `ScrcpyOptions#clipboard` to watch clipboard changes.",
"type": "none"
}
],

View file

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yume-chan/adb-scrcpy",
"comment": "Allow `AdbScrcpyClient#pushServer` to accept `ReadableStream<Uint8Array>` as input",
"type": "none"
}
],
"packageName": "@yume-chan/adb-scrcpy"
}

View file

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yume-chan/adb-scrcpy",
"comment": "Add AV1 video size parsing support",
"type": "none"
}
],
"packageName": "@yume-chan/adb-scrcpy"
}

View file

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yume-chan/adb-scrcpy",
"comment": "Loosen type parameter constraints on `AdbScrcpyOptionsX_XX` classes, allow them to accept more option types",
"type": "none"
}
],
"packageName": "@yume-chan/adb-scrcpy"
}

View file

@ -2,7 +2,7 @@
"changes": [
{
"packageName": "@yume-chan/adb",
"comment": "Rename `debugSlowRead` option to `readTimeLimit`. Allow users to specify a timeout for read operations. The default value is still infinity.",
"comment": "Rename `AdbDaemonTransport`'s `debugSlowRead` option to `readTimeLimit`. Allow users to specify a custom timeout for read operations. It's still disabled by default.",
"type": "none"
}
],

View file

@ -2,7 +2,7 @@
"changes": [
{
"packageName": "@yume-chan/adb",
"comment": "Group `AdbServerClient` related types into the `AdbServerClient` namespace. In future, more types will be moved to namespaces.",
"comment": "Group `AdbServerClient`-relating types into `AdbServerClient` namespace. In future, more types will be moved to namespaces.",
"type": "none"
}
],

View file

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yume-chan/adb",
"comment": "Fix `Adb#reverse#list()` returning an extra empty object.",
"type": "none"
}
],
"packageName": "@yume-chan/adb"
}

View file

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yume-chan/adb",
"comment": "Fix reverse tunnel handler not invoked.",
"type": "none"
}
],
"packageName": "@yume-chan/adb"
}

View file

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yume-chan/scrcpy-decoder-tinyh264",
"comment": "Rename `frameRendered` and `frameSkipped` to `framesRendered` and `framesSkipped`",
"type": "none"
}
],
"packageName": "@yume-chan/scrcpy-decoder-tinyh264"
}

View file

@ -2,7 +2,7 @@
"changes": [
{
"packageName": "@yume-chan/scrcpy",
"comment": "Add support for `setClipboard` to wait for the clipboard to be updated (when `sequence` is not 0)",
"comment": "Make `ScrcpyControlMessageWriter#setClipboard` wait for the clipboard to be updated on device (when `sequence` is not 0)",
"type": "none"
}
],

View file

@ -93,12 +93,13 @@ export class AdbReverseCommand extends AutoDisposable {
const stream = await this.createBufferedStream("reverse:list-forward");
const response = await AdbReverseStringResponse.deserialize(stream);
return response.content.split("\n").map((line) => {
const [deviceSerial, localName, remoteName] = line.split(" ") as [
string,
string,
string,
];
return response.content
.split("\n")
.filter((line) => !!line)
.map((line) => {
const [deviceSerial, localName, remoteName] = line.split(
" ",
) as [string, string, string];
return { deviceSerial, localName, remoteName };
});