Skip to content

docs: Update v3.0.0-alpha.15 release notes and features#851

Open
DZakh wants to merge 5 commits intomainfrom
claude/add-getwhere-operators-AkEtU
Open

docs: Update v3.0.0-alpha.15 release notes and features#851
DZakh wants to merge 5 commits intomainfrom
claude/add-getwhere-operators-AkEtU

Conversation

@DZakh
Copy link
Copy Markdown
Member

@DZakh DZakh commented Apr 3, 2026

Summary

Updated migration and documentation to reflect v3.0.0-alpha.15 release, including new features and clarifications about the testing framework status.

Key Changes

  • Version bump: Updated all references from v3.0.0-alpha.14 to v3.0.0-alpha.15
  • Testing Framework: Removed "(Experimental)" label to indicate the testing framework is now stable
  • New filter operators: Documented three new Hasura-style filter operators (_gte, _lte, _in) for querying entities
  • Block Lag Configuration: Added documentation for per-chain block_lag configuration option to index behind the chain head
  • Separate Runtime Metrics Endpoint: Documented new /metrics/runtime endpoint with dedicated Prometheus registry
  • Double Handler Registration: Added documentation showing support for registering multiple handlers for the same event
  • Release notes: Added v3.0.0-alpha.15 to the release notes list

Notable Details

  • All documentation updates were applied consistently across both migrate-to-v3.md and hyperindex-complete.mdx
  • New features include code examples demonstrating usage patterns
  • The block lag feature is marked as advanced usage with appropriate warnings

https://claude.ai/code/session_01GTMMiVvDveeXrTUtjJGC2r

Summary by CodeRabbit

  • New Features

    • Added _gte, _lte, _in filter operators
    • Per-chain block_lag configuration
    • New /metrics/runtime Prometheus endpoint
    • Support for registering multiple handlers for the same event
  • Documentation

    • Testing Framework no longer marked experimental
    • Updated migration and release notes for v3.0.0-alpha.15/alpha.16
    • Documented updated local dev Docker flow
  • Breaking Changes

    • Renamed ENVIO_PG_PUBLIC_SCHEMA → ENVIO_PG_SCHEMA (backward-compatible)

claude added 4 commits April 3, 2026 15:06
Add new feature sections for getWhere operators (_gte, _lte, _in),
block lag configuration, separate runtime metrics endpoint, and double
handler registration. Remove experimental label from testing framework.
Update version references to alpha.15.

https://claude.ai/code/session_01GTMMiVvDveeXrTUtjJGC2r
Instead of a standalone section, the new _gte, _lte, _in operators
are now documented within the existing GraphQL-Style getWhere API
section.

https://claude.ai/code/session_01GTMMiVvDveeXrTUtjJGC2r
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
envio-docs Ready Ready Preview, Comment Apr 3, 2026 3:20pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 3, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 709ac443-336e-476a-af4d-01df295a9c07

📥 Commits

Reviewing files that changed from the base of the PR and between 67fe16d and cfb3b26.

📒 Files selected for processing (2)
  • docs/HyperIndex-LLM/hyperindex-complete.mdx
  • docs/HyperIndex/migrate-to-v3.md
✅ Files skipped from review due to trivial changes (1)
  • docs/HyperIndex/migrate-to-v3.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/HyperIndex-LLM/hyperindex-complete.mdx

📝 Walkthrough

Walkthrough

Documentation updates to HyperIndex migration and reference guides: removed "Experimental" from the testing framework header, added Hasura-style getWhere operators (_gte, _lte, _in), documented per-chain block_lag, added a /metrics/runtime endpoint note, multi-handler registration examples, and updated alpha release references and breaking-change rename.

Changes

Cohort / File(s) Summary
HyperIndex docs
docs/HyperIndex-LLM/hyperindex-complete.mdx, docs/HyperIndex/migrate-to-v3.md
Documentation-only edits: removed "(Experimental)" from testing framework header; added getWhere operators (_gte, _lte, _in) with examples; introduced per-chain block_lag config (replacing ENVIO_INDEXING_BLOCK_LAG) and YAML sample; documented /metrics/runtime Prometheus endpoint (isolated registry); showed registering multiple handlers for the same event; updated envio dev Docker flow notes; added release notes and noted ENV var rename ENVIO_PG_PUBLIC_SCHEMAENVIO_PG_SCHEMA (backcompat).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • DenhamPreen
  • moose-code
  • nikbhintade

Poem

🐰 I hopped through docs with glee and care,

Filters, lags, and metrics now laid bare.
Alpha notes tucked neat and prim,
Handlers stacked—register them!
Happy hops to ship this whim! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main documentation updates, covering the v3.0.0-alpha.15 release notes and multiple new features being documented (getWhere operators, block_lag configuration, metrics endpoint, multiple handlers, and the removal of experimental label).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/add-getwhere-operators-AkEtU

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/HyperIndex-LLM/hyperindex-complete.mdx`:
- Around line 1065-1076: The example claims "similar filters" but the two
ERC20.Transfer.handler registrations lack any eventFilters; update the snippet
to either remove "with similar filters" or add matching eventFilters to both
handler registrations (e.g., use the eventFilters property or equivalent
parameter on ERC20.Transfer.handler) so the example matches the text; locate the
two uses of ERC20.Transfer.handler in the snippet and add identical or similar
eventFilters to each (or remove the phrase) and ensure the documentation text is
adjusted accordingly.

In `@docs/HyperIndex/migrate-to-v3.md`:
- Around line 379-380: Add a migration note that ENVIO_INDEXING_BLOCK_LAG is
removed and replaced by the per-chain config option block_lag: update the
“Environment Variable Changes” list to include ENVIO_INDEXING_BLOCK_LAG
(indicate it’s removed and replaced by block_lag, default 0), and add a
checklist item instructing users to move any ENVIO_INDEXING_BLOCK_LAG settings
into the appropriate chain’s block_lag entry in their config; reference the
symbols block_lag and ENVIO_INDEXING_BLOCK_LAG so readers can locate the
relevant sections.
- Around line 393-405: The sentence claims handlers can be registered "with
similar filters" but the example using ERC20.Transfer.handler has no filter
arguments; either remove "with similar filters" from the sentence or update the
two ERC20.Transfer.handler examples to include example filter params (e.g., a
filter object or predicate passed to handler) to demonstrate registering
multiple handlers with similar filters; reference the ERC20.Transfer.handler
calls and update the surrounding text and examples so they match.
- Line 200: Multiple docs still reference "3.0.0-alpha.14" while the reviewed
diff uses "pnpx envio@3.0.0-alpha.15 init svm"; update every occurrence of the
old version string to "3.0.0-alpha.15" and ensure commands like "pnpx
envio@3.0.0-alpha.15 init svm" and any version declarations/changelog links are
changed accordingly (search for the token "3.0.0-alpha.14" and replace with
"3.0.0-alpha.15" and verify the pnpx command string is consistent).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1a697f9f-ba3f-48fa-b689-864a5d7223fb

📥 Commits

Reviewing files that changed from the base of the PR and between 22c4929 and 67fe16d.

📒 Files selected for processing (2)
  • docs/HyperIndex-LLM/hyperindex-complete.mdx
  • docs/HyperIndex/migrate-to-v3.md

Comment on lines +1065 to +1076
It's now possible to register multiple handlers for the same event with similar filters:

```typescript
import { ERC20 } from "generated";

ERC20.Transfer.handler(async ({ event, context }) => {
// Your logic here
});

ERC20.Transfer.handler(async ({ event, context }) => {
// And here
});
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Example does not match the “similar filters” claim.

Line 1065 says registration is shown “with similar filters,” but Line 1070 and Line 1074 register handlers without any eventFilters. Please either remove that phrase or include filters in the sample.

✏️ Suggested doc fix
-It's now possible to register multiple handlers for the same event with similar filters:
+It's now possible to register multiple handlers for the same event (including with similar filters):

 import { ERC20 } from "generated";
+const ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";

 ERC20.Transfer.handler(async ({ event, context }) => {
   // Your logic here
-});
+}, { eventFilters: { from: ZERO_ADDRESS } });

 ERC20.Transfer.handler(async ({ event, context }) => {
   // And here
-});
+}, { eventFilters: { to: ZERO_ADDRESS } });
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/HyperIndex-LLM/hyperindex-complete.mdx` around lines 1065 - 1076, The
example claims "similar filters" but the two ERC20.Transfer.handler
registrations lack any eventFilters; update the snippet to either remove "with
similar filters" or add matching eventFilters to both handler registrations
(e.g., use the eventFilters property or equivalent parameter on
ERC20.Transfer.handler) so the example matches the text; locate the two uses of
ERC20.Transfer.handler in the snippet and add identical or similar eventFilters
to each (or remove the phrase) and ensure the documentation text is adjusted
accordingly.


```bash
pnpx envio@3.0.0-alpha.14 init svm
pnpx envio@3.0.0-alpha.15 init svm
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify remaining alpha.14 references in docs
rg -n --iglob '*.md' --iglob '*.mdx' '3\.0\.0-alpha\.14|pnpx envio@3\.0\.0-alpha\.14 init svm'

Repository: enviodev/docs

Length of output: 567


Update version references from alpha.14 to alpha.15 across all documentation files

Multiple documentation pages still reference 3.0.0-alpha.14 while the reviewed file uses 3.0.0-alpha.15, creating conflicting setup instructions:

  • docs/HyperIndex/solana/solana.md:21 – pnpx command
  • docs/HyperIndex-LLM/hyperindex-complete.mdx:873, 1175, 1481, 10939 – pnpx commands and version declarations
  • docs/HyperIndex/migrate-to-v3.md:811 – changelog link reference

Align all references to 3.0.0-alpha.15 for consistency.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/HyperIndex/migrate-to-v3.md` at line 200, Multiple docs still reference
"3.0.0-alpha.14" while the reviewed diff uses "pnpx envio@3.0.0-alpha.15 init
svm"; update every occurrence of the old version string to "3.0.0-alpha.15" and
ensure commands like "pnpx envio@3.0.0-alpha.15 init svm" and any version
declarations/changelog links are changed accordingly (search for the token
"3.0.0-alpha.14" and replace with "3.0.0-alpha.15" and verify the pnpx command
string is consistent).

Comment on lines +379 to +380
A per-chain `block_lag` option to index behind the chain head by a specified number of blocks. Replaces the global `ENVIO_INDEXING_BLOCK_LAG` environment variable. Defaults to 0. This is for advanced use cases — only use it if you know what you're doing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Missing migration guidance for ENVIO_INDEXING_BLOCK_LAG removal

Line 379 says block_lag replaces ENVIO_INDEXING_BLOCK_LAG, but the “Environment Variable Changes” list (Lines 442-447) does not include that variable. Please add it there (and ideally in the checklist) so migration steps are consistent and actionable.

Suggested doc fix
 ### Environment Variable Changes
 
 - Removed `UNSTABLE__TEMP_UNORDERED_HEAD_MODE` environment variable
 - Removed `UNORDERED_MULTICHAIN_MODE` environment variable
+- Removed `ENVIO_INDEXING_BLOCK_LAG` environment variable (use per-chain `block_lag` in `config.yaml`)
 - Removed `MAX_BATCH_SIZE` environment variable (use `full_batch_size` in config.yaml instead)

Also applies to: 442-447

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/HyperIndex/migrate-to-v3.md` around lines 379 - 380, Add a migration
note that ENVIO_INDEXING_BLOCK_LAG is removed and replaced by the per-chain
config option block_lag: update the “Environment Variable Changes” list to
include ENVIO_INDEXING_BLOCK_LAG (indicate it’s removed and replaced by
block_lag, default 0), and add a checklist item instructing users to move any
ENVIO_INDEXING_BLOCK_LAG settings into the appropriate chain’s block_lag entry
in their config; reference the symbols block_lag and ENVIO_INDEXING_BLOCK_LAG so
readers can locate the relevant sections.

Comment on lines +393 to +405
It's now possible to register multiple handlers for the same event with similar filters:

```typescript
import { ERC20 } from "generated";

ERC20.Transfer.handler(async ({ event, context }) => {
// Your logic here
});

ERC20.Transfer.handler(async ({ event, context }) => {
// And here
});
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Example text and code don’t match on “similar filters”

Line 393 says handlers can be registered “with similar filters,” but both examples on Lines 398-404 have no filters. Either add filter args to the examples or drop “with similar filters” from the sentence.

Suggested doc wording fix
-It's now possible to register multiple handlers for the same event with similar filters:
+It's now possible to register multiple handlers for the same event:
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
It's now possible to register multiple handlers for the same event with similar filters:
```typescript
import { ERC20 } from "generated";
ERC20.Transfer.handler(async ({ event, context }) => {
// Your logic here
});
ERC20.Transfer.handler(async ({ event, context }) => {
// And here
});
```
It's now possible to register multiple handlers for the same event:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/HyperIndex/migrate-to-v3.md` around lines 393 - 405, The sentence claims
handlers can be registered "with similar filters" but the example using
ERC20.Transfer.handler has no filter arguments; either remove "with similar
filters" from the sentence or update the two ERC20.Transfer.handler examples to
include example filter params (e.g., a filter object or predicate passed to
handler) to demonstrate registering multiple handlers with similar filters;
reference the ERC20.Transfer.handler calls and update the surrounding text and
examples so they match.

Add updated dev Docker flow section, ENVIO_PG_PUBLIC_SCHEMA rename
to ENVIO_PG_SCHEMA in environment variable changes, and bump version
references to alpha.16.

https://claude.ai/code/session_01GTMMiVvDveeXrTUtjJGC2r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants