Breaking Changes
- Full source migration to TypeScript with named exports across modules.
- Node engine bumped to
>= 22. - Public deep-import usage now targets named exports (
import { fn } from 'locutus/.../fn').
Build and Packaging
- Package now publishes dual runtime outputs:
- CommonJS-compatible deep
require(...)paths. - ESM output for modern
import.
- CommonJS-compatible deep
- Repo/tooling switched to native ESM operation (
\"type\": \"module\"), with TypeScript-based scripts.
Type Safety and CI
- Added strict type quality gates in CI:
- API signature snapshot checks.
- Type contract snapshot checks.
- Type debt policy checks (
@ts-ignore/@ts-nocheck/ unsafe patterns blocked).
- Added automated signature comparison tooling against DefinitelyTyped for triage (
compare:dt:signatures).
Website and Docs
- Website function pages now include improved TS/JS code variants (module and standalone where applicable).
- Added release documentation and migration notes for TypeScript-first development.
Full changelog: https://github.com/locutusjs/locutus/blob/main/CHANGELOG.md