Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f1f2246
Raise MSRV to 1.63
str4d Mar 9, 2025
0958069
Update lockfile to latest MSRV-compatible dependencies
str4d Mar 9, 2025
7e04cd8
Merge pull request #129 from zkcrypto/msrv-1.63
str4d Mar 9, 2025
e4bcf3c
Bump rand to 0.9
pinkforest Jan 26, 2025
e93ada0
Merge pull request #122 from pinkforest/bump-rand-core
str4d Mar 9, 2025
1a12c4c
relax `Sized` requirements on rng
baloo Feb 26, 2025
6533d75
Merge pull request #126 from baloo/baloo/relax-sized-rng
str4d Mar 9, 2025
ae84736
adds a `Field::try_from_rng` method
baloo Feb 26, 2025
1bb6345
Merge pull request #127 from baloo/baloo/try_from_rng
str4d Mar 9, 2025
241caff
Merge branch 'main' into release-0.14.0
str4d Mar 9, 2025
2cf95d9
Preview 0.14.0-pre.0
str4d Mar 9, 2025
866b343
Merge pull request #133 from zkcrypto/preview-0.14.0-pre.0
str4d Apr 17, 2025
dbff4c2
Bump `rand_core` to v0.10; MSRV 1.85
tarcieri Feb 1, 2026
bcd2cfa
Merge pull request #149 from tarcieri/rand_core/v0.10
str4d Feb 26, 2026
9b18f64
Rename `Field::try_from_rng` => `try_random`
tarcieri Feb 26, 2026
9e71cc2
Merge pull request #151 from tarcieri/rename-try-from-rng-to-try-random
ebfull Mar 7, 2026
28e1e22
ff_derive: update syn, num-bigint, addchain
ebfull Mar 21, 2026
bdd74a3
Merge pull request #150 from ebfull/release-0.14.0
ebfull May 21, 2026
81219f4
Update CHANGELOG.md
ebfull May 21, 2026
67e3e46
Preview 0.14.0-pre.1
ebfull May 21, 2026
f3f232b
Reflect MSRV bump to 1.85 in more locations.
ebfull May 24, 2026
1831117
CHANGELOG.md clarifications.
ebfull May 25, 2026
1bb7b61
derive test coverage for try_random
ebfull May 25, 2026
cc0272b
Improve method documentation for Field::{random,try_random}.
ebfull May 25, 2026
f8acdbb
Simplify ident comparison in ff_derive.
ebfull May 25, 2026
8cf62cd
Release 0.14.0
ebfull May 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
target:
- wasm32-wasi
- wasm32-wasip1
- thumbv6m-none-eabi
- thumbv7em-none-eabihf
steps:
Expand Down Expand Up @@ -91,8 +91,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: cargo fetch
# Requires #![deny(rustdoc::broken_intra_doc_links)] in crates.
- run: sudo apt-get -y install libfontconfig1-dev
- name: Check intra-doc links
run: cargo doc --all-features --document-private-items

Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ and this library adheres to Rust's notion of

## [Unreleased]

## [0.14.0] - 2026-05-27
### Added
- `ff::Field::try_random<R: TryRng + ?Sized>(rng: &mut R) -> Result<Self, R::Error>`,
a new trait method that must be implemented by downstreams. It samples a field
element using a fallible RNG and propagates the RNG's error.

### Changed
Comment thread
ebfull marked this conversation as resolved.
- MSRV is now 1.85.0.
- Migrated to `rand_core 0.10`.
- `ff::Field::random(rng: impl RngCore) -> Self` has been changed back to
`Field::random<R: Rng + ?Sized>(rng: &mut R) -> Self`, to enable passing a
trait object as the RNG. It now has a default implementation in terms of
`Field::try_random`.

### Removed
- `derive_bits` feature flag (use `bits` instead).

Comment thread
ebfull marked this conversation as resolved.
## [0.13.1] - 2025-03-09
### Changed
- `ff_derive` now works with all odd primes, not just primes that are either
Expand Down
Loading
Loading