Releases: stellar/go
Releases · stellar/go
Horizon v0.20.0
If you want to use experimental ingestion skip this version and use v0.20.1 instead. v0.20.0 has a performance issue.
Changes
- Experimental ingestion system is now run concurrently on all Horizon servers (with feature flag set - see below). This improves ingestion availability.
- Add experimental path finding endpoints which use an in memory order book for improved performance. To enable the endpoints set
--enable-experimental-ingestion
CLI param orENABLE_EXPERIMENTAL_INGESTION=true
env variable. Note that theenable-experimental-ingestion
flag enables both the new path finding endpoints and the accounts for signer endpoint. There are two path finding endpoints./paths/strict-send
returns payment paths where both the source and destination assets are fixed. This endpoint is able to answer questions like: "Get me the most EUR possible for my 10 USD."/paths/strict-receive
is the other endpoint which is an alias to the existing/paths
endpoint. --enable-accounts-for-signer
CLI param orENABLE_ACCOUNTS_FOR_SIGNER=true
env variable are merged with--enable-experimental-ingestion
CLI param orENABLE_EXPERIMENTAL_INGESTION=true
env variable.- Add experimental get offers by id endpoint
/offers/{id}
which uses the new ingestion system to fill up the offers table. To enable it, set--enable-experimental-ingestion
CLI param orENABLE_EXPERIMENTAL_INGESTION=true
env variable.
Scheduled Breaking Changes
fee_paid
field on Transaction resource has been deprecated and will be removed in 0.22.0. Please use new fields added in 0.18.0:max_fee
that defines the maximum fee the source account is willing to pay andfee_charged
that defines the fee that was actually paid for a transaction. See CAP-0005 for more information. This change has been previously scheduled for 0.19.0 release.- The following operation type names have been deprecated:
manage_offer
andcreate_passive_offer
. The names will be changed to:manage_sell_offer
andcreate_passive_offer
in 0.22.0. This has been previously scheduled for 0.19.0 release. - The type for the following attributes will be changed from
int64
tostring
in 0.22.0:- 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.
- Attribute
If you are an SDK maintainer, update your code to prepare for this change.
horizonclient v1.4.0 & txnbuild v1.4.0
horizonclient
- Add support for querying operation endpoint with
join
parameter #1521. - Add support for querying previous and next trade aggregations with
Client.NextTradeAggregationsPage
andClient.PrevTradeAggregationsPage
methods.
txnbuild
- Add
BuildChallengeTx
function for building SEP-10 challenge transaction(#1466). - Add
VerifyChallengeTx
method for verifying SEP-10 challenge transaction(#1530). - Add
TransactionFromXDR
function for buildingtxnbuild.Transaction
struct from a base64 XDR transaction envelope#1329. - Fix bug that allowed multiple calls to
Transaction.Build
increment the number of operations in a transaction #1448. - Add
Transaction.SignWithKeyString
helper method for signing transactions using secret keys as strings.(#1564)
Ticker v1.1.0
v1.1.0
- Added support for running the ticker on Stellar's Test Network, by using the
--testnet
CLI flag. - The ticker now retries requests to Horizon if it gets rate-limited.
- Minor bug fixes and performance improvements.
Horizon v0.19.0
- Add
join
parameter to operations and payments endpoints. Currently, the only valid value for the parameter istransactions
. Ifjoin=transactions
is included in a request then the response will include atransaction
field for each operation in the response. - Add experimental "Accounts For Signers" endpoint. To enable it set
--enable-accounts-for-signer
CLI param orENABLE_ACCOUNTS_FOR_SIGNER=true
env variable. Additionally new feature requires links to history archive: CLI:--history-archive-urls="archive1,archive2,archive3"
, env variable:HISTORY_ARCHIVE_URLS="archive1,archive2,archive3"
. This will expose/accounts
endpoint. This requires around 4GB of RAM for initial state ingestion.
Horizon v0.19.0 rc1
Release Candidate. Do not use in production.
- Add
join
parameter to operations and payments endpoints. Currently, the only valid value for the parameter istransactions
. Ifjoin=transactions
is included in a request then the response will include atransaction
field for each operation in the response. - Add experimental "Accounts For Signers" endpoint. To enable it set
--enable-accounts-for-signer
CLI param orENABLE_ACCOUNTS_FOR_SIGNER=true
env variable. Additionally new feature requires links to history archive: CLI:--history-archive-urls="archive1,archive2,archive3"
, env variable:HISTORY_ARCHIVE_URLS="archive1,archive2,archive3"
. This will expose/accounts
endpoint. This requires around 4GB of RAM for initial state ingestion.
horizonclient v1.3.0 & txnbuild v1.3.0
horizonclient
- Transaction information returned by methods now contain new fields:
FeeCharged
andMaxFee
.FeePaid
is deprecated and will be removed in later versions. - Improved unit test for
Client.FetchTimebounds
method. - Added
Client.HomeDomainForAccount
helper method for retrieving the home domain of an account.
txnbuild
- Add support for getting the hex-encoded transaction hash with
Transaction.HashHex
method. TransactionEnvelope
is now available after building a transaction(Transaction.Build
). Previously, this was only available after signing a transaction. (#1376)- Add support for getting the
TransactionEnvelope
struct withTransaction.TxEnvelope
method (#1415). AllowTrust
operations no longer requires the asset issuer, only asset code is required (#1330).Transaction.SetDefaultFee
method is deprecated and will be removed in the next major release (#1221).Transaction.TransactionFee
method has been added to get the fee that will be paid for a transaction.Transaction.SignHashX
method adds support for signing transactions with hash(x) signature types.
Compliance v0.0.32
0.0.32
- Compliance server now uses the new Go SDK.
- Unit tests added.
Breaking changes
- MySQL is no longer supported. To migrate your data to postgresql use any of the tools provided here.
Compliance v0.0.32 rc2
Release Candidate. Do not use in production.
0.0.32
- Compliance server now uses the new Go SDK.
- Unit tests added.
Breaking changes
- MySQL is no longer supported. To migrate your data to postgresql use any of the tools provided here.
Horizon v0.18.1
- Fixed
/fee_stats
to correctly calculate ledger capacity in protocol v11. - Fixed
horizon db clean
command to truncate all tables.
Horizon v0.18.1 rc1
Release Candidate. Do not use in production.
- Fixed
/fee_stats
to correctly calculate ledger capacity in protocol v11. - Fixed
horizon db clean
command to truncate all tables.