Releases: stellar/go-stellar-sdk
horizonclient-v12.0.0 & txnbuild
First version of Horizon Client with protocol 20:Soroban support.
What's Changed
New XDR Schema:
-
Support for new XDR schemas.
-
Three new operations related to Soroban and state expiration (see Interacting with Soroban via Stellar and State Expiration):
- invokeHostFunctionOp: Invoke contract actions.
- bumpExpirationFootprintOp: Bump expiration ledger of specified keys.
- restoreFootprintOp: Restore expiration of specified ledger keys.
Horizon API Changes:
/effectscan produce two new effects:contract_creditedoccurs when a Stellar asset moves into its corresponding Stellar Asset Contract instancecontract_debitedoccurs when a Stellar asset moves out of its corresponding Stellar Asset Contract instance
/assets/:namecontains two new fields:num_contracts- the integer quantity of contracts that hold this assetcontracts_amount- the total units of that asset held by contracts
/operationshas three new response schemas corresponding to the Soroban operations (described above)
horizon-v2.26.2-pre-soroban
The latest horizon master branch before soroban features were merged in
Horizon v2.26.1
Fixes
- This hotfix allows ledger ingestion to continue in case of a liquidity pool slippage miscalculation. Its only side effect is that
/tradesand/trade_aggregationsmay contain incorrect slippage (9a7522e).
Horizon v2.26.0
Changes
- Improve error handling for when stellar-core crashes (4893)
- Suppress Core timeout error in log output such as
error ticking app: context deadline exceededwhen ingestion state machine is in build state. (4860)
Breaking Changes
- Modify the default value of
--captive-core-use-dbto true (4856)- This updates the default behavior of captive core to start in on-disk mode.
- To continue using the previous in-memory mode, explicitly set the
--captive-core-use-dbflag to false
Horizon v2.25.0
2.25.0
Changes
- Running Horizon with remote captive core is now deprecated (4826).
- Add two new configuration variables to control the behavior of state verification (4821):
--ingest-state-verification-frequencywhich specifies the frequency in checkpoints for how often state verification is run--ingest-state-verification-timeoutwhich specifies a timeout on how long state verification can run
Fixes
- Fix crash in horizon ingestion when running horizon with a remote captive core (4824).
horizonclient & txnbuild v11.0.0
v11.0.0 - 2023-03-29
Breaking Changes
- Minimum Golang version changed to 1.18
- Type of
AccountSequencefield inprotocols/horizon.Accountwas changed toint64. - Muxed accounts and ID memos can be used in the
BuildChallengeTx()andReadChallengeTx()SEP-10 utilitiy functions to identify users of shared Stellar accounts. (#4746)BuildChallengeTx():- Muxed account addresses can be passed as the
clientAccountID. - Adds an additional parameter of type
*txnbuild.MemoID. Memos cannot be specified if theclientAccoutIDid a muxed account address.
- Muxed account addresses can be passed as the
ReadChallengeTx():- Muxed account addresses may be returned as the
clientAccountID. - Adds an additional return value of type
*txnbuild.MemoID.
- Muxed account addresses may be returned as the
What's Changed in horizonclient
-
clients/horizonclient: fix theoretical bug in currentServerTime
@tsachiherman -
protocols/horizon: Change Transaction.AccountSequence to int64
@bartekn -
services/horizon, clients/horizonclient: Allow filtering ingested transactions by account or asset
@sreuland
@2opremio
@bartekn
@Shaptic
What's Changed in txnbuild
-
use *MemoID instead of Memo for param and return type
@JakeUrban -
add memo to BuildChallengeTx params and ReadChallengeTx return value
@JakeUrban -
all: Add a set of generics and incorporate them into the codebase
@Shaptic -
protocols/horizon: Change Account.Sequence to int64 (#4438)
@bartekn
Full Changelog: stellar/go@horizonclient-v10.0.0...horizonclient-v11.0.0
Horizon v2.24.1
2.24.1
Changes
- Bump Go to the latest version (1.20.1), including crypto/tls, mime/multipart, net/http, and path/filepath security fixes.
Horizon v2.24.0
2.24.0
Changes
-
Add support for the experimental BucketListDB to Horizon, the parameters have been added to the Captive Core configuration / TOML files (4733):
- BucketListDB is enabled by default when
--captive-core-use-dbis set and yourstellar-coreversion >= 19.6 - If
--captive-core-use-dbset but yourstellar-coreversion < 19.6, an on-disk SQLite database is used (as before). - This update will not automatically trigger a state rebuild unless
EXPERIMENTAL_BUCKETLIST_DBis set to false in the Captive Core TOML file.
- BucketListDB is enabled by default when
Fixes
- Improve error when setting
BUCKET_DIR_PATHand using Captive Core (4736).
Horizon v2.23.1
Changes
- Bump Go to the latest version, including net/http security fixes.
Horizon v2.23.0
Upgrading to this version will trigger a state rebuild. During this process, Horizon will not ingest new ledgers.
Fixes
- Improve performance of
/claimable_balancesfilters. This change should significantly improve?asset=and?claimant=filters. (#4690). - Reallocate slices after offer removals in order book graph. This is done to prevent keeping a large chunks of allocated but unused memory that can lead to OOM crash.
- The ingestion subsystem will now properly use a pool of history archives if more than one is provided. (#4687)
- Add
horizon ingest build-statecommand which builds state at a specific ledger. Useful for debugging. (#4636)