Releases: stellar/go
Horizon v0.17.3
- Fix a bug in
txsub
package that caused returning invalid status when resubmitting old transactions (#969).
Horizon v0.17.2
- Critical fix bug
Horizon v0.17.1
Critical!
This release contains a critical bug! Please upgrade directly to 0.17.2.
- Fixes high severity error in ingestion system.
- Account detail endpoint (
/accounts/{id}
) includeslast_modified_ledger
field for account and for each non-native asset balance.
Horizon v0.16.1
- Fixes high severity error in ingestion system.
Horizon v0.17.0
Critical!
This release contains a critical bug! Please upgrade directly to 0.17.2.
Upgrade notes
This release introduces ingestion of failed transactions. This feature is turned off by default. To turn it on set environment variable: INGEST_FAILED_TRANSACTIONS=true
or CLI param: --ingest-failed-transactions=true
. Please note that ingesting failed transactions can double DB space requirements (especially important for full history deployments).
Database migration notes
Previous versions work fine with new schema so you can migrate (horizon db migrate up
using new binary) database without stopping the Horizon process. To reingest ledgers run horizon db reingest
using Horizon 0.17.0 binary. You can take advantage of the new horizon db reingest range
for parallel reingestion.
Deprecations
/operation_fee_stats
is deprecated in favour of/fee_stats
. Will be removed in v0.18.0.
Breaking changes
- Fields removed in this version:
- Root >
protocol_version
, usecurrent_protocol_version
andcore_supported_protocol_version
. - Ledger >
transaction_count
, usesuccessful_transaction_count
andfailed_transaction_count
. - Signer >
public_key
, usekey
.
- Root >
- This Horizon version no longer supports Core <10.0.0. Horizon can still ingest version <10 ledgers.
- Error event name during streaming changed to
error
to follow W3C specification.
Changes
- Added ingestion of failed transactions (see Upgrade notes). Use
include_failed=true
GET parameter to display failed transactions, operations and payments in collection endpoints. Single transaction endpoints (/transactions/{id}
,/transactions/{id}/operations
and/transactions/{id}/payments
) display information even if a transaction is failed so it's important to checksuccessful
andtransaction_successful
fields. /fee_stats
endpoint has been extended with fee percentiles and ledger capacity usage. Both are useful in transaction fee estimations.- Fixed a bug causing slice bounds out of range at
/account/{id}/offers
endpoint during streaming. - Added
horizon db reingest range X Y
that reingests ledgers between X and Y sequence number (closed intervals). - Many code improvements.
Horizon v0.16.0
Upgrade notes
- Ledger > Admins need to reingest old ledgers because we introduced
successful_transaction_count
andfailed_transaction_count
.
Database migration notes
Previous versions work fine with Horizon 0.16.0 schema so you can migrate (horizon db migrate up
) database without stopping the Horizon process. To reingest ledgers run horizon db reingest
using Horizon 0.16.0 binary.
Deprecations
- Root >
protocol_version
will be deprecated in v0.17.0. It is relaced bycurrent_protocol_version
andcore_supported_protocol_version
. - Ledger >
transaction_count
will be deprecated in v0.17.0. - Signer >
public_key
will be deprecated in v0.17.0.
Changes
- Improved
horizon db migrate
script. It will now either success or show a detailed message regarding why it failed. - Fixed effects ingestion of circular payments.
- Improved account query performances for payments and operations.
- Added
successful_transaction_count
andfailed_transaction_count
toledger
resource. - Fixed the wrong protocol version displayed in
root
resource by addingcurrent_protocol_version
andcore_supported_protocol_version
. - Improved streaming for single objects. It won't send an event back if the current event is the same as the last event sent.
- Fixed ingesting effects of empty trades. Empty trades will be ignored during ingestion.
Horizon v0.15.4
- Fixed multiple issues in transaction submission subsystem.
- Support for client fingerprint headers.
- Fixed parameter checking in
horizon db backfill
command.
Horizon v0.15.3
- Fixed a bug in Horizon DB reaping code.
- Fixed query checking code that generated
ERROR
-level log entries for invalid input.
Horizon v0.15.2
- Added
horizon db init-asset-stats
command to initializeasset_stats
table. This command should be run once before starting ingestion if asset stats are enabled (ENABLE_ASSET_STATS=true
). - Fixed
asset_stats
table to support longerhome_domain
s. - Fixed slow trades DB query.
Horizon v0.15.1
- Fixed memory leak in SSE stream code.