diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..5c23c63 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,58 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [0.6.0] - 2024-07-30 + +### Features + +- Impl from int for int&int_prime groups +- Support stable Rust with features + +### Bug Fixes + +- Correct int_prime group neg +- Fix from_bytes of int_prime group +- Fix doc comment code block test + +### Refactor + +- [**breaking**] Rename bound state +- [**breaking**] Update PRG new() arg types +- Update generic param name +- Use Neg for inverse element +- Reduce required supertraits of group trait +- Remove unused unstable features + +### Documentation + +- Fix dead link in readme +- Enhance doc comments of dcf/dpf +- Update doc comment of group trait +- Update readme for support of stable Rust +- Add correctness fix log to readme + +### Testing + +- Setup property-based tests +- Add tests for group axioms + +### Miscellaneous Tasks + +- *(ci)* Update CI to test in stable Rust +- Setup and migrate changelog + + + +## [0.5.0] + +- v0.5 adds a new generic parameter `OUT_BLEN_N` to `Prg`. +Please set it to the literal `1` for DPFs and `2` for DCFs. +- `Prg` implementations are moved from `crate::dcf/dpf::prg` to `crate::prg`. +Now DPFs and DCFs share some same PRG implementations. + +## [0.4.3] + +`crate::dcf::prg::Aes256HirosePrg` (enabled by default by the `prg` feature) has wrong implementation. +It is fixed at v0.4.3 of the crate fss-rs, v0.5.2 and v0.6.3 of the crate dcf, and v0.5.2 of the crate dpf-fss (since it depends on the crate dcf). +Other similar PRGs, e.g., `crate::dpf::prg::Aes256HirosePrg`, are not affected. diff --git a/Cargo.lock b/Cargo.lock index f0cffe9..f343cee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -247,7 +247,7 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "fss-rs" -version = "0.5.0" +version = "0.6.0" dependencies = [ "aes", "arbtest", diff --git a/Cargo.toml b/Cargo.toml index e69586b..f9ce1f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ bench = [ [package] name = "fss-rs" -version = "0.5.0" +version = "0.6.0" edition = "2021" authors = ["myl7 "] description = "Function secret sharing including distributed comparison & point functions"