Skip to main content

JOURNAL_RECORD_VERSION

@totemsdk/storage


@totemsdk/storage / JOURNAL_RECORD_VERSION

Variable: JOURNAL_RECORD_VERSION

const JOURNAL_RECORD_VERSION: 2 = 2

Current entry format version. 1 is the 2026 initial journal layout; set to 2 so that genuinely older journal formats can be demonstrated as forward-migratable on read (migration is opt-in via JournalOptions.migrate).