Skip to content

Releases: ColinTimBarndt/wasm-gzip

Wasm-Gzip v2.1.0

12 Jun 01:30
Compare
Choose a tag to compare
  • Added options to compress (noCompression, fixedHuffmanCodes) and decompress (multi)
  • Upgraded libflate version to v2.1.0 (coincidence)
  • Moved to entirely custom bindings and removed wasm-bindgen and js-sys dependencies

Wasm-Gzip v2.0.3

10 Oct 21:01
Compare
Choose a tag to compare

The last release did not contain the correct files, this patch fixes it.

Wasm-Gzip v2.0.2

10 Oct 18:03
Compare
Choose a tag to compare
  • Updated libflate dependency to 2.0.0
  • Fixed error handling (no more wasm panicking)
  • Added class DecompressionError
  • error messages

Wasm-Gzip v2.0

17 Apr 10:09
Compare
Choose a tag to compare

Release Notes

This build includes the source code for this version and a release that can be imported as an ES6 module.

How to build

npm run build

The final package (including source mappings which are not included in the npm package) can be found in the dist directory.

Wasm-Gzip v1.0

05 Feb 20:24
Compare
Choose a tag to compare

Release Notes

This build includes the source code for this version and a release that can be imported as an ES6 module.

Build it yourself

Windows users can run the Batchfile build.bat. For other systems, use

  1. wasm-pack build --target web
  2. (Optional) minify the wasm: wasm-snip --snip-rust-panicking-code --snip-rust-fmt-code -o ./pkg/wasm_gzip_bg.wasm ./pkg/wasm_gzip_bg.wasm
  3. (Optional) delete the generated .gitignore file in ./pkg if you want to use this project with git.
  4. (Optional) minify the file wasm_gzip.js in ./pkg. For this release, terser was used: npx terser --compress --mangle -o ./wasm_gzip.js -- ./wasm_gzip.js

Wasm-Gzip Build

09 Jan 10:18
Compare
Choose a tag to compare
Wasm-Gzip Build Pre-release
Pre-release

Release Notes

This build includes the source code for this version and a release that can be imported as an ES6 module.

Build it yourself

The release can be built from the source using the build.bat file. This should also work for Linux.
You need wasm-bindgen and wasm-snip for this. Wasm pack currently has a bug for some users where
it freezes after building.

All generated files that were included in this release can be found in the pkg directory.

Pre-release

This is version 0.1.2 and needs some more desting before it is suitable for production. Apart from that,
not all browsers fully support WASM and other required APIs yet.