Skip to content

Commit

Permalink
chore: start 3.x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Feb 3, 2025
1 parent 0215cc5 commit d23edc0
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 113 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI
name: CI for 3.x

on:
push:
branches: [ master ]
branches: [ 3.x ]
pull_request:
branches: [ master ]
branches: [ 3.x ]

jobs:
Job:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Release
name: Release for 3.x

on:
push:
branches: [ master ]
branches: [ 3.x ]

jobs:
release:
Expand Down
108 changes: 108 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,111 @@
### Bug Fixes

* hour crontab ([#31](https://github.com/eggjs/egg-logrotator/issues/31)) ([75e4787](https://github.com/eggjs/egg-logrotator/commit/75e478714f42e6d00f0500817bd2c6f1597174f2))

---


3.1.0 / 2019-04-25
==================

**features**
* [[`cd39697`](http://github.com/eggjs/egg-logrotator/commit/cd3969726998482df451da01eee759c883bf1552)] - feat: support relative path (#26) (TZ | 天猪 <<[email protected]>>)

3.0.7 / 2019-03-14
==================

**fixes**
* [[`4c1632b`](http://github.com/eggjs/egg-logrotator/commit/4c1632be11fd527de80acc8bdda22568c5960bd1)] - fix: all rotator should use transport file (#25) (Hongcai Deng <<[email protected]>>)

3.0.6 / 2019-03-06
==================

**fixes**
* [[`4f52df7`](http://github.com/eggjs/egg-logrotator/commit/4f52df7ff5efc963d5459321ba738ea17defba6d)] - fix: clean log should use transport options file (#24) (Hongcai Deng <<[email protected]>>)

3.0.5 / 2018-12-04
==================

**fixes**
* [[`3371e60`](http://github.com/eggjs/egg-logrotator/commit/3371e609c29385ef73093abb9cbdcccc88e8f9b0)] - fix: allow 2 minutes deviation on schedule cron (#22) (fengmk2 <<[email protected]>>)

3.0.4 / 2018-10-24
==================

**fixes**
* [[`9c0f71f`](http://github.com/eggjs/egg-logrotator/commit/9c0f71f64ee3d78a79983f96211a58ab8b4e3def)] - fix: ignore not exists logdir (#21) (fengmk2 <<[email protected]>>)
* [[`3c8786d`](http://github.com/eggjs/egg-logrotator/commit/3c8786da71c83526d6349ad4e90fb2aa992cda4b)] - fix: in for in loop add hasOwnProperty filter (#20) (AllenZeng <<[email protected]>>)

3.0.3 / 2018-03-29
==================

* fix: custom LogRotator error (#18)

3.0.2 / 2018-02-23
==================

**fixes**
* [[`7211181`](http://github.com/eggjs/egg-logrotator/commit/72111818bf632abfe16d6ff8545f9a114a15954f)] - fix: support json files (#17) (Haoliang Gao <<[email protected]>>)

3.0.1 / 2017-12-11
==================

**fixes**
* [[`922824b`](http://github.com/eggjs/egg-logrotator/commit/922824bd4f761e2c37b36ca42b50391ac2be1b29)] - fix: split file at 00:00:01 && update deps (#15) (TZ | 天猪 <<[email protected]>>)

3.0.0 / 2017-11-10
==================

**others**
* [[`6b4e6e5`](http://github.com/eggjs/egg-logrotater/commit/6b4e6e58ee5aab5310059bde59f3c89fdba2d3ae)] - refactor: use async function and support egg@2 (#13) (Yiyu He <<[email protected]>>)

2.3.0 / 2017-11-02
==================

**features**
* [[`bd3c95f`](http://github.com/eggjs/egg-logrotator/commit/bd3c95f651783ae8ccb167d1ad1e8c9e8590440c)] - feat: support custom hour delimiter (#12) (hui <<[email protected]>>)

**others**
* [[`5e6c563`](http://github.com/eggjs/egg-logrotator/commit/5e6c563b0cf34fafe6eab3a1f9f4a084c8bd5a28)] - test: upgrade dependencies (#11) (Haoliang Gao <<[email protected]>>)

2.2.3 / 2017-06-04
==================

* docs: fix License url (#10)
* chore: upgrade deps and fix test (#9)

2.2.2 / 2016-10-27
==================

* fix: should rotate agent log (#8)

2.2.1 / 2016-10-27
==================

* fix: check directory exist before readdir (#7)

2.2.0 / 2016-09-29
==================

* refactor: use OO refactor schedule (#6)

2.1.0 / 2016-08-29
==================

* feat: reload loggers after rotating (#5)

2.0.0 / 2016-08-17
==================

* feat: rename logrotater => logrotator (#4)

1.0.1 / 2016-08-10
==================

* fix: auto find log file dirs to do rotate (#2)

1.0.0 / 2016-07-26
==================

* feat: auto remove expired files (#1)
* init commit by egg-init
105 changes: 0 additions & 105 deletions History.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LogRotator for egg. Rotate all file of `app.loggers` by default
## Install

```bash
npm i egg-logrotator
npm i egg-logrotator@3
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/eggjs/egg-logrotator.git"
"url": "git+https://github.com/eggjs/logrotator.git"
},
"bugs": {
"url": "https://github.com/eggjs/egg/issues"
},
"homepage": "https://github.com/eggjs/egg-logrotator#readme",
"homepage": "https://github.com/eggjs/logrotator#readme",
"author": "tianyi.jiangty",
"license": "MIT"
}

0 comments on commit d23edc0

Please sign in to comment.