Releases: zama-ai/tfhe-rs
TFHE-rs v0.10.0
Summary
TFHE-rs v0.10.0 introduces breaking data changes for older data that was deprecated and to avoid having to manage too much legacy code for certain structures.
The levels for primitives involving decomposition now all follow the natural decomposition order, storing decomposition levels from the highest level to the lowest level, matching the order of decomposition when using a decomposer.
What's Changed
Breaking Changes
Warning
- data compatibility is not guaranteed for version older than 0.8 for Ciphertexts
- All GgswCiphertext and its Fourier and NTT variants, GgswCiphertextList, LweBootstrapKey and its Fourier and NTT variants, LweKeyswitchKey, LweMultiBitBootstrapKey and its Fourier variant, LwePackingKeyswitchKey, LwePrivateFunctionalPackingKeyswitchKey and LwePrivateFunctionalPackingKeyswitchKeyList are all incompatible with 0.9 and older.
- The seeded variants of these structures are incompatible as well.
- All the shortint, integer and High Level API keys using those lower level primitives are incompatible as well.
TFHE-rs v0.9.1
Summary
TFHE-rs v0.9.1 fixes zk proof compatibility between 32bits and 64bits architectures.
TFHE-rs v0.8.7
Summary
TFHE-rs v0.8.7 fixes zk proof compatibility between 32bits and 64bits architectures.
TFHE-rs v0.7.5
Summary
TFHE-rs v0.7.5 fixes zk proof compatibility between 32bits and 64bits architectures.
TFHE-rs v0.9.0
Summary
TFHE-rs v0.9.0 introduces breaking data changes for older data that was deprecated and to avoid having to manage too much legacy code for certain structures.
What's Changed
Breaking Changes
Warning
- data compatibility is not guaranteed for version older than 0.8
SeededLweKeyswitchKey
andSeededLwePackingKeyswitchKey
are incompatible between version 0.8 and 0.9, theCompressedServerKey
from shortint, integer and the High Level API are therefore incompatible as well as theCompressedCompressionKey
from shortint and integer.LweKeyswitchKey
andLwePackingKeyswitchKey
have had an update to their layout that can be loaded from 0.8 using the versioning primitives, theServerKey
from shortint, integer and the High Level API as well as theCompressionKey
from shortint and integer are loadable using versioning.
TFHE-rs v0.8.6
Summary
TFHE-rs v0.8.6 adds wasm bindings for safe_serialize
and safe_deserialize
for the CompactPkePublicParams
TFHE-rs v0.8.5
Summary
TFHE-rs v0.8.5 fixes some serialization issues.
What's changed
In safe serialization, the serialized size limit is an upper bound on the serialized size.
With TFHE-rs v0.8.5, it includes header size.
The unlimited size option did not work. It is now fixed.
TFHE-rs v0.8.4
Summary
TFHE-rs v0.8.4 add a new function to get the size of serialized data before serializing them: safe_serialization::safe_serialized_size
.
MSRV has been updated to 1.81.
TFHE-rs v0.8.3
Summary
TFHE-rs v0.8.3 introduces a breaking change regarding parameters for compression, an update was missed before release.
The v0.8.0, v0.8.1 and v0.8.2 crates will be yanked from crates.io and are not considered part of the v0.8.x release family, they should not be used.
TFHE-rs v0.8.2
Summary
TFHE-rs v0.8.2 adds a missing method to create an instance of IntegerProvenCompactCiphertextListConformanceParams
.