Skip to content

v5.4.3

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:25
· 1670 commits to main since this release
v5.4.3
73fcf61

Data integrity

  • Operations API writes are kept after LMDB startup compaction. Workers could hold stores open across the compaction swap, so Operations API writes were silently dropped, and a record-count mismatch could delete the compaction backup. Databases are now reopened after compaction, startup stays writable when compaction may roll back, and verification renews its read transactions. (#4685)
  • Auto-assigned ids keep working after a restart or clear(). On RocksDB, a table's id range stored as its third record shape read back as missing: bulk inserts failed with a 500 and each restart took a new range. After a hard kill, the first new id could collide with an existing row. clear() also broke the id range on both storage engines. The range is now stored with a version header, kept across clear(), and extended from the live counter. (#4608)
  • Every field a schema declares now persists across a reload. A node that received a table from a peer before its schema was deployed could lose @createdTime stamping, the primary key's nullable: false, and relationships, even after a restart. A declaration now rewrites any attribute row that differs from it, and removing @indexed stops index maintenance. Index builds also record completion only once their row is written. (#4602)

Previews

  • A bundled harper import in a preview uses the preview's branch. In a pull request preview with branched databases, a Next.js or Vite server bundle that imported harper read and wrote the cluster's own data instead of the branch. (#4594)
  • harper preview setup creates the Actions event policy public repositories need. From December 2, 2026, GitHub blocks pull_request_target in public repositories without such a policy, which stops previews. Setup now creates it, the starter workflow runs HarperFast/deploy-action, and setup finishes every step and reports the ones that failed. (#4581, #4585)

Known issue

  • Node.js 26.14 with the LMDB storage engine: a cache-fill lock can leak, so source-backed GETs may hang. Use Node.js 26.13 or earlier (or RocksDB) until the lmdb-js fix ships in a later patch. (#4712)

Also in this release

Docs links point at docs.harper.fast (#4591).

Full changelog: v5.4.2...v5.4.3