Skip to content

Commit d23edc0

Browse files
committed
chore: start 3.x branch
1 parent 0215cc5 commit d23edc0

File tree

6 files changed

+117
-113
lines changed

6 files changed

+117
-113
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: CI
1+
name: CI for 3.x
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ 3.x ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ 3.x ]
88

99
jobs:
1010
Job:

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: Release
1+
name: Release for 3.x
2+
23
on:
34
push:
4-
branches: [ master ]
5+
branches: [ 3.x ]
56

67
jobs:
78
release:

CHANGELOG.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,111 @@
1111
### Bug Fixes
1212

1313
* hour crontab ([#31](https://github.com/eggjs/egg-logrotator/issues/31)) ([75e4787](https://github.com/eggjs/egg-logrotator/commit/75e478714f42e6d00f0500817bd2c6f1597174f2))
14+
15+
---
16+
17+
18+
3.1.0 / 2019-04-25
19+
==================
20+
21+
**features**
22+
* [[`cd39697`](http://github.com/eggjs/egg-logrotator/commit/cd3969726998482df451da01eee759c883bf1552)] - feat: support relative path (#26) (TZ | 天猪 <<atian25@qq.com>>)
23+
24+
3.0.7 / 2019-03-14
25+
==================
26+
27+
**fixes**
28+
* [[`4c1632b`](http://github.com/eggjs/egg-logrotator/commit/4c1632be11fd527de80acc8bdda22568c5960bd1)] - fix: all rotator should use transport file (#25) (Hongcai Deng <<admin@dhchouse.com>>)
29+
30+
3.0.6 / 2019-03-06
31+
==================
32+
33+
**fixes**
34+
* [[`4f52df7`](http://github.com/eggjs/egg-logrotator/commit/4f52df7ff5efc963d5459321ba738ea17defba6d)] - fix: clean log should use transport options file (#24) (Hongcai Deng <<admin@dhchouse.com>>)
35+
36+
3.0.5 / 2018-12-04
37+
==================
38+
39+
**fixes**
40+
* [[`3371e60`](http://github.com/eggjs/egg-logrotator/commit/3371e609c29385ef73093abb9cbdcccc88e8f9b0)] - fix: allow 2 minutes deviation on schedule cron (#22) (fengmk2 <<fengmk2@gmail.com>>)
41+
42+
3.0.4 / 2018-10-24
43+
==================
44+
45+
**fixes**
46+
* [[`9c0f71f`](http://github.com/eggjs/egg-logrotator/commit/9c0f71f64ee3d78a79983f96211a58ab8b4e3def)] - fix: ignore not exists logdir (#21) (fengmk2 <<fengmk2@gmail.com>>)
47+
* [[`3c8786d`](http://github.com/eggjs/egg-logrotator/commit/3c8786da71c83526d6349ad4e90fb2aa992cda4b)] - fix: in for in loop add hasOwnProperty filter (#20) (AllenZeng <<zengjuncm@gmail.com>>)
48+
49+
3.0.3 / 2018-03-29
50+
==================
51+
52+
* fix: custom LogRotator error (#18)
53+
54+
3.0.2 / 2018-02-23
55+
==================
56+
57+
**fixes**
58+
* [[`7211181`](http://github.com/eggjs/egg-logrotator/commit/72111818bf632abfe16d6ff8545f9a114a15954f)] - fix: support json files (#17) (Haoliang Gao <<sakura9515@gmail.com>>)
59+
60+
3.0.1 / 2017-12-11
61+
==================
62+
63+
**fixes**
64+
* [[`922824b`](http://github.com/eggjs/egg-logrotator/commit/922824bd4f761e2c37b36ca42b50391ac2be1b29)] - fix: split file at 00:00:01 && update deps (#15) (TZ | 天猪 <<atian25@qq.com>>)
65+
66+
3.0.0 / 2017-11-10
67+
==================
68+
69+
**others**
70+
* [[`6b4e6e5`](http://github.com/eggjs/egg-logrotater/commit/6b4e6e58ee5aab5310059bde59f3c89fdba2d3ae)] - refactor: use async function and support egg@2 (#13) (Yiyu He <<dead_horse@qq.com>>)
71+
72+
2.3.0 / 2017-11-02
73+
==================
74+
75+
**features**
76+
* [[`bd3c95f`](http://github.com/eggjs/egg-logrotator/commit/bd3c95f651783ae8ccb167d1ad1e8c9e8590440c)] - feat: support custom hour delimiter (#12) (hui <<kangpangpang@gmail.com>>)
77+
78+
**others**
79+
* [[`5e6c563`](http://github.com/eggjs/egg-logrotator/commit/5e6c563b0cf34fafe6eab3a1f9f4a084c8bd5a28)] - test: upgrade dependencies (#11) (Haoliang Gao <<sakura9515@gmail.com>>)
80+
81+
2.2.3 / 2017-06-04
82+
==================
83+
84+
* docs: fix License url (#10)
85+
* chore: upgrade deps and fix test (#9)
86+
87+
2.2.2 / 2016-10-27
88+
==================
89+
90+
* fix: should rotate agent log (#8)
91+
92+
2.2.1 / 2016-10-27
93+
==================
94+
95+
* fix: check directory exist before readdir (#7)
96+
97+
2.2.0 / 2016-09-29
98+
==================
99+
100+
* refactor: use OO refactor schedule (#6)
101+
102+
2.1.0 / 2016-08-29
103+
==================
104+
105+
* feat: reload loggers after rotating (#5)
106+
107+
2.0.0 / 2016-08-17
108+
==================
109+
110+
* feat: rename logrotater => logrotator (#4)
111+
112+
1.0.1 / 2016-08-10
113+
==================
114+
115+
* fix: auto find log file dirs to do rotate (#2)
116+
117+
1.0.0 / 2016-07-26
118+
==================
119+
120+
* feat: auto remove expired files (#1)
121+
* init commit by egg-init

History.md

Lines changed: 0 additions & 105 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LogRotator for egg. Rotate all file of `app.loggers` by default
1515
## Install
1616

1717
```bash
18-
npm i egg-logrotator
18+
npm i egg-logrotator@3
1919
```
2020

2121
## Usage

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
},
5050
"repository": {
5151
"type": "git",
52-
"url": "git+https://github.com/eggjs/egg-logrotator.git"
52+
"url": "git+https://github.com/eggjs/logrotator.git"
5353
},
5454
"bugs": {
5555
"url": "https://github.com/eggjs/egg/issues"
5656
},
57-
"homepage": "https://github.com/eggjs/egg-logrotator#readme",
57+
"homepage": "https://github.com/eggjs/logrotator#readme",
5858
"author": "tianyi.jiangty",
5959
"license": "MIT"
6060
}

0 commit comments

Comments
 (0)