Skip to content

Commit c0372a8

Browse files
committed
prepare 4.5.1
1 parent 56ffa13 commit c0372a8

File tree

6 files changed

+23
-60
lines changed

6 files changed

+23
-60
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ node_js:
44
- "14"
55
- "12"
66
- "10"
7-
- "9"
87
- "8"
98
git:
109
depth: 2

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11

2+
## 4.5.1
3+
4+
- fix: cron in cluster mode was not restarting process after one pass - fixes #4834 #4733 #4307 #4834
5+
- fix: restore --sort <param> option on `pm2 ls` - fix #4536
6+
- fix: fix tests with npm7
7+
- fix: restore warning message about process list changed and not dumped
8+
- chore: alias `--cron` with `--cron-restart`
9+
- chore: test PM2 againt Node.js 15.x
10+
- chore: upgrade systeminformation and debug module to latest - PR #4892 by @AdamMajer
11+
- chore: drop Node 9.x from travis testing
12+
- chore: remove ps-list module
13+
214
## 4.5.0
315

416
- fix: creating log folder in sync mode. #4846 - PR #4844 by @QS20199

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
<img src="https://img.shields.io/npm/dm/pm2" alt="Downloads per Month"/>
1414
</a>
1515

16-
<a href="https://badge.fury.io/js/pm2" title="NPM Version Badge">
17-
<img src="https://badge.fury.io/js/pm2.svg" alt="npm version">
16+
<a href="https://npm-stat.com/charts.html?package=pm2&from=2015-10-09&to=2020-10-09" title="PM2 Downloads">
17+
<img src="https://img.shields.io/npm/dy/pm2" alt="Downloads per Year"/>
1818
</a>
1919

20-
<a href="https://img.shields.io/node/v/pm2.svg" title="Node Limitation">
21-
<img src="https://img.shields.io/node/v/pm2.svg" alt="node version">
20+
<a href="https://badge.fury.io/js/pm2" title="NPM Version Badge">
21+
<img src="https://badge.fury.io/js/pm2.svg" alt="npm version">
2222
</a>
2323

2424
<a href="https://travis-ci.org/Unitech/pm2" title="PM2 Tests">

lib/API/UX/pm2-ls.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function checkIfProcessAreDumped(list) {
2424
.map(proc => proc.name)
2525
var diff = apps_dumped.filter(a => !apps_running.includes(a))
2626
if (diff.length > 0) {
27-
Common.printOut(`Current process list running is not in sync with saved list. ${chalk.italic(diff.join(' '))} differs. Type 'pm2 save' to synchronize.`)
27+
Common.printOut(`Current process list running is not in sync with saved list. App ${chalk.bold(diff.join(' '))} differs. Type 'pm2 save' to synchronize.`)
2828
}
2929
else if (apps_dumped.length != apps_running.length) {
3030
Common.printOut(`Current process list running is not in sync with saved list. Type 'pm2 save' to synchronize'`)
@@ -468,5 +468,5 @@ module.exports = function(list, sys_infos, commander) {
468468
miniMonitBar(sys_infos)
469469
}
470470

471-
//checkIfProcessAreDumped(list)
471+
checkIfProcessAreDumped(list)
472472
}

lib/Sysinfo/test.js

-48
This file was deleted.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@
160160
"dev ops"
161161
],
162162
"bin": {
163-
"pm2": "./bin/pm2",
164-
"pm2-dev": "./bin/pm2-dev",
165-
"pm2-docker": "./bin/pm2-docker",
166-
"pm2-runtime": "./bin/pm2-runtime"
163+
"pm2": "bin/pm2",
164+
"pm2-dev": "bin/pm2-dev",
165+
"pm2-docker": "bin/pm2-docker",
166+
"pm2-runtime": "bin/pm2-runtime"
167167
},
168168
"dependencies": {
169169
"@pm2/agent": "~1.0.2",
@@ -202,7 +202,7 @@
202202
"should": "^13"
203203
},
204204
"optionalDependencies": {
205-
"systeminformation": "^4.30"
205+
"systeminformation": "^4.32"
206206
},
207207
"bugs": {
208208
"url": "https://github.com/Unitech/pm2/issues"

0 commit comments

Comments
 (0)