Isolated Multichain Rollbacks
When disable_default_cross_chain: true is set and no entities are marked with explicit @crossChain, rollbacks now apply only to the chain where the rollback is triggered. It leads to:
- Better isolation and reliability for multichain indexers
- Better performance and lower latency
Additionally, the version fixes a few reorg-handling edge cases.
#1604, #1611
ClickHouse Storage In Rust
We rewrote the ClickHouse storage backend in Rust. It's now faster, more reliable, and easier to maintain. Plus, we improved ClickHouse storage stability and fixed a few known issues.
#1541, #1609, #1622, #1621, #1615, #1614, #1616
Bytes Representation
You can now choose between hex and bytes for the representation of Bytes type fields. Previously, it was a simple alias for String graphql type; now you can change the default to uint8array which will also change the underlying Postgres type to bytea.
bytes_type: uint8array # default is hex
SVM: The option is not available for SVM users, and
uint8arrayis the default.
#1620
Height Stream Reliability
HyperIndex supports height streaming from the HyperSync SSE endpoint (default), as well as optional RPC WebSocket. There's also polling as a fallback. In this release, we drastically improved the logic for keeping the stream alive and falling back to polling without 10-20 seconds of downtime. This should reduce the latency and make new block tracking more reliable.
There are also 2 new Prometheus metrics that came with the change:
envio_source_height_stream_connects_total
envio_source_height_stream_disconnects_total{reason}
#1567
Experimental Solana Polishing
- Added
wherefiltering for SVM instructions by named accounts, inner/outer instructions, and minimum block slots. - 64-bit-plus integers now decoded as bigint instead of string.
- Enum variants without fields now decoded as strings instead of objects.
- Decode SVM instruction data and bytes args as Uint8Array instead of hex.
- Bytes entity field always uses uint8array for SVM indexers.
- Instructions routed by a combination of discriminant and passing args decoding.
- It's possible to define instructions with the same discriminant.
- Discriminants support arbitrary byte size, eg 3.
#1606, #1608, #1613, #1618, #1623
Other Changes
- Fixed nullable entity fields edge-cases #1600
envio metricsnow supports resolving the port from the.envfile #1601- Regression test for #655 #1599
- Remove in-memory storage backend from test-suite #1600
- Improved ABI file parsing logic for SubGraph compatibility. We also made error messages more guiding #1605
- Improve HyperSync health check test #1612
- Give the contract import request a timeout #1619
- Enforce Rust linting rules and fix clippy warnings #1617