Filter by multiple fields with getWhere
await context.Account.getWhere({
id: {
_eq: "0x123...",
},
balance: {
_gte: 1_000_000n,
_lte: 10_000_000n,
},
});
Additionally, we noticeably improved the performance of getWhere with a single _eq or _in filter by optimizing the number of round trips to the database.
Multi-storage improvements
Now it's possible to mark storages as default to automatically assign an entity to the storage. It allows you not to set @storage attribute for every entity in schema.graphql and only use it as a default overwrite.
storage:
postgres:
default: true
clickhouse:
default: true
Column Name Format
Configure automatic conversion for column names in your database to snake_case. It only affects the underlying database, so GraphQL and handler types will preserve the original names derived from schema.graphql.
storage:
postgres:
column_name_format: snake_case
More Experimental Solana Features
We added support for HyperSync-powered instruction handlers. Reach out to us if you're interested in becoming an early tester.
Critical Bug Fixes
- Fix critical bugs causing an indexer crash introduced by v3.1
- Flush in-flight batch writes before computing rollback diffs #1305
- Duplicate history rows from concurrent batch writes #1312
- Handle missing transaction data as retryable RPC errors - previously it would incorrectly disable the source #1304
- Make config path root-relative in start command #1296
- Validate duplicate addresses in config at parse time #1311
Internal Work
- Chore, refactoring and other fun things #1290