v0.32.0-rc.0
is the first release candidate of the upcoming v0.32.0
. This release candidate is intended for testnet use only.
$ docker pull graphprotocol/graph-node:v0.32.0-rc.0
What's New
- Derived fields getter: Derived fields can now be accessed from within the mapping code during indexing. (#4434)
- Sorting interfaces by child entity: Interfaces can now be sorted by non-derived child entities. (#4058)
- File data sources can now be spawned from handlers of other file data sources: This enables the use of file data sources for scenarios where a file data source needs to be spawned from another one. One practical application of this feature is in handling NFT metadata. In such cases, the metadata itself is stored as a file on IPFS and contains embedded IPFS CID for the actual file for the NFT. (#4713)
- Allow redeployment of grafted subgraphs even when graft_base is not available: This will allow renaming of already synced grafted subgraphs even when the graft base is not available, which previously failed due to
graft-base
validation errors. (#4695) history_blocks
is now available in the index-node API. (#4662)- Added a new
subgraph features
table inprimary
to easily track information likeapiVersion
,specVersion
,features
, and data source kinds used by subgraphs. (#4679) subgraphFeatures
endpoint now includes data fromsubgraph_features
table.ens_name_by_hash
is now undeprecated: This reintroduces support for fetching ENS names by their hash, dependent on the availability of the underlying Rainbow Table (#4751).- Deterministically failed subgraphs now return valid POIs for subsequent blocks after the block at which it failed. (#4774)
eth-call
logs now include block hash and block number: This enables easier debugging of eth-call issues. (#4718)- Enabled support for substreams on already supported networks. (#4767)
- Add new GraphQL scalar type
Int8
. This new scalar type allows subgraph developers to represent 8-bit signed integers. (#4511) - Add support for overriding module params for substreams-based subgraphs when params are provided in the subgraph manifest. (#4759)
Bug fixes
- Fixed
PublicProofsOfIndexing
returning the errorNull value resolved for non-null field proofOfIndexing
when fetching POIs for blocks that are not in the cache (#4768) - Fixed an issue where Block stream would fail when switching back to an RPC-based block ingestor from a Firehose ingestor. (#4790)
- Fixed an issue where derived loaders were not working with entities with Bytes as IDs (#4773)
- Firehose connection test now retries for 30 secs before setting the provider status to
Broken
(#4754) - Fixed the
nonFatalErrors
field not populating in the index node API. (#4615) - Fixed
graph-node
panicking on the first startup when both Firehose and RPC providers are configured together. (#4680) - Fixed block ingestor failing to startup with the error
net version for chain mainnet has changed from 0 to 1
when switching from Firehose to an RPC provider. (#4692) - Fixed Firehose endpoints getting rate-limited due to duplicated providers during connection pool initialization. (#4778)
Graphman
- Added two new
graphman
commandspause
andresume
: Instead of reassigning to a non-existent node these commands can now be used for pausing and resuming subgraphs. (#4642) - Added a new
graphman
commandrestart
to restart a subgraph. (#4742)
Full Changelog: v0.31.0...c350e4f