v0.37.0
What's new
-
Composable Subgraphs: A feature that enables subgraphs to use other subgraphs as data sources. This introduces modularity in subgraph development by allowing developers to create source subgraphs that can be referenced by dependent subgraphs. The feature supports up to 5 subgraph datasources.
Note for Indexers: To deploy a dependent subgraph, the source subgraph(s) must already be deployed and available on your infrastructure.
-
YAML Parsing in Subgraph Mappings: Added YAML parsing support to subgraph mappings through new host functions, enabling subgraphs to parse YAML documents (including subgraph manifests) directly in their mappings
Improvements
- Added new deployment metrics:
deployment_status
: Tracks deployment lifecycle (starting, running, stopped, failed)deployment_synced
: Indicates if deployment has reached chain head
- Optimized copy, graft, and prune operations for unevenly distributed rows
- Improved error handling for substreams-powered subgraphs
- Enhanced error handling when restarting paused subgraphs
- Improved Firehose block request handling with retries and block cache
- Fixed issue with metrics not reporting updated values
Graphman
- Added unassign/reassign commands to GraphQL API
Breaking changes
- The
deployment_failed
metric has been removed in favor of the newdeployment_status
metric
Contributors
Thanks to @zorancv, @shiyasmohd, @isum, @DaMandal0rian, @incrypto32, @King-witcher, and @lutter for contributing to this release.
Full Changelog: v0.36.1...v0.37.0