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
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
All
@yume-chan/adbAdbSubprocessShellProtocolclass, this should improve some performance.modeparameter inAdbSync#write()intotypeandpermissionfor 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#setPortandAdbTcpIpCommand#disableto return or throw the response text. This can be displayed to the user to know what's wrong.Adbclass is no longer responsible for connecting and authenticating with ADB daemons. TheAdbTransportinterface and its two implementationsAdbDaemonTransportandAdbServerTransportwas added to connect to either ADB daemons or servers in compatible environments. Read the PR for details, migration paths, and examples. (#549)serialfield toAdbclass.product,model,deviceandfeaturesfields onAdbclass to thebannerfield with type ofAdbBanner.@yume-chan/adb-credential-webAdbWebCredentialStoreto save private keys in IndexedDB, so it can be used in Web Workers. Previously saved keys inlocalStoragewill be ignored and a new key will be generated.adb-daemon-webusb@yume-chan/adb-daemon-webusbfollowing the renaming ofAdbDaemonTransport.AdbWebUsbBackendtoAdbDaemonWebUsbDevicefollowing the renaming ofAdbDaemonTransport.NetworkErrorwhen the device is disconnected.filtersparameter toAdbDaemonWebUsbDeviceManager#getDevices. The filtration is manually implemented because WebUSB'sgetDeviceAPI doesn't support filters.@yume-chan/scrcpy@yume-chan/adb-scrcpypackage. This package now only implements the Scrcpy protocol.@yume-chan/scrcpy-decoder-webcodecs@yume-chan/stream-extraBufferedReadableStream#releasemight output duplicate data.@yume-chan/structStructDeserializeStreamandStructAsyncDeserializeStreamtoExactReadableandAsyncExactReadable. Rename itsreadmethod toreadExactly. Add apositionfield so the caller can check how many bytes have been read.Struct#fieldstoStruct#concat. NowStruct#fieldsreturns 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