2021-02-04 07:13:22 -08:00
|
|
|
# Changelog
|
2021-02-04 07:16:32 -08:00
|
|
|
All notable changes to this library will be documented in this file.
|
2021-02-04 07:13:22 -08:00
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
2021-02-04 07:16:32 -08:00
|
|
|
and this library adheres to Rust's notion of
|
2021-02-04 07:13:22 -08:00
|
|
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
|
|
## [Unreleased]
|
2024-02-29 17:13:49 -08:00
|
|
|
|
|
|
|
## [0.14.0] - 2024-03-01
|
2023-10-02 07:03:09 -07:00
|
|
|
### Added
|
2023-10-06 13:25:07 -07:00
|
|
|
- `impl zcash_primitives::sapling::prover::{SpendProver, OutputProver}` for
|
|
|
|
`zcash_proofs::prover::LocalTxProver`
|
2023-10-02 07:03:09 -07:00
|
|
|
|
2023-10-02 06:33:33 -07:00
|
|
|
### Changed
|
2024-02-29 17:13:49 -08:00
|
|
|
- Migrated to `zcash_primitives 0.14`.
|
2023-11-03 00:10:32 -07:00
|
|
|
- The `zcash_proofs::ZcashParameters` Sapling fields now use the parameter and
|
|
|
|
viewing key newtypes defined in `zcash_primitives::sapling::circuit`.
|
2023-10-02 06:33:33 -07:00
|
|
|
|
2023-09-29 09:59:41 -07:00
|
|
|
### Removed
|
|
|
|
- `zcash_proofs::circuit::sapling` (moved to `zcash_primitives::sapling::circuit`).
|
|
|
|
- `zcash_proofs::circuit::{ecc, pedersen_hash}`
|
|
|
|
- `zcash_proofs::constants`
|
2023-11-02 23:15:37 -07:00
|
|
|
- `zcash_proofs::sapling`:
|
|
|
|
- `BatchValidator` (moved to `zcash_primitives::sapling`).
|
|
|
|
- `SaplingProvingContext`
|
|
|
|
- `SaplingVerificationContext` (moved to `zcash_primitives::sapling`).
|
2023-09-08 12:48:55 -07:00
|
|
|
|
2023-09-25 08:11:00 -07:00
|
|
|
## [0.13.0] - 2023-09-25
|
2023-09-08 12:45:54 -07:00
|
|
|
### Changed
|
|
|
|
- Bumped dependencies to `zcash_primitives 0.13`.
|
|
|
|
|
2023-09-08 11:47:41 -07:00
|
|
|
### Removed
|
|
|
|
- Unused `incrementalmerkletree` dependency.
|
2023-06-28 09:26:47 -07:00
|
|
|
|
|
|
|
## [0.12.1] - 2023-06-28
|
2023-06-28 09:25:57 -07:00
|
|
|
### Changed
|
|
|
|
- Replaced internal `directories` dependency which now transitively depends on
|
|
|
|
MPL-licensed code.
|
2023-06-06 13:37:38 -07:00
|
|
|
|
|
|
|
## [0.12.0] - 2023-06-06
|
2023-05-16 08:37:07 -07:00
|
|
|
### Changed
|
2023-06-06 13:27:39 -07:00
|
|
|
- Bumped dependencies to `incrementalmerkletree 0.4`, `zcash_primitives 0.12`
|
2023-05-16 08:37:07 -07:00
|
|
|
- MSRV is now 1.65.0.
|
2023-01-31 18:09:02 -08:00
|
|
|
|
2023-03-15 17:35:54 -07:00
|
|
|
### Removed
|
|
|
|
- `circuit::sapling::TREE_DEPTH` use `zcash_primitives::sapling::NOTE_COMMITMENT_TREE_DEPTH` instead
|
|
|
|
|
2023-04-14 16:58:53 -07:00
|
|
|
## [0.11.0] - 2023-04-15
|
2023-03-17 21:15:59 -07:00
|
|
|
### Changed
|
2023-03-20 14:11:05 -07:00
|
|
|
- Bumped dependencies to `bls12_381 0.8`, `group 0.13`, `jubjub 0.10`,
|
2023-04-14 16:56:16 -07:00
|
|
|
`bellman 0.14`, `redjubjub 0.7`, `zcash_primitives 0.11`.
|
2023-03-17 21:15:59 -07:00
|
|
|
|
2023-01-31 18:09:02 -08:00
|
|
|
## [0.10.0] - 2023-02-01
|
2022-12-09 17:09:06 -08:00
|
|
|
### Added
|
|
|
|
- `zcash_proofs::circuit::sapling`:
|
|
|
|
- `ValueCommitmentOpening`
|
|
|
|
- A `value_commitment_opening` field on `Spend` and `Output`.
|
|
|
|
|
|
|
|
### Changed
|
2023-01-19 15:48:24 -08:00
|
|
|
- MSRV is now 1.60.0.
|
2023-01-31 18:07:16 -08:00
|
|
|
- Bumped dependencies to `zcash_primitives 0.10`.
|
2023-01-06 09:01:05 -08:00
|
|
|
- Note commitments now use
|
|
|
|
`zcash_primitives::sapling::note::ExtractedNoteCommitment` instead of
|
|
|
|
`bls12_381::Scalar` in `zcash_proofs::sapling`:
|
|
|
|
- `SaplingVerificationContext::check_output`
|
2022-12-09 17:09:06 -08:00
|
|
|
- Value commitments now use `zcash_primitives::sapling::value::ValueCommitment`
|
|
|
|
instead of `jubjub::ExtendedPoint` in `zcash_proofs::sapling`:
|
|
|
|
- `SaplingProvingContext::{spend_proof, output_proof}`
|
|
|
|
- `SaplingVerificationContext::{check_spend, check_output}`
|
|
|
|
|
|
|
|
### Removed
|
|
|
|
- `zcash_proofs::circuit::sapling`:
|
|
|
|
- The `value_commitment` field of `Spend` and `Output` (use
|
|
|
|
`value_commitment_opening` instead).
|
2022-11-11 12:39:36 -08:00
|
|
|
|
|
|
|
## [0.9.0] - 2022-11-12
|
2022-11-11 12:37:55 -08:00
|
|
|
### Changed
|
|
|
|
- Bumped dependencies to `zcash_primitives 0.9`.
|
2022-07-05 10:33:07 -07:00
|
|
|
|
2022-10-19 12:15:44 -07:00
|
|
|
## [0.8.0] - 2022-10-19
|
|
|
|
### Changed
|
|
|
|
- Bumped dependencies to `zcash_primitives 0.8`.
|
|
|
|
|
2022-07-05 10:33:07 -07:00
|
|
|
## [0.7.1] - 2022-07-05
|
2022-07-03 17:25:13 -07:00
|
|
|
### Added
|
|
|
|
- `zcash_proofs::sapling::BatchValidator`
|
2022-06-24 09:33:38 -07:00
|
|
|
|
|
|
|
## [0.7.0] - 2022-06-24
|
2022-06-24 09:29:22 -07:00
|
|
|
### Changed
|
|
|
|
- Bumped dependencies to `zcash_primitives 0.7`.
|
2022-05-10 16:29:39 -07:00
|
|
|
|
|
|
|
## [0.6.0] - 2022-05-11
|
2021-03-26 12:21:45 -07:00
|
|
|
### Changed
|
2022-02-24 08:24:00 -08:00
|
|
|
- MSRV is now 1.56.1.
|
2022-05-06 20:24:07 -07:00
|
|
|
- Bumped dependencies to `ff 0.12`, `group 0.12`, `bellman 0.13`,
|
2022-05-06 13:03:49 -07:00
|
|
|
`bls12_381 0.7`, `jubjub 0.9`.
|
2021-06-06 15:45:15 -07:00
|
|
|
- `zcash_proofs::sapling::SaplingVerificationContext::new` now takes a
|
|
|
|
`zip216_enabled` boolean; this is used to control how RedJubjub signatures are
|
|
|
|
validated.
|
2021-03-26 22:17:54 -07:00
|
|
|
- Renamed the following in `zcash_proofs::circuit::sprout` to use lower-case
|
|
|
|
abbreviations (matching Rust naming conventions):
|
|
|
|
- `JSInput` to `JsInput`
|
|
|
|
- `JSOutput` to `JsOutput`
|
2021-03-25 22:53:42 -07:00
|
|
|
|
2021-06-06 15:45:15 -07:00
|
|
|
### Removed
|
|
|
|
- `zcash_proofs::sapling::SaplingVerificationContext: Default`
|
|
|
|
|
2021-03-25 22:53:42 -07:00
|
|
|
## [0.5.0] - 2021-03-26
|
2021-02-22 08:59:07 -08:00
|
|
|
### Added
|
|
|
|
- `zcash_proofs::ZcashParameters`
|
|
|
|
- `zcash_proofs::parse_parameters`
|
2023-10-06 13:25:07 -07:00
|
|
|
- `zcash_proofs::prover::LocalTxProver::from_bytes`
|
2021-02-22 08:59:07 -08:00
|
|
|
- The `zcash_proofs::constants` module, containing constants and helpers used by
|
|
|
|
the `zcash_proofs::circuit::ecc::fixed_base_multiplication` gadget:
|
|
|
|
- The `FixedGeneratorOwned` type alias.
|
|
|
|
- `generate_circuit_generator`
|
|
|
|
- The six Zcash fixed generators:
|
|
|
|
- `PROOF_GENERATION_KEY_GENERATOR`
|
|
|
|
- `NOTE_COMMITMENT_RANDOMNESS_GENERATOR`
|
|
|
|
- `NULLIFIER_POSITION_GENERATOR`
|
|
|
|
- `VALUE_COMMITMENT_VALUE_GENERATOR`
|
|
|
|
- `VALUE_COMMITMENT_RANDOMNESS_GENERATOR`
|
|
|
|
- `SPENDING_KEY_GENERATOR`
|
|
|
|
- `zcash_proofs::sapling::SaplingProvingContext: Default`
|
|
|
|
- `zcash_proofs::sapling::SaplingVerificationContext: Default`
|
|
|
|
|
|
|
|
### Changed
|
2021-03-04 09:30:11 -08:00
|
|
|
- MSRV is now 1.47.0.
|
2021-02-22 08:59:07 -08:00
|
|
|
- `zcash_proofs::load_parameters` now returns `ZcashParameters`.
|
2021-02-04 07:13:22 -08:00
|
|
|
|
|
|
|
## [0.4.0] - 2020-09-09
|
|
|
|
### Changed
|
|
|
|
- MSRV is now 1.44.1.
|
|
|
|
- Bumped dependencies to `ff 0.8`, `group 0.8`, `bellman 0.8`,
|
|
|
|
`bls12_381 0.3.1`, `jubjub 0.5.1`.
|
|
|
|
|
|
|
|
## Fixed
|
|
|
|
- Performance regressions to Sapling proof creation in 0.3.0 have been partially
|
|
|
|
mitigated by fixes in `bellman 0.8`.
|
|
|
|
|
|
|
|
## [0.3.0] - 2020-08-24
|
|
|
|
TBD
|
|
|
|
|
|
|
|
## [0.2.0] - 2020-03-13
|
|
|
|
TBD
|
|
|
|
|
|
|
|
## [0.1.0] - 2019-10-08
|
|
|
|
Initial release.
|