Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Feb 05:10

4.0.0 (2025-02-03)

⚠ BREAKING CHANGES

  • drop Node.js < 18.19.0 support

part of eggjs/egg#3644

eggjs/egg#5257

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

  • rename class name to HourRotator (#29) (3863a39)

This release is also available on: