forked from greenpill-dev-guild/camp-green
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi folks β JonJon here, co-founder at Envio.
We've shipped some massive upgrades over the past few months! Here's what you might have missed:
v2.31.0 β "Big Reliability Release" ποΈ
- Complete rollback on reorg refactoring β fixes all known indexing issues, optimized DB writes (dozens of ms faster!), reorg-resistant event counter
- Extended entity name length support (up to 63 chars)
- Multiple indexers with different schemas on single database now supported
v2.30.0 β Address Format Configuration & Performance π
- Choose between checksum (default) and lowercase addresses β facilitates SubGraph migration and improves performance in some instances
- Faster Event Decoder for RPC source β multiple times faster using the HyperSync event decoder instead of Viem
- Fixes for indexing-at-the-head metric and GraphQL entity read permissions
- Internal improvements: guaranteed single-batch block events, optimized dynamic address persistence
v2.29.0 β Block Handlers π
- Run logic on every block or at intervals! Perfect for aggregations and time-series data
- Use
onBlock()for powerful new patterns: time intervals, preset handlers, multichain mode - Check out the Block Handlers docs for examples
v2.28.0 β Speed & Scale
- 2X faster RPC historical sync β halved the number of requests needed
- Much faster indexing for big factories β 2M addresses now index 2X faster (4 days β 2 days!)
- New official
_metaquery for tracking indexer progress per chain
v2.27.0 β Preload Optimization β‘
- Auto-batched entity loading β makes handlers multiple times faster with zero code changes
- Set
preload_handlers: truein config and watch the magic happen - Contract-specific start blocks for optimized indexing
v2.26.0 β Built-in Effect Cache
- Persistent cache for Effect API calls β set
cache: trueand share cache with Hosted Service - Dramatically reduces redundant external API calls
Earlier gems you might have missed
- Effect API (v2.19) β auto-batching, memoization & deduplication for external calls
getOrCreate/getOrThrowhelpers β cleaner code, no boilerplate null checks- Automatic RPC fallback when HyperSync stalls
Need anything?
- Quick tips on schema design or perf tuning
- Help with Block Handlers or Preload optimization
- Migration support for our hosted service (now with monitoring & alerting!)
Reply here or join us on Discord.
# one-liner upgrade
pnpm i envio@latestFull changelog β https://github.com/enviodev/hyperindex/releases/tag/v2.31.1
Docs β https://docs.envio.dev
Feel free to close if you're all set.
Best,
JonJon & the Envio team
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog