From 429f78ca8cabfcfb6b17a46b16b095b3330af6be Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 3 Feb 2025 05:10:07 +0000 Subject: [PATCH] Release 4.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip ci] ## [4.0.0](https://github.com/eggjs/logrotator/compare/v3.2.0...v4.0.0) (2025-02-03) ### ⚠ BREAKING CHANGES * drop Node.js < 18.19.0 support part of https://github.com/eggjs/egg/issues/3644 https://github.com/eggjs/egg/issues/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](https://github.com/eggjs/logrotator/issues/28)) ([73690a8](https://github.com/eggjs/logrotator/commit/73690a8d65c8737c24b8c0c7d373f04b120450dd)) * support cjs and esm both by tshy ([#33](https://github.com/eggjs/logrotator/issues/33)) ([fa42511](https://github.com/eggjs/logrotator/commit/fa42511f48f75e94ce3248bce0ed7d84def0a24f)) * support gzip compress on rotate file ([#30](https://github.com/eggjs/logrotator/issues/30)) ([059d1c8](https://github.com/eggjs/logrotator/commit/059d1c8c29bcc11f1a387e7a874f477bee6d930f)) ### Bug Fixes * rename class name to HourRotator ([#29](https://github.com/eggjs/logrotator/issues/29)) ([3863a39](https://github.com/eggjs/logrotator/commit/3863a39eb5549ce1c122fb9eb4558e8acbb1dae7)) --- CHANGELOG.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0f4fbd..ed11265 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## [4.0.0](https://github.com/eggjs/logrotator/compare/v3.2.0...v4.0.0) (2025-02-03) + + +### ⚠ BREAKING CHANGES + +* drop Node.js < 18.19.0 support + +part of https://github.com/eggjs/egg/issues/3644 + +https://github.com/eggjs/egg/issues/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](https://github.com/eggjs/logrotator/issues/28)) ([73690a8](https://github.com/eggjs/logrotator/commit/73690a8d65c8737c24b8c0c7d373f04b120450dd)) +* support cjs and esm both by tshy ([#33](https://github.com/eggjs/logrotator/issues/33)) ([fa42511](https://github.com/eggjs/logrotator/commit/fa42511f48f75e94ce3248bce0ed7d84def0a24f)) +* support gzip compress on rotate file ([#30](https://github.com/eggjs/logrotator/issues/30)) ([059d1c8](https://github.com/eggjs/logrotator/commit/059d1c8c29bcc11f1a387e7a874f477bee6d930f)) + + +### Bug Fixes + +* rename class name to HourRotator ([#29](https://github.com/eggjs/logrotator/issues/29)) ([3863a39](https://github.com/eggjs/logrotator/commit/3863a39eb5549ce1c122fb9eb4558e8acbb1dae7)) + ## [3.2.0](https://github.com/eggjs/egg-logrotator/compare/v3.1.0...v3.2.0) (2024-09-28) diff --git a/package.json b/package.json index 3e73174..c1dd7fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eggjs/logrotator", - "version": "3.2.0", + "version": "4.0.0", "publishConfig": { "access": "public" },