Skip to content

v2.19.0

Choose a tag to compare

@DZakh DZakh released this 08 May 10:28
9c9c161

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.

By @DZakh in #511

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.

By @DZakh in #516

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.

By @DZakh in #515

Fix CLI to init the indexer in a non-interactive way 🐛

Fix the --single-contract and --all-events flags for contract import from explorer by @JasoonS in #514

We started experimenting with Envio MCP, and creating an indexer using a CLI is definitely a fantastic feature.

Full Changelog: v2.18.0...v2.19.0