What's new
- Aggregations - Declarative aggregations defined in the subgraph schema allow the developer to aggregate values on specific intervals using flexible aggregation functions. (#5082) (#5184) (#5209) (#5242) (#5208)
- Add pause and resume to admin JSON-RPC API - Adds support for explicit pausing and resuming of subgraph deployments with a field tracking the paused state in
indexerStatuses
. (#5190) - Support eth_getBalance calls in subgraph mappings - Enables fetching the Eth balance of an address from the mappings using
ethereum.getBalance(address)
. (#5202) - Add parentHash to _meta query - Particularly useful when polling for data each block to verify the sequence of blocks. (#5232)
- Parallel execution of all top-level queries in a single query body (#5273)
- The ElasticSearch index to which
graph-node
logs can now be configured with theGRAPH_ELASTIC_SEARCH_INDEX
environment variable which defaults tosubgraph
. (#5210) - Some small prefetch simplifications. (#5132)
- Migration changing the type of health column to text. (#5077)
- Disable eth_call_execution_time metric by default. (#5164)
- Call revert_state_to whenever blockstream is restarted. (#5187)
- Pruning performance improvement: only analyze when rebuilding. (#5186)
- Disallow grafts within the reorg threshold. (#5135)
- Optimize subgraph synced check-less. (#5198)
- Improve error log. (#5217)
- Update provider docs. (#5216)
- Downgrade 'Entity cache statistics' log to trace. (#5241)
- Do not clone MappingEventHandlers in match_and_decode. (#5244)
- Make batching conditional on caught-up status. (#5252)
- Remove hack in chain_head_listener. (#5240)
- Increase sleep time in write queue processing. (#5266)
- Memoize Batch.indirect_weight. (#5276)
- Optionally track detailed indexing gas metrics in csv. (#5215)
- Do not use prefix comparisons for primary keys. (#5289)
Graphman
- Add ability to list removed unused deployment by id. (#5152)
- Add command to change block cache shard. (#5169)
Firehose and Substreams
- Add key-based authentication for Firehose/Substreams providers. (#5259)
- Increase blockstream buffer size for substreams. (#5182)
- Improve substreams error handling. (#5160)
- Reset substreams/firehose block ingestor backoff. (#5047)
Bug Fixes
- Fix graphiql issue when querying subgraph names with multiple path segments. (#5136)
- Fix change_health_column migration for sharded setup. (#5183)
- Fix conversion of BlockTime for NEAR. (#5206)
- Call revert_state_to to last good block instead of current block. (#5195)
- Fix Action::block_finished. (#5218)
- Fix runtime timeouts. (#5236)
- Remove panic from rewind and truncate. (#5233)
- Fix version stats for huge number of versions. (#5261)
- Fix _meta query failure due to incorrect selection set use. (#5265)
Major dependency upgrades
Contributors
Thank you to all the contributors! @incrypto32
, @mangas
, @lutter
, @leoyvens
, @zorancv
, @YaroShkvorets
, @seem-less
Full Changelog: v0.34.1...v0.35.0