A new version of the Amatino API has been deployed to all regions. 0.0.5 contains breaking changes to the Ledger object, and is not backward compatible with 0.0.4.
- Ledgers may now only be retrieved one at a time
- Ledgers are now paginated in rows of 500
- Ledgers may now be returned in order of ascending or descending transaction time
- Ledgers now require a
- Returned Ledger root type is now a
JSON Objectrather than a
- Returned Ledger
end_timewill now be the start and end of the Ledger window, rather than the earliest and latest Transaction in the Ledger
end_timewill now default to now at UTC if supplied as
start_timewill now default to
end_time– 1 year if supplied as
- Fixed a bug that could cause Amatino to return a stale cached Ledger when
nullhad previously been provided as a Ledger start time
- Fixed a bug that caused Transactions to be stored with incorrect times (The
transaction_timefield was not being properly interpreted as UTC)
All the above changes also apply identically to the RecursiveLedger object.
The Amatino API obeys the Semantic Versioning convention: Any version before 1.0.0 should be considered unstable, and breaking changes may occur at any time. Even so, I don’t want to cause breaking changes unnecessarily, and don’t take this lightly.
These changes are aimed at making Ledger objects more useful in real world applications. They are the result of experimentation during development of the upcoming Amatino Swift v0.0.5.