Releases: arseneyr/wasm-media-encoders
Releases · arseneyr/wasm-media-encoders
0.7.0
[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
0.6.3
0.6.2
[0.6.2]
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 thebrowser
entry.
0.6.1
0.6.1
Changed
- Browsers will now use
WebAssembly.instantiateStreaming()
for data URIs as well (if available).
Removed
fetch()
ing from non-data URL in Node
Fixed
- Issue in browser where creating encoder would throw
Cannot destructure property 'memory' of '(B.instance || B).exports' as it is undefined.
0.6.0
0.6.0
Added
- Can now supply a callback to
createEncoder()
to get the compiledWebAssembly.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.