v0.0.20 #561
yume-chan
announced in
Announcement
v0.0.20
#561
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
All
@yume-chan/adb
AdbSubprocessShellProtocol
class, this should improve some performance.mode
parameter inAdbSync#write()
intotype
andpermission
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
andAdbTcpIpCommand#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. TheAdbTransport
interface and its two implementationsAdbDaemonTransport
andAdbServerTransport
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 toAdb
class.product
,model
,device
andfeatures
fields onAdb
class to thebanner
field with type ofAdbBanner
.@yume-chan/adb-credential-web
AdbWebCredentialStore
to save private keys in IndexedDB, so it can be used in Web Workers. Previously saved keys inlocalStorage
will be ignored and a new key will be generated.adb-daemon-webusb
@yume-chan/adb-daemon-webusb
following the renaming ofAdbDaemonTransport
.AdbWebUsbBackend
toAdbDaemonWebUsbDevice
following the renaming ofAdbDaemonTransport
.NetworkError
when the device is disconnected.filters
parameter toAdbDaemonWebUsbDeviceManager#getDevices
. The filtration is manually implemented because WebUSB'sgetDevice
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
andStructAsyncDeserializeStream
toExactReadable
andAsyncExactReadable
. Rename itsread
method toreadExactly
. Add aposition
field so the caller can check how many bytes have been read.Struct#fields
toStruct#concat
. NowStruct#fields
returns an array of[name: PropertyKey, definition: StructFieldDefinition<any, any, any>]
tuples.Full Changelog: 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.
This discussion was created from the release v0.0.20.
Beta Was this translation helpful? Give feedback.
All reactions