Skip to content

v2.15.0 — Cross-Platform Support

Choose a tag to compare

@ZeR020 ZeR020 released this 06 May 15:36
· 580 commits to main since this release

v2.15.0 — Cross-Platform Support (Windows, Linux, macOS)

Added

  • Full Windows support — No longer requires WSL2. Native Windows runtime via Node.js 20+ with better-sqlite3 and native http module
  • Runtime abstraction layers — SQLite (bun:sqlitebetter-sqlite3) and HTTP server (Bun.serve ↔ Node.js http.createServer) auto-detect your runtime
  • Test suite portability — All 173 tests run on both Bun and Node.js via Vitest
  • Cross-platform buildnpm run build works on Windows, Linux, and macOS without shell dependencies

Changed

  • README updated — Platform requirements section now lists Linux/macOS/Windows with Bun as primary and Node.js 20+ as fallback
  • package.json engines field — Now allows both bun >=1.0.0 and node >=20.0.0
  • CI workflow — Tests run with both bun test and npm test (vitest) for dual-runtime verification
  • Development commands — Added npm run build, npm test, and test:bun scripts for cross-platform development

Fixed

  • Security: Error exposureplatform-server.ts no longer leaks internal error details to HTTP clients
  • Security: Multi-value headers — Node.js IncomingHttpHeaders with array values now correctly handled
  • Security: Missing Host header — HTTP/1.0 clients without Host header now fallback correctly
  • Build script portability — Uses require.resolve('typescript/bin/tsc') instead of platform-specific shim
  • Test isolationvi.resetModules() removed; mutable mock state ensures Bun test runner compatibility
  • Directory safetyai-session-manager.ts now creates parent directory before opening database

Full Changelog: v2.14.5...v2.15.0

What's Changed

Other Changes

  • feat: add cross-platform Node.js and Windows support by @ZeR020 in #6

Full Changelog: v2.14.5...v2.15.0