Skip to content

v0.0.24

Latest
Compare
Choose a tag to compare
@yume-chan yume-chan released this 18 Jun 08:10
· 25 commits to main since this release
b62419f

What's Changed

@yume-chan/adb

  • Allow streams to accept both Uint8Array and Consumable<Uint8Array> as inputs
  • Rename AdbDaemonTransport's debugSlowRead option to readTimeLimit. Allow users to specify a custom timeout for read operations. It's still disabled by default.
  • Include unauthorized devices in AdbServerClient#getDevices() and AdbServerClient#trackDevices(). You need to filter them out if you don't need them.
  • Add more methods to AdbServerClient
  • Group AdbServerClient-relating types into namespace. In future, more types will be moved to namespaces.
  • Fix Adb#reverse#list() returning an extra empty object.
  • Fix reverse tunnel handler not invoked.
  • Fix too many event listener warning in Node.js.

@yume-chan/adb-scrcpy

  • Rename AdbScrcpyClient#controlMessageWriter to controller
  • Remove AdbScrcpyClient#deviceMessageStream. Use ScrcpyOptions#clipboard to watch clipboard changes.
  • Allow AdbScrcpyClient#pushServer to accept ReadableStream<Uint8Array> as input
  • Add AV1 video size parsing support
  • Loosen type parameter constraints on AdbScrcpyOptionsX_XX classes, allow them to accept more option types

@yume-chan/android-bin

  • Allow streams to accept both Uint8Array and Consumable<Uint8Array> as inputs
  • Add all supported fields to DumpSys.Battery.Info

@yume-chan/pcm-player

  • Expose outputLatency from AudioContext

@yume-chan/scrcpy

  • Add AV1 metadata parser Av1
  • Move clipboard stream to ScrcpyOptions#clipboard
  • Make ScrcpyControlMessageWriter#setClipboard wait for the clipboard to be updated on device (when sequence is not 0)
  • Add options class for version 2.3

@yume-chan/scrcpy-decoder-tinyh264

  • Fix worker constructor parameters
  • Rename frameRendered and frameSkipped to framesRendered and framesSkipped

@yume-chan/scrcpy-decoder-webcodecs

  • Support decoding AV1
  • Add 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

  • Add MaybeConsumable type. It's also a namespace containing related types.
  • Re-export global TextDecoderStream to replace DecodeUtf8Stream which doesn't work correctly in stream mode
  • Move Consumable related types to the Consumable namespace. In future, more types will be moved to namespaces.

@yume-chan/struct

  • Rename some internal types to make them more distinguishable

@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 DataViews for small ArrayBuffers, a new package @yume-chan/no-data-view was added.

Full Changelog: 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.