2025-12-15 15:58:52 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
2025-12-15 16:58:01 +00:00
|
|
|
## 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 15:58:52 +00:00
|
|
|
## 2025-12-15 - 1.0.24 - fix(deps)
|
|
|
|
|
bump dependencies, update tests and docs, adjust tsconfig and npm release config
|
|
|
|
|
|
|
|
|
|
- Upgrade devDependencies: @git.zone/tsbuild -> ^4.0.2, @git.zone/tsrun -> ^2.0.1, @git.zone/tstest -> ^3.1.3, @types/node -> ^24.0.3 (removed @push.rocks/tapbundle)
|
|
|
|
|
- Bump runtime deps: @push.rocks/lik -> ^6.2.2, @push.rocks/smartpromise -> ^4.2.3
|
|
|
|
|
- Switch test imports to @git.zone/tstest/tapbundle and export default tap.start()
|
|
|
|
|
- Revise README: expanded documentation, new install instructions (pnpm), issue reporting guidance, examples (Express, killTreeByPid), and wording/formatting improvements
|
|
|
|
|
- Remove experimentalDecorators and useDefineForClassFields from tsconfig compilerOptions
|
|
|
|
|
- Add @git.zone/cli release registry configuration to npmextra.json (verdaccio + npm registry)
|
|
|
|
|
|
|
|
|
|
## 2024-05-29 - 1.0.23 - docs
|
|
|
|
|
Update package description.
|
|
|
|
|
|
|
|
|
|
- Updated project/package description text.
|
|
|
|
|
|
|
|
|
|
## 2024-04-18 - 1.0.22 - fix(core)
|
|
|
|
|
Core fixes and maintenance.
|
|
|
|
|
|
|
|
|
|
- Miscellaneous core updates and bug fixes.
|
|
|
|
|
|
|
|
|
|
## 2024-04-18 - 1.0.21 - core/build
|
|
|
|
|
Maintenance and config updates for 1.0.21.
|
|
|
|
|
|
|
|
|
|
- Miscellaneous core fixes.
|
|
|
|
|
- Updated tsconfig.
|
|
|
|
|
- Updated npmextra.json (githost) across multiple commits.
|
|
|
|
|
|
|
|
|
|
## 2023-09-11 - 1.0.20 - maintenance
|
|
|
|
|
Organization and core adjustments.
|
|
|
|
|
|
|
|
|
|
- Switched to new organization scheme.
|
|
|
|
|
- Miscellaneous core fixes.
|
|
|
|
|
|
|
|
|
|
## 2021-08-17 - 1.0.19 - 1.0.2 - maintenance
|
|
|
|
|
Multiple minor core fixes and release/tag-only commits (grouped).
|
|
|
|
|
|
|
|
|
|
- Series of minor core fixes and maintenance updates across versions 1.0.2 through 1.0.19.
|
|
|
|
|
- Many commits are release tags or generic core updates without additional user-facing changes.
|
|
|
|
|
|
|
|
|
|
## 2019-05-23 - 1.0.8 - fix(core)
|
|
|
|
|
Improve process termination behavior.
|
|
|
|
|
|
|
|
|
|
- Now killing groups of processes with negative PIDs to ensure child process groups are handled correctly.
|
|
|
|
|
|
|
|
|
|
## 2019-05-22 - 1.0.7 - fix(core)
|
|
|
|
|
Stronger process kill handling.
|
|
|
|
|
|
|
|
|
|
- Added SIGKILL fallback with a 10-second delay to ensure processes are terminated when needed.
|
|
|
|
|
|
|
|
|
|
## 2019-05-16 - 1.0.1 - init
|
|
|
|
|
Initial core commit.
|
|
|
|
|
|
|
|
|
|
- Initial core implementation and setup (recorded as fix(core): initial).
|