Skip to content

Latest commit

 

History

History
71 lines (39 loc) · 1.76 KB

CHANGELOG.md

File metadata and controls

71 lines (39 loc) · 1.76 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.7.0] - 2024-05-24

Added

  • Ability to set output sample rate for the LAME encoder (#11)

Changed

  • Changed the internal WASM API, so added error checking for mismatched JS/WASM binaries
  • This package (except for UMD and esnext builds) now depends on @swc/helpers instead of @babel/runtime

Developer changes

  • Build toolchain upgraded to Node 20, Yarn 4, SWC, and vitest

[0.6.4] - 2021-10-16

Fixed

  • Fixed issue where encoding large MP3s could potentially fail

[0.6.3] - 2020-11-11

Fixed

  • Fixed issue where OGG encoding took ~10x too long

[0.6.2] - 2020-11-09

Added

  • Untranspiled JS is now available via wasm-media-encoders/esnext

Fixed

  • The browser and UMD entries are now correctly transformed with Babel to support all browsers that support WASM. @babel/runtime is now a dependency for the browser entry.

[0.6.1] - 2020-11-05

Changed

  • Browsers will now use WebAssembly.instantiateStreaming() for data URIs as well (if available).

Removed

  • fetch()ing from non-data URL in Node

[0.6.0] - 2020-11-04

Added

  • Can now supply a callback to createEncoder() to get the compiled WebAssembly.Module
  • Support for ESM modules in Node

Changed

  • Reduced JS size by about 40%
  • Reduced LAME WASM size by about 4%
  • Reduced OGG WASM size by about 3%

Fixed

  • Fixed an issue where encoding large buffers would return a detached ArrayBuffer.
  • Bundling with webpack v4 no longer pulls in a Buffer polyfill.