Skip to content

2.1.0

Latest

Choose a tag to compare

@yaglo yaglo released this 09 Jan 12:39
· 4 commits to main since this release

[2.1.0] - 2025-01-09

Fixed

  • Nested structs in API responses now correctly deserialize with snake_case keys. Previously, only top-level fields were converted from camelCase, leaving nested objects like StatusResponse.data, SubscriptionGroupIdentifierItem.last_transactions, and NotificationHistoryResponseItem.send_attempts with unconverted camelCase string keys.
  • LastTransactionsItem.status now correctly converts to Status.t() atoms (:active, :expired, etc.) instead of incorrectly using OrderLookupStatus.
  • Fixed compile-time warning for :"OTP-PUB-KEY".encode/2 in chain verifier.

Added

  • __nested_fields__/0 callback on response structs for declaring nested type information, enabling automatic recursive deserialization.