2024-01-27 08:22:01 -08:00
|
|
|
# Changelog
|
|
|
|
All notable changes to this library will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this library adheres to Rust's notion of
|
|
|
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
|
|
## [Unreleased]
|
2024-01-27 10:46:06 -08:00
|
|
|
The entries below are relative to the `zcash_primitives` crate as of the tag
|
|
|
|
`zcash_primitives-0.14.0`.
|
|
|
|
|
|
|
|
### Added
|
|
|
|
- The following modules have been extracted from `zcash_primitives` and
|
|
|
|
moved to this crate:
|
|
|
|
- `consensus`
|
|
|
|
- `constants`
|
2024-01-27 10:53:44 -08:00
|
|
|
- `zcash_protocol::value` replaces `zcash_primitives::transaction::components::amount`
|
2024-01-27 10:46:06 -08:00
|
|
|
- Added in `zcash_protocol::value`:
|
2024-01-27 10:53:44 -08:00
|
|
|
- `Zatoshis`
|
|
|
|
- `ZatBalance`
|
2024-01-27 10:46:06 -08:00
|
|
|
|
|
|
|
### Removed
|
2024-01-27 10:53:44 -08:00
|
|
|
- From `zcash_protocol::value`:
|
|
|
|
- `NonNegativeAmount` (use `Zatoshis` instead.)
|
|
|
|
- `Amount` (use `ZatBalance` instead.)
|
|
|
|
- The following conversions have been removed relative to `zcash_primitives-0.14.0`,
|
|
|
|
as `zcash_protocol` does not depend on the `orchard` or `sapling-crypto` crates.
|
|
|
|
- `From<NonNegativeAmount> for orchard::NoteValue>`
|
|
|
|
- `TryFrom<orchard::ValueSum> for Amount`
|
|
|
|
- `From<NonNegativeAmount> for sapling::value::NoteValue>`
|
|
|
|
- `TryFrom<sapling::value::NoteValue> for NonNegativeAmount`
|