Changelog for blake3-0.3
Version 0.3
-
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: The
hashfunction now takes an optionalKey. -
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: The
hasherfunction was removed. Instead, useinitwithout specifying aKey. -
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: The
hashKeyedandhasherKeyedfunctions were removed. Instead, specify theKeywhen usinghashandinit. -
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: The
digestfunctions is not exported anymore. TheDigestconstructor is exported instead. -
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: The
Contextdatatype and thecontextfunction are not exported anymore. Thederivefunction takes a polymorphic context instead. -
Functions that previously returned a
Digestnow return a polymorphicByteArrayN. This makes it easy for downstream libraries to reuse any BLAKE3 output for other purposes without having to copy bytes over. TheDigestdatatype is still exported as a convenience. -
Added
sse2Cabal flag to enable SSE2 optimizations. -
Bumped upstream BLAKE3 C sources to latest version as of February 4, 2023.
Version 0.2
-
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: Drop the
BLAKE3.Rawmodule in favor ofBLAKE.IO. Re-export internals from there. -
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: Drop
HasherInternaland related functions in favor ofPtr Hasher. -
COMPILER ASSISTED BACKWARDS INCOMPATIBLE CHANGE: Drop
allocRetHasher,allocRetKey,allocRetDigest. -
Added
Eq,Show,Storable,ByteArrayAccessandByteArrayNinstances forHasher,KeyandDigest. -
Added
ByteArrayAccessinstance forContext. -
Added
finalizeSeek,modifyHasher,digest. -
More tests.
-
Documentation improvements.
Version 0.1.1
-
Enabled AVX-512, AVX2 and SSE-4.1 support.
On x86_64 Linux, Darwin and Windows, assembly implementations are used. Elsewhere, C intrinsics are used.
The
avx512,avx2andsse41Cabal flags can be used to disable these optimizations. -
Documentation fixes.
Version 0.1
-
Initial version.
-
Using upstream C code from https://github.com/BLAKE3-team/BLAKE3 version
5651ce7ee0b0ad2f577beef7efcef87e2f39fbe2.