2024-01-14 09:47:26 -08:00
|
|
|
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 20:13:32 -08:00
|
|
|
### Added
|
|
|
|
- `zcash_keys::address::Address::try_from_zcash_address`
|
|
|
|
- `zcash_keys::address::Receiver`
|
2024-06-17 07:57:12 -07:00
|
|
|
- `zcash_keys::keys::UnifiedAddressRequest`
|
|
|
|
- `intersect`
|
|
|
|
- `to_address_request`
|
2024-02-29 17:14:34 -08:00
|
|
|
|
2024-05-15 16:32:13 -07:00
|
|
|
### Changed
|
2024-06-12 03:58:17 -07:00
|
|
|
- MSRV is now 1.70.0.
|
2024-05-15 16:32:13 -07:00
|
|
|
|
2024-03-25 10:34:21 -07:00
|
|
|
## [0.2.0] - 2024-03-25
|
|
|
|
|
2024-02-02 12:53:38 -08:00
|
|
|
### Added
|
|
|
|
- `zcash_keys::address::Address::has_receiver`
|
2024-02-05 16:59:55 -08:00
|
|
|
- `impl Display for zcash_keys::keys::AddressGenerationError`
|
|
|
|
- `impl std::error::Error for zcash_keys::keys::AddressGenerationError`
|
2024-03-25 10:34:21 -07:00
|
|
|
- `impl From<hdwallet::error::Error> for zcash_keys::keys::DerivationError`
|
|
|
|
when the `transparent-inputs` feature is enabled.
|
2024-03-13 19:14:43 -07:00
|
|
|
- `zcash_keys::keys::DecodingError`
|
2024-03-25 10:34:21 -07:00
|
|
|
- `zcash_keys::keys::UnifiedFullViewingKey::{parse, to_unified_incoming_viewing_key}`
|
2024-03-08 22:05:37 -08:00
|
|
|
- `zcash_keys::keys::UnifiedIncomingViewingKey`
|
2024-02-05 16:59:55 -08:00
|
|
|
|
|
|
|
### Changed
|
2024-03-14 07:27:49 -07:00
|
|
|
- `zcash_keys::keys::UnifiedFullViewingKey::{find_address, default_address}`
|
2024-02-05 16:59:55 -08:00
|
|
|
now return `Result<(UnifiedAddress, DiversifierIndex), AddressGenerationError>`
|
2024-03-05 09:17:32 -08:00
|
|
|
(instead of `Option<(UnifiedAddress, DiversifierIndex)>` for `find_address`).
|
2024-03-08 22:05:37 -08:00
|
|
|
- `zcash_keys::keys::AddressGenerationError`
|
2024-03-13 19:14:43 -07:00
|
|
|
- Added `DiversifierSpaceExhausted` variant.
|
2024-03-14 10:59:58 -07:00
|
|
|
- At least one of the `orchard`, `sapling`, or `transparent-inputs` features
|
|
|
|
must be enabled for the `keys` module to be accessible.
|
2024-03-25 10:34:21 -07:00
|
|
|
- Updated to `zcash_primitives-0.15.0`
|
2024-03-05 09:17:32 -08:00
|
|
|
|
2024-03-14 07:27:49 -07:00
|
|
|
### Removed
|
|
|
|
- `UnifiedFullViewingKey::new` has been placed behind the `test-dependencies`
|
|
|
|
feature flag. UFVKs should only be produced by derivation from the USK, or
|
|
|
|
parsed from their string representation.
|
|
|
|
|
2024-03-05 09:17:32 -08:00
|
|
|
### Fixed
|
|
|
|
- `UnifiedFullViewingKey::find_address` can now find an address for a diversifier
|
|
|
|
index outside the valid transparent range if you aren't requesting a
|
|
|
|
transparent receiver.
|
2024-02-02 12:53:38 -08:00
|
|
|
|
2024-03-04 14:54:55 -08:00
|
|
|
## [0.1.1] - 2024-03-04
|
|
|
|
|
2024-03-01 14:35:43 -08:00
|
|
|
### Added
|
|
|
|
- `zcash_keys::keys::UnifiedAddressRequest::all`
|
|
|
|
|
2024-03-04 09:45:22 -08:00
|
|
|
### Fixed
|
2024-03-14 07:27:49 -07:00
|
|
|
- A missing application of the `sapling` feature flag was remedied;
|
2024-03-04 09:45:22 -08:00
|
|
|
prior to this fix it was not possible to use this crate without the
|
|
|
|
`sapling` feature enabled.
|
|
|
|
|
2024-02-29 17:14:34 -08:00
|
|
|
## [0.1.0] - 2024-03-01
|
2024-01-14 09:47:26 -08:00
|
|
|
The entries below are relative to the `zcash_client_backend` crate as of
|
|
|
|
`zcash_client_backend 0.10.0`.
|
|
|
|
|
|
|
|
### Added
|
2024-02-22 09:43:17 -08:00
|
|
|
- `zcash_keys::address` (moved from `zcash_client_backend::address`). Further
|
|
|
|
additions to this module:
|
|
|
|
- `UnifiedAddress::{has_orchard, has_sapling, has_transparent}`
|
|
|
|
- `UnifiedAddress::receiver_types`
|
|
|
|
- `UnifiedAddress::unknown`
|
|
|
|
- `zcash_keys::encoding` (moved from `zcash_client_backend::encoding`).
|
|
|
|
- `zcash_keys::keys` (moved from `zcash_client_backend::keys`). Further
|
|
|
|
additions to this module:
|
2024-01-14 09:47:26 -08:00
|
|
|
- `AddressGenerationError`
|
|
|
|
- `UnifiedAddressRequest`
|
|
|
|
- A new `orchard` feature flag has been added to make it possible to
|
|
|
|
build client code without `orchard` dependendencies.
|
2024-01-27 12:46:14 -08:00
|
|
|
- `zcash_keys::address::Address::to_zcash_address`
|
2024-01-14 09:47:26 -08:00
|
|
|
|
|
|
|
### Changed
|
2024-02-22 09:43:17 -08:00
|
|
|
- The following methods and enum variants have been placed behind an `orchard`
|
|
|
|
feature flag:
|
|
|
|
- `zcash_keys::address::UnifiedAddress::orchard`
|
|
|
|
- `zcash_keys::keys::DerivationError::Orchard`
|
|
|
|
- `zcash_keys::keys::UnifiedSpendingKey::orchard`
|
2024-01-14 09:47:26 -08:00
|
|
|
- `zcash_keys::address`:
|
2024-02-22 09:43:17 -08:00
|
|
|
- `RecipientAddress` has been renamed to `Address`.
|
|
|
|
- `Address::Shielded` has been renamed to `Address::Sapling`.
|
2024-01-14 09:47:26 -08:00
|
|
|
- `UnifiedAddress::from_receivers` no longer takes an Orchard receiver
|
|
|
|
argument unless the `orchard` feature is enabled.
|
|
|
|
- `zcash_keys::keys`:
|
|
|
|
- `UnifiedSpendingKey::address` now takes an argument that specifies the
|
|
|
|
receivers to be generated in the resulting address. Also, it now returns
|
|
|
|
`Result<UnifiedAddress, AddressGenerationError>` instead of
|
|
|
|
`Option<UnifiedAddress>` so that we may better report to the user how
|
|
|
|
address generation has failed.
|
|
|
|
- `UnifiedSpendingKey::transparent` is now only available when the
|
|
|
|
`transparent-inputs` feature is enabled.
|
|
|
|
- `UnifiedFullViewingKey::new` no longer takes an Orchard full viewing key
|
|
|
|
argument unless the `orchard` feature is enabled.
|
2024-02-13 17:34:33 -08:00
|
|
|
|
|
|
|
### Removed
|
2024-02-22 09:43:17 -08:00
|
|
|
- `zcash_keys::address::AddressMetadata`
|
|
|
|
(use `zcash_client_backend::data_api::TransparentAddressMetadata` instead).
|