Harper Lincoln (Version 5)
All specific full patch version release notes for 5.x.x are available on the releases page.
5.0
- Open Source & Pro Editions — Harper v5.0 ships as two editions: a free Apache 2.0 open source edition (
npm i -g harper) and a Pro edition with replication and certificate management (npm i -g @harperfast/harper-pro). - RocksDB Storage Engine — RocksDB replaces LMDB as the default storage engine, bringing more robust transactions, a native write-ahead log for ACID compliance, and powerful background compaction. LMDB remains supported for existing databases.
- Application Context Isolation — Each application now runs in its own JavaScript context with isolated globals and module imports, protecting against prototype pollution and enabling per-application logging and configuration.
- Transitive Replication — An exclusion-based subscription model lets nodes replicate through intermediaries, enabling complex cluster topologies without requiring direct connections between all nodes.
- Resource API Upgrades — Static REST methods are now first-class,
getContext()enables async request access anywhere, and a newsave()method makes in-transaction writes visible to subsequent reads. - Granular Role Permissions & Impersonation — Roles can now be scoped to specific operations, and super users can impersonate other users with configurable identity and role bindings.