Effect API
The new Effect API is a convenient way to perform external calls from your handlers. It's especially powerful when used with loaders:
- It automatically batches calls of the same kind
- It memoizes calls, so you don't need to worry about the loader function being called multiple times
- It deduplicates calls with the same arguments so that you won't overfetch
- And we're working on adding support for automatic retrying of failed requests as well as persisting results to use on indexer reruns
It allows you to parallelize thousands of external calls from the processing batch, instead of executing them one by one.
Read more in the dedicated Loaders guide.
Contract Registration Boost
We made indexing with contract registrations much faster. It got so fast in the default mode that we disabled the preRegisterDynamicContracts option.
Handle 9 more RPC provider errors
For the RPC data source, when we perform requests for event logs, different RPC providers might have different errors, with suggestions to use a different block range for retry. In the release, we added support for 9 more RPC providers to improve our RPC sync retry logic.
Fix CLI to init the indexer in a non-interactive way
Fix the
--single-contractand--all-eventsflags for contract import from explorer #514
We started experimenting with Envio MCP, and creating an indexer using a CLI is definitely a fantastic feature.