All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- [#69] Fix: Base64URL valid characters are not properly validated
- [#67] Add SECURITY.md
-
[#64] maintain iOS 15 compatibility
Lukas Korba from ECC reported that Zashi couldn't be built since the latest version of BigDecimal depend on BigInt which has min deployment target of iOS 16.4. We temporarily locked this dependency until we could figure out a long term change.
- [#55] make Payment public and give it a public initializer
- [#60] Amount(value: Double) false positive tooManyFractionalDigits
- [#62] public-payments-fix by @lukaskorba
- [#55] make
Payment
public and give it a public initializer
PaymentContext
and other unused internals
Payment
public initializer- a computed variable to access
MemoBytes
data
- [#51] remove dashes from product name
- [#49] Support iOS 15+
- [#42] Fix SwiftLintPlugin compile error
- [#40] Add TEX Address support per ZIP-320
- Dependency:
swift-custom-dump
to diff assertions in tests.
- Bugfix: [#37] multiple recipient payments are parsed in different order every time
- Fixed problem with literal Decimals
- Always favor using
BigDecimal
to avoid misrepresentations of Decimal from implicit conversion fromDouble
.
- BigDecimal library that handles the internals of
Amount
init(decimal:)
uses BigDecimalinit(value:)
uses Swift's Double
- CI had to be disabled because of swift 5.9 issue with SwiftFormat
Parser
APIRequestParam
tuple typealias removed in favor ofOtherParam
- Changed roadmap leaving validation for third step.
- New
Errors
for parsing cases static func request(from uriString: String, validatingRecipients: RecipientAddress.ValidatingClosure? = nil) throws -> ParserResult
- New
ParserResult
API
public enum ParserResult: Equatable {
case legacy(RecipientAddress)
case request(PaymentRequest)
}
- support for SwiftLint 0.54.0
- automated builds on CI with GitHub Actions
First release of Zcash Swift Payment URI library
This project should be considered as "under development". Although we respect Semantic Versioning, things might break.
Made ZIP321 API public and all the related types.