feat(smartexit): Add silent logging option, structured shutdown logs, and killAll return stats
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-12-15 - 1.1.0 - feat(smartexit)
|
||||
Add silent logging option, structured shutdown logs, and killAll return stats
|
||||
|
||||
- Introduce ISmartExitOptions with a silent flag to disable console logging
|
||||
- Add internal log() helper and use a [smartexit] prefix for shutdown/error messages
|
||||
- killAll() now returns Promise<{ processesKilled, cleanupFunctionsRan }> and tallies processes and cleanup functions run
|
||||
- Constructor accepts options (backwards compatible) to configure behavior
|
||||
- Documentation (readme.hints.md) updated with usage and example output
|
||||
|
||||
## 2025-12-15 - 1.0.24 - fix(deps)
|
||||
bump dependencies, update tests and docs, adjust tsconfig and npm release config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user