DB State Migration
- This release comes with an internal DB represenatation change: the
claimable_balances
table now represents the claimable balance identifiers as an hexadecimal string (as opposed to base64).
The migration will be performed by the ingestion system (through a state rebuild) and, thus, if some of your Horizon nodes are not ingestors (i.e. no --ingestion
flag enabled) you may experience 500s in the GET /claimable_balances/
requests until an ingestion node is upgraded. Also, it's worth noting that the rebuild process will take several minutes and no new ledgers will be ingested until the rebuild is finished.
Breaking changes
- Add a flag
--captive-core-storage-path/CAPTIVE_CORE_STORAGE_PATH
that allows users to control the storage location for Captive Core bucket data (3479).
Previously, Horizon created a directory in/tmp
to store Captive Core bucket data. Now, if the captive core storage path flag is not set, Horizon will default to using the current working directory. - Add a flag
--captive-core-log-path
/CAPTIVE_CORE_LOG_PATH
that allows users to control the location of the logs emitted by Captive Core (3472). If you have aLOG_FILE_PATH
entry in your Captive Core toml file remove that entry and use the horizon flag instead. --stellar-core-db-url
/STELLAR_CORE_DATABASE_URL
should only be configured if Horizon ingestion is enabled otherwise Horizon will not start (3477).
New features
- Add an endpoint which determines if Horizon is healthy enough to receive traffic (3435).
- Sanitize route regular expressions for Prometheus metrics (3459).
- Add asset stat summaries per trust-line flag category (3454).
- The
amount
, andnum_accounts
fields in/assets
endpoint are deprecated. Fields will be removed in Horizon 3.0. You can find the same data underbalances.authorized
, andaccounts.authorized
, respectively.
- The
- Add a flag
--captive-core-peer-port
/CAPTIVE_CORE_PEER_PORT
that allows users to control which port the Captive Core subprocess will bind to for connecting to the Stellar swarm. (3483). - Add 2 new HTTP endpoints
GET claimable_balances/{id}/transactions
andGET claimable_balances/{id}/operations
, which respectively return the transactions and operations related to a provided Claimable Balance Identifier{id}
. - Add Stellar Protocol 16 support. This release comes with support for Protocol 16 (CAP 35: asset clawback). See the downstream SDK issue template for details on what changed on Horizon's side. For full details, please read CAP 35.