Releases: lxsmnsyc/blurhash-as
Releases Β· lxsmnsyc/blurhash-as
v0.7.0
v0.6.0
v0.4.0
This release adds 4 new packages to this repo:
react-blurhash-as: React bindings forblurhash-aspreact-blurhash-as: Preact bindings forblurhash-asesbuild-plugin-blurhash-as: ESBuild plugin for transforming image imports into static Blurhash output.rollup-plugin-blurhash-as: Rollup plugin for transforming image imports into static Blurhash output.
Bindings for Vue 3 and Vanilla, as well as plugins for Parcel and Webpack are under research, and probably released in the next unstable minor version.
v0.3.0
- All encode and decode methods no longer return
null, instead, throws an error:- For
decode,toCSSSheet,toCSSObjectandtoSVG, invalid hash causes an error. - For
encode, the component constraint and resolution-pixel mismatch causes an error.
- For
- Encode validation is now done in JS rather than in AssemblyScript. This is to throw an error as early as possible.