Skip to content

v1.6.1 - Node.js version guards and ESM boot safety

Choose a tag to compare

@Lotargo Lotargo released this 10 Aug 13:38
· 140 commits to main since this release

Fixed

  • Node.js version check before ESM loading: Fixed a crash on Node.js versions older than 22.5.0 (No such built-in module: node:sqlite). Lightweight boot entry points (boot.js and cli_boot.js) now verify Node version compatibility before loading the ESM module graph, displaying clear upgrade instructions if the Node version is unsupported.
  • Strict engine enforcement: Added engine-strict=true to project configuration so npm install fails immediately on Node.js < 22.5.0 instead of emitting a warning.
  • Preinstall warning: Added an explicit stderr warning during installation on unsupported Node versions explaining that node:sqlite is required.
  • Process termination on update: Updated process-kill patterns in preinstall.js to target boot.js in addition to index.js, ensuring running server instances are properly terminated during global updates.

Changed

  • All CLI binaries (memory_plugin, memory-agent, memory-cli) now route execution through boot.js and cli_boot.js.
  • .npmrc is included in version control containing project-level engine-strict=true settings.