Bot releases are hidden (Show)
@yume-chan/adb
Uint8Array
and Consumable<Uint8Array>
as inputs (doc)AdbDaemonTransport
's debugSlowRead
option to readTimeLimit
. Allow users to specify a custom timeout for read operations. It's still disabled by default.AdbServerClient#getDevices()
and AdbServerClient#trackDevices()
. You need to filter them out if you don't need them (doc)AdbServerClient
AdbServerClient
-relating types into namespace. In future, more types will be moved to namespaces.Adb#reverse#list()
returning an extra empty object.@yume-chan/adb-scrcpy
AdbScrcpyClient#controlMessageWriter
to controller
AdbScrcpyClient#deviceMessageStream
. Use ScrcpyOptions#clipboard
to watch clipboard changes (doc)AdbScrcpyClient#pushServer
to accept ReadableStream<Uint8Array>
as inputAdbScrcpyOptionsX_XX
classes, allow them to accept more option types@yume-chan/android-bin
Uint8Array
and Consumable<Uint8Array>
as inputs (doc)DumpSys.Battery.Info
@yume-chan/pcm-player
outputLatency
from AudioContext
@yume-chan/scrcpy
Av1
ScrcpyOptions#clipboard
(doc)ScrcpyControlMessageWriter#setClipboard
wait for the clipboard to be updated on device (when sequence
is not 0)@yume-chan/scrcpy-decoder-tinyh264
frameRendered
and frameSkipped
to framesRendered
and framesSkipped
@yume-chan/scrcpy-decoder-webcodecs
enableCapture
option to WebCodecsVideoDecoder
which allows renderer.readPixels
and renderer.toDataURL
to work. The performance will be slightly affected when enabled.@yume-chan/stream-extra
MaybeConsumable
type. It's also a namespace containing related types.TextDecoderStream
to replace DecodeUtf8Stream
which doesn't work correctly in stream modeConsumable
related types to the Consumable
namespace. In future, more types will be moved to namespaces.@yume-chan/struct
@yume-chan/dataview-bigint-polyfill
This package has been removed, as all modern browsers now supports bigint in DataView natively.
Its code is moved to https://github.com/yume-chan/dataview-bigint-polyfill.
To reduce allocating DataView
s for small ArrayBuffer
s, a new package @yume-chan/no-data-view
was added.
Full Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.23...v0.0.24
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan 7 months ago
@yume-chan/adb
AdbServerClient.trackDevices
, which runs a callback function whenever device list changes@yume-chan/adb-daemon-webusb
AdbDaemonWebUsbDeviceManager.getDevices
doesn't match auto-generated serial number against filters.serialNumber
(if the device doesn't have a serial number)@yume-chan/android-bin
@yume-chan/aoa
HidKeyboard.serializeInputReport
with updateReport
, allowing to reuse the buffer@yume-chan/fetch-scrcpy-server
VERSION
constant incorrectly having a v
character prefixed@yume-chan/scrcpy-decoder-tinyh264
sizeChanged
event@yume-chan/scrcpy-decoder-webcodecs
sizeChanged
event@yume-chan/stream-extra
ConsumableWritableStream.write
calls chunk.consume
twice. (doesn't cause any issue)WrapWritableStream
might close the inner stream twice. (and throw an error)@yume-chan/dataview-bigint-polyfill
Full Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.22...v0.0.23
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan 10 months ago
@yume-chan/adb
getListenAddresses
method to AdbTcpIpCommand
class for retrieving current ADB over WiFi statedebugSlowRead
option to AdbDaemonTransport
that throws an error when an ADB socket is stalled for 5 secondsAdbSync#read
stuck when there is an errorAdbSubprocessNoneProtocol
without installing web-streams-polyfill
packageAdbSocket.readable.cancel()
or AdbSocket.writable.end()
no longer closes the socket. Only AdbSocket.close()
does. Calling AdbSocket.readable.cancel()
will ignore all the future incoming data, calling AdbSocket.writable.end()
won't do anything.@yume-chan/adb-daemon-webusb
exclusionFilters
option to AdbDaemonWebUsbDeviceManager#requestDevice
methodAdbDaemonWebUsbDevice
will generate a fake serial number from vid and pid if the device serial number is empty@yume-chan/scrcpy
sps_max_dec_pic_buffering_minus1
in H.265 SPSvui_hrd_parameters
in H.265 SPSFull Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.21...v0.0.22
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan about 1 year ago
@yume-chan/adb
AdbSync
to throws AdbSyncError
for errors returned by ADB Daemonframebuffer
command when current app disables screen captureAdbDaemonTransport
class to automatically close the connection by default, unless the new preserveConnection
option is true
recursive
and force
options to rm
method, allow deleting folders@yume-chan/adb-credential-web
@yume-chan/scrcpy
@yume-chan/scrcpy-fetch-server
package@yume-chan/adb-scrcpy
@yume-chan/android-bin
bu
\n
from Settings#get
dumpsys diskstats
and dumpsys battery
pm list packages
Settings
to use Cmd
if availablebugreport
generation using AbortSiganl
bugreport
and bugreportz
wrappers, providing an automatic
method to choose the best available bugreport method@yume-chan/stream-extra
GatherStringStream
with ConcatStringStream
which can be treated as a PromiseFull Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.20...v0.0.21
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan over 1 year ago
@yume-chan/adb
AdbSubprocessShellProtocol
class, this should improve some performance.mode
parameter in AdbSync#write()
into type
and permission
for ease of use.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.AdbTcpIpCommand#setPort
and AdbTcpIpCommand#disable
to return or throw the response text. This can be displayed to the user to know what's wrong.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)serial
field to Adb
class.product
, model
, device
and features
fields on Adb
class to the banner
field with type of AdbBanner
.@yume-chan/adb-credential-web
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.adb-daemon-webusb
@yume-chan/adb-daemon-webusb
following the renaming of AdbDaemonTransport
.AdbWebUsbBackend
to AdbDaemonWebUsbDevice
following the renaming of AdbDaemonTransport
.NetworkError
when the device is disconnected.filters
parameter to AdbDaemonWebUsbDeviceManager#getDevices
. The filtration is manually implemented because WebUSB's getDevice
API doesn't support filters.@yume-chan/scrcpy
@yume-chan/adb-scrcpy
package. This package now only implements the Scrcpy protocol.@yume-chan/scrcpy-decoder-webcodecs
@yume-chan/stream-extra
BufferedReadableStream#release
might output duplicate data.@yume-chan/struct
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.Struct#fields
to Struct#concat
. Now Struct#fields
returns an array of [name: PropertyKey, definition: StructFieldDefinition<any, any, any>]
tuples.Full Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.19...v0.0.20
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan over 1 year ago
@yume-chan/adb
Adb#install
in favor of PackageManager#install
from @yume-chan/android-bin
packageAdbSync#write
to take a ReadableStream<Uint8Array>
instead of returning a WritableStream<Uint8Array>
AdbReverseError
and AdbReverseNotSupportedError
for better error handling in reverse tunnel command.@yume-chan/adb-backend-webusb
AdbWebUsbBackendManager
class to simplify the usage with custom WebUSB implementations (for example the usb
NPM package).@yume-chan/android-bin
cmd
, with support for Android Binder Bridge (abb)pm install
/cmd package install
, with support for streaming installation.OverlayDisplay
wrapper for managing overlay displays@yume-chan/scrcpy
AdbScrcpyClient#pushServer
to take a ReadableStream<Uint8Array>
instead of returning a WritableStream<Uint8Array>
AdbReverseNotSupportedError
handling and automatically switch to forward tunnel in AdbScrcpyClient
.AndroidKeyCode
enum to align with Web KeyboardEvent.code
@yume-chan/stream-extra
ChunkStream
, and rename it to DistributionStream
Full Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.18...v0.0.19
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan over 1 year ago
@yume-chan/adb-backend-webusb
@yume-chan/scrcpy
@yume-chan/adb
to peerDependencies
. You need to install it manually if you want to use Adb*
types.SetClipboard
control message and AckClipboard
device message@yume-chan/scrcpy-decoder-webcodecs
@yume-chan/stream-extra
globalThis
if available. No longer need to import ReadableStream
, WritableStream
and TransformStream
from @yume-chan/stream-extra
if you are sure the runtime supports them natively.@yume-chan/struct
ScrcpyFloatToInt16FieldDefinition
for an example)Full Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.17...v0.0.18
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan about 2 years ago
This release doesn't have many new features, but mainly focus on API clean up.
@yume-chan/stream-extras
@yume-chan/scrcpy
has heavy API changes to make it easier to be integrated into other backend or frontend, see its README for details@yume-chan/scrcpy-decoder-webcodecs
and @yume-chan/scrcpy-decoder-tinyh264
Full Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.16...v0.0.17
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.
Published by yume-chan over 2 years ago
Full Changelog: https://github.com/yume-chan/ya-webadb/compare/v0.0.15...v0.0.16