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.
DaemonConnectionErrorexception (replaces shadowedConnectionError)Currency.__rmul__for3 * Currency(10)support- Export all public types from
mina_sdk:AccountBalance,AccountData,BlockInfo,DaemonStatus,PeerInfo,SendPaymentResult,SendDelegationResult,GraphQLError,DaemonConnectionError,CurrencyUnderflow - Input validation for
MinaDaemonClientconfiguration parameters - Docstrings on all public classes, methods, and dataclass fields
- 11 new unit tests (49 total)
- HTTP status code now checked before parsing JSON response body
- JSON decode errors are caught and wrapped as
DaemonConnectionError - Negative
Currencyvalues are rejected withValueError
Currency.__mul__only acceptsintscalars (was also acceptingCurrency, which produced nonsensical nanomina-squared units)ConnectionErroris now an alias forDaemonConnectionError(backwards compatible)
- Initial release
MinaDaemonClientwith GraphQL queries and mutationsCurrencytype with nanomina-precision arithmetic- Typed response dataclasses
- Automatic retry with configurable backoff
- Context manager support
- Unit tests with HTTP mocking
- Integration tests against live daemon
- CI workflows: lint, test, release, integration, schema drift
- PyPI publishing via trusted publishers