4.0.0 (2025-02-03)
⚠ BREAKING CHANGES
- drop Node.js < 18.19.0 support
part of eggjs/egg#3644
Summary by CodeRabbit
-
New Features
-
Package renamed to @eggjs/logrotator with updated installation
instructions and documentation. -
Enhanced log rotation configuration for improved file retention and
compression. -
Refactor
- Migrated the codebase to ES Modules with full TypeScript support.
-
Streamlined asynchronous handling in both core functionality and
tests. -
Chores
-
Updated CI workflows to support modern Node.js versions (18, 20, 22).
- Refined linting and version control ignore configurations.
Features
- add disableRotateByDay configuration(default:false) (#28) (73690a8)
- support cjs and esm both by tshy (#33) (fa42511)
- support gzip compress on rotate file (#30) (059d1c8)
Bug Fixes
This release is also available on: