27 lines
1.7 KiB
Markdown
27 lines
1.7 KiB
Markdown
|
# Changelog
|
||
|
|
||
|
## 2025-08-24 - 2.0.0 - BREAKING CHANGE(core)
|
||
|
Refactor core IPC: replace node-ipc with native transports and add IpcChannel / IpcServer / IpcClient with heartbeat, reconnection, request/response and pub/sub. Update tests and documentation.
|
||
|
|
||
|
- Replaced node-ipc with native Node.js transports (net module) and length-prefixed framing
|
||
|
- Added transport abstraction (IpcTransport) and implementations: UnixSocketTransport, NamedPipeTransport, TcpTransport plus createTransport factory
|
||
|
- Introduced IpcChannel with automatic reconnection (exponential backoff), heartbeat, request/response tracking, pending request timeouts and metrics
|
||
|
- Implemented IpcServer and IpcClient classes with client registration, pub/sub (subscribe/publish), broadcast, targeted messaging, client management and idle timeout handling
|
||
|
- Exported factory API via SmartIpc.createServer / createClient / createChannel and updated ts/index accordingly
|
||
|
- Updated and expanded README with usage, examples, advanced features and migration guidance; added readme.plan.md
|
||
|
- Added and updated comprehensive tests (test/test.ts, test/test.simple.ts) to cover TCP transport, messaging patterns, reconnection and metrics
|
||
|
|
||
|
## 2025-08-23 - 1.0.8 - chore
|
||
|
Metadata and configuration updates; repository/org migration.
|
||
|
|
||
|
- Update package description and general project metadata.
|
||
|
- Update TypeScript configuration (tsconfig).
|
||
|
- Update npmextra.json githost entries (multiple updates).
|
||
|
- Switch to new organization scheme for the repository.
|
||
|
- Miscellaneous minor updates.
|
||
|
|
||
|
## 2019-04-09 - 1.0.1 - 1.0.7 - core
|
||
|
Initial release and a series of patch fixes to core components.
|
||
|
|
||
|
- 1.0.1: initial release.
|
||
|
- 1.0.2 → 1.0.7: a sequence of small core fixes and maintenance updates (repeated "fix(core): update" commits).
|