Skip to content

v2.7.0

Choose a tag to compare

@rotemdan rotemdan released this 05 May 16:15
· 68 commits to main since this release

Enhancements

  • Switch to use the @echogarden/wave-codec package (MIT licensed) for WAVE encoding and decoding, and for sample conversions, instead of the previous internal module. Remove unused related code. Remove dependency on the alawmulaw package. The new codec is more optimized and is a partial rewrite of the integrated encoder/decoder code that was previously used.

Fixes

  • Enable streaming mode ({ stream: true }) in TextDecoder decoding in UTF-8, UTF-16 and ASCII decoders. Previously the option was (unintentionally) not enabled, meaning that byte sequences right at the chunk boundaries may have not been decoded correctly. When reading a text file, chunks are currently 1 MiB, meaning the issue could have occurred at 1 MiB boundaries.

Full Changelog: v2.6.0...v2.7.0