Changelog
View Sourcev0.2.1 (2025-10-08)
- Documentation clarification: Automatic HTTP request retries in
BinanceSpotRest.Client.make_request/1are strictly disabled.- Users are expected to implement their own retry logic if needed.
- Added notes in the README and module docs under Features and Client usage.
- No behavioral changes; fully backward compatible.
v0.2.0 (2025-09-30)
- Breaking Change:
recvWindowparameter must now be provided as aDecimalstruct.- Integer values (e.g.,
5000) are no longer accepted directly. - Must use
Decimal.new/1, e.g.Decimal.new("5000"). - Precision is limited to 3 decimal places in line with Binance API docs.
- ✅ Valid:
Decimal.new("5000"),Decimal.new("123.456") - ❌ Invalid:
5000,Decimal.new("123.4567")
- ✅ Valid:
- Integer values (e.g.,
- Validation for
recvWindowenforces both range (0–60000) and precision. - Documentation and examples updated to reflect mandatory
Decimalusage. - Migration Guide:
- Before (v0.1.x):
%Account.Query{ recvWindow: 3000 } - After (v0.2.0):
%Account.Query{ recvWindow: Decimal.new("3000") } - If you need fractional precision (up to 3 decimals):
%Account.Query{ recvWindow: Decimal.new("3000.123") }
- Before (v0.1.x):
v0.1.3 (2025-09-17)
- Fixed dependency conflict for
credo:- Restricted
credoto[:dev, :test]withruntime: false - Prevents conflicts when used as a dependency in other projects
- Restricted
- No functional changes; fully backward compatible
v0.1.2 (2025-09-04)
- Added Architecture Guide with detailed low-level workflow and pipeline examples
- Separated client request creation (
create_request/2) from execution (make_request/1) in docs - Improved documentation clarity for configuration, validation behavior, and pipeline usage
- Added link to Architecture Guide from main README
- Minor formatting and readability improvements in README and guides
- No breaking changes; fully backward compatible
v0.1.1 (2025-09-03)
- Bumped
valpadependency to~> 0.1.1 - Validations now behave consistently with the latest Valpa
- Stacktraces for validation errors are no longer shown in production
- Minor internal improvements; no breaking changes
v0.1.0 (2025-09-01)
- Initial public release
- Unified
request/2function for all Spot endpoints - Query structs for all endpoints (parameterized or empty)
- Built-in validation for query parameters
- Enum helpers for safe query building
- Configurable credentials via direct config or environment variables
- Testable and mockable request execution
- Supports high-level API (
request/1) and low-level step chaining - Documentation on HexDocs