This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Horizon v1.0.0 Compatibility #214
Milestone
Comments
|
|
|
|
|
We implemented all required changes and merged them into the |
Merged
9 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The upcoming Horizon release is coming, and there are multiple breaking changes plus new features ๐๐๐!
The following are the list of changes required to support this new release:
โUpdate
/fee_stats
response.โ Remove the following fields:
โAdd support for
max_fee
andfee_charged
fields. Each field contains a JSON object that looks like this:See Update /fee_stats documentation.ย stellar/go#2140 for more info.
โ Remove deprecated
fee_paid
field from Transaction response (replace it with thefee_charged
andmax_fee
fields, see #1372).๐จMultiple fields changed from
int64
tostring
. If your SDK has types, they need to be updated. If possible, we recommend implementing backward compatibility support, as we did here.Attribute
offer_id
in manage buy offer and manage sell offer operations.Attribute
offer_id
inTrade
effect.Attribute
id
in Offer resource.Attribute
timestamp
andtrade_count
in Trade Aggregation resource.See Decide on use of int64 in JSON responses.ย stellar/go#1609, protocols/horizon/effects: Add UnmarshalJSON to SequenceBumped.ย stellar/go#1909, and Support String or Number Unmarshalling in Int64 fieldsย stellar/go#1912 for more info
๐จ Update operation types to canonical names (if needed) (see protocols/horizon: Apply deprecation on some operation types, updating them to the correct valueย stellar/go#2134).
โAdd support for
/accounts
end-point with?signer
and?asset
filters. We recommend a method like.accounts(queryParams)
(see documentation for accounts).โAdd support for
/offers
end-point with query parameters. We recommend a method like.offers(queryParams)
(see documentation for offers).โAdd support for
/paths/strict-send
end-point. See documentation.We recommend a method like
โ Add support for
/paths/strict-receive
end-point. See documentation.We recommend a method like:
โป Regenerate the XDR definitions to include MetaV2 support (also see #1902).
That's it! If you have any questions feel free to ping us on #dev-discussion in Keybase.
The text was updated successfully, but these errors were encountered: