BREAKING CHANGE(daemon): Introduce persistent log storage, numeric ProcessId type, and improved process monitoring / IPC handling
This commit is contained in:
13
changelog.md
13
changelog.md
@@ -1,5 +1,18 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-08-30 - 5.0.0 - BREAKING CHANGE(daemon)
|
||||
Introduce persistent log storage, numeric ProcessId type, and improved process monitoring / IPC handling
|
||||
|
||||
- Add LogPersistence: persistent on-disk storage for process logs (save/load/delete/cleanup).
|
||||
- Persist logs on process exit/error/stop and trim in-memory buffers to avoid excessive memory usage.
|
||||
- Introduce a branded numeric ProcessId type and toProcessId helpers; migrate IPC types and internal maps from string ids to ProcessId.
|
||||
- ProcessManager refactor: typed maps for processes/configs/info/logs, async start/stop/restart flows, improved PID/uptime/restart tracking, and desired state persistence handling.
|
||||
- ProcessMonitor refactor: async lifecycle (start/stop), load persisted logs on startup, flush logs to disk on exit/error/stop, log memory capping, and improved event emissions.
|
||||
- ProcessWrapper improvements: buffer stdout/stderr remainders, flush partial lines on stream end, clearer debug logging.
|
||||
- IPC client/server changes: handlers now normalize ids with toProcessId, subscribe/unsubscribe accept numeric/string ids, getLogs/start/stop/restart/delete use typed ids.
|
||||
- CLI tweaks: format process id output safely with String() to avoid formatting issues.
|
||||
- Add dependency and plugin export for @push.rocks/smartfile and update package.json accordingly.
|
||||
|
||||
## 2025-08-29 - 4.4.2 - fix(daemon)
|
||||
Fix daemon IPC id handling, reload configs on demand and correct CLI daemon start path
|
||||
|
||||
|
Reference in New Issue
Block a user