Skip to content

v1.3.2 makeReadOnly API

Choose a tag to compare

@albe albe released this 08 Jun 18:44
· 130 commits to main since this release
388cb5d
  • Added EventStore.makeReadOnly([callback]) as a niche handover API for switching a running writer process into read-only mode without restarting it. For the common case, creating a fresh read-only EventStore instance remains the recommended approach.
  • Added public VERSION export at the package root and mirrored it on EventStore.VERSION so dependent layers can read the event-storage version directly without resolving/parsing package.json at runtime.
  • Fixed ReadOnlyStorage.open() to keep the same opened-event semantics as the readable and writable storage variants, so read-only reopen paths and the makeReadOnly() callback now work consistently.