Skip to content

Midnight Indexer 4.0.0

Choose a tag to compare

@oxidyn0 oxidyn0 released this 17 Mar 11:52
· 97 commits to main since this release
v4.0.0
75e88c6

Release notes

Release name

Version: 4.0.0
Date: 2026-03-17

High-level summary

This release mainly bumps the API version to v4 and adds support for Node 0.22 and Ledger 8.

Audience

This release note is critical for developers who:

  • use the Midnight Indexer via the Indexer API
  • run the Midnight Indexer

What changed

  • (indexer-api) Replace deterministic session ID with random per-session token (#807)
  • Use storage-core v1.1 with layout v2 (#861)
  • Replace window function with scalar subquery in ledger events query (#890)
  • Batch ledger_db_nodes inserts to reduce SQL roundtrips (#892)

New features

  • (indexer-api) Bump API version to v4
  • (indexer-api) /api/v3 alias for /api/v4 for backwards compatibility (#815)

Bug fixes

  • Use lazy loading for ledger state deserialization to avoid recursion depth limit (#871)

Required Updates

  • All users are encouraged to use API v4. API v3 is still supported, but will be deprecated soon and eventually removed
  • The internal database format has changed and hence it is necessary to start with a fresh/empty database

Links and references