Skip to content

Commit d78afe7

Browse files
authored
Merge pull request #130 from zkcrypto/release-0.14.0
Release 0.14.0
2 parents 41fb01b + 8cf62cd commit d78afe7

11 files changed

Lines changed: 401 additions & 110 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
target:
50-
- wasm32-wasi
50+
- wasm32-wasip1
5151
- thumbv6m-none-eabi
5252
- thumbv7em-none-eabihf
5353
steps:
@@ -91,8 +91,6 @@ jobs:
9191
steps:
9292
- uses: actions/checkout@v4
9393
- run: cargo fetch
94-
# Requires #![deny(rustdoc::broken_intra_doc_links)] in crates.
95-
- run: sudo apt-get -y install libfontconfig1-dev
9694
- name: Check intra-doc links
9795
run: cargo doc --all-features --document-private-items
9896

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ and this library adheres to Rust's notion of
77

88
## [Unreleased]
99

10+
## [0.14.0] - 2026-05-27
11+
### Added
12+
- `ff::Field::try_random<R: TryRng + ?Sized>(rng: &mut R) -> Result<Self, R::Error>`,
13+
a new trait method that must be implemented by downstreams. It samples a field
14+
element using a fallible RNG and propagates the RNG's error.
15+
16+
### Changed
17+
- MSRV is now 1.85.0.
18+
- Migrated to `rand_core 0.10`.
19+
- `ff::Field::random(rng: impl RngCore) -> Self` has been changed back to
20+
`Field::random<R: Rng + ?Sized>(rng: &mut R) -> Self`, to enable passing a
21+
trait object as the RNG. It now has a default implementation in terms of
22+
`Field::try_random`.
23+
24+
### Removed
25+
- `derive_bits` feature flag (use `bits` instead).
26+
1027
## [0.13.1] - 2025-03-09
1128
### Changed
1229
- `ff_derive` now works with all odd primes, not just primes that are either

0 commit comments

Comments
 (0)