summaryrefslogtreecommitdiffstats
path: root/vendor/ff/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/ff/CHANGELOG.md
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/ff/CHANGELOG.md')
-rw-r--r--vendor/ff/CHANGELOG.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/vendor/ff/CHANGELOG.md b/vendor/ff/CHANGELOG.md
index 418d660bb..9188fcf0c 100644
--- a/vendor/ff/CHANGELOG.md
+++ b/vendor/ff/CHANGELOG.md
@@ -7,6 +7,40 @@ and this library adheres to Rust's notion of
## [Unreleased]
+## [0.13.0] - 2022-12-06
+### Added
+- `ff::Field::{ZERO, ONE}`
+- `ff::Field::pow`
+- `ff::Field::{sqrt_ratio, sqrt_alt}`
+- `core::iter::{Sum, Product}` bounds on `ff::Field`
+- `ff::PrimeField::from_u128`
+- `ff::PrimeField::{MODULUS, TWO_INV}`
+- Constants related to multiplicative generators:
+ - `ff::PrimeField::MULTIPLICATIVE_GENERATOR`
+ - `ff::PrimeField::{ROOT_OF_UNITY, ROOT_OF_UNITY_INV}`
+ - `ff::PrimeField::DELTA`
+- `ff::WithSmallOrderMulGroup`
+- `ff::FromUniformBytes`
+- `ff::helpers`:
+ - `sqrt_tonelli_shanks`
+ - `sqrt_ratio_generic`
+
+### Changed
+- `ff::Field::sqrt` is now a provided method that uses the `Field::sqrt_ratio`
+ method. Implementors of the `Field` trait can choose to implement
+ `Field::sqrt_ratio` and use the provided `ff::Field::sqrt` method, especially
+ if it is more efficient in practice, or they can keep their own implementation
+ of `Field::sqrt` and implement `Field::sqrt_ratio` in terms of that
+ implementation using the `ff::helpers::sqrt_ratio_generic` helper function.
+- `ff::PrimeField` is now documented as representing a non-binary field (i.e.
+ its prime is not 2). This was always the intention, but is now a concrete
+ requirement in order for `PrimeField::TWO_INV` to exist.
+
+### Removed
+- `ff::Field::{zero, one}` (use `ff::Field::{ZERO, ONE}` instead).
+- `ff::PrimeField::{multiplicative_generator, root_of_unity}` (use
+ `ff::PrimeField::{MULTIPLICATIVE_GENERATOR, ROOT_OF_UNITY}` instead).
+
## [0.12.1] - 2022-10-28
### Fixed
- `ff_derive` previously generated a `Field::random` implementation that would