Skip to content

Releases: stellar/go

Horizon v0.20.0

23 Aug 17:40
05565e3
Compare
Choose a tag to compare

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 or ENABLE_EXPERIMENTAL_INGESTION=true env variable. Note that the enable-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 or ENABLE_ACCOUNTS_FOR_SIGNER=true env variable are merged with --enable-experimental-ingestion CLI param or ENABLE_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 or ENABLE_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 and fee_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 and create_passive_offer. The names will be changed to: manage_sell_offer and create_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 to string in 0.22.0:

If you are an SDK maintainer, update your code to prepare for this change.

horizonclient v1.4.0 & txnbuild v1.4.0

09 Aug 23:56
774af6d
Compare
Choose a tag to compare

horizonclient

  • Add support for querying operation endpoint with join parameter #1521.
  • Add support for querying previous and next trade aggregations with Client.NextTradeAggregationsPage and Client.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 building txnbuild.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

23 Jul 16:34
bbb8b98
Compare
Choose a tag to compare

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

31 Jul 20:26
4c74259
Compare
Choose a tag to compare
  • Add join parameter to operations and payments endpoints. Currently, the only valid value for the parameter is transactions. If join=transactions is included in a request then the response will include a transaction field for each operation in the response.
  • Add experimental "Accounts For Signers" endpoint. To enable it set --enable-accounts-for-signer CLI param or ENABLE_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

23 Jul 22:58
4c74259
Compare
Choose a tag to compare
Horizon v0.19.0 rc1 Pre-release
Pre-release

Release Candidate. Do not use in production.

  • Add join parameter to operations and payments endpoints. Currently, the only valid value for the parameter is transactions. If join=transactions is included in a request then the response will include a transaction field for each operation in the response.
  • Add experimental "Accounts For Signers" endpoint. To enable it set --enable-accounts-for-signer CLI param or ENABLE_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

08 Jul 16:05
00ca68e
Compare
Choose a tag to compare

horizonclient

  • Transaction information returned by methods now contain new fields: FeeCharged and MaxFee. 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 with Transaction.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

24 Jun 19:32
8168476
Compare
Choose a tag to compare

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

21 Jun 15:06
8168476
Compare
Choose a tag to compare
Pre-release

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

09 Jul 18:44
ec1b655
Compare
Choose a tag to compare
  • 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

18 Jun 15:20
ec1b655
Compare
Choose a tag to compare
Horizon v0.18.1 rc1 Pre-release
Pre-release

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.