@ohos-ports/pm2 0.0.0-stage → 7.1.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/CHANGELOG.md +2607 -0
  2. package/CONTRIBUTING.md +124 -0
  3. package/GNU-AGPL-3.0.txt +665 -0
  4. package/LICENSE +1 -0
  5. package/README.md +255 -2
  6. package/SECURITY.md +41 -0
  7. package/bin/pm2 +3 -0
  8. package/bin/pm2-dev +3 -0
  9. package/bin/pm2-docker +3 -0
  10. package/bin/pm2-runtime +3 -0
  11. package/bin/pm2.ps1 +3 -0
  12. package/constants.js +113 -0
  13. package/index.js +12 -0
  14. package/lib/API/Configuration.js +212 -0
  15. package/lib/API/Containerizer.js +335 -0
  16. package/lib/API/Dashboard.js +726 -0
  17. package/lib/API/Deploy.js +117 -0
  18. package/lib/API/Extra.js +798 -0
  19. package/lib/API/ExtraMgmt/Docker.js +30 -0
  20. package/lib/API/Log.js +388 -0
  21. package/lib/API/LogManagement.js +351 -0
  22. package/lib/API/Modules/LOCAL.js +122 -0
  23. package/lib/API/Modules/Modularizer.js +148 -0
  24. package/lib/API/Modules/NPM.js +443 -0
  25. package/lib/API/Modules/TAR.js +368 -0
  26. package/lib/API/Modules/flagExt.js +46 -0
  27. package/lib/API/Modules/index.js +120 -0
  28. package/lib/API/Monit.js +247 -0
  29. package/lib/API/Serve.js +497 -0
  30. package/lib/API/Startup.js +630 -0
  31. package/lib/API/UX/helpers.js +213 -0
  32. package/lib/API/UX/index.js +9 -0
  33. package/lib/API/UX/pm2-describe.js +197 -0
  34. package/lib/API/UX/pm2-ls-minimal.js +31 -0
  35. package/lib/API/UX/pm2-ls.js +581 -0
  36. package/lib/API/Version.js +383 -0
  37. package/lib/API/interpreter.json +12 -0
  38. package/lib/API/pm2-plus/PM2IO.js +381 -0
  39. package/lib/API/pm2-plus/auth-strategies/CliAuth.js +306 -0
  40. package/lib/API/pm2-plus/auth-strategies/WebAuth.js +195 -0
  41. package/lib/API/pm2-plus/helpers.js +97 -0
  42. package/lib/API/pm2-plus/link.js +126 -0
  43. package/lib/API/pm2-plus/pres/motd +16 -0
  44. package/lib/API/pm2-plus/pres/motd.update +26 -0
  45. package/lib/API/pm2-plus/pres/welcome +28 -0
  46. package/lib/API/pm2-plus/process-selector.js +52 -0
  47. package/lib/API/schema.json +375 -0
  48. package/lib/API.js +1980 -0
  49. package/lib/Client.js +793 -0
  50. package/lib/Common.js +949 -0
  51. package/lib/Configuration.js +309 -0
  52. package/lib/Daemon.js +468 -0
  53. package/lib/Event.js +37 -0
  54. package/lib/God/ActionMethods.js +955 -0
  55. package/lib/God/ClusterMode.js +192 -0
  56. package/lib/God/ForkMode.js +205 -0
  57. package/lib/God/Methods.js +292 -0
  58. package/lib/God/Reload.js +300 -0
  59. package/lib/God/StdioLogger.js +239 -0
  60. package/lib/God.js +653 -0
  61. package/lib/HttpInterface.js +75 -0
  62. package/lib/OtelManager.js +74 -0
  63. package/lib/ProcessContainer.js +321 -0
  64. package/lib/ProcessContainerBun.js +355 -0
  65. package/lib/ProcessContainerFork.js +42 -0
  66. package/lib/ProcessContainerForkBun.js +31 -0
  67. package/lib/ProcessUtils.js +74 -0
  68. package/lib/TreeKill.js +111 -0
  69. package/lib/Utility.js +304 -0
  70. package/lib/VersionCheck.js +46 -0
  71. package/lib/Watcher.js +117 -0
  72. package/lib/Worker.js +200 -0
  73. package/lib/binaries/CLI.js +1092 -0
  74. package/lib/binaries/DevCLI.js +183 -0
  75. package/lib/binaries/Runtime.js +101 -0
  76. package/lib/binaries/Runtime4Docker.js +192 -0
  77. package/lib/completion.js +229 -0
  78. package/lib/completion.sh +40 -0
  79. package/lib/motd +36 -0
  80. package/lib/templates/Dockerfiles/Dockerfile-nodejs.tpl +8 -0
  81. package/lib/templates/ecosystem-es.tpl +24 -0
  82. package/lib/templates/ecosystem-simple-es.tpl +8 -0
  83. package/lib/templates/ecosystem-simple.tpl +6 -0
  84. package/lib/templates/ecosystem.tpl +22 -0
  85. package/lib/templates/init-scripts/launchd.tpl +35 -0
  86. package/lib/templates/init-scripts/openrc.tpl +52 -0
  87. package/lib/templates/init-scripts/pm2-init-amazon.sh +86 -0
  88. package/lib/templates/init-scripts/rcd-openbsd.tpl +41 -0
  89. package/lib/templates/init-scripts/rcd.tpl +44 -0
  90. package/lib/templates/init-scripts/smf.tpl +43 -0
  91. package/lib/templates/init-scripts/systemd-online.tpl +22 -0
  92. package/lib/templates/init-scripts/systemd.tpl +22 -0
  93. package/lib/templates/init-scripts/upstart.tpl +103 -0
  94. package/lib/templates/logrotate.d/pm2 +10 -0
  95. package/lib/templates/sample-apps/http-server/README.md +14 -0
  96. package/lib/templates/sample-apps/http-server/api.js +9 -0
  97. package/lib/templates/sample-apps/http-server/ecosystem.config.js +14 -0
  98. package/lib/templates/sample-apps/http-server/package.json +11 -0
  99. package/lib/templates/sample-apps/pm2-plus-metrics-actions/README.md +45 -0
  100. package/lib/templates/sample-apps/pm2-plus-metrics-actions/custom-metrics.js +66 -0
  101. package/lib/templates/sample-apps/pm2-plus-metrics-actions/ecosystem.config.js +12 -0
  102. package/lib/templates/sample-apps/pm2-plus-metrics-actions/package.json +11 -0
  103. package/lib/templates/sample-apps/python-app/README.md +4 -0
  104. package/lib/templates/sample-apps/python-app/echo.py +7 -0
  105. package/lib/templates/sample-apps/python-app/ecosystem.config.js +12 -0
  106. package/lib/templates/sample-apps/python-app/package.json +11 -0
  107. package/lib/tools/Config.js +251 -0
  108. package/lib/tools/SysMetrics.js +375 -0
  109. package/lib/tools/copydirSync.js +101 -0
  110. package/lib/tools/deleteFolderRecursive.js +19 -0
  111. package/lib/tools/find-package-json.js +74 -0
  112. package/lib/tools/fmt.js +72 -0
  113. package/lib/tools/interpreter.js +88 -0
  114. package/lib/tools/isbinaryfile.js +94 -0
  115. package/lib/tools/json5.js +752 -0
  116. package/lib/tools/multimeter/bar.js +111 -0
  117. package/lib/tools/multimeter/charm/encode.js +18 -0
  118. package/lib/tools/multimeter/charm/index.js +305 -0
  119. package/lib/tools/multimeter/index.js +76 -0
  120. package/lib/tools/open.js +56 -0
  121. package/lib/tools/passwd.js +58 -0
  122. package/lib/tools/pm2-config-keys.js +165 -0
  123. package/lib/tools/prompt.js +76 -0
  124. package/lib/tools/serviceStop.js +149 -0
  125. package/lib/tools/sexec.js +55 -0
  126. package/lib/tools/treeify.js +113 -0
  127. package/lib/tools/typestrip.js +55 -0
  128. package/lib/tools/which.js +120 -0
  129. package/lib/tools/xdg-open +861 -0
  130. package/modules/blessed/LICENSE +20 -0
  131. package/modules/blessed/README.md +34 -0
  132. package/modules/blessed/index.js +1 -0
  133. package/modules/blessed/lib/alias.js +526 -0
  134. package/modules/blessed/lib/blessed.js +32 -0
  135. package/modules/blessed/lib/colors.js +530 -0
  136. package/modules/blessed/lib/events.js +189 -0
  137. package/modules/blessed/lib/gpmclient.js +221 -0
  138. package/modules/blessed/lib/helpers.js +165 -0
  139. package/modules/blessed/lib/keys.js +339 -0
  140. package/modules/blessed/lib/program.js +4297 -0
  141. package/modules/blessed/lib/tput.js +3022 -0
  142. package/modules/blessed/lib/unicode.js +885 -0
  143. package/modules/blessed/lib/widget.js +32 -0
  144. package/modules/blessed/lib/widgets/box.js +34 -0
  145. package/modules/blessed/lib/widgets/element.js +2570 -0
  146. package/modules/blessed/lib/widgets/list.js +599 -0
  147. package/modules/blessed/lib/widgets/log.js +83 -0
  148. package/modules/blessed/lib/widgets/node.js +282 -0
  149. package/modules/blessed/lib/widgets/screen.js +2298 -0
  150. package/modules/blessed/lib/widgets/scrollablebox.js +389 -0
  151. package/modules/blessed/lib/widgets/scrollabletext.js +35 -0
  152. package/modules/blessed/lib/widgets/text.js +35 -0
  153. package/modules/blessed/usr/linux +0 -0
  154. package/modules/blessed/usr/windows-ansi +0 -0
  155. package/modules/blessed/usr/xterm +0 -0
  156. package/modules/blessed/usr/xterm-256color +0 -0
  157. package/modules/blessed/usr/xterm.termcap +243 -0
  158. package/modules/chokidar/LICENSE +21 -0
  159. package/modules/chokidar/VENDORED.md +76 -0
  160. package/modules/chokidar/index.js +979 -0
  161. package/modules/chokidar/lib/brace-expand.js +180 -0
  162. package/modules/chokidar/lib/constants.js +66 -0
  163. package/modules/chokidar/lib/fsevents-handler.js +526 -0
  164. package/modules/chokidar/lib/nodefs-handler.js +654 -0
  165. package/modules/fclone.js +49 -0
  166. package/modules/pm2-axon/index.js +2 -0
  167. package/modules/pm2-axon/lib/configurable/History.md +5 -0
  168. package/modules/pm2-axon/lib/configurable/Makefile +7 -0
  169. package/modules/pm2-axon/lib/configurable/Readme.md +57 -0
  170. package/modules/pm2-axon/lib/configurable/index.js +2 -0
  171. package/modules/pm2-axon/lib/configurable/lib/configurable.js +47 -0
  172. package/modules/pm2-axon/lib/configurable/package.json +68 -0
  173. package/modules/pm2-axon/lib/index.js +44 -0
  174. package/modules/pm2-axon/lib/plugins/queue.js +71 -0
  175. package/modules/pm2-axon/lib/plugins/round-robin.js +55 -0
  176. package/modules/pm2-axon/lib/sockets/pub-emitter.js +26 -0
  177. package/modules/pm2-axon/lib/sockets/pub.js +77 -0
  178. package/modules/pm2-axon/lib/sockets/pull.js +37 -0
  179. package/modules/pm2-axon/lib/sockets/push.js +32 -0
  180. package/modules/pm2-axon/lib/sockets/rep.js +73 -0
  181. package/modules/pm2-axon/lib/sockets/req.js +101 -0
  182. package/modules/pm2-axon/lib/sockets/sock.js +430 -0
  183. package/modules/pm2-axon/lib/sockets/sub-emitter.js +92 -0
  184. package/modules/pm2-axon/lib/sockets/sub.js +147 -0
  185. package/modules/pm2-axon/lib/utils.js +19 -0
  186. package/modules/pm2-axon-rpc/index.js +3 -0
  187. package/modules/pm2-axon-rpc/lib/client.js +63 -0
  188. package/modules/pm2-axon-rpc/lib/server.js +139 -0
  189. package/modules/pm2-io-agent/LICENSE +661 -0
  190. package/modules/pm2-io-agent/README.md +62 -0
  191. package/modules/pm2-io-agent/config.js +30 -0
  192. package/modules/pm2-io-agent/constants.js +118 -0
  193. package/modules/pm2-io-agent/index.js +2 -0
  194. package/modules/pm2-io-agent/src/InteractorClient.js +513 -0
  195. package/modules/pm2-io-agent/src/InteractorDaemon.js +455 -0
  196. package/modules/pm2-io-agent/src/PM2Client.js +112 -0
  197. package/modules/pm2-io-agent/src/PM2Interface.js +180 -0
  198. package/modules/pm2-io-agent/src/TransporterInterface.js +173 -0
  199. package/modules/pm2-io-agent/src/Utility.js +392 -0
  200. package/modules/pm2-io-agent/src/WatchDog.js +70 -0
  201. package/modules/pm2-io-agent/src/push/DataRetriever.js +77 -0
  202. package/modules/pm2-io-agent/src/push/PushInteractor.js +206 -0
  203. package/modules/pm2-io-agent/src/push/TransactionAggregator.js +670 -0
  204. package/modules/pm2-io-agent/src/reverse/ReverseInteractor.js +128 -0
  205. package/modules/pm2-io-agent/src/transporters/Transporter.js +129 -0
  206. package/modules/pm2-io-agent/src/transporters/WebsocketTransport.js +202 -0
  207. package/modules/pm2-io-agent/src/utils/BinaryHeap.js +135 -0
  208. package/modules/pm2-io-agent/src/utils/EDS.js +111 -0
  209. package/modules/pm2-io-agent/src/utils/probes/Histogram.js +204 -0
  210. package/modules/pm2-io-agent/src/utils/units.js +10 -0
  211. package/modules/pm2-io-bpm/configuration.js +141 -0
  212. package/modules/pm2-io-bpm/constants.js +10 -0
  213. package/modules/pm2-io-bpm/featureManager.js +110 -0
  214. package/modules/pm2-io-bpm/features/dependencies.js +48 -0
  215. package/modules/pm2-io-bpm/features/events.js +50 -0
  216. package/modules/pm2-io-bpm/features/metrics.js +102 -0
  217. package/modules/pm2-io-bpm/features/notify.js +238 -0
  218. package/modules/pm2-io-bpm/features/profiling.js +70 -0
  219. package/modules/pm2-io-bpm/features/tracing.js +174 -0
  220. package/modules/pm2-io-bpm/index.js +11 -0
  221. package/modules/pm2-io-bpm/metrics/eventLoopMetrics.js +136 -0
  222. package/modules/pm2-io-bpm/metrics/httpMetrics.js +175 -0
  223. package/modules/pm2-io-bpm/metrics/network.js +132 -0
  224. package/modules/pm2-io-bpm/metrics/runtime.js +161 -0
  225. package/modules/pm2-io-bpm/metrics/v8.js +104 -0
  226. package/modules/pm2-io-bpm/otel/constants.js +7 -0
  227. package/modules/pm2-io-bpm/otel/custom-zipkin-exporter/platform/index.js +17 -0
  228. package/modules/pm2-io-bpm/otel/custom-zipkin-exporter/platform/node/index.js +17 -0
  229. package/modules/pm2-io-bpm/otel/custom-zipkin-exporter/platform/node/util.js +51 -0
  230. package/modules/pm2-io-bpm/otel/custom-zipkin-exporter/transform.js +137 -0
  231. package/modules/pm2-io-bpm/otel/custom-zipkin-exporter/types.js +24 -0
  232. package/modules/pm2-io-bpm/otel/custom-zipkin-exporter/utils.js +23 -0
  233. package/modules/pm2-io-bpm/otel/custom-zipkin-exporter/zipkin.js +149 -0
  234. package/modules/pm2-io-bpm/pmx.js +380 -0
  235. package/modules/pm2-io-bpm/profilers/addonProfiler.js +193 -0
  236. package/modules/pm2-io-bpm/profilers/inspectorProfiler.js +302 -0
  237. package/modules/pm2-io-bpm/serviceManager.js +21 -0
  238. package/modules/pm2-io-bpm/services/actions.js +159 -0
  239. package/modules/pm2-io-bpm/services/inspector.js +43 -0
  240. package/modules/pm2-io-bpm/services/metrics.js +186 -0
  241. package/modules/pm2-io-bpm/services/runtimeStats.js +54 -0
  242. package/modules/pm2-io-bpm/services/transport.js +11 -0
  243. package/modules/pm2-io-bpm/transports/IPCTransport.js +115 -0
  244. package/modules/pm2-io-bpm/utils/BinaryHeap.js +134 -0
  245. package/modules/pm2-io-bpm/utils/EDS.js +113 -0
  246. package/modules/pm2-io-bpm/utils/EWMA.js +32 -0
  247. package/modules/pm2-io-bpm/utils/autocast.js +61 -0
  248. package/modules/pm2-io-bpm/utils/metrics/counter.js +33 -0
  249. package/modules/pm2-io-bpm/utils/metrics/gauge.js +23 -0
  250. package/modules/pm2-io-bpm/utils/metrics/histogram.js +192 -0
  251. package/modules/pm2-io-bpm/utils/metrics/meter.js +46 -0
  252. package/modules/pm2-io-bpm/utils/miscellaneous.js +19 -0
  253. package/modules/pm2-io-bpm/utils/module.js +67 -0
  254. package/modules/pm2-io-bpm/utils/shimmer.js +19 -0
  255. package/modules/pm2-io-bpm/utils/stackParser.js +160 -0
  256. package/modules/pm2-io-bpm/utils/transactionAggregator.js +429 -0
  257. package/modules/pm2-io-bpm/utils/units.js +16 -0
  258. package/modules/vizion/LICENSE +13 -0
  259. package/modules/vizion/README.md +133 -0
  260. package/modules/vizion/index.js +1 -0
  261. package/modules/vizion/lib/git/git.js +247 -0
  262. package/modules/vizion/lib/vizion.js +52 -0
  263. package/package.json +170 -4
  264. package/paths.js +121 -0
  265. package/pm2 +11 -0
  266. package/types/index.d.ts +732 -0
  267. package/types/tsconfig.json +14 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,2607 @@
1
+ ## 7.1.2
2
+
3
+ ### Bug Fixes
4
+
5
+ - `pm2 update` under a `pm2 startup` systemd unit no longer gets its new daemon and apps killed by `ExecStop=pm2 kill` (systemd >= 232) #5000
6
+ - `filter_env: true` works again (ignored since 4.4.1): apps only inherit PATH, HOME, USER, locales and a few OS variables besides their `env` #6176
7
+ - `filter_env` also applies to `--update-env` restart/reload and to cluster workers; `--filter-env` alone means `true` #6176
8
+ - `pm2.disconnect()` no longer throws nor calls back twice when a socket takes more than 200ms to close
9
+ - `pm2 start --container` uses `keymetrics/pm2:<node>-trixie` (was the 2018 `latest` image, and `--node-version` pointed to tags that do not exist)
10
+
11
+ ### Breaking change
12
+
13
+ - `filter_env: true` apps no longer inherit other shell variables (NODE_ENV, NODE_OPTIONS, HTTP_PROXY...): declare them in `env` #6176
14
+ - An app keeps the shell env it already received when the filter comes later (started before 7.1.2 or without `filter_env`, dump.pm2 included): `pm2 delete` it and start it again #6176
15
+
16
+ ## 7.1.1
17
+
18
+ ### Bug Fixes
19
+
20
+ - Windows: memory is reported again when pm2 runs as a service (`pidusage` 4.1.0, wmic is used again when available) #6173
21
+ - Linux: overlapping monitoring calls no longer leak a `/proc/<pid>/stat` fd per new pid in the daemon (grew with every restart)
22
+ - `pm2.connect()` right after `pm2.disconnect()` no longer crashes with `Cannot read properties of null (reading 'sock')` #6002
23
+
24
+ ## 7.1.0
25
+
26
+ ### Features
27
+
28
+ - `pm2 monit` / `pm2 dash` now preload the last 200 lines (out + err merged) of every process from its log files, most recent first; `--lines <n>` to display more #5187
29
+ - `pm2 monit`: Ctrl+Up / Ctrl+Down (and PageUp / PageDown) scroll the focused log pane page by page
30
+
31
+ ### Bug Fixes
32
+
33
+ - Shell environment variables named like a PM2 option (`name`, `namespace`, `cron_restart`, `instances`...) no longer override the app configuration #6006 #6016 #5747 #5622 #5030 #5032 #4943 #4778 #4821 #3210
34
+ - Variables declared in `env:` and named like a PM2 option (`env: { port: 3000 }`, `time`, `watch`...) still reach the app: only the ambient shell environment is filtered, not what the user declares
35
+ - Cluster mode: the pid list of the previous kill (`_tree_pids`, since 7.0.0) no longer leaks into the app's `process.env` after a restart, nor gets reused as the pid list of a later kill
36
+ - `pm2 monit`: align the Custom Metrics pane in columns (value right-aligned, fixed unit column, numbers rounded to 2 decimals) and shorten long metric names instead of pushing values out of the pane
37
+ - `pm2 monit`: the footer no longer overlaps the bottom border of the Custom Metrics / Metadata panes
38
+ - `pm2 monit`: logs, metrics and metadata panes update instantly when the selected process changes (no longer wait for the next refresh tick)
39
+ - `pm2 monit`: characters of old log lines no longer stay stuck on screen — emoji are now measured as 2 cells, and `\r`, cursor escape sequences, control chars and `{tags}` in logs are sanitized #5397
40
+ - `@pm2/blessed` is now vendored in `modules/blessed` (one less npm dependency)
41
+ - `chokidar` 3.6.0 is now vendored in `modules/chokidar` with a bounded brace expansion, dropping the vulnerable `braces` dependency (GHSA-vfj7-8cjw-p6xm, no patched version)
42
+ - Logs: no more lost lines in fork mode with `--time` / `log_date_format` when an app writes more than 64KB at once (partial line at a pipe chunk boundary was dropped) #6125
43
+ - Logs: in cluster mode with `--time`, every line of a multi-line write is now date-prefixed (not only the first)
44
+ - `pm2 logs "/regex/" --lines 0` now streams matching apps (regex was ignored in stream-only mode); regexes with an inner `/` are no longer mangled, apps started after `pm2 logs` are picked up, and only one bus subscription is opened #5196
45
+ - `pm2 reloadLogs` no longer crashes the app in fork mode when `out_file`/`error_file` are `NULL` and only `log_file` is set #5509
46
+ - Logs: log streams are now flushed (`end()`) instead of destroyed on `pm2 reloadLogs` / app exit, so buffered data is no longer truncated
47
+ - `pm2 serve`: a request with a malformed percent-escape (`GET /%`) no longer crashes the server (answers 400); handler exceptions answer 500 instead of killing the process
48
+ - Logs: in cluster mode, output that bypasses `process.stdout.write` (pino/sonic-boom, `npm start`, children spawned with stdio `inherit`) no longer ends up in `pm2.log` — workers get piped stdio and the daemon routes it to the app log files and `pm2 logs` #3675 #4719 #4872 #4916 #4953 #5633 #4816
49
+ - Logs: in cluster mode, the worker's stdout/stderr pipes are made blocking so a raw write bigger than the pipe buffer (`fs.writeSync(1, ...)`, native addons) is no longer silently truncated at 64 KB #4044 #4872
50
+ - `exec_mode: cluster` on a non Node.js/Bun script (bash, python, binary) now falls back to fork mode with a warning instead of crashing with `SyntaxError: Invalid or unexpected token` (ELF) #4775
51
+ - Node.js/Bun interpreter detection now accepts atypical binary names (`node.exe`, `node64.exe`, `nodejs`, `node18`, `node@18`, `bun.exe`), so cluster mode and the fork-mode wrapper are no longer skipped for them
52
+ - Restart/stop on systems without `ps` (slim Docker images) no longer starts the app twice and crashes the daemon with `Callback was already called` #6171
53
+ - TreeKill: no `ps` under Bun (synchronous spawn throw) falls back to killing the root pid
54
+ - An online process without a pid (e.g. failed spawn) no longer makes pidusage fail for every app (`One of the pids provided is invalid` spam) #6134 #6135
55
+ - Cluster mode with `uid`/`gid`: log files created by a root daemon are chowned to the app user (no more EACCES crash loop)
56
+ - `pm2 reloadLogs` no longer crashes the daemon (`ERR_IPC_CHANNEL_CLOSED`) nor leaks fds when a cluster app is stopped, nor on concurrent calls
57
+ - Explicit `exec_mode: cluster` is kept for JS/TS apps run by a custom interpreter (`tsx`, `ts-node`); fork fallback only for binaries and non-JS scripts/interpreters #4775
58
+ - `pm2 serve`: null bytes answer 400 (`--spa` no longer crashes on `GET /x/%2500`), errors in async file handlers answer 500
59
+ - Fork/cluster: log files are closed once the app stdout/stderr pipes are closed, no longer on the ChildProcess `close` that sometimes never comes on Linux (2 fds leaked per app stop/restart/delete)
60
+ - Stale `_tree_pids` from a 7.0.0-7.0.4 dump no longer leaks into the app env nor gets an unrelated pid SIGKILLed on stop
61
+ - PM2.io agent: `PM2_PROXY` support removed with the `proxy-agent` dependency (unused, broken since 7.0.0 with `ProxyAgent is not a constructor`; drops the vulnerable get-uri/basic-ftp chain)
62
+ - Behavior change: shell variables named like a PM2 option (`port`, `time`, `watch`...) are no longer forwarded to fork mode apps; declare them in `env:`
63
+ - `pm2 ls` host metrics: virtual interfaces and read-only mounts are hidden
64
+
65
+ ## 7.0.4
66
+
67
+ ### Features
68
+
69
+ - Start `.ts` apps with Node.js native type stripping when bun is not installed (Node.js >= 22.18 / 23.6, `--experimental-strip-types` auto-injected on 22.6+); `ts-node` fallback now resolved from the app's own dependencies
70
+
71
+ ### Bug Fixes
72
+
73
+ - Fix `pm2 start --container` / `--container --dist` crashing with `Cannot find module` — wrong require depth in `Containerizer.js` from the v7 promptly internalization
74
+ - Bump `js-yaml` 4.3.0 → 4.3.1
75
+ - Fix overlapping reloads colliding on the `_old_<pm_id>` slot and orphaning a cluster worker — a reload is now refused while one is in progress #6129
76
+ - Ignore stale exit events from a replaced process — fixes double start on Windows with `shutdown_with_message` #6142
77
+ - Fix `retrying in NaNms` kill log and ~1ms poll spam when `kill_retry_time` is unset — fallback to `KILL_RETRY_TIME` constant (100ms, `PM2_KILL_RETRY_TIME` overridable)
78
+ - Fix `pm2 start`/`restart` RPC hanging forever when a cluster worker dies before its `online` event (bad `node_args`, boot OOM) — executeApp now concludes on exit-before-online
79
+ - Surface the daemon's actual error in CLI output instead of masking everything as `Process not found`
80
+ - Pin OpenTelemetry package versions in `pm2 install-otel` and re-emit legacy HTTP span tags (`http.method`, `http.status_code`, `http.target`) dropped by `@opentelemetry/instrumentation-http` >= 0.220
81
+
82
+ ### Core Refactor
83
+
84
+ - Remove dead code: `promise.min.js` polyfill (native `Promise`), `IsAbsolute.js` (native `path.isAbsolute`), unused Java/Ruby Dockerfile templates, always-false `win64` platform checks
85
+
86
+ ## 7.0.3
87
+
88
+ ### Bug Fixes
89
+
90
+ - Fix daemon failing to boot on Node.js < 14.18 — embedded `vizion` used `node:`-scheme requires; switched to bare specifiers
91
+
92
+ ## 7.0.2
93
+
94
+ ### Bug Fixes
95
+
96
+ - Fix `pm2 serve` returning 403 Forbidden on Windows — traversal guard used hardcoded `/` separator #6109
97
+ - Fix `pm2 ls` table misalignment when a username exceeds the `user` column width — cli-tableau's `truncate()` miscounts ANSI bytes, leaking bold into the `watching` column
98
+ - Fix long status lines (e.g. `Applying action … on app […]`) wrapping on narrow terminals — `Common.printOut` now ANSI-aware crops single-line TTY output to terminal width (piped output unaffected)
99
+
100
+ ### Features
101
+
102
+ - `pm2 ls` host-metrics line now shown by default`pm2 update`)
103
+ - `pm2 ls` adaptive layout: picks the widest layout that fits the terminal — full → condensed → new ultra-compact `mini` (`id · name · status · cpu · mem`) — and caps the `name` column so long names can't overflow the table
104
+ - `pm2 ls` host-metrics line only lists network interfaces carrying traffic (hides idle utun/awdl/bridge/anpi/unused en*)
105
+ - `pm2 ls` host-metrics line: replaced `mem free` with `ram usage` (%), added GPU memory/temperature when reported, per-interface network errors/drops shown when non-zero
106
+
107
+ ### Core Refactor
108
+
109
+ - Drop old vizion module, refactor to support only git and drop 3 submodules
110
+ - Replace the bundled `pm2-sysmonit` module and `systeminformation` with `lib/tools/SysMetrics.js` (Linux/macOS); `pm2 slist`/`getSystemData` and the Docker metrics path now read this collector. Covered by `test/programmatic/sysmetrics.mocha.js`
111
+
112
+ ### Security
113
+
114
+ - Bump `js-yaml` 4.1.1 → 4.3.0 — fixes quadratic-complexity DoS in merge-key handling (GHSA-h67p-54hq-rp68) #6122
115
+ - Bump `ws` 8.20.0 → 8.21.0 — fixes uninitialized-memory disclosure and tiny-fragment DoS (GHSA-58qx-3vcg-4xpx, GHSA-96hv-2xvq-fx4p) #6116
116
+ - Bump `@pm2/js-api` 0.8.0 → 0.8.1, pulling in patched `ws@8.21.0` (its transitive `ws` was pinned to the vulnerable 7.x). Production deps are now advisory-free (`npm audit --omit=dev` clean)
117
+
118
+ ## 7.0.1
119
+
120
+ ### Bug Fixes
121
+
122
+ - Fix Python (and other non-Node) interpreter regression on Ubuntu: bun runtime detection used a naive `includes('bun')` substring check that matched any path containing the letters "bun" — most notably `/home/ubuntu/...`. Affected paths were routed through `ProcessContainerForkBun.js` and crashed with `SyntaxError: unterminated string literal` when Python tried to parse the JS container. Anchored the match to the end of the interpreter path (`=== 'bun'` or `/bun$/`) in both `lib/God/ForkMode.js` and `lib/Common.js` #5990
123
+ - Display `max_memory_restart` in `pm2 describe` output when set #5925
124
+ - Add missing `port` option to `StartOptions` TypeScript declaration #6045
125
+ - Fix incorrect file permissions on `openrc.tpl` template (0755 → 0644) #5957
126
+ - Fix Windows cmd.exe regression: revert `bin/pm2*` launchers to `#!/usr/bin/env node` shebang (was polyglot `#!/bin/sh`). Polyglot worked on Linux/macOS but broke npm's `pm2.cmd` shim on Windows — `cmd.exe` can't interpret `/bin/sh` shebang and failed with `'"/bin/sh"' is not recognized as an internal or external command`. PowerShell's auto-generated `pm2.ps1` shim happened to call `node` directly so it kept working, masking the regression. Bun-only Linux/macOS users (no Node installed) need to symlink `node` to `bun` (`sudo ln -s $(which bun) /usr/local/bin/node`) — same workaround used in the project's bun test Dockerfile. Documented in README #6108
127
+
128
+
129
+ ## 7.0.0
130
+
131
+ ### Breaking Changes
132
+
133
+ - Require Node.js >= 18.0.0 (dropped Node.js 16 support)
134
+
135
+ ### Core Refactor
136
+
137
+ - Internalize pm2-axon, pm2-axon-rpc, pm2-io-bpm, pm2-io-agent, fclone as local modules (reduced supply chain surface)
138
+ - Internalize pm2-multimeter and charm into lib/tools/multimeter (zero external deps)
139
+ - Add Bun runtime support (ProcessContainerBun.js, ProcessContainerForkBun.js)
140
+ - Replace `needle` with native `fetch` (CliAuth, TAR publish)
141
+ - Replace `enquirer` with lightweight built-in prompt (boilerplate selector)
142
+ - Replace `promptly` with built-in lib/tools/prompt
143
+ - Replace `mkdirp` with native `fs.mkdirSync({ recursive: true })`
144
+ - Replace `source-map-support` with native `process.setSourceMapsEnabled()`
145
+ - Replace `sprintf-js` with template literals (Dashboard)
146
+ - Replace `url.parse()` with native `URL` constructor (Serve, Utility, CliAuth)
147
+ - Remove `fclone` npm dep, use internalized module
148
+ - Drop auto source map file detection in Common.prepareAppConf
149
+
150
+ ### Security
151
+
152
+ - CVE-2025-5891 Fix ReDoS in Config.js string-to-array split regex #6075
153
+ - CVE-2026-27699 Update proxy-agent to 6.5.0, basic-ftp to 5.3.1 #6088
154
+ - Fix command injection in WebAuth.js open() — replace exec() with execFile() #6089
155
+ - Fix command injection in PM2IO.js open() — replace exec() with execFile(), validate SUDO_USER
156
+ - Fix command injection in lib/tools/open.js — replace exec() with execFile(), validate SUDO_USER
157
+ - Fix prototype pollution in Configuration.set/unset via __proto__ key traversal #6089
158
+ - Fix HttpInterface env stripping never executing (WEB_STRIP_ENV_VARS) #6089
159
+
160
+ ### Bug Fixes
161
+
162
+ - Rewrite TreeKill: single ps snapshot + in-memory tree build, eliminates race conditions. SIGKILL escalation now targets surviving child processes directly instead of re-walking a dead tree #6084
163
+ - Fix [object Object] env vars leaked to fork mode subprocesses #6073
164
+ - Fix Windows home path: use os.homedir() instead of HOMEPATH/HOMEDRIVE env vars #6106
165
+ - Fix Windows TreeKill callback consistency
166
+ - Fix missing BPM monitoring injection in Bun cluster mode (ProcessContainerBun.js)
167
+ - Fix ReferenceError crash in Bun cluster console overrides when disable_logs is true
168
+ - Fix CliAuth wrong credentials error displaying "undefined" instead of error message
169
+
170
+ ### Features
171
+
172
+ - Add `--ftp` option to `pm2 serve` for directory listing (python http.server style)
173
+
174
+ ### Dependencies
175
+
176
+ - Add OpenTelemetry tracing as direct dependencies (@opentelemetry/api, sdk-node, auto-instrumentations-node)
177
+ - Upgrade OpenTelemetry packages to latest
178
+ - Update pidusage from 3.0.2 to 4.0.1
179
+ - Upgrade ws to ^8.18.0, eventemitter2 to ^6.4.9
180
+ - Remove needle, enquirer, promptly, mkdirp, source-map-support, sprintf-js, fclone from npm dependencies
181
+
182
+ ### Testing
183
+
184
+ - Add Docker parallel test runner with Node.js and Bun support
185
+ - Add Windows test suite (test/windows.sh)
186
+ - Add OpenTelemetry tracing tests
187
+ - Add TreeKill unit tests
188
+ - Add test scripts for internalized modules (bpm, axon, axon-rpc, io-agent)
189
+ - Fix test compatibility for Node.js 22+ and Bun
190
+ - CI matrix: Node.js 18, 20 + latest
191
+
192
+
193
+ ## 6.0.14
194
+
195
+ - Fixed version of @pm2/pm2-version-check #6055
196
+ - CVE-2025-64718 Update js-yaml
197
+ - replace fs.R_OK with fs.constants.T_OK #6012 #6019
198
+
199
+ ## 6.0.13
200
+
201
+ - Fix blessed package import
202
+
203
+ ## 6.0.12
204
+
205
+ - #6037 Drop npm-shrinkwrap in favor of fixed dependencies versions
206
+ - #5577 fix pm2 monit crash
207
+
208
+ ## 6.0.11
209
+
210
+ - #6034 replace package-lock.json by npm-shrinkwrap.json
211
+ - #5915 fix allowing to update namespaced pm2 NPM module (@org/module-name)
212
+
213
+ ## 6.0.10
214
+
215
+ - revert #5971 #6031
216
+
217
+ ## 6.0.9
218
+
219
+ - updates all typescript definitions
220
+ - upgrade github ci workflows
221
+ - upgrade mocha dep and adapt tests
222
+ - bump packages
223
+ - fix:Potential ReDoS Vulnerability or Inefficient Regular Expression in Project: Need for Assessment and Mitigation #5971
224
+
225
+ ## 6.0.8
226
+
227
+ - fix: package-lock update
228
+
229
+ ## 6.0.7
230
+
231
+ - fix: ansis-node10 https://github.com/Unitech/pm2/commit/99d9224e940d119a1ad5b241b4fc4e0db7c830ed @webdiscus
232
+
233
+ ## 6.0.6
234
+
235
+ - refactor: replace chalk with smaller alternative by @webdiscus
236
+
237
+ ## 6.0.5
238
+
239
+ - Bun support - Fixes #5893 #5774 #5682 #5675 #5777
240
+ - Disable git parsing by default #5909 #2182 #5801 #5051 #5696
241
+ - Add WEBP content type for pm2 serve #5900 @tbo47
242
+ - Enable PM2 module update from tarball #5906 @AYOKINYA
243
+ - Fix treekil on FreeBSD #5896 @skeyby
244
+ - fix allowing to update namespaced pm2 NPM module (@org/module-name) #5915 @endelendel
245
+
246
+ ## 5.4.3
247
+
248
+ - Update sub packages
249
+
250
+ ## 5.4.2
251
+
252
+ - Update sub packages
253
+
254
+ ## 5.4.1
255
+
256
+ - @pm2/io DeprecationWarning: The util._extend API is deprecated https://github.com/keymetrics/pm2-io-apm/issues/301 @egoroof
257
+
258
+ ## 5.4.0
259
+
260
+ - #5782 add autostart true||false feature by @ultimate-tester
261
+ - fix UUID deprecation
262
+ - updates modules
263
+
264
+ ## 5.3.1
265
+
266
+ - #5686 Switch from Travis CI to Github Actions
267
+ - #5680 Fixed reserved keyword for ES6 Strict Mode when Bundling @juaneth
268
+ - #5683 update badges
269
+ - #5684 auto switch light and dark mode logos
270
+ - #5678 Bugfix/deploy ecosystem filename extension / esm module default ecosystem config name @TeleMediaCC
271
+ - #5660 Fix matching logic for logs from namespace when lines = 0 @bawjensen
272
+ - fix "vulnerabilities" in axios module
273
+
274
+ ## 5.3.0
275
+
276
+ - fix: replace non-working condition that blocks flush from clearing the logs #5533 @Sailboat265
277
+ - fix: ESM script loader #5524 @BlueWater86
278
+
279
+ ## 5.2.2
280
+
281
+ - fix: correct pm2 ls display when there is a (very) long process id (@dko-slapdash)
282
+ - typo: corrections
283
+
284
+ ## 5.2.1
285
+
286
+ - fix cluster error avoiding process restart (#5396)
287
+ - ensure increment_var value is a number (#5435)
288
+ - update dependencies
289
+ - add node latest to travis testing
290
+
291
+ ## 5.2.0
292
+
293
+ - replace node-cron by croner (#5183 #5035)
294
+ - upgrade mocha deps
295
+ - fix pm2 report when daemon not running
296
+ - remove semver check for legacy node.js versions
297
+ - update node version in setup.deb.sh by using lts (#5201) + openrc
298
+ - replace legacy util._extend by Object.assign (#5239)
299
+ - add missing start options types (#5242)
300
+ - recursive detection of package.json (#5267)
301
+ - make tarball module uninstall cross-platform (#5269)
302
+ - Fix unnecessary "ENOENT" console.error when serving a spa (#5272)
303
+ - fix: used env variable instead of hardcode datetime format (#5277)
304
+ - copyright update (#5278)
305
+ - fix: remove constants import from VersionCheck (not needed) (#5279)
306
+ - Reduce async import (#5280)
307
+
308
+ ## 5.1.2
309
+
310
+ - easily disable cron-restart strategy via `$ pm2 restart --cron-restart 0`
311
+ - allow to update cron-restart on restart
312
+
313
+ ## 5.1.1
314
+
315
+ - remove fast-printf and replace with sprintfjs
316
+
317
+ ## 5.1.0
318
+
319
+ - add back Node 10.x support
320
+ - make pm2-sysmonit module optional
321
+
322
+ ## 5.0.3
323
+
324
+ - skip system monitoring on Windows
325
+
326
+ ## 5.0.1/5.0.2
327
+
328
+ - fix npm install --no-optional pm2
329
+
330
+ ## 5.0.0
331
+
332
+ ### System Monitoring
333
+
334
+ A new local system monitoring feature has been added, allowing to monitor numerous vital server metrics.
335
+
336
+ Most important metrics will be displayed when doing a pm2 ls:
337
+
338
+ ```bash
339
+ ┌─────┬─────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
340
+ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
341
+ ├─────┼─────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
342
+ │ 4 │ app │ default │ 1.0.0 │ fork │ 164618 │ 2s │ 1670 │ online │ 0% │ 41.8mb │ unitech │ disabled │
343
+ └─────┴─────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
344
+ host metrics | cpu: 1.6% 42.9º | mem free: 52.0% | wlp0s20f3: ⇓ 0mb/s ⇑ 0mb/s | disk: ⇓ 0.199mb/s ⇑ 0mb/s /dev/nvme0n1p3 88.25% |
345
+ ```
346
+
347
+ All server metrics will be available to pm2.io:
348
+
349
+ ```
350
+ ┌─────────────────────────────┬──────────────────────────────────┐
351
+ │ PM2 CPU Usage │ 0.0 % │
352
+ │ PM2 Memory Usage │ 67.4 mb │
353
+ │ PM2 Agent CPU Usage │ 0 % │
354
+ │ PM2 Agent Memory Usage │ 0 mb │
355
+ │ CPU Usage │ 1.5 % │
356
+ │ CPUs Usage │ 0|0|0|0|2|0|0|1|0|0|0|1|0|1|2|8 │
357
+ │ CPU Temperature │ 42.9 °C │
358
+ │ RAM Total │ 15.34 gb │
359
+ │ RAM Free │ 1.18 gb │
360
+ │ RAM Active │ 7.35 gb │
361
+ │ RAM Available │ 7.99 gb │
362
+ │ RAM Usage │ 47.9 % │
363
+ │ FD Opened │ 15072 │
364
+ │ Disk Writes │ 0 mb/s │
365
+ │ Disk Reads │ 0.24 mb/s │
366
+ │ Disk Usage │ 88.25 % │
367
+ │ Disk Size │ 465.60 gb │
368
+ │ Total TX │ 0.005 mb/s │
369
+ │ Total RX │ 0.004 mb/s │
370
+ │ fs:use:/dev/nvme0n1p3 │ 88.25 % │
371
+ │ fs:size:/dev/nvme0n1p3 │ 465.60 gb │
372
+ │ net:tx_5:wlp0s20f3 │ 0.005 mb/s │
373
+ │ net:rx_5:wlp0s20f3 │ 0.004 mb/s │
374
+ │ net:rx_errors_60:wlp0s20f3 │ 0 /min │
375
+ │ net:tx_errors_60:wlp0s20f3 │ 0 /min │
376
+ │ net:rx_dropped_60:wlp0s20f3 │ 0 /min │
377
+ │ net:tx_dropped_60:wlp0s20f3 │ 0 /min │
378
+ │ graphics:mem:total │ 3878 mb │
379
+ │ graphics:mem:used │ 1260 mb │
380
+ │ graphics:temp │ 46 °C │
381
+ └─────────────────────────────┴──────────────────────────────────┘
382
+ ```
383
+
384
+ #### Disabling system monitoring
385
+
386
+ ```
387
+ # Disable system monitoring
388
+ pm2 set pm2:sysmonit false
389
+ # Enable system monitoring
390
+ pm2 set pm2:sysmonit true
391
+ ```
392
+
393
+ ### PM2.io bandwidth reduction
394
+
395
+ Data quantity sent from PM2 to PM2.io has been reduced by 80%, thanks for a json patch differential system. Much more data can now be exposed (metrics, actions) to PM2.io
396
+
397
+ ### Other fixes
398
+
399
+ - feat: added args and full script path to monitoring data
400
+ - fix: regular local ip check
401
+ - fix: pm2 agent watchdog has been consolidated and fixes freezing issues
402
+ - fix: modules bumped
403
+
404
+ ## 4.5.6
405
+
406
+ - all submodules version bumped
407
+ - supress all "security" warnings
408
+
409
+ ## 4.5.5
410
+
411
+ - bump debug
412
+ - remove systeminformation
413
+
414
+ ## 4.5.4
415
+
416
+ - drop non used package
417
+
418
+ ## 4.5.3
419
+
420
+ - bump vizion from 0.2.13 to 2.2.1 (Snyk CVE)
421
+ - bump chokidar to 3.5.1
422
+
423
+ ## 4.5.2
424
+
425
+ - bump @pm2/js-api
426
+
427
+ ## 4.5.1
428
+
429
+ - fix: cron in cluster mode was not restarting process after one pass - fixes #4834 #4733 #4307 #4834
430
+ - fix: restore --sort <param> option on `pm2 ls` - fix #4536
431
+ - fix: fix tests with npm7
432
+ - fix: restore warning message about process list changed and not dumped
433
+ - chore: alias `--cron` with `--cron-restart`
434
+ - chore: test PM2 againt Node.js 15.x
435
+ - chore: upgrade systeminformation and debug module to latest - PR #4892 by @AdamMajer
436
+ - chore: drop Node 9.x from travis testing
437
+ - chore: remove ps-list module
438
+
439
+ ## 4.5.0
440
+
441
+ - fix: creating log folder in sync mode. #4846 - PR #4844 by @QS20199
442
+ - fix: PM2 unable to run ESM packages: ERR_UNSUPPORTED_ESM_URL_SCHEME #4839 - PR #4841 by @ox-harris
443
+ - fix: Use opts.namespace if it was passed in. Previously, it was ignored. #4778 - PR #4791 by @sbleon
444
+ - fix: Prevent reloadLogs command from hanging. #4781 - PR #4782 by @mbrooks and Franck Danard
445
+ - fix: backward compatibility fix for tarball modules - PR #4767 by @ykolbin
446
+ - fix: Operation not permitted on call setgid #2957 - PR #4681 by @guard43ru
447
+ - chore: upgrade dependencies
448
+
449
+ ## 4.4.1
450
+
451
+ - feature drop: autodump fixes #4763
452
+ - fix: fix starting pm2 script from inside an app #4761 (need use PM2_PROGRAMMATIC)
453
+
454
+ ## 4.4.0
455
+
456
+ - feature: support Node v14.0
457
+
458
+ ## 4.3.1
459
+
460
+ - fix: downgrade vizion
461
+
462
+ ## 4.3.0
463
+
464
+ - feature: reduce by 1/3 pm2 package size (drop moment, lodash)
465
+ - feature: pm2 start app.js --filter-env NODE_ENV #4596
466
+ - feature: print logs of a particular namespace #4517 @bvsubhash
467
+ - feature: trigger all the process using 'all' or trigger all processes in a particular namespace #4518 @bvsubhash
468
+ - feature: support ecosystem.config.cjs #4662 @Timic3
469
+ - fix: disable log (--error /dev/null --output /dev/null) on Windows #4560 @codpot
470
+ - fix: pm2 install <tar_file> adaptation #4593 @adunkey
471
+ - fix: add type for pm2.reload with optional options parameter #4615 @kevindoveton
472
+ - fix: add `ignore_watch` to StartOptions types #4629 @jlvcm
473
+ - fix: fix --cwd CLI option description #4639 @warpdesign
474
+ - fix: do not require cron if not necessary in CLI
475
+ - fix: upgrade mkdirp to 1.0.4 (sec vuln) #4638
476
+ - chore: bump mocha to latest + drop mocha.opts + add .mocharc.yml
477
+ - chore: pm2 init ecosyst file template changes
478
+ - chore: pm2-deploy@1.0.2 (revert fix)
479
+ - chore: pm2-io-apm@4.3.4 (instant trace + broadcast trace threshold + boolean metrics support)
480
+
481
+
482
+ ## 4.2.3
483
+
484
+ - fix: Fix an import error on Node 9.x
485
+
486
+ ## 4.2.2
487
+
488
+ - feat: Support ESM on Node 13 via .mjs file or `"type":"module"` in package.json #4540
489
+ - fix: Fix an error for pm2 path on Windows. #4563
490
+
491
+ ## 4.2.1
492
+
493
+ - fix: col size too small for certain app name with tracing enabled
494
+ - chore: check for pm2 updates
495
+
496
+ ## 4.2.0
497
+
498
+ - feature: `pm2 logs --highlight <str>` to highlight specified string when using `pm2 logs` #4013 by @bvsubhash
499
+ - feature: `pm2 sysmonit` activate system wide monitoring && `pm2 sysinfos` display system informations
500
+ - feature: new App Namespace feature via `namespace` attr or `pm2 start app.js --namespace <ns>` #3471 by @bvsubhash
501
+ - feature: enforce message sending for Windows Graceful Shutdown via `pm2 start app.js --shutdown-with-message` to use message sending for specific process or via `PM2_KILL_USE_MESSAGE=true pm2 update` to default this behavior on PM2. #3561 #3691 #3555 #4469 #4470 #4474 by @aleksk and @8ai
502
+ - feature: `pm2 ls` now display a hint when process list differ from dump file
503
+ - fix: if id > 100 not shown in pm2 ls #4475
504
+ - fix: stop and delete cron immediately on deletion of a process #4492 by @bvsubhash
505
+ - fix: display correct username by @bvsubhash
506
+ - chore: add test on node 13.x
507
+ - chore: cleanup some unused files
508
+ - chore: enforce node >= 8.10.0
509
+
510
+ ## 4.1.2
511
+
512
+ - fix: temporarily disable system metrics retrieval
513
+
514
+ ## 4.1.1
515
+
516
+ - fix: #4452 disable network collection metric
517
+
518
+ ## 4.1.0
519
+
520
+ - fix: #4270 fix ANSI escape for `pm2 ls --watch`
521
+ - fix: `pm2 start app.js -i 1` start app in cluster mode
522
+ - fix: #4254 add HOST environment variable on pm2 serve
523
+ - fix: #4267 Allow usernames in uid/gid/user again
524
+ - fix: #4376 make process.send('ready') trigger sigint
525
+ - fix: #4443 allow pm2-runtime to auto-exit even if modules are still running
526
+ - fix: #4364 typos
527
+ - fix: #4288 add 'max' type in typescript definition
528
+
529
+ ## 4.0.2
530
+
531
+ - fix: #4450 do not open sysinfo window on Windows
532
+
533
+ ## 4.0.1
534
+
535
+ - chore: switch Systeminfo logging to debug
536
+
537
+ ## 4.0.0
538
+
539
+ - feat: make pm2 fully standalone with node embedded
540
+ - feat: startup, npm, node system adaptation for standalone installs
541
+ - feat: system information worker - retrieve:
542
+ - network I/O + latency
543
+ - disk I/O + space
544
+ - cpu usage + temperature
545
+ - memory usage
546
+ - intelligent display of information (e.g. display disks > 80% cpu usage)
547
+ - feat: listing of docker container on host machine with independent pm2 list
548
+ - feat: upgrade of Chokidar to 3.x - Massive CPU & RAM consumption improvements for watch feature
549
+ - r&d: manage container like pm2 processes
550
+ - feat: intelligent display of high loaded processes in an independent pm2 list
551
+ - feat: #4224 --ignore-watch now accepts globs (@vaskevich)
552
+ - feat: pm2 save --force allow to force save of empty process list
553
+ - fix: pm2 monit dashboard without leaks
554
+ - fix: pm2 register fixed
555
+ - refactor/fix: pm2 listing systems refactoring
556
+ - chore: remove old legacy code for < 8 Node.js versions
557
+ - chore: make the repo lighter
558
+ - chore: better display when pm2-runtime is linked to on-premise
559
+ - chore: pm2 CLI refactoring #4391
560
+
561
+ ## 3.5.0
562
+
563
+ - feat: #4220 #2941 #4196 improve pm2 serve for SPA - autoredirect requests to index.html if --spa
564
+ - feat: on pm2 show <app>, display metric unit and divergent environment variables
565
+ - feat: #4157 tweak systemd script to auto restart PM2 in case of crash failure
566
+ - fix: #4212 on pm2 show, avoid crash when versioning comment is not present
567
+ - fix: #4171 fix pm2 list when small screen
568
+ - fix: #4197 fix pm2 unstartup for macOS
569
+ - fix: #2764 in pm2 monit, only display log of selected application
570
+ - fix: #2793 pm2 monit, rolling log buffer, avoid crash and performance issues
571
+ - fix: #4060 do not emit online when application is errored
572
+ - chore: remove nssocket in dependencies
573
+
574
+ ## 3.4.1
575
+
576
+ - fix: allow pm2 register / pm2 monitor
577
+ - fix: restore trace indicator
578
+
579
+ ## 3.4.0
580
+
581
+ - use @pm2/io version 4
582
+ - disable @pm2/io for node.js v4 and v5
583
+
584
+ /!\ Warning, built-in custom metrics are not supported anymore on Node 4 and 5
585
+
586
+ New builtin metrics when starting a Node.js application:
587
+ - Heap Size
588
+ - Heap Usage
589
+ - Used Heap Size
590
+ - Active Requests
591
+ - Active handles
592
+ - Event loop latency
593
+ - Event loop latency p95
594
+ - HTTP queries per minutes
595
+ - HTTP Mean Latency
596
+ - HTTP P95 Latency
597
+
598
+ ## 3.3.1 (18/02/19)
599
+
600
+ - add pm2 profile:cpu [timeout]
601
+ - add pm2 profile:mem [timeout]
602
+
603
+ ## 3.3.0 (14/02/19)
604
+
605
+ - Upgrade pmx to ^3
606
+
607
+ ## 3.2.9 (17/01/19)
608
+
609
+ - #4128 fix: force detached process
610
+
611
+ ## 3.2.6-8 (11/01/19)
612
+
613
+ - rollback: node bin path handling adaptation
614
+
615
+ ## 3.2.5 (09/01/19)
616
+
617
+ - feat: enhance pm2 report
618
+ - feat: support snap Ubuntu system
619
+ - fix: pm2 register/monitor command
620
+ - fix: consolidate spawn function on unhealthy systems to avoid pm2 crash
621
+ - fix: error message if extra lang interpreter are not installed when runing tests
622
+ - fix: (pm2 deploy) command line bug when passing env variables to post-deploy hook
623
+ - fix: (pm2 deploy) always deploy to default branch problem
624
+ - fix: (pm2 deploy) pm2 deploy <env> exec now accept multiple commands
625
+ - fix: print full env + skip extra internal fields when using programmatic pm2
626
+
627
+ ## 3.2.4 (19/12/18)
628
+
629
+ ### Feat
630
+
631
+ - display cron configuration when doing `pm2 desc <id>`
632
+ - refactor test suite (benchmark/simplification)
633
+
634
+ ### Fix
635
+
636
+ - pm2 flush <app> flush only one app
637
+ - resolve uid properly on pm2 ls / pm2 desc
638
+ - keep wait_ready option on process reload
639
+ - keep stringification of environment variable behavior
640
+ - return an error when using pm2 api on starting json configuration if one app is errored
641
+
642
+ ## 3.2.3 (4/12/18)
643
+
644
+ ### Fix
645
+
646
+ - medium rare bug: fix issue when acting on process file (#3987 + #3192)
647
+ - concurrent action to 1 if acting on only 2 processes
648
+ - fix cluster syntax
649
+ - add more test on port release
650
+
651
+ ## 3.2.2 (5/10/18)
652
+
653
+ ### Fix
654
+
655
+ - minor bug: fix bug when passing -i 'max' or -i 0
656
+
657
+ ## 3.2.1 (3/10/18)
658
+
659
+ ### Fix
660
+
661
+ - minor bug: get internal pm2 config after creation on new pm2 boots
662
+
663
+ ## 3.2.0 (3/10/18)
664
+
665
+ ### Features
666
+
667
+ - package.json version field retrieval and display in pm2 ls, pm2 show, pm2 monit
668
+ - pm2 internal configuration system via `pm2 set pm2:key value`, attached to pm2.user_conf
669
+ - add the .user field (CLI + Config) to set the user to start the application with
670
+ - add the .time field (CLI + Config) to enable default logs date prefix
671
+ - max_memory_restart now triggers a reload
672
+ - pm2 env <pm_id> command to display the environment the application is running with
673
+ - exponential backoff restart delay via `--exp-backoff-restart-delay <ms>` with reset mechanism
674
+ - new timing library on PM2 daemon (increase log througput, reduce CPU usage and memory usage)
675
+ - better user management system with username resolution to uid
676
+ - websocket default switch for pm2 plus
677
+ - new module management system (`pm2 package <folder>`, `pm2 publish <folder>`, `pm2 install <tarball>`)
678
+
679
+ ### Fix
680
+
681
+ - @pm2/io 2.4 (restart > 10.0)
682
+ - restart behavior tested
683
+ - fix module version parsing
684
+ - module system refactoring (TAR + NPM)
685
+ - fix watch_delay in config file
686
+
687
+ ## 3.1.3 (20/09/18)
688
+
689
+ ### Features
690
+ - allow non-node application to run multiple instances without auto switch to cluster mode
691
+ - allow to call `pm2 logs` even without application (#3820)
692
+ - switch `pm2 link` and `pm2 plus` protocol to websocket by default instead of axon
693
+ - enhance the `pm2 init` template that generates ecosystem files by adding some extra fields
694
+
695
+ ### Fix
696
+ - remove deprecation message for node 0.10
697
+ - pm2 login/register/monitor now hit the new oauth pm2 plus system
698
+
699
+ ## 3.1.2 (10/09/18)
700
+
701
+ - version bump on @pm2/io
702
+
703
+ ## 3.1.1 ( Mon Sep 10 2018 16:18:25 GMT+0200 (CEST) )
704
+
705
+
706
+ ## Hot Fixes
707
+ - #3901 fix error when installing module
708
+ ([7b43fea5](https://github.com/Unitech/pm2/commit/7b43fea55d7c2853a3032b3bddd12201cd6a29e9))
709
+
710
+
711
+ ## 3.1.0 ( Mon Sep 10 2018 10:25:13 GMT+0200 (CEST) )
712
+
713
+
714
+ ## Bug Fixes
715
+ - tmp fix io@beta + rename metric
716
+ ([04ab7ac4](https://github.com/Unitech/pm2/commit/04ab7ac4e1312c5a5332f37cbb81b0d98686936d))
717
+ - remove ending \n on git version comment
718
+ ([9a36bfeb](https://github.com/Unitech/pm2/commit/9a36bfeb7e9f5ab1719ca3858510da08bb0cad6b))
719
+ - #3883 fix typings for max_memory_restart and add wait_ready
720
+ ([b35ea237](https://github.com/Unitech/pm2/commit/b35ea237e3b448088112b2f3a771a9c5286417a7))
721
+ - restore monitored indicator
722
+ ([34966432](https://github.com/Unitech/pm2/commit/349664329eb56232321694be9e08f16a3cda6fbd))
723
+ - remove install of modules on pm2 plus command
724
+ ([6a8bb269](https://github.com/Unitech/pm2/commit/6a8bb26952a7dcf109d28af7224b89faf0977a71))
725
+ - invert kill/link
726
+ ([3c37b528](https://github.com/Unitech/pm2/commit/3c37b5283bf0dea130fd375a5563974bd84543a9))
727
+ - #3877 #3831
728
+ ([16f4f2bc](https://github.com/Unitech/pm2/commit/16f4f2bc6589e8f0666f46d37c3f7f7739de7261))
729
+ - #3865 ensure pm2 never run simultaneous gracefullExit, prevent dump file corruption
730
+ ([79679db1](https://github.com/Unitech/pm2/commit/79679db1b321bbcc7296dbc41d005500cf61d273))
731
+ - #3786 fix issue when triggering an action that does not exist
732
+ ([1ff7fd3d](https://github.com/Unitech/pm2/commit/1ff7fd3d49ccaf3f65540774426b62fdc811e4f1))
733
+ - fixed unstartup when launchd
734
+ ([3d0461c3](https://github.com/Unitech/pm2/commit/3d0461c3e0a2362aef009e6f158b6f16b3d6510c))
735
+ - access gl_retry as class property
736
+ ([bbcb2b6b](https://github.com/Unitech/pm2/commit/bbcb2b6b5c5fa0ef872b64a648461c266350423a))
737
+ - #3831 switch registerToKM() to register()
738
+ ([8df2451e](https://github.com/Unitech/pm2/commit/8df2451e05bf5494b11f0546965718efe1f351b9))
739
+
740
+
741
+
742
+
743
+ ## Features
744
+ - add id column in stacked mode (80 char mode)
745
+ ([83033d4c](https://github.com/Unitech/pm2/commit/83033d4cdeb899bc4c1d1fe7a8c6391e64e9d0d0))
746
+
747
+
748
+
749
+
750
+ ## Refactor
751
+ - only enable deep monitoring if explicitly stated
752
+ ([f67e14f0](https://github.com/Unitech/pm2/commit/f67e14f0bd6d65bff6ef8f7e27e3f0aa93c60e40))
753
+ - #3786 clean code
754
+ ([6cbca8bc](https://github.com/Unitech/pm2/commit/6cbca8bccc0126f1557bf8326c81facc62100704))
755
+ - removes unused imports.
756
+ ([b8b48e83](https://github.com/Unitech/pm2/commit/b8b48e83f7f041508e39815e22501509259d4f26))
757
+ - only import the necessary methods from async.
758
+ ([6466ee44](https://github.com/Unitech/pm2/commit/6466ee44c1b85858f9b7e56b01aa6f2a08bde508))
759
+ - removes unused async imports.
760
+ ([679b14ff](https://github.com/Unitech/pm2/commit/679b14ff4b24519b5479c9e5f4ce0d9c32e39e55))
761
+
762
+
763
+
764
+
765
+ ## Chore
766
+ - upgrade to 3.1.0
767
+ ([0285d12d](https://github.com/Unitech/pm2/commit/0285d12df335667e9e0311a7abe175796bb517f4))
768
+ - update apm version
769
+ ([cc27de4a](https://github.com/Unitech/pm2/commit/cc27de4a8b400f1c20ba2e4b12dadcef1dd34fae))
770
+ - README update
771
+ ([c505dcc1](https://github.com/Unitech/pm2/commit/c505dcc1685380728b23f8757aa80fa4387d7fd3))
772
+ - remove unused console.log
773
+ ([61e32a43](https://github.com/Unitech/pm2/commit/61e32a4305490cc64c0a40cd83e2ad48c133b272))
774
+ - upgrade vizion to 2.0.2
775
+ ([c231e286](https://github.com/Unitech/pm2/commit/c231e28604aa4628d8f8ba10ea1f9f82e73269e6))
776
+ - #3415 try to update vizion to 2.0.1
777
+ ([9b80d8c1](https://github.com/Unitech/pm2/commit/9b80d8c1b69c07d21e63441c266b7acafffe0673))
778
+ - #3415 try to update vizion to 2.0.0
779
+ ([2c3df093](https://github.com/Unitech/pm2/commit/2c3df09378a92bac9de2d3b3b83103e02bd1bb82))
780
+ - update readme with 3.0.3 commits
781
+ ([476542fb](https://github.com/Unitech/pm2/commit/476542fbad038b951b6cfe6d6903d7b6bc8540a5))
782
+
783
+
784
+
785
+
786
+ ## Branchs merged
787
+ - Merge branch 'master' into development
788
+ ([95321c6d](https://github.com/Unitech/pm2/commit/95321c6dd2602e9ef71028731fd7a2e7b40a0d3c))
789
+ - Merge branch 'master' into development
790
+ ([c3c0e423](https://github.com/Unitech/pm2/commit/c3c0e423f9beeab25f53c0267d5f8a9e79d5c2e3))
791
+ - Merge branch 'master' into development
792
+ ([8e6481bc](https://github.com/Unitech/pm2/commit/8e6481bc9a6d23283895bf9cd3c7831c49a811ae))
793
+ - Merge branch 'development' into development
794
+ ([83294afe](https://github.com/Unitech/pm2/commit/83294afee7cf0204208e9cc7f4cf687469556492))
795
+ - Merge branch 'development' into flag--ext
796
+ ([79ab9242](https://github.com/Unitech/pm2/commit/79ab92425fef22cdf679fa77840d86a6e7cfc755))
797
+ - Merge branch 'development' into post_install
798
+ ([d5604300](https://github.com/Unitech/pm2/commit/d5604300685ace1c7dbd18776fd3df79da96f638))
799
+
800
+
801
+
802
+
803
+ ## Pull requests merged
804
+ - Merge pull request #3885 from Unitech/typings
805
+ ([19a35e9b](https://github.com/Unitech/pm2/commit/19a35e9b23716df8f7d1301acf7b0f0b601f93dd))
806
+ - Merge pull request #3878 from cuspymd/fix-command-help
807
+ ([2d3d2044](https://github.com/Unitech/pm2/commit/2d3d204427ce02617aa134ca0831a844de1a697d))
808
+ - Merge pull request #3876 from Unitech/lost_apps_sigterm
809
+ ([4fa247a3](https://github.com/Unitech/pm2/commit/4fa247a3e370607cf4198743de41dfa0a94bfbb5))
810
+ - Merge pull request #3874 from Unitech/trigger_no_action
811
+ ([e868f003](https://github.com/Unitech/pm2/commit/e868f003e3063a57236cb8d0ead33af808e0df70))
812
+ - Merge pull request #3872 from Unitech/column_id_stacked
813
+ ([55b6ccc3](https://github.com/Unitech/pm2/commit/55b6ccc32ae02e574ec1f80a36b4531761b94777))
814
+ - Merge pull request #3723 from livankrekh/development
815
+ ([98f49dc3](https://github.com/Unitech/pm2/commit/98f49dc393efd1fed03a1ef8a5752c0e490dd4b8))
816
+ - Merge pull request #3821 from imarakho/post_install
817
+ ([4217b150](https://github.com/Unitech/pm2/commit/4217b1505419904252d0ae7640a51128a2459d98))
818
+ - Merge pull request #3823 from imarakho/flag--ext
819
+ ([cc68dc1f](https://github.com/Unitech/pm2/commit/cc68dc1f9faf010af0648992193230af609413c5))
820
+ - Merge pull request #3822 from imarakho/flush_parameter
821
+ ([bbcc85a4](https://github.com/Unitech/pm2/commit/bbcc85a41683f5fa573bf504894f8e817c89784a))
822
+ - Merge pull request #3807 from medanat/minimize-async-lib-footprint
823
+ ([7e92855f](https://github.com/Unitech/pm2/commit/7e92855ff5c394b5452db526d21262e343b89ef8))
824
+ - Merge pull request #3829 from soyuka/patch-pidusage
825
+ ([a668f576](https://github.com/Unitech/pm2/commit/a668f5762190061dd05de5c5d888b53f35fa386e))
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+ ## 3.0.3 ( Tue Aug 07 2018 23:35:05 GMT+0200 (CEST) )
834
+
835
+
836
+ ## Bug Fixes
837
+ - pm2 plus + register
838
+ ([277ec6ba](https://github.com/Unitech/pm2/commit/277ec6ba8d1cdda7f8fdf11eb9d9d33c2c095d65))
839
+
840
+
841
+
842
+
843
+ ## 3.0.2 ( Tue Aug 07 2018 23:35:05 GMT+0200 (CEST) )
844
+
845
+
846
+ ## Bug Fixes
847
+ - allow tracing activation
848
+ ([f297ef1e](https://github.com/Unitech/pm2/commit/f297ef1ebbec292aedcfa48c27e3f31b8f206633))
849
+
850
+
851
+
852
+
853
+ ## Branchs merged
854
+ - Merge branch 'development'
855
+ ([80c94dd3](https://github.com/Unitech/pm2/commit/80c94dd3261544f627612ce4b541356e4adbc51f))
856
+
857
+
858
+
859
+
860
+ ## 3.0.1 ( Mon Jul 23 2018 14:13:35 GMT+0200 (CEST) )
861
+
862
+ ## Bug Fixes
863
+ - allow to set a name via pm2 link
864
+ ([ebffb609](https://github.com/Unitech/pm2/commit/ebffb609cf4da195c72ee67d8341c63b78f0654e))
865
+ - disable network monitoring as long as ampq not supported
866
+ ([ae1547bf](https://github.com/Unitech/pm2/commit/ae1547bfa9505b2d13e30df39ce614eee29463b0))
867
+ - display error message from pm2-deploy
868
+ ([9171b810](https://github.com/Unitech/pm2/commit/9171b81024641c3e104f3eeb2e2c6eb852dbe7f4))
869
+ - protect geteuid/getegid from being called on windows #3793
870
+ ([0495bd8e](https://github.com/Unitech/pm2/commit/0495bd8e4ffaeb1db729b35fa569696145d79c5f))
871
+ - put message module at the right level
872
+ ([56f5e047](https://github.com/Unitech/pm2/commit/56f5e04787da29e8b582bf4fa8325f72404a2fbe))
873
+ - do not ignore child pres folder
874
+ ([10ee9987](https://github.com/Unitech/pm2/commit/10ee99876d75679723e1e8522da07413a618e48c))
875
+ - let->var
876
+ ([89e2a125](https://github.com/Unitech/pm2/commit/89e2a125c22aee27014c279c86d1d9e0a0df0235))
877
+ - method renaming
878
+ ([f3faa3d8](https://github.com/Unitech/pm2/commit/f3faa3d846d1e895232743dd619f5ecb15fdf7ad))
879
+ - path
880
+ ([4f980550](https://github.com/Unitech/pm2/commit/4f9805508d2c1c575aabc4abbab25728f1c6a28a))
881
+ - #3791 mitigate pidusage errores
882
+ ([88551b8c](https://github.com/Unitech/pm2/commit/88551b8cfe8bf8dd330d582e71b808faadfaf161))
883
+ - pm2 plus
884
+ ([9bc34e56](https://github.com/Unitech/pm2/commit/9bc34e56b7ad66cbc6efbd26d4017f1e1813a720))
885
+ - #3764
886
+ ([3a582b42](https://github.com/Unitech/pm2/commit/3a582b42f9cca57779b99964c95a2cd0516efa11))
887
+ - drop coffee-script (installed via pm2 install coffeescript)
888
+ ([76ceb2fd](https://github.com/Unitech/pm2/commit/76ceb2fd52a2e5acbf03deacc3fa8a120a197023))
889
+ - restore no_interaction for pm2-dev
890
+ ([902e5a5a](https://github.com/Unitech/pm2/commit/902e5a5a1225d2072ab6337aa067caf9c6a7cca4))
891
+ - option -w doesn't work
892
+ ([165a05c8](https://github.com/Unitech/pm2/commit/165a05c854f9b3dd1418b988c954d333f81ba88f))
893
+ - retab shell script to use space for indent consistency
894
+ ([e3b4327d](https://github.com/Unitech/pm2/commit/e3b4327d9a6120c5ad589734ca926d3b49a8b706))
895
+ - set Makefile indent to tab instead of common space
896
+ ([4db0ae01](https://github.com/Unitech/pm2/commit/4db0ae011c161cbfca9e250da40deff9fdc36069))
897
+ - set yaml file indent to 2 spaces instead of 3
898
+ ([e4ecb0b2](https://github.com/Unitech/pm2/commit/e4ecb0b29dbcc4c6ca2d67b6bdc7da4c0a5d17a5))
899
+ - remove trailing spaces
900
+ ([5c115983](https://github.com/Unitech/pm2/commit/5c1159832680231bff5da79f1c91caf32ce3b5e0))
901
+ - fixes #3735
902
+ ([0548cb82](https://github.com/Unitech/pm2/commit/0548cb82aa1193a5725ca22e1babfc38db2e3b77))
903
+
904
+
905
+
906
+
907
+ ## Hot Fixes
908
+ - fix #3767, do not consider as a command if space and slash are found
909
+ ([d15a12ce](https://github.com/Unitech/pm2/commit/d15a12ceae8b0c9c27625180ae002178b0bfe5d0))
910
+ - fix #3767, do not consider as a command if space and slash are found
911
+ ([f8ec1503](https://github.com/Unitech/pm2/commit/f8ec1503c3e92bc0dec10d395ac682b116e2914e))
912
+
913
+
914
+
915
+
916
+ ## Features
917
+ - add inspector for node 10 and heap snapshot
918
+ ([dc61bca6](https://github.com/Unitech/pm2/commit/dc61bca66828c16cf6fd04a6f749f127da697cec))
919
+ - pm2 plus xx yy now generates a name with hostname-UID
920
+ ([fcf75e2c](https://github.com/Unitech/pm2/commit/fcf75e2cc321791273f6afe86c07fd147c6e8414))
921
+ - #3757 --only='app1,app2'
922
+ ([bea98330](https://github.com/Unitech/pm2/commit/bea983306c4736d3a2b1090f2708b7b29c44ed03))
923
+ - pm2 plus cli
924
+ ([1da6edde](https://github.com/Unitech/pm2/commit/1da6edde80e3029d99084992ec1a4ada7b2cc279))
925
+ - reload all apps after connection to pm2 plus
926
+ ([35a1ed2a](https://github.com/Unitech/pm2/commit/35a1ed2a1328a859a7797ec8e22024d171599d86))
927
+ - ask to install module after connection with KM
928
+ ([68e87b39](https://github.com/Unitech/pm2/commit/68e87b39ae2b57e9fbb0b0abde68112c839f05ee))
929
+ - with pm2 plus command ask to install modules
930
+ ([28c61716](https://github.com/Unitech/pm2/commit/28c61716ee5e8f2402205e4b06ed7ee0a942a3cc))
931
+
932
+
933
+
934
+
935
+ ## Test
936
+ - test with development packages
937
+ ([d361c840](https://github.com/Unitech/pm2/commit/d361c8405db47969bd68c7b1058a54f38e8e0e52))
938
+
939
+
940
+
941
+
942
+ ## Chore
943
+ - clean old snapshot method
944
+ ([d064750b](https://github.com/Unitech/pm2/commit/d064750be0d437945efdcd6a5ce4e56547b1bce6))
945
+ - update version to 3.0.1
946
+ ([efbcb021](https://github.com/Unitech/pm2/commit/efbcb02180ae38dd930e43282113dbcb24288eab))
947
+ - bump to 3.0.1
948
+ ([fb8357e3](https://github.com/Unitech/pm2/commit/fb8357e32f9f015e5b6e7ed8ef150f59de382c6d))
949
+ - new ascii logo + refactor pm2 plus command
950
+ ([8692a1da](https://github.com/Unitech/pm2/commit/8692a1daf7b4b7dfb8a4d6ec3363ac0cc62203a8))
951
+ - change motd.update + alias register to pm2 plus
952
+ ([cdc4a767](https://github.com/Unitech/pm2/commit/cdc4a767d5f1ff5873d0466b471daa3006608604))
953
+ - btn
954
+ ([319fa0dc](https://github.com/Unitech/pm2/commit/319fa0dcbea331a88a9888c207368e52665309ce))
955
+ - README button
956
+ ([1c6fb68c](https://github.com/Unitech/pm2/commit/1c6fb68c758d76cf81e53c43c2423ecd742265e5))
957
+ - remove duplicate configs in .editorconfig
958
+ ([86ad52b8](https://github.com/Unitech/pm2/commit/86ad52b837e23a7ec92705d21a152394c244571f))
959
+
960
+
961
+
962
+
963
+ ## Branchs merged
964
+ - Merge branch 'development' into uid-gen
965
+ ([5324c878](https://github.com/Unitech/pm2/commit/5324c878fd0d37e068bc25c8e37f19f73bfebf30))
966
+ - Merge branch 'master' into development
967
+ ([7d04f638](https://github.com/Unitech/pm2/commit/7d04f63835845e92d32d6ad7ffab166a2954302f))
968
+
969
+
970
+
971
+
972
+ ## Pull requests merged
973
+ - Merge pull request #3811 from Unitech/memory_inspector
974
+ ([62018044](https://github.com/Unitech/pm2/commit/62018044d7a1ef7fd0b37fe3082da4bf05989de0))
975
+ - Merge pull request #3801 from vkotovv/grammar-fixes
976
+ ([9bb37a66](https://github.com/Unitech/pm2/commit/9bb37a662a91369caaa5a1a43751541e41970a51))
977
+ - Merge pull request #3799 from Unitech/refactor-agent
978
+ ([bcc4fea8](https://github.com/Unitech/pm2/commit/bcc4fea80885ce941e11b17936aab6582660fc7f))
979
+ - Merge pull request #3787 from Unitech/multi-only
980
+ ([ea5d74a8](https://github.com/Unitech/pm2/commit/ea5d74a87f6911b238634419665c716bc877be10))
981
+ - Merge pull request #3788 from Unitech/uid-gen
982
+ ([f70444f3](https://github.com/Unitech/pm2/commit/f70444f39b7cc8fe05faf57dac1b46fc15a2053c))
983
+ - Merge pull request #3784 from Unitech/pm2-plus-cli
984
+ ([e8c13c37](https://github.com/Unitech/pm2/commit/e8c13c374dfeabf42f75af50b838adb7ac4a50aa))
985
+ - Merge pull request #3780 from Unitech/plus_modules
986
+ ([466d2701](https://github.com/Unitech/pm2/commit/466d2701ca48d0c4b8466d6867135e43b22deeb5))
987
+ - Merge pull request #3768 from Unitech/spaces
988
+ ([0477354b](https://github.com/Unitech/pm2/commit/0477354b502aef612012e833bd47ce1940da1a0b))
989
+ - Merge pull request #3771 from chinesedfan/patch-2
990
+ ([8de987a6](https://github.com/Unitech/pm2/commit/8de987a604679774ec39e7d5a1a905556524c53d))
991
+ - Merge pull request #3762 from shaharmor/issue-3441
992
+ ([429e455d](https://github.com/Unitech/pm2/commit/429e455db96d2a56448a11b7602333324c9bf433))
993
+ - Merge pull request #3761 from PeterDaveHello/fix-sh-indent-style
994
+ ([24cddc25](https://github.com/Unitech/pm2/commit/24cddc257734beebb33ee5abac5a4107a5d86093))
995
+ - Merge pull request #3737 from morugu/add-node-env-output
996
+ ([6628f163](https://github.com/Unitech/pm2/commit/6628f1637497771bbc5c4f0ba0e9423c63660e0e))
997
+ - Merge pull request #3743 from vivex/master
998
+ ([06872c25](https://github.com/Unitech/pm2/commit/06872c2520f73bcabb6198a96c4dafb46706c9e9))
999
+ - Merge pull request #3748 from JimiC/support_nvm4win
1000
+ ([2dac235b](https://github.com/Unitech/pm2/commit/2dac235bc8956d170fee2341517739d3781048d7))
1001
+ - Merge pull request #3752 from PeterDaveHello/upstart.tpl
1002
+ ([d4e66e3a](https://github.com/Unitech/pm2/commit/d4e66e3a9d954ab5c15d5bc35910cdfb71ba8321))
1003
+ - Merge pull request #3753 from PeterDaveHello/fix-editorconfig
1004
+ ([d1478680](https://github.com/Unitech/pm2/commit/d1478680325822c206afbcb197a9a732318f6d64))
1005
+ - Merge pull request #3754 from PeterDaveHello/remove-trailing-space
1006
+ ([b660f03e](https://github.com/Unitech/pm2/commit/b660f03eba71bb80a1a3d313be4525160727921f))
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+ ## 3.0.0 ( Wed Jun 20 2018 11:06:21 GMT+0200 (CEST) )
1014
+
1015
+
1016
+ ## Breaking changes
1017
+ - merge_logs is now activated by default if not in cluster mode. Logs will not be suffixed by the pm_id if only one app is started
1018
+ ([ae02adf6](https://github.com/Unitech/pm2/commit/ae02adf63f70ceb3bf101be968996ca68d9ce277))
1019
+ - Drop support for node 0.12
1020
+ - Drop gracefulReload command
1021
+ - Remove Interactor from PM2 source code
1022
+ - Replace pmx with [pm2-io-apm](https://github.com/keymetrics/pm2-io-apm)
1023
+
1024
+
1025
+ ## Bug Fixes
1026
+ - return the configuration and allow custom conf to override default values
1027
+ ([37dc7de1](https://github.com/Unitech/pm2/commit/37dc7de11e930aa4fce6a485e892f11ee714acd6))
1028
+ - add use strict for node 4 compatibility
1029
+ ([ba2ee3b1](https://github.com/Unitech/pm2/commit/ba2ee3b1ea9aa5fa665e706b3d49a205eac44d53))
1030
+ - #3605 fix parameters definition, don't use camelcase for properties
1031
+ ([c8616276](https://github.com/Unitech/pm2/commit/c8616276e4e08b4d90a742e219372e775bb81098))
1032
+ - #3695 change version check method in order to make it work with alpha/beta versions
1033
+ ([052d6c55](https://github.com/Unitech/pm2/commit/052d6c55df0e941e1dd11430bbcbcaa34061a06e))
1034
+ - deprecated warning on isbinaryfile
1035
+ ([db09275f](https://github.com/Unitech/pm2/commit/db09275f8e353e257c89e12fed754236b15cee74))
1036
+ - #3688 test adaptation + pm2 serve --port option
1037
+ ([f0249684](https://github.com/Unitech/pm2/commit/f0249684bcbfdb75749a516f447c8e8d32020709))
1038
+ - startup script issue 18.04 #3645
1039
+ ([ff1a7f31](https://github.com/Unitech/pm2/commit/ff1a7f315bfee38eb9fd9cdd63efcc0d971585f8))
1040
+ - that this - uncache node_modules
1041
+ ([294038d7](https://github.com/Unitech/pm2/commit/294038d76272a915e3addc67d3694717a9f7d704))
1042
+ - verify default conf variable via package.json on public module
1043
+ ([157b106d](https://github.com/Unitech/pm2/commit/157b106df78af1d28d37bbea069b926de4dceca5))
1044
+ - bug because of const
1045
+ ([56f05a90](https://github.com/Unitech/pm2/commit/56f05a900b03fb0c8dd635aede666c7d2f213271))
1046
+ - do not run two pm2 para cmds
1047
+ ([3274132b](https://github.com/Unitech/pm2/commit/3274132b866ba5c93d5786e755acbada922f5f1e))
1048
+ - version
1049
+ ([3ec178e5](https://github.com/Unitech/pm2/commit/3ec178e577e79730aae02c913301cd905ea8ce52))
1050
+ - re-enable agent tests
1051
+ ([e6febcd7](https://github.com/Unitech/pm2/commit/e6febcd70dd0f1e68b74df8563d3046ee3b32b89))
1052
+ - test/display summary
1053
+ ([b075e6d0](https://github.com/Unitech/pm2/commit/b075e6d09b09ff371adf045dc5079bb8ef82f1cf))
1054
+ - skip interactor tests
1055
+ ([36c4d6bc](https://github.com/Unitech/pm2/commit/36c4d6bca7445b46afc1236dc8ab4b8bf921148b))
1056
+ - remove unused tests
1057
+ ([234c6314](https://github.com/Unitech/pm2/commit/234c63143e723a508796bc1d323c7241979bf4c2))
1058
+ - add missing libraries in travis
1059
+ ([88fbb845](https://github.com/Unitech/pm2/commit/88fbb84597cee7029ce33f5b7e20e45f5a815b4b))
1060
+ - remove unused variable when trying to use tracing
1061
+ ([3aeeba02](https://github.com/Unitech/pm2/commit/3aeeba02f628bf4f19e8d5b93657fd94a6ef0ec7))
1062
+ - remove useless tests from .sh
1063
+ ([e0be81c8](https://github.com/Unitech/pm2/commit/e0be81c86c7defb5e7a271edd5cc37f960c6aa69))
1064
+ - conflict
1065
+ ([e13f39c9](https://github.com/Unitech/pm2/commit/e13f39c90b6a5e803c59c5424332520564703f5c))
1066
+ - fix bug with interpreter args
1067
+ ([b26efa0d](https://github.com/Unitech/pm2/commit/b26efa0d4cd72cf04762df7b7d2eaddc4f4117d2))
1068
+ - improve error message if action has failed
1069
+ ([d9f44f17](https://github.com/Unitech/pm2/commit/d9f44f170f115c2d6dfb6a7fe71dc31bd7fb66fb))
1070
+ - use polyfill module for copySync with node 4.x
1071
+ ([bc07f43b](https://github.com/Unitech/pm2/commit/bc07f43b115066f6077606df8f59379777f2a917))
1072
+ - improve error message if action has failed
1073
+ ([dacc6542](https://github.com/Unitech/pm2/commit/dacc654207cbe494af0d12a3f9f27c3b16541802))
1074
+ - solve empty list when no process and try to update pm2
1075
+ ([89511846](https://github.com/Unitech/pm2/commit/8951184688c720ded5b4b46bd5b393c3793f9b03))
1076
+ - #3485 fix issue when there is empty dump file
1077
+ ([f2523f6a](https://github.com/Unitech/pm2/commit/f2523f6a6b9d8b61ba6ace7b89a0353bee76360b))
1078
+ - #3456 use homedir() instead of process.env.HOME, make module installation work on windows
1079
+ ([1e001732](https://github.com/Unitech/pm2/commit/1e0017325fc8cf658263fb4e02c7bf8912f422b3))
1080
+
1081
+
1082
+
1083
+
1084
+ ## Features
1085
+ - add support for openbsd rc.d init scripts
1086
+ ([fdeb0c32](https://github.com/Unitech/pm2/commit/fdeb0c327afd91b113b214c4c4de187848f9f1cb))
1087
+ - add kill_retry_time argument
1088
+ ([b2cc0031](https://github.com/Unitech/pm2/commit/b2cc003114b44f1a9a31876ee4a2f4cb91e210b3))
1089
+
1090
+ - **bin/pm2**
1091
+ - improve usage
1092
+ ([2c310084](https://github.com/Unitech/pm2/commit/2c310084453dd7b1546957e59b1fc7ef964d425b))
1093
+
1094
+
1095
+
1096
+
1097
+ ## Refactor
1098
+ - use @pm2/js-api for login/register on pm2.io via CLI
1099
+ ([cb6521ac](https://github.com/Unitech/pm2/commit/cb6521ac32f4737c42fc97fef972960bfe16c829))
1100
+ - keymetrics examples
1101
+ ([109b331d](https://github.com/Unitech/pm2/commit/109b331ddf37e061d1890ef952f4cd167ce53f64))
1102
+ - faster cli with less require
1103
+ ([ee5e6a06](https://github.com/Unitech/pm2/commit/ee5e6a06cbf93f2d1fa7fa022d6bdcad55a39695))
1104
+ - replace fs-extra with node calls
1105
+ ([4576b4c9](https://github.com/Unitech/pm2/commit/4576b4c97bc685c9d774018d6b29c918abd7cb8d))
1106
+ - centralize SECRET/PUBLIC/MACHINE_NAME + change some wordings
1107
+ ([d0a2a30e](https://github.com/Unitech/pm2/commit/d0a2a30e4110496b178199fb33e026d6402dd00d))
1108
+ - remove test deported to keymetrics-agent
1109
+ ([299a52a2](https://github.com/Unitech/pm2/commit/299a52a253d70edcde23cbd7e0c201d492984df4))
1110
+ - parallel test v1
1111
+ ([08612de5](https://github.com/Unitech/pm2/commit/08612de5b7893a004ae33ed77fcb2ee3ff7b2251))
1112
+ - e2e test rewrite
1113
+ ([2b9ffd4e](https://github.com/Unitech/pm2/commit/2b9ffd4eb493f1ff32c979e3811f4f1fedfae97d))
1114
+ - drop gracefullreload
1115
+ ([bb57c76d](https://github.com/Unitech/pm2/commit/bb57c76d4191343925013d4353299092d80732c9))
1116
+ - add node 4.x support
1117
+ ([d322dd00](https://github.com/Unitech/pm2/commit/d322dd00de0f527224c027b4fec5e86f12fd69ed))
1118
+ - create alias method instead of modify prototype
1119
+ ([6d8f0dfa](https://github.com/Unitech/pm2/commit/6d8f0dfae8106deb2fee0a7ae15b6ca9802a066d))
1120
+ - change safety var to const
1121
+ ([047aa494](https://github.com/Unitech/pm2/commit/047aa494d5c4dd4342915766b54d673db0d5cdf1))
1122
+ - drop some 0.x patch
1123
+ ([0cab8880](https://github.com/Unitech/pm2/commit/0cab8880ffa362cf27ab7d7b6a64d6b478dce7cd))
1124
+ - remove prototype from API and create method
1125
+ ([9552bd61](https://github.com/Unitech/pm2/commit/9552bd61b72692beb620a91765ad440cdf6abefe))
1126
+ - transform API into class
1127
+ ([e3831f95](https://github.com/Unitech/pm2/commit/e3831f95c8d71f98e8840da37f7e883727eccd59))
1128
+ - name tests well
1129
+ ([c3ccc651](https://github.com/Unitech/pm2/commit/c3ccc651d09ed7291090f516637b75bda99ff71c))
1130
+ - refactor e2e one line parallel
1131
+ ([93802711](https://github.com/Unitech/pm2/commit/938027117cdb2f300ee772ab27f008cbe22a4b19))
1132
+ - e2e rename
1133
+ ([8a7db95a](https://github.com/Unitech/pm2/commit/8a7db95aabc8437f292af0316cec81ab80ec41f5))
1134
+ - change params
1135
+ ([282186f2](https://github.com/Unitech/pm2/commit/282186f24b19b010999f7c7c49750935ef19c190))
1136
+ - parallelize bash test
1137
+ ([d4b4375e](https://github.com/Unitech/pm2/commit/d4b4375e16fe7ac463b252702da662d3a21bf8b4))
1138
+
1139
+
1140
+
1141
+
1142
+ ## Test
1143
+ - adapt test to new api
1144
+ ([7a275e27](https://github.com/Unitech/pm2/commit/7a275e279ea01b1239e9dd8b9cf8e088e407b96d))
1145
+ - refactor before/after
1146
+ ([b85ca3ca](https://github.com/Unitech/pm2/commit/b85ca3caa3c68e18f7ce6954cc85e90a9d33efef))
1147
+ - 3 concurrent jobs
1148
+ ([472aba34](https://github.com/Unitech/pm2/commit/472aba3499ff2d9d0eb834e819410026b1a44503))
1149
+ - move test
1150
+ ([9c973324](https://github.com/Unitech/pm2/commit/9c9733246dbe6afff1b488bc3ba3b6fea3877ea5))
1151
+ - move test
1152
+ ([952b7631](https://github.com/Unitech/pm2/commit/952b7631d19e1074ea73cc7a67bbaefe20950603))
1153
+ - fix test with km_link
1154
+ ([23fd8ecf](https://github.com/Unitech/pm2/commit/23fd8ecfea9b2bf61359f62a8e6e1a582c3b0d6e))
1155
+
1156
+
1157
+
1158
+
1159
+ ## Chore
1160
+ - shorten ecosystem file
1161
+ ([992a0452](https://github.com/Unitech/pm2/commit/992a045227aed559e708ac4e6bb3f54beabe48e0))
1162
+ - change motd wording
1163
+ ([aa183ba1](https://github.com/Unitech/pm2/commit/aa183ba19d88777d82619aa40499c2661d67879e))
1164
+ - merge master in development
1165
+ ([0e4453d9](https://github.com/Unitech/pm2/commit/0e4453d9cc789aa08ee778ff400572337e90d2e3))
1166
+ - keymetrics -> pm2
1167
+ ([2c8170c2](https://github.com/Unitech/pm2/commit/2c8170c25e231eb8827bb0944b76c2f4b041d84e))
1168
+ - upgrade all modules + keymetrics-agent -> pm2/agent + increase version enabling v8-compile-cache
1169
+ ([53ca18c1](https://github.com/Unitech/pm2/commit/53ca18c12868ab177b60a4edff2ccaa8127e301f))
1170
+ - pm2.io -> @pm2/io
1171
+ ([ae098962](https://github.com/Unitech/pm2/commit/ae098962df35eee7f482dc0a514fd29a02a5f4ad))
1172
+ - right names as pm2 maintainers
1173
+ ([e8cd7131](https://github.com/Unitech/pm2/commit/e8cd7131a6b9c9d497a2079bcbfc03770a753a06))
1174
+ - add changelog generation into contributing.md
1175
+ ([d77bfbc3](https://github.com/Unitech/pm2/commit/d77bfbc3c8929851ee19ea604b2a6481d03771e3))
1176
+ - cache node_modules
1177
+ ([81627e94](https://github.com/Unitech/pm2/commit/81627e94c72efa1f4d726e20bbf67f0bbd5c116f))
1178
+ - clone last 5 commits
1179
+ ([dad38ed1](https://github.com/Unitech/pm2/commit/dad38ed1bae849147f66e44186cd71c4b9cb022d))
1180
+ - delete old stagnating pmx inside test
1181
+ ([36834c2c](https://github.com/Unitech/pm2/commit/36834c2c00d496e04c38abaca30202eb650015c4))
1182
+ - pmx -> pm2.io
1183
+ ([adcbebc3](https://github.com/Unitech/pm2/commit/adcbebc3f6419cd97c5ea99f3c3a6789585bda66))
1184
+ - updgrade pmx-2
1185
+ ([eeeb2988](https://github.com/Unitech/pm2/commit/eeeb2988f8886e405aea107db3b888fc1fc929f8))
1186
+ - disable legacy test
1187
+ ([13723bd9](https://github.com/Unitech/pm2/commit/13723bd938d0e6fb1cbf35f15eabe91c52d87b58))
1188
+ - remove test for pmx alert system
1189
+ ([c43414a6](https://github.com/Unitech/pm2/commit/c43414a63438d724b8099eb531ec72bab23b8ca2))
1190
+ - sync from master
1191
+ ([3424ee27](https://github.com/Unitech/pm2/commit/3424ee27870feaf62fdf4509cce9015f8b1a8a2e))
1192
+ - add unique id for each process
1193
+ ([85a5ee0f](https://github.com/Unitech/pm2/commit/85a5ee0f1fd16da9635fb4b16ddcd8d53aca8224))
1194
+ - use npm install for CI as yarn has issue with npm
1195
+ ([52902186](https://github.com/Unitech/pm2/commit/5290218626af815f6cae8173bc78d21881a4dda8))
1196
+ - remove unused dependency
1197
+ ([830fc15f](https://github.com/Unitech/pm2/commit/830fc15fad1aee95e65b2681482b03369f1f97d7))
1198
+ - upgrade PM2 to 3.0
1199
+ ([4bc2eb4c](https://github.com/Unitech/pm2/commit/4bc2eb4c9a8179b9ae38438e98ce7650a91b64db))
1200
+ - remove unused console.log
1201
+ ([33db5084](https://github.com/Unitech/pm2/commit/33db5084814ae7940c90b7f933f9514d28008b78))
1202
+ - wording on error message
1203
+ ([c251c8c9](https://github.com/Unitech/pm2/commit/c251c8c97e6f18aae584cac6b7f3c83cf4f2de9c))
1204
+ - revert PR #3496
1205
+ ([aae1d55e](https://github.com/Unitech/pm2/commit/aae1d55e410c4dcfbbca83eaabbdf1a65d55f3aa))
1206
+ - fix issue with snapshot command + remove command forceGc
1207
+ ([97fd1010](https://github.com/Unitech/pm2/commit/97fd1010d005e59f2411042fa95891f9717fa8b7))
1208
+ - wording on error message
1209
+ ([5f78ecbf](https://github.com/Unitech/pm2/commit/5f78ecbf90f9f46a7feb2a169968e86b0ecac91e))
1210
+ - drop 0.12 test on travis
1211
+ ([beb6e487](https://github.com/Unitech/pm2/commit/beb6e48787c39c66569141d0fd8d090736114d23))
1212
+ - downgrade promptly
1213
+ ([074a7a40](https://github.com/Unitech/pm2/commit/074a7a407a31b4d88442f5834d253d62f4e543b8))
1214
+ - remove coffee and livescript dependencies
1215
+ ([13d6565c](https://github.com/Unitech/pm2/commit/13d6565c72e3596d05f87bfc8be15d3ee45fb279))
1216
+ - upgrade module version and engine version
1217
+ ([84796956](https://github.com/Unitech/pm2/commit/84796956347ca638750fe89cb5545e2a90a0f2c2))
1218
+
1219
+
1220
+
1221
+
1222
+ ## Branchs merged
1223
+ - Merge branch 'development' into chore/dev-cache-node-modules
1224
+ ([146c4e11](https://github.com/Unitech/pm2/commit/146c4e113c88e8ade17c7558c8e14cf523a3b2d6))
1225
+ - Merge branch 'development' of https://github.com/Unitech/pm2 into new-agent
1226
+ ([3514e7fa](https://github.com/Unitech/pm2/commit/3514e7fac624bb83b4cc22651ebc05385f9c284d))
1227
+ - Merge branch 'development' into master
1228
+ ([f5668331](https://github.com/Unitech/pm2/commit/f5668331dbe7346304258317a3b84450f421ed03))
1229
+ - Merge branch 'development' into new-usage-cli
1230
+ ([4ae27694](https://github.com/Unitech/pm2/commit/4ae27694e34c4bc6ed389566d71fc5ec48b69652))
1231
+ - Merge branch 'Eywek-improv/agent' into new-agent
1232
+ ([3e259dd1](https://github.com/Unitech/pm2/commit/3e259dd1d6bb96ea41897c49f3a84557c00c7dad))
1233
+ - Merge branch 'ecosystem-documentation' of github.com:rmonnier/pm2 into ecosystem-documentation
1234
+ ([98348955](https://github.com/Unitech/pm2/commit/98348955a6eb3a9cd524b991bd1dd6ed03d2c857))
1235
+ - Merge branch 'development' into ecosystem-documentation
1236
+ ([40157784](https://github.com/Unitech/pm2/commit/40157784a63bcb0e744d4ed56f6c687e28379fdd))
1237
+ - Merge branch 'inspect_mode' of github.com:Unitech/pm2 into inspect_mode
1238
+ ([7e1494c7](https://github.com/Unitech/pm2/commit/7e1494c7f7971aaf1f4d00d2ee691c3c41775001))
1239
+ - Merge branch 'development' of github.com:Unitech/pm2 into development
1240
+ ([48f81a8b](https://github.com/Unitech/pm2/commit/48f81a8b2f6f0db39edd86083fb369b74845c387))
1241
+ - Merge branch 'development' into master
1242
+ ([47e54109](https://github.com/Unitech/pm2/commit/47e5410987ab3d824a34c062d70c24ab686e57db))
1243
+ - Merge branch 'development' into module_install_windows
1244
+ ([7b82fb91](https://github.com/Unitech/pm2/commit/7b82fb916ed453c1c263bae43c962f6a5294d810))
1245
+ - Merge branch 'development' into module_install_windows
1246
+ ([80b0495f](https://github.com/Unitech/pm2/commit/80b0495f63d1224b850af4b14cdeb055e3fef50b))
1247
+
1248
+
1249
+
1250
+
1251
+ ## Pull requests merged
1252
+ - Merge pull request #3726 from soyuka/fix-list
1253
+ ([0255c5a6](https://github.com/Unitech/pm2/commit/0255c5a6ab1b8a8f609d2183d998695b8c42838d))
1254
+ - Merge pull request #3725 from soyuka/fix-list
1255
+ ([a39eb4f8](https://github.com/Unitech/pm2/commit/a39eb4f806e87565f53758a19f0ee289b6489b67))
1256
+ - Merge pull request #3718 from AaronM04/openbsd-init-script
1257
+ ([85458261](https://github.com/Unitech/pm2/commit/85458261d2673c609cb252d64ad4dfbaa466d848))
1258
+ - Merge pull request #3721 from Unitech/io_conf
1259
+ ([70ec1f81](https://github.com/Unitech/pm2/commit/70ec1f81eae089f75e82723fde7b0b3926d0a9bc))
1260
+ - Merge pull request #3716 from Unitech/io_conf
1261
+ ([0bc000b9](https://github.com/Unitech/pm2/commit/0bc000b9aae7dd37b456bc2d4fbc9eb4a9f047ef))
1262
+ - Merge pull request #3714 from Unitech/definition
1263
+ ([d8cff0de](https://github.com/Unitech/pm2/commit/d8cff0dec5160a620d1512ff56726c073368d1a4))
1264
+ - Merge pull request #3700 from Unitech/report_error
1265
+ ([4b2cad40](https://github.com/Unitech/pm2/commit/4b2cad407b76994e978074a2a3825fe70656304d))
1266
+ - Merge pull request #3670 from Unitech/changelog
1267
+ ([4bcbcce1](https://github.com/Unitech/pm2/commit/4bcbcce16ced596f6ca2bab2b77d608a174a7c1a))
1268
+ - Merge pull request #3662 from DanielRuf/chore/dev-cache-node-modules
1269
+ ([540590ee](https://github.com/Unitech/pm2/commit/540590ee056b44eed3b688a7b0b16ca78ec82cd9))
1270
+ - Merge pull request #3663 from DanielRuf/chore/dev-clone-last-5-commits
1271
+ ([bdf95fc9](https://github.com/Unitech/pm2/commit/bdf95fc997f9ab2995b23668f25f11b6e98b5c47))
1272
+ - Merge pull request #3584 from ngtmuzi/development
1273
+ ([33984b64](https://github.com/Unitech/pm2/commit/33984b64a2969ca4a3a5913f0f7da0242b6c5ec1))
1274
+ - Merge pull request #3500 from Unitech/test-parallel
1275
+ ([da56c7af](https://github.com/Unitech/pm2/commit/da56c7aff18d3a38b3ad068b22cd75b290bac9d0))
1276
+ - Merge pull request #3539 from KimSeongIl/master
1277
+ ([1325704d](https://github.com/Unitech/pm2/commit/1325704d95d324e56b0ebc86aed8137e0d0aa450))
1278
+ - Merge pull request #3556 from N-Nagorny/logs-smart-app-name-cutting
1279
+ ([bfddf4fd](https://github.com/Unitech/pm2/commit/bfddf4fdef5ec293119d850cc2532ac5d6490ae3))
1280
+ - Merge pull request #3553 from Unitech/fix_tracing_not_working
1281
+ ([9d51fe08](https://github.com/Unitech/pm2/commit/9d51fe0819182339f3a6a4aee7ea603ea3f4dd76))
1282
+ - Merge pull request #3549 from Eywek/new-agent
1283
+ ([2f04027b](https://github.com/Unitech/pm2/commit/2f04027b536094d192b399677b3a113102f06b8e))
1284
+ - Merge pull request #3548 from rmonnier/start-ecosystem-default
1285
+ ([55412f26](https://github.com/Unitech/pm2/commit/55412f263250395de0085144932cfe06b8c7180d))
1286
+ - Merge pull request #3546 from soyuka/improve-monitor-perf
1287
+ ([e4e29233](https://github.com/Unitech/pm2/commit/e4e29233f99db36462a6e8f48eb8ebd3d2fd9fa5))
1288
+ - Merge pull request #3534 from rmonnier/new-usage-cli
1289
+ ([5dfba8a4](https://github.com/Unitech/pm2/commit/5dfba8a4491f0bb83f2879915f0c4b164be2552c))
1290
+ - Merge pull request #3542 from rmonnier/default-start-ecosystem
1291
+ ([c65595f4](https://github.com/Unitech/pm2/commit/c65595f4a70659e1e0d753e6c28a1fcedf45a91a))
1292
+ - Merge pull request #3545 from rmonnier/default-ecosystem
1293
+ ([b3718656](https://github.com/Unitech/pm2/commit/b3718656f630aa54880343d9742534a2a508daec))
1294
+ - Merge pull request #3543 from rmonnier/ecosystem-documentation
1295
+ ([a60580a1](https://github.com/Unitech/pm2/commit/a60580a12b4a0066c8df6620317fbc8bf599b0b6))
1296
+ - Merge pull request #3541 from soyuka/development
1297
+ ([67e7a015](https://github.com/Unitech/pm2/commit/67e7a015cabaa7b08206a3b1bf9c0399af88f76b))
1298
+ - Merge pull request #3511 from Unitech/inspect_mode
1299
+ ([75fb87f8](https://github.com/Unitech/pm2/commit/75fb87f8a1c46a6db8e974b421e857175e69b535))
1300
+ - Merge pull request #3517 from Unitech/polyfill_fs_copy_node4
1301
+ ([524f5494](https://github.com/Unitech/pm2/commit/524f54948de5080632d43bb512038d7bd7271619))
1302
+ - Merge pull request #3516 from Unitech/drop_unused_feature
1303
+ ([9436f11a](https://github.com/Unitech/pm2/commit/9436f11aeecfc07e77aa9d6b108df4478b43402e))
1304
+ - Merge pull request #3510 from Unitech/dump_refacto
1305
+ ([674e4469](https://github.com/Unitech/pm2/commit/674e4469554e6a765bb3d57a3c083e6ab53b20cc))
1306
+ - Merge pull request #3501 from Unitech/refactor_api
1307
+ ([9f2c4ca4](https://github.com/Unitech/pm2/commit/9f2c4ca4c9eadf6c7730e3889c72e908cd2d8f5d))
1308
+ - Merge pull request #3496 from rmonnier/master
1309
+ ([829cc303](https://github.com/Unitech/pm2/commit/829cc3032b2d61e20f7a2e7d1d819c0ddc0845e8))
1310
+ - Merge pull request #3484 from Unitech/pull_by_name
1311
+ ([24d29404](https://github.com/Unitech/pm2/commit/24d294049008a0d01b2bc407b9b2b880d5843fbd))
1312
+ - Merge pull request #3482 from Unitech/mjs_support
1313
+ ([ebe7b048](https://github.com/Unitech/pm2/commit/ebe7b0487218557858aaa98527360eca1776b140))
1314
+ - Merge pull request #3495 from Unitech/module_install_windows
1315
+ ([e9c625d3](https://github.com/Unitech/pm2/commit/e9c625d3088c71eef4237ecd866b806957c61815))
1316
+ - Merge pull request #3507 from cheapsteak/patch-1
1317
+ ([a49287d6](https://github.com/Unitech/pm2/commit/a49287d6a1d22b39270e2d05dee2a17c0ed55797))
1318
+
1319
+
1320
+
1321
+
1322
+ ## 2.10.4 ( Thu May 17 2018 14:32:40 GMT+0200 (CEST) )
1323
+
1324
+
1325
+ ## Bug Fixes
1326
+ - #3645 throttle startup
1327
+ ([d529f675](https://github.com/Unitech/pm2/commit/d529f675d0240777cba95442ba35205c370cdb43))
1328
+
1329
+
1330
+
1331
+
1332
+ ## Chore
1333
+ - update issue and PR templates to use comments to hide instructions in the frontend
1334
+ ([9e0180ed](https://github.com/Unitech/pm2/commit/9e0180eddab071916144ad7008817bd6aef1c8ce))
1335
+
1336
+
1337
+
1338
+
1339
+ ## Pull requests merged
1340
+ - Merge pull request #3664 from DanielRuf/chore/update-issue-pr-templates
1341
+ ([067446f2](https://github.com/Unitech/pm2/commit/067446f2133ba7f761b0ad3c9f3692b167affd8b))
1342
+
1343
+
1344
+ ## v2.10.3 ( Fri Apr 27 2018 11:42:16 GMT+0200 (CEST) )
1345
+
1346
+
1347
+ ### Chore
1348
+ - upgrade for node 10
1349
+ ([cf7630e](https://github.com/Unitech/pm2/commit/cf7630e259742bdff8257cff4dbed2732bf24f9c))
1350
+
1351
+ ## v2.10.2 ( Thu Mar 29 2018 13:06:11 GMT+0200 (CEST) )
1352
+
1353
+
1354
+ ## Bug Fixes
1355
+ - reinforce pm2-runtime auto exit strategy #3567 #3206
1356
+ ([e09cdbab](https://github.com/Unitech/pm2/commit/e09cdbabd0b479acda3cb24154bbaa071aa35407))
1357
+
1358
+
1359
+
1360
+
1361
+ ## Pull requests merged
1362
+ - Merge pull request #3569 from Unitech/pm2-runtime-hot-fix
1363
+ ([473a2d6d](https://github.com/Unitech/pm2/commit/473a2d6d3867c617e4a41571d1780618c5025b87))
1364
+ - Merge pull request #3547 from Unitech/revert-3532-logs-smart-app-name-cutting
1365
+ ([438e3030](https://github.com/Unitech/pm2/commit/438e303013e82ecc199cb68d018144cde8a0b2e6))
1366
+ - Merge pull request #3532 from N-Nagorny/logs-smart-app-name-cutting
1367
+ ([067c18e6](https://github.com/Unitech/pm2/commit/067c18e601aca4fac10101a7c23cc4c3525ad776))
1368
+
1369
+
1370
+
1371
+ ## v2.10.1 ( Mon Feb 26 2018 11:38:18 GMT+0100 (CET) )
1372
+
1373
+
1374
+ ## Bug Fixes
1375
+ - restore --raw option #3476
1376
+ ([340011ca](https://github.com/Unitech/pm2/commit/340011cace2b90c2a1ead8d86baba517f5570e15))
1377
+
1378
+
1379
+ ## v2.10.0 ( Mon Feb 19 2018 14:51:19 GMT+0100 (CET) )
1380
+
1381
+
1382
+ ### Bug Fixes
1383
+ - add livescript in default modules
1384
+ ([a315eeb6](https://github.com/Unitech/pm2/commit/a315eeb65f04b22643a903f0cb1c0f416615ad8b))
1385
+ - replace dash with underscore
1386
+ ([203df768](https://github.com/Unitech/pm2/commit/203df7688ca348967c00bc45289ae70fd2c4aaaa))
1387
+ - make sure not pm2 is running
1388
+ ([bd798fd7](https://github.com/Unitech/pm2/commit/bd798fd748665e935db4bb91f9d1d66952d9842a))
1389
+ - auto-exit edge case fix + pm2 no daemon mode + log in raw by default + less logs
1390
+ ([704ae518](https://github.com/Unitech/pm2/commit/704ae518f5d7df0a631349e518d81cef51249a58))
1391
+ - impact v8 flag in fork mode also
1392
+ ([41bf6ef7](https://github.com/Unitech/pm2/commit/41bf6ef7d3633180b4c1e90f36eb206d82fab2b1))
1393
+ - fixup! #2182 Get rid of annoying popups in Windows 10
1394
+ ([3a85b59d](https://github.com/Unitech/pm2/commit/3a85b59de4a76796ad0880368d8d085a7ba55d36))
1395
+
1396
+
1397
+
1398
+
1399
+ ### Hot Fixes
1400
+ - \#3420 ([673acf36](https://github.com/Unitech/pm2/commit/673acf36b4ca1fd65c5135a92d56081f76237a8b))
1401
+
1402
+
1403
+
1404
+
1405
+ ### Features
1406
+ - add dependencies section into ecosystem.json file.
1407
+ ([828a30d0](https://github.com/Unitech/pm2/commit/828a30d0ccc88b3f6e2b66d517ccf5f2394bd08b))
1408
+ - --deep-monitoring available from pm2-runtime
1409
+ ([99e62e3b](https://github.com/Unitech/pm2/commit/99e62e3bb808f071d6e4850c234b34f7de65b1c2))
1410
+ - add deep_metrics to deep_monitoring flag
1411
+ ([4d1bea5e](https://github.com/Unitech/pm2/commit/4d1bea5e0bbaab1f16f75d012bca25702cdff88e))
1412
+ - add flag to enable deep-monitoring
1413
+ ([c5418688](https://github.com/Unitech/pm2/commit/c541868837a1c4421394de5dd1029d2619b5ac82))
1414
+ - allow pm2 to install a set of module as one single command and add deep-monitoring.
1415
+ ([9dddc80d](https://github.com/Unitech/pm2/commit/9dddc80db5e496def44d4d36716b7de54e5171cf))
1416
+ - pm2 pid <app_name> command
1417
+ ([6687d499](https://github.com/Unitech/pm2/commit/6687d499415151bd62489fed5331f414576ec354))
1418
+ - allow pm2 to install and enable event-loop-inspector data collecting
1419
+ ([e6b0c474](https://github.com/Unitech/pm2/commit/e6b0c47443d3e6a839bf29057ef0a80ef135c47e))
1420
+ - ignore signal when running in --no-daemon
1421
+ ([b9c01c99](https://github.com/Unitech/pm2/commit/b9c01c99d54aba98ab790b8888500ac0f0af05c9))
1422
+ - upgrade pmx to git development branch
1423
+ ([21be05a0](https://github.com/Unitech/pm2/commit/21be05a07bd93eacaddedde3b647c16468937473))
1424
+ - allow pm2 to enable v8 data collecting from pmx
1425
+ ([aa180fa8](https://github.com/Unitech/pm2/commit/aa180fa8ab47f0c687d7c21854d005ad0ebf8475))
1426
+ - allow pm2 to install gc-stats
1427
+ ([15634168](https://github.com/Unitech/pm2/commit/15634168582e4c7b3c5f47a3f58a0fcf8b732a76))
1428
+ - feat add changelog generation support
1429
+ ([14f53fc0](https://github.com/Unitech/pm2/commit/14f53fc0c28be4084778785aeace3763ed0d827f))
1430
+
1431
+ - **pm2**
1432
+ - add pm2 init option to generate an ecosystem file
1433
+ ([5d56fac7](https://github.com/Unitech/pm2/commit/5d56fac7cc12590af29ee46c68ba32a82a2b813b))
1434
+ - add pm2 init option to generate an ecosystem file
1435
+ ([a38fd199](https://github.com/Unitech/pm2/commit/a38fd199b90d27a2405f8cabab0e4f6e45c69b08))
1436
+
1437
+
1438
+
1439
+
1440
+ ### Documentation
1441
+ - add documentation on new pm2 install command
1442
+ ([c90c453f](https://github.com/Unitech/pm2/commit/c90c453f85b07adb346bc55c2b685d689a2e96f7))
1443
+ - add sendDataToProcessId into typescript definitions
1444
+ ([4a2e8d2d](https://github.com/Unitech/pm2/commit/4a2e8d2d2c4b38fe0ff2377dfe32fce9a43c8044))
1445
+
1446
+
1447
+
1448
+
1449
+ ### Refactor
1450
+ - delete all "if" condition when installing new module, create an object with all modules and a generic installation process
1451
+ ([1b92a9c4](https://github.com/Unitech/pm2/commit/1b92a9c4000734367e68d8dbd60d0901009f4c56))
1452
+ - deep pm2-runtime refactor #3408 #3257 #3266
1453
+ ([c13b2364](https://github.com/Unitech/pm2/commit/c13b23648269529a1f998d816be10f895665861e))
1454
+ - no more interactive spinner for connection to KM + change pm2 log format + remove some logs
1455
+ ([d1916f40](https://github.com/Unitech/pm2/commit/d1916f40962b2cc8a1866172eab7d5d89db093be))
1456
+
1457
+
1458
+
1459
+
1460
+ ### Chore
1461
+ - pmx to 1.6.3-rc2
1462
+ ([41815e0b](https://github.com/Unitech/pm2/commit/41815e0ba0298979f936b3d4badb196f8d9783d8))
1463
+ - switch pmx to development
1464
+ ([748019d1](https://github.com/Unitech/pm2/commit/748019d1ef0cf760b5e8de9d5b6af6fee300db02))
1465
+ - 2.10.0-beta
1466
+ ([0d2b7172](https://github.com/Unitech/pm2/commit/0d2b7172a093d0638deabb5f23383cc9eec5dda9))
1467
+ - upgrade pmx to 1.6.3-next
1468
+ ([5a1b4343](https://github.com/Unitech/pm2/commit/5a1b4343cc1e1f5018e21451a111340351706213))
1469
+ - upgrade pmx dep
1470
+ ([4bbeec3d](https://github.com/Unitech/pm2/commit/4bbeec3d170ba63af0c0ae0e2d07beec2ab49772))
1471
+ - switch to published pmx(@next)
1472
+ ([859d18fb](https://github.com/Unitech/pm2/commit/859d18fbc79e2a2760fe90e9c17e71209f8177ce))
1473
+ - remove --exit from mocha.opts
1474
+ ([36bf03e1](https://github.com/Unitech/pm2/commit/36bf03e1eed69a27e518151e2f7aa958b15db2fb))
1475
+ - remove unused files
1476
+ ([65d233e5](https://github.com/Unitech/pm2/commit/65d233e5b5290f65796b7cf3daa20706e0f3bee6))
1477
+
1478
+
1479
+
1480
+
1481
+ ### Branchs merged
1482
+ - Merge branch 'development' of ssh://github.com/deltasource/pm2 into hotfix/scoped-package-support
1483
+ ([94ea9d9e](https://github.com/Unitech/pm2/commit/94ea9d9eeff40faca8aa9f7edfc81aa29c08e740))
1484
+ - Merge branch 'master' into development
1485
+ ([46606903](https://github.com/Unitech/pm2/commit/46606903f25d0f4d0eee226da863e20e4b396dc9))
1486
+ - Merge branch 'development' of github.com:Unitech/pm2 into v8_option
1487
+ ([757562f7](https://github.com/Unitech/pm2/commit/757562f755b09124bbd006209ae38a096d692529))
1488
+ - Merge branch 'development' of github.com:Unitech/pm2 into gc-stats
1489
+ ([3ed1a747](https://github.com/Unitech/pm2/commit/3ed1a7471aec7d79f7d604447ac7445720bdaced))
1490
+ - Merge branch 'master' into development
1491
+ ([ee7651e4](https://github.com/Unitech/pm2/commit/ee7651e47e944c3c829933494c6cc765deb4bb29))
1492
+
1493
+
1494
+
1495
+
1496
+ ### Pull requests merged
1497
+ - Merge pull request #3466 from natcl/development
1498
+ ([c6d7ace8](https://github.com/Unitech/pm2/commit/c6d7ace802e667def75bc68344effa4856830fb4))
1499
+ - Merge pull request #3464 from andyfleming/patch-1
1500
+ ([dd9ebb60](https://github.com/Unitech/pm2/commit/dd9ebb6051708ee5a13cc68dbcb8238e41860bb9))
1501
+ - Merge pull request #3459 from rmonnier/master
1502
+ ([46948a98](https://github.com/Unitech/pm2/commit/46948a98e90c7864f7b8100db5c519fe9d37f11a))
1503
+ - Merge pull request #3458 from Unitech/pm2_install_command
1504
+ ([f3b35726](https://github.com/Unitech/pm2/commit/f3b35726895bd82b92813f308b787d68e9df1fa4))
1505
+ - Merge pull request #3453 from deltasource/hotfix/scoped-package-support
1506
+ ([974f9bf0](https://github.com/Unitech/pm2/commit/974f9bf0dc7a7aa7ff6860f8640da3593b802296))
1507
+ - Merge pull request #3448 from Unitech/deep_monitoring_flag
1508
+ ([331bc741](https://github.com/Unitech/pm2/commit/331bc741d7285094738a91cd816bc9755cc76605))
1509
+ - Merge pull request #3447 from Unitech/deep-monitoring
1510
+ ([719d328e](https://github.com/Unitech/pm2/commit/719d328e8d14871b34fd33df54fd80f4f8e7825f))
1511
+ - Merge pull request #3443 from Unitech/event-loop-inspector
1512
+ ([77a35274](https://github.com/Unitech/pm2/commit/77a3527407f3d090c7a5fa0bedaf943a7536b5eb))
1513
+ - Merge pull request #3442 from Unitech/event-loop-inspector
1514
+ ([dad98e6e](https://github.com/Unitech/pm2/commit/dad98e6e0738983717fee155ff0f6519955ffc1b))
1515
+ - Merge pull request #3424 from Unitech/sendDataToProcessId_def
1516
+ ([95e85eef](https://github.com/Unitech/pm2/commit/95e85eef84510dddfb0c6b13f0ada38a7dd66cae))
1517
+ - Merge pull request #3438 from Unitech/v8_option
1518
+ ([e46b15dc](https://github.com/Unitech/pm2/commit/e46b15dc32c18e8b24f66da0c79cc06f91cf11b5))
1519
+ - Merge pull request #3437 from Unitech/gc-stats
1520
+ ([1a6771aa](https://github.com/Unitech/pm2/commit/1a6771aa361bb5718bafd6e33e616725f9c0d328))
1521
+ - Merge pull request #3400 from toddwong/windowsHide2
1522
+ ([f65e8794](https://github.com/Unitech/pm2/commit/f65e8794df6e67f4ff60dfbec7c05a37721cb6f9))
1523
+ - Merge pull request #3421 from Unitech/generate_changelog
1524
+ ([b0690618](https://github.com/Unitech/pm2/commit/b0690618d940c11e28eeb5115c060bf363c7b62b))
1525
+ - Merge pull request #3419 from Rohja/fix-build-number-deb-rpm
1526
+ ([b4343de2](https://github.com/Unitech/pm2/commit/b4343de2703fce03f3cf48cc303b12bc6b69b743))
1527
+
1528
+
1529
+
1530
+
1531
+ ## 2.9.2
1532
+
1533
+ - #3364 30% faster CLI via v8-compile-cache
1534
+
1535
+ - add process._getActiveRequests() and process._getActiveHandles() custom metrics
1536
+ - #3402 #3360 fix bad username
1537
+ - #3413 check dependencies before launching tests
1538
+ - #3295 add sorting feature for process list (pm2 ls --sort <field_name:order>)
1539
+ - #3404 if no gid specified - set gid to uid
1540
+ - #3287 add typing for env
1541
+ - #3374 separate stdout and stderr for pm2-docker/pm2-runtime
1542
+ - #3366 improve building of rpm and deb packages
1543
+ - #3375 sendLineToStdin/sendDataToProcessId fix
1544
+ - #3365 fix report command for windows
1545
+ - #3367 Display an error if the process is not found when running 'pm2 logs <process-name>'
1546
+ - #3256 TypeError: Cannot read property 'destroy' of undefined
1547
+ - User: append SUDO_USER if no uid has been set and SUDO_USER present
1548
+ - User: check permission of agent
1549
+ - KM: send outliers
1550
+ - KM: infinite retry for km connection
1551
+
1552
+ ## 2.9.1
1553
+
1554
+ - #3356 hot fix on startup system
1555
+
1556
+ ## 2.9.0
1557
+
1558
+ - #3278 --silent -s now does not print welcome message
1559
+ - #3345 #2871 #3233 pm2 -v will not spawn daemon anymore
1560
+ - #3341 update moment dependency
1561
+ - #3314 pm2 install <MODULE> --safe will now monitor new installation of module and will
1562
+ fallback to previous version if the module is failing (restart, fail on npm install)
1563
+ - #3314 module folder structure refactoring to keep independent dependencies for each modules
1564
+ - #3324 remove yarn installation of modules
1565
+ - #3273 pm2 --mini-list now print the right pid file
1566
+ - #3206 add flag to auto turn off auto exit with pm2-docker
1567
+ - #3036 Fix applying env PM2_CONCURRENT_ACTIONS correctly
1568
+ - #3346 do not chmod systemd script (was failing systemd script on orange pi)
1569
+ - #3347 Add --wait-ip option to override systemd initialization to wait for internet full connectivity
1570
+ - #3348 alias pm2-docker to pm2-runtime
1571
+ - #3350 Override HOME and USER when setting --uid to start module or application
1572
+ - #3351 alias pm2 ps to pm2 ls (docker style)
1573
+
1574
+ ## 2.8.0
1575
+
1576
+ - #2070 Fix sendDataToProcessId not working (@h091237557)
1577
+ - #2182 Add windowHide options in cluster mode (@soyuka)
1578
+ - #3206 By default in docker, pm2 will auto exit when no process are online (@dguo)
1579
+ - #3225 fix --lines accepting invalid values (@vmarchaud)
1580
+ - #3036 fix when PM2_CONCURRENT_ACTIONS was overriden everytime on node > 4 (@danez)
1581
+ - Add node 9 tests on CI (@Unitech)
1582
+ - Add pm2 unlink command (eq to pm2 link delete) (@Unitech)
1583
+ - Fix interactor to support custom endpoints (@vmarchaud)
1584
+ - Allow custom PM2_HOME for docker (@lucidNTR)
1585
+ - Support MJS module (@vpotseluyko)
1586
+ - Allow custom service name for startup (@danez)
1587
+ - Update PMX to 1.5 (@unitech)
1588
+
1589
+ ## 2.7.2
1590
+
1591
+ - #3200 Associate .tsx files with ts-node (@dguo)
1592
+ - #3202 Add first draft of typescript definitions (@jportela)
1593
+ - Allow to install http url via pm2 install (@unitech)
1594
+ - #3204 Given --uid add all its gids automatically (@jmeit)
1595
+ - #3184 bugfix: try/catch around userInfo to avoid crash (@vmarchaud)
1596
+ - #3181 force upgrade to latest pm2-deploy
1597
+
1598
+ ## 2.7.1
1599
+
1600
+ - #3117 Add required node env on cluster mode start instance (2m0nd)
1601
+ - make profiler compatible with Node.js 8
1602
+
1603
+ ## 2.7.0
1604
+
1605
+ - #3150 fix watchdog on agent
1606
+ - #3001 dump-backup feature
1607
+ - #3134 edge case error handling
1608
+ - #3096 fix module installation
1609
+ - #3085 honor every pm2 args on restart
1610
+ - #3046 better error message if PM2 is misconfigured
1611
+ - #3058 pm2-docker now does not write logs by default
1612
+ - #3045 continue to broadcast on the bus system even if logs are disabled
1613
+ - [Docker] Auto Exit when no application is running
1614
+ - [Keymetrics] pm2 unmonitor fix
1615
+ - [Beta Container Support] beta pm2 start app.js --container
1616
+ - [Chore] upgrade modules
1617
+ - [Chore] enhance package.json
1618
+
1619
+ ## 2.6.1
1620
+
1621
+ - #3037 bug fix cb
1622
+
1623
+ ## 2.6.0
1624
+
1625
+ ### Changes
1626
+
1627
+ - #2998 pm2 report command for automated system inspection
1628
+ - #2997 --disable-logs option to suppress error
1629
+ - #2290 allow to declare apps under "pm2" attribute (eq "apps"). Nicer in package.json
1630
+ - #2994 allow to specify typescript version to be installed
1631
+ - #2501 low memory environment pm2 setting via PM2_OPTIMIZE_MEMORY (beta)
1632
+ - #2968 pm2 attach <pm_id> to attach to process stdin / stdout
1633
+ - pm2-runtime -> drop in replacement for the node.js binary
1634
+ - #2951 pm2 reload command locker via timestamped lock file
1635
+ - #2977 pm2 reloadLogs protected
1636
+ - #2958 Allow to delete attribute via --attribute null
1637
+ - #2980 PM2_SILENT=true pm2 startup
1638
+ - #2690 --parallel <number> command allows to change the nb of concurrent actions (reload/restart)
1639
+ - expose cwd on CLI via --cwd
1640
+ - multiple pm2-docker enhacements
1641
+ - Alias pm2.link and pm2.unlink to pm2.interact and pm2._pre_interact
1642
+ - Allow to customize kill signal via PM2_KILL_SIGNAL
1643
+ - Support git+http in module installation
1644
+ - force reverse interaction reconnection on internet discovery
1645
+ - `--instances -1` when having a 1 cpu is no-longer spawning no processes #2953
1646
+ - refactor the context retrieving from error
1647
+ - add a TTL for file cache entry
1648
+ - #2956 Fix listen_timeout in combination with wait_ready
1649
+ - #2996 respect signal order on pm2 reload (delegate ready function to reload fn)
1650
+
1651
+ ### Breaking
1652
+
1653
+ - Drop pm2-daemon CLI (replaced by pm2-runtime)
1654
+
1655
+ ## 2.5
1656
+
1657
+ - `pm2 register|login` to create new account / login on Keymetrics + auto link
1658
+ - `pm2 open` to open dashboard on browser
1659
+ - `pm2 monitor|unmonitor <pm_id|name|all>` for selective monitoring
1660
+ - #2818 alias pm2-docker to pm2-daemon
1661
+ - #2809 correctly resolve git/npm repo when running pm2 install
1662
+ - #2861 better auto exit check for docker
1663
+ - #2870 avoid null error when preparing app config
1664
+ - #2872 avoid showing useless warning
1665
+ - #438 allow to override daemon config paths via env (example: `PM2_PID_FILE_PATH` to override pid file of the daemon)
1666
+ - #2849 better gentoo template for pm2 startup
1667
+ - #2868 allow tailing log with `--raw` flag
1668
+ - #452 Add `PM2_WEB_STRIP_ENV_VARS` to remove environnement vars from `pm2 web` endpoint
1669
+ - #2890 Fix wait-ready for cluster mode
1670
+ - #2906 randomize machine name with default pm2 link
1671
+ - #2888 allow to use regex for pm2 logs
1672
+ - #2045 allow to rename NODE_APP_INSTANCE env variable
1673
+ - #2809 add `increment_var` options to ask for a environnement variable to be incremented for each application started
1674
+ - more informations when failing to deploy on custom ecosystem file
1675
+ - fix tests for node 8
1676
+ - fix missing callback when overriding console.log
1677
+ - allow to rename daemon process name via `PM2_DAEMON_NAME`
1678
+ - few typo in the readme
1679
+
1680
+ ### Breaking change
1681
+
1682
+ - the NODE_APP_INSTANCE var behavior has been changed :
1683
+ - old behavior : when starting multiples instances of an app each one get an unique number, but its not working anymore if you are using `pm2 scale` (simply put its possible to have two application with the same number)
1684
+ - new behavior : the number are consistent, if you scale up/down it will take a number that isn't used by another application (so two application should never have the same number)
1685
+
1686
+ ## 2.4.5/6
1687
+
1688
+ - #2818 alias pm2-docker to pm2-runtime
1689
+ - #2815 polyfill for path.isAbsolute for node v0.11
1690
+
1691
+ ### Breaking change
1692
+
1693
+ - rundev command has been dropped because of too low adoption
1694
+
1695
+ ## 2.4.4
1696
+
1697
+ - #2806 fix reconnection to keymetrics
1698
+
1699
+ ## 2.4.3
1700
+
1701
+ - #2759 disable default require of vxx in pmx
1702
+ - #2651 always spawn pm2 daemon with `node` binary
1703
+ - #2745 new issue template
1704
+ - #2761 Make JSON log stream timestamp in consistent format
1705
+ - #2770 Fix trigger API never calling callback
1706
+ - #2796 Fix absolute path on windows
1707
+ - [KM] profiler installation via `pm2 install v8-profiler` or `pm2 install profiler`
1708
+ - [KM] Agent rescue system
1709
+
1710
+ ## 2.4.2
1711
+
1712
+ - [KM] Disable pm2-server-monit auto install
1713
+
1714
+ ## 2.4.1
1715
+
1716
+ - #2720 multi user startup script
1717
+ - #2266 start and tail logs via `pm2 start app.js --attach`
1718
+ - #2699 add back previous termcaps interface via `pm2 imonit`
1719
+ - #2681 fix log folder create
1720
+ - #2724 make sure process is stopped even if there is a restart_delay
1721
+ - #2706 install pm2 modules via yarn if available
1722
+ - #2719 show 15 logs line bu default
1723
+ - #2703 allow custom timestamp with pm2-docker
1724
+ - #2698 fix unicode on pm2 monit
1725
+ - #2715 handle treekill edge case bug
1726
+ - Optimize CPU usage of pm2 monit command
1727
+ - [KM] URL web access dashboard
1728
+ - [KM] Auto install pm2-server-monit on keymetrics linking
1729
+ - [KM] Error reporting: add context (-B3 -A3 code lines)
1730
+ - [KM] Transaction Tracer: reset routes on app restart / wait some time before sending
1731
+
1732
+ ## 2.4.0
1733
+
1734
+ - #2631 new pm2 monit command (blessed dashboard!)
1735
+ - #2670 allow to expose a folder over http via `pm2 serve <path> <port>`
1736
+ - #2617 fix startup script generation on macosx (launchd)
1737
+ - #2650 new option to append env name to app name (used to allow the same app to be launched in different environment w/o name conflict)
1738
+ - #2671 allow to pass a delay to pm2-docker (`pm2-docker process.json --delay 10`)
1739
+ - `pm2 ecosystem simple` to generate a simple ecosystem file
1740
+ - aliasing: `pm2-dev <script>` <=> `pm2-dev start <script>`
1741
+ - fix git parsing when using cwd
1742
+ - #2663 allow to directly output json when logging (via log_type for JSON and --log-type via CLI)
1743
+ - #2675 fix path when installing language module like typescript
1744
+ - #2674 increase restart timeout for systemd startup
1745
+ - #2564 allow to operate process (restart/reload/stop/delete) with regex
1746
+
1747
+ ## 2.3.0
1748
+
1749
+ - Drop Node.js 0.10 support
1750
+ - (CLI) remove immutability of CLI parameters on restart (critical for ux)
1751
+ - Keymetrics VXX beta
1752
+ - Alias "exec" to "script"
1753
+ - `pm2 logs --nostream` allow to print last logs of application without attaching to logs bus #2620
1754
+ - Added startup script for gentoo v2.3 via PR #2625
1755
+ - optionalDependencies from http to https
1756
+ - remove agent pid on exit
1757
+ - #2646 check ps.stdout on treekil
1758
+
1759
+ ## 2.2.3
1760
+
1761
+ - Various startup refactor fixes (#2598, #2587, #2590)
1762
+
1763
+ ## 2.2.2
1764
+
1765
+ - #2574 Support Amazon systemv
1766
+
1767
+ ## 2.2.1 (rc: 2.2.0@next)
1768
+
1769
+ - #2559 New startup system. Supported init system: systemd, upstart, launchd
1770
+
1771
+ $ pm2 startup # Auto detect available init system + Setup init scripts
1772
+ $ pm2 unstartup # Disable and Remove init scripts
1773
+
1774
+ *SystemD, Upstart and Launchd scripts work like a charm*
1775
+
1776
+ - #2515 New way to install PM2 on Debian based system:
1777
+
1778
+ ```
1779
+ $ wget -O - http://apt.pm2.io/ubuntu/apt.pm2.io.gpg.key | sudo apt-key add -
1780
+ $ echo "deb http://apt.pm2.io/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/pm2.list
1781
+ $ sudo apt-get update
1782
+ $ sudo apt-get install pm2
1783
+ ```
1784
+
1785
+ - #1090 pm2 resurrect does not respawn the same processes
1786
+ - #2544 Attach logs to exception
1787
+ - #2545 Right exit code via pm2 api
1788
+ - #2543 Fix module pid/mem monitoring
1789
+ - #2537 Remove duplicated code in Configuration subsystem
1790
+ - Responsive pm2 list (shortened list when < 90 columns)
1791
+ - If not TTY do not print ascii table
1792
+ - #2509 Trigger functions inside Node.js application from the PM2 CLI
1793
+ - Rename pm2.triggerCustomAction() by pm2.trigger(<app_id>, <action_name>, [params], [cb])
1794
+
1795
+ ## 2.1.6
1796
+
1797
+ - #2509 Trigger functions inside Node.js application from the PM2 CLI
1798
+ - #2474 Resolve home path in configuration file
1799
+ - #2526 Expose .launchAll() method to API
1800
+ - #2351 inner pm2 actions - drop autorestart and node_args options
1801
+ - #2530 Make sure all processes are killed on system signal to PM2
1802
+ - #281 allow to combine PM2_SILENT + pm2 jlist to avoid extra data
1803
+ - Alias attributes error_file to err_file + err_log + err, alias out_file to out, out_log
1804
+ - Do not ask for pass for set/multiset from KM
1805
+
1806
+ ## 2.1.5
1807
+
1808
+ - #2502 fix SIGTERM signal catch on pm2-docker
1809
+ - #2498 #2500 global log rotation
1810
+
1811
+ ## 2.1.4
1812
+
1813
+ - #2486 add --web option to pm2-docker command to expose web process api
1814
+ - #2333 #2478 #1732 #1346 #1311 #1101 Fix GracefulShutdown SIGINT output + Better Stop process flow
1815
+ - #2353 --wait-ready will wait that the application sends 'ready' event process.send('ready')
1816
+ - #2425 allow to specify node.js version to be used or installed via interpreter 'node@VERSION'
1817
+ - #2471 Make app environment immutable on application restart/reload by default for CLI actions
1818
+ - #2451 Config file can be javascript files
1819
+ - #2484 fix pm2 kill on windows
1820
+ - #2101 pm2 ecosystem now generates a javascript configuration file
1821
+ - #2422 allow to pass none to exec_interpreter
1822
+ - Faster CLI load time, reduce load time by 1/4 (downgrade cli-table2 -> cli-table)
1823
+ - Do not use disconnect() anymore on cluster processes
1824
+ - Better Stop process flow: Upgrade TreeKill system + Wait for check
1825
+ - Fix deploy issue with Windows
1826
+ - Expose -i <instances> to pm2-docker
1827
+ - Drop npm-shrinkwrap
1828
+ - Upgrade chokidar (fix symlink), cron, fclone, shelljs
1829
+ - Add yarn.lock
1830
+
1831
+ ## 2.0.19
1832
+
1833
+ - #2466 skip cluster workaround / fix cluster mode for Node.js v7
1834
+ - Enable Node v7 in travis
1835
+
1836
+ ## 2.0.16/17/18
1837
+
1838
+ - #2400 Create log/pid default folder even if the root folder is already created
1839
+ - #2395 CRON feature now call PM2 for app to be killed (allow to use SIGINT)
1840
+ - #2413 #2405 #2406 do not exit on unhandledRejection auto catch
1841
+ - pidusage upgrade to 1.0.8 to avoid util exception on windows when wmic fail
1842
+ - Do no display error when pidusage try to monitor an unknow PID (modules)
1843
+ - pm2-docker binary does not need the start option
1844
+
1845
+ ## 2.0.15
1846
+
1847
+ - process.on('unhandledRejection'): allow to catch promise error that have not been catched
1848
+ - upgrade fclone and pidusage (faster windows CPU/Mem monitoring)
1849
+ - allow to call pm2 CLI from bash script managed by pm2
1850
+ - #2394 fix pm2 id command
1851
+ - #2385 ts-node upgraded to latest
1852
+ - #2381 autocompletion fix
1853
+
1854
+ ## 2.0.12 Bradbury
1855
+
1856
+ - Memory usage reduced by 40%
1857
+ - CPU usage in overall situations reduced by 60%
1858
+ - Refined pm2 logs command with --json, --format and --raw options
1859
+ - Faster process management with CONCURRENT_ACTIONs enabled
1860
+ - Faster installation (v1: ~30secs, v2: ~10secs)
1861
+ - Faster `pm2 update` with Keymetrics linking delayed at the end
1862
+ - Much better Module system with raw NPM feedback
1863
+ - Better Windows support
1864
+ - **pm2-docker** command with his official [Docker image](https://github.com/keymetrics/pm2-docker-alpine) + json output + auto exit
1865
+ - **pm2-dev -> pmd** command enhanced (better log output, post-exec cmd)
1866
+ - Watch and Reload instead of Watch and Restart
1867
+ - New PM2 API, backward compatible with previous PM2 versions
1868
+
1869
+ The new PM2 API is greatly tested and well designed:
1870
+
1871
+ ```javascript
1872
+ var PM2 = require('pm2');
1873
+
1874
+ // Or instanciate a custom PM2 instance
1875
+
1876
+ var pm2 = new PM2.custom({
1877
+ pm2_home : // Default is the legacy $USER/.pm2. Now you can override this value
1878
+ cwd : // Move to CWD,
1879
+ daemon_mode : // Should the process stay attached to this application,
1880
+ independant : // Create new random instance available for current session
1881
+ secret_key : // Keymetrics secret key
1882
+ public_key : // Keymetrics public key
1883
+ machine_name: // Keymetrics instance name
1884
+ });
1885
+
1886
+ // Start an app
1887
+ pm2.start('myapp.js');
1888
+
1889
+ // Start an app with options
1890
+ pm2.start({
1891
+ script : 'api.js',
1892
+ instances: 4
1893
+ }, function(err, processes) {
1894
+ });
1895
+
1896
+ // Stop all apps
1897
+ pm2.stop('all');
1898
+
1899
+ // Bus system to detect events
1900
+ pm2.launchBus((err, bus) => {
1901
+ bus.on('log:out', (message) => {
1902
+ console.log(message);
1903
+ });
1904
+
1905
+ bus.on('log:err', (message) => {
1906
+ console.log(message);
1907
+ });
1908
+ });
1909
+
1910
+ // Connect to different keymetrics bucket
1911
+ pm2.interact(opts, cb)
1912
+
1913
+ // PM2 auto closes connection if no processing is done but manually:
1914
+
1915
+ pm2.disconnect(cb) // Close connection with current pm2 instance
1916
+ pm2.destroy(cb) // Close and delete all pm2 related files of this session
1917
+ ```
1918
+
1919
+ - Better CLI/API code structure
1920
+ - PM2 isolation for multi PM2 instance management
1921
+
1922
+ ### Bug fixes
1923
+
1924
+ - #2093 #2092 #2059 #1906 #1758 #1696 replace optional git module with tgz one
1925
+ - #2077 fix calling pm2.restart inside pm2
1926
+ - #2261 GRACEFUL_LISTEN_TIMEOUT for app reload configurable via --listen-timeout
1927
+ - #2256 fix deploy command for yaml files
1928
+ - #2105 alias pm2 logs with pm2 log
1929
+ - Extra module display http://pm2.keymetrics.io/docs/advanced/pm2-module-system/#extra-display
1930
+ - Yamljs + Chokidar Security fixes
1931
+ - pm2 update / pm2 resurrect is now faster on Node > 4.0
1932
+ - keymetrics linking after pm2 update is done once all apps are started
1933
+ - pm2 list processes are now sorted by name instead id
1934
+ - #2248 livescript support added in development mode
1935
+ - The client/server file called Satan.js does not exist anymore. It has been replaced by the file combo ./lib/Client.js and ./lib/Daemon.js
1936
+ - PM2 --no-daemon is better now
1937
+
1938
+ ### Breaking change
1939
+
1940
+ - Coffeescript must be installed via `pm2 install coffeescript`
1941
+
1942
+ ## 1.1.3
1943
+
1944
+ - Node v6 compatibility
1945
+
1946
+ ## 1.1.2
1947
+
1948
+ - [#2071 #2075] Fix pm2-dev command
1949
+
1950
+ ## 1.1.0: Galactica release
1951
+
1952
+ This release is about PM2's internals refactoring, homogenization in action commands (in terms of behavior and outputs).
1953
+ Some interesting features has been added, as YAML file support (for application declaration) and some syntaxic sugar.
1954
+ The Keymetrics interface has been enhanced, dividing by two the memory usage and avoiding any possible leak in any potential scenarios. Reconnection system has been refactored too, we kindly ask our Keymetrics users to upgrade to this version ASAP.
1955
+
1956
+ **This version has been heavily tested in testing, production environments and deeply monitored in terms of CPU and Memory usage.**
1957
+
1958
+ - [#133 #1568] Allow to rename a process via pm2 restart app --name "new-name"
1959
+ - [#2002 #1921 #1366] Fix CLI/JSON arguments update on restart (args, node_args, name, max-memory)
1960
+ - [#578] Add YAML support for application configuration file (in extent to JSON and JSON5 support)
1961
+ - [Keymetrics agent refactoring] TCP wait, memory consumption divided by two, reconnection refactoring, keep alive ping system
1962
+ - [Keymetrics agent refactoring] Fix random no response from pm2 link and pm2 unlink
1963
+ - [#2061] Kill ESRCH of processes in cluster mode with SIGINT catcher fixed
1964
+ - [#2012 #1650 #1743] CLI/JSON arguments update on reload
1965
+ - [#1613] Reload all reload ALL applications (stopped, errored...)
1966
+ - [#1961] Fix kill timeout info log
1967
+ - [#1987] Fix FreeBSD startup script
1968
+ - [#2011] Respect process.stdout/.stderr signature
1969
+ - [#1602] Fix zombie process when using babel-node as interpreter
1970
+ - [#1283] --skip-env option to not merge update with system env
1971
+ - Homogeneize actions commands outputs
1972
+ - Option --interpreter-args added (alias of node-args)
1973
+ - Allow to use exactly the same option in JSON declaration and CLI (e.g. interpreter) to avoid confusion
1974
+ - pm2 show, now shows more commands to manage processes
1975
+ - Refactor programmatic system
1976
+
1977
+ ## 1.0.2
1978
+
1979
+ - [#1035 #1055] Deactivate automatic dump on startup scripts
1980
+ - [#1980] Add Javascript source map resolution when exceptions occurs [Documentation](http://pm2.keymetrics.io/docs/usage/source-map-support/)
1981
+ - [#1937] Allow to act on application having numerics as app name
1982
+ - [#1945] Fix post_update commands section when file contains Javascript
1983
+ - [#624] --only <app-name> to act only on specified app name in json app declaration
1984
+ - [0.6.1](https://github.com/keymetrics/pmx/releases/tag/0.6.1) PMX upgrade
1985
+
1986
+ ## 1.0.1
1987
+
1988
+ - [#1895] pm2 id <app_name>: output array of ids for app_name @soyuka
1989
+ - [#1800] pm2 show <app_name>: now also display node.js version @soyuka
1990
+
1991
+ ## 1.0.0
1992
+
1993
+ - [#1844][#1845][#1850] Load configuration in /etc/default/pm2 + add ulimit -n override
1994
+ - [#1810] Add --kill-timeout <number> option (delay before process receive a final SIGKILL)
1995
+ - [#1830] Add tests for PM2_KILL_TIMEOUT (SIGKILL delay) + default SIGINT to any kind of procs
1996
+ - [#1825] Process management commands (start/restart/stop/delete) can take multiple arguments
1997
+ - [#1822] Add new method pm2.sendDataToProcessId(type|data|id) to send data to processes
1998
+ - [#1819] Send SIGINT signal to process instead of SIGTERM
1999
+ - [#1819][#1794][#1765] Avoid writing on std err/out when process is disconnected
2000
+
2001
+ - Add default attribute in schema.json to allow to configure default value when passing a JSON
2002
+ - JSON and CLI starts are now consistent in terms of option size, attribute number
2003
+ - pm2.restart(json_data, function(err, data) now returns an array of process instead of simple object (success:true))
2004
+ - Now pm2 restart process.json --env <X>, refresh environment variable on each restart depending of the X environment
2005
+ - prepareJSON method in PM2 code (God.js) removed
2006
+ - partition Common.prepareAppConf (duplicate with verifyConfs)
2007
+ - Change signature of Common.prepareAppConf
2008
+ - Centralize Interpreter resolution via Common.sink.resolveInterpreter(app) in Common.js
2009
+
2010
+ - Better meta information when process restart/reload/stop (signal + exit code)
2011
+ - Upgrade pm2-axon, cron, should, mocha, coffee-script, chokidar, semver NPM packages
2012
+ - Show process configuration option when describing process
2013
+ - Add --no-automation flag
2014
+ - Fix when starting application with illegal names (#1764)
2015
+ - Fix management of app starting with numerics in the filename (#1769)
2016
+ - Fix versiong system (reset to default on resurrect/prepare)
2017
+ - Increase buffer size for versioning meta parsing
2018
+
2019
+ ## 0.15.10
2020
+
2021
+ - Hot fix #1746
2022
+
2023
+ ## 0.15.9
2024
+
2025
+ - Chokidar upgraded to 1.2
2026
+ - Fix startup script via new --hp option
2027
+ - Fix JSON refresh system
2028
+
2029
+ ## 0.15.1-8
2030
+
2031
+ - JSON refresh available
2032
+ - New module system backward compatible and compatible with NPM 3.x
2033
+ - Possibility to install module from tgz (#1713)
2034
+ - ecosystem generated file via pm2 generate uptaded (not json5 prefix anymore, and updated comments)
2035
+ - always prefix logs #1695
2036
+ - blessed dependency removed
2037
+ - drop locking system
2038
+ - add callback to deploy (#1673)
2039
+ - typo fixes
2040
+ - pm2.update added
2041
+ - small db for pm2 modules added (solve npm 3.x issue)
2042
+ - pm2 multiset "k1 v1 k2 v2 k3 v3"
2043
+ - babel dependency removed
2044
+ - blessed dependency removed
2045
+ - chalk, safe-clone-deep, shelljs, semver upgraded
2046
+ - New command: pm2 module:update <module_name> -> Update a module
2047
+ - New command: pm2 module:publish -> Publish module in current folder + Git push
2048
+ - New command: pm2 module:generate [module name] -> Generate a sample module
2049
+ - Feature: configuration system for raw Node.js applications
2050
+ - alias pm2 install with pm2 i
2051
+ - JSON declaration: You can now use process.env in application declaration file
2052
+ - watch has been refactored for windows and tests
2053
+ - allow installation of specific module version
2054
+ - wrap final process kill intro try catch (c4aecc8)
2055
+ - Appveyor to test PM2 under Windows added (+ fix some incorect file name)
2056
+ - Allow to escape key name when using pm2 conf system
2057
+
2058
+ ## 0.14.7
2059
+
2060
+ - New flag `--no-pmx` : starts an app without injecting pmx
2061
+ - New feature : cron restart now works in fork mode as well
2062
+ - Disabled auto-gc on interactor
2063
+ - Allow PM2 to execute binaries in $PATH
2064
+ - pm2 link priv pub --recyle for elastic infrastructure
2065
+ - pm2 deploy now check default file ecosystem.js[on|on5], package.json
2066
+
2067
+ ## 0.14.6
2068
+
2069
+ - Scoped PM2 actions
2070
+ - Password encryption via pm2 set pm2:passwd xxxx
2071
+ - Interactor Remote action refactor
2072
+ - .getSync method to get configuration variable synchronously
2073
+ - Add password protected PM2 methods (install, delete)
2074
+ - pm2 get|pm2 conf display all confs
2075
+ - Password protected PM2 flag
2076
+ - New flag : `--restart-delay <ms>` (or `restart_delay` in JSON declaration)
2077
+ - New command : `pm2 deepUpdate`
2078
+ - New command (beta) : `pm2 logrotate`
2079
+ - Enhancement : pm2 handles processes that can't be killed in a better way
2080
+ - Fix : some ignore_watch issues
2081
+ - Fix : some pm2 startup systemd issues
2082
+
2083
+ ## 0.14.5
2084
+
2085
+ - Hot fix
2086
+
2087
+ ## 0.14.4
2088
+
2089
+ - New command : `pm2 iprobe [app_name|app_id|'ALL']`
2090
+ - Feature: FreeBSD startup script
2091
+ - Fix: Remove forced GC
2092
+ - Fix: ##1444 --next-gen-js in fork mode
2093
+ - Fix: Windows path fix
2094
+
2095
+ ## 0.14.3 (Current Stable)
2096
+
2097
+ - `pm2 flush` now flushes pm2.log as well
2098
+ - New flag : `--no-treekill` : when used PM2 won't kill children processes
2099
+ - New flags : `pm2 logs ['all'|'PM2'|app_name|app_id] [--err|--out] [--lines <n>] [--raw] [--timestamp [format]]`
2100
+ - Enhancement: Modules installable via Github: `pm2 install username/repository`
2101
+ - Feature: PMX has *scoped function* -> pm2 stores temporary output from custom functions
2102
+ - Fix: Interactor issue when doing an heapdump
2103
+ - Feature: PM2 CLI autocompletion
2104
+
2105
+ ## 0.14.2
2106
+
2107
+ - Improved pm2-dev
2108
+ - Now when apps list is empty, the `id` counter is set to 0
2109
+ - Removed pres/keymetrics.js post-install script
2110
+ - Fix : `pm2 logs` allocation error
2111
+ - Fix : `pm2 prettylist|jlist` truncated output
2112
+
2113
+ ## 0.14.0 - CrystalClear (pre 1.0)
2114
+
2115
+ - Removed: pm2.startJSON() method, now call pm2.start()
2116
+ - API Change: pm2 start <app_name|app_id> restart an application already launched
2117
+ - API Change: pm2 start <json> restart all json apps if already launched
2118
+ - pm2 start all - restart all applications
2119
+ - pm2 reload <json_file> possible
2120
+ - pm2 gracefulReload <json_file> possible
2121
+ - Smart start (pm2 start app.js ; pm2 stop app ; pm2 start app)
2122
+ - Reduced memory footprint
2123
+ - Reduced pipelined data
2124
+ - Reduced CPU usage
2125
+ - Faster command processing
2126
+ - Upgrade shelljs, semver, colors, chalk, coffee-script, async, json-stringify-safe, cron, debug, commander
2127
+ - Fix: launchBus() only connects and disconnects once
2128
+
2129
+ - Refactored `pm2 logs` :
2130
+ - Now you don't need to install tail on Windows
2131
+ - You don't need to Ctrl^C and `pm2 logs` again when a new app is launched (this one will be detected and added to the real-time logs output)
2132
+ - Logs are shown in chronological order at a file level (modified date)
2133
+ - More verbosity : tailed logs are explicitely separated from the real-time logs
2134
+ - Real-time logs now use the `bus` event emitter
2135
+ - PM2 logs added to the `bus`
2136
+ - `--lines <n>` and `--raw` flags available for `pm2 logs` command
2137
+ - New flag : '--timestamp [format]' // default format is 'YYYY-MM-DD-HH:mm:ss'
2138
+ - Now you can exclusively show PM2 logs by doing `pm2 logs PM2`
2139
+
2140
+ ## 0.12.16
2141
+
2142
+ - Feature : File transmission added in Agent
2143
+ - Feature : Transmit Node.js/io.js version in Agent
2144
+ - Feature : Parameters can be passed to remote actions
2145
+ - Feature : Support JS in addition to JSON and JSON5 config files #1298
2146
+ - Enhanced: pm2 conf display all configuration values
2147
+ - Enhanced: pm2-dev
2148
+ - Enhanced: Better error messages when validating data passed via CLI
2149
+ - Enhanced: Smaller memory footprint for PM2 (~30%)
2150
+ - Fix #1285 : PID file was deleted after a reload/gracefulReload
2151
+ - Fix : ENOMEM made PM2 crash
2152
+
2153
+ ## 0.12.15
2154
+
2155
+ - Fix #941 : Env variables overrided when an app is restarted
2156
+ - max_memory_restart now performs a graceful reload
2157
+ - `pm2 logs --raw` now shows 20 last lines of each log file
2158
+ - pm2-dev run app.js : start an app in dev mode (--no-daemon --watch and stream logs of all launched apps)
2159
+ - --no-daemon command now display logs of all processes (Docker)
2160
+
2161
+ ## 0.12.14
2162
+
2163
+ - `ilogs` is no longer part of PM2
2164
+ - Improved interaction with Keymetrics
2165
+ - BabelJS is now integrated into PM2 (`--next-gen-js` flag)
2166
+
2167
+ ## 0.12.13
2168
+
2169
+ - Enhanced : PM2 doesn't leave processes behind when it crashes
2170
+ - Enhanced : Call reload instead of restart when max-memory-limit reached
2171
+ - Enhanced : Modules are compatible ES6 by default by adding --harmony flag
2172
+ - Enhanced : Dump feature is now smarter
2173
+ - Fix #1206 : fix `pm2 logs` bug when merged_logs
2174
+ - Fix : pm2 scale doesn't try to scale a fork_mode process
2175
+
2176
+ ## 0.12.12
2177
+
2178
+ - `pm2 logs --raw` flag : show logs in raw format
2179
+ - New command: pm2 scale <app_name> <number> - scale up/down an application
2180
+ - Fix #1177 : no concurrent vizion.parse() for the same process event when it restarts
2181
+ - Added: Expose kill method programmatically
2182
+ - Added: Call disconnect without a function
2183
+ - Added: Programmatic call to .connect can now take no-daemon-option
2184
+ - Fixed: starting a JSON programmatically return a process list coming from God
2185
+ - Fixed: Reflect dump functions from CLI and God
2186
+ - Enhanced: New CLI API for configuring modules (pm2 conf module.option [value])
2187
+ - Added: Using Keymetrics harden PM2 by enabling a WatchDog that auto restart PM2 in case of crash
2188
+ - Added: Expose pm2 gc programmatically
2189
+ - Added: pm2 install <module_name> update the module
2190
+ - Enhanced: 4 new test suits for PM2 programmatics call
2191
+ - Enhanced: Documentation restructured
2192
+
2193
+ ## 0.12.11
2194
+
2195
+ - `--no-autorestart` flag : starts an app without automatic restart feature
2196
+ (`"autorestart" : false` in JSON declaration)
2197
+
2198
+ - `--no-vizion` flag : starts an app completely without vizion features
2199
+ (`"vizion" : false` in JSON declaration)
2200
+
2201
+ - Fix #1146 : add module._initPaths() on ProcessContainer.js so it forces each
2202
+ new process to take the current NODE_PATH env value in account
2203
+
2204
+ - New: pm2.start() now handles json objects as param
2205
+
2206
+ - Added: timestamps to KM agent logs
2207
+
2208
+ - Fix: now properly closes all fds after logging has finished.
2209
+
2210
+ - New command: pm2 gc (manually triggers garbage collection for PM2)
2211
+
2212
+ - VersioningManagment: exec() timeout configurable via .json
2213
+
2214
+ - Fix #1143 :
2215
+ If we start let's say 4 instances of an app (cluster_mode),
2216
+ Each app will have a value in process.env.NODE_APP_INSTANCE which will be 0 for the first one,
2217
+ 1, 2 and 3 for the next ones.
2218
+
2219
+ - Fix #1154 :
2220
+ Negative arguments to '-i' are substracted to CPU cores number.
2221
+ E.g: 'pm2 start app.js -i -3' in a 8 cpus environment will start 5 instances (8 - 3).
2222
+
2223
+ ## 0.12.10
2224
+
2225
+ - Fix : PM2 interactor doesn't send data about dead processes ('_old_') anymore.
2226
+ - Fix #1137 : Safe params for 'pm2 list' so cli-table won't fail
2227
+ - Refactored reverse interaction with keymetrics for better stability and more verbosity on Rollback/Pull/Upgrade operations
2228
+
2229
+ ## 0.12.9
2230
+
2231
+ - Fix #1124 : PM2_PROGRAMMATIC flag wasn't handled properly
2232
+ - Fix #1121 : NODE_PATH before PATH so custom node versions come first
2233
+ - Fix #1119 : Safe params so cli-table won't fail
2234
+ - Fix #1099 : Bug when app name starts by digit (e.g '1-myApp')
2235
+ - Fix #1111 : More verbosity on writeFileSync errors
2236
+ - New env setting: PM2_KILL_TIMEOUT (ms) : time to wait before a process is considered dead
2237
+ - New env setting: PM2_CONCURRENT_ACTIONS : use it with care, value bigger than 1 is considered unstable
2238
+ - Refactored reload/gracefulReload for better stability
2239
+
2240
+ ## 0.12.8
2241
+
2242
+ - Fix : `Channel closed error`
2243
+ - Fix : `Resource leak error`
2244
+ - Fix#1091 : when passing a wrong formated number to `-i` infinite loop
2245
+ - Fix #1068 #1096 : restart fails after reloadLogs()
2246
+ - New : When PM2 is being killed, all restarts are blocked to avoid conflict
2247
+ - New : PM2 dumps the process list before exiting if it is killed by signal
2248
+ - Refactored stop/restart for better stability
2249
+
2250
+ ## 0.12.7
2251
+
2252
+ - pm2 logs : Now shows merged logs
2253
+ - Fix #929 #1043 : Bug pm2 stop/restart not working properly
2254
+ - Fix #1039 : Better algorithm for vision recursive parsing to avoid infinite loops
2255
+ - Automatize #858 #905: Directly init pm2 folder if not present when using it programmatically
2256
+ - Add Bus system from PM2 programmatic API
2257
+
2258
+ ## 0.12.6
2259
+
2260
+ - Enhancement of startJson command (force_name and additional_env options)
2261
+ - Fix #990 : pm2 flush while pm2 logs was open bug
2262
+ - Fix #1002 : pm2 monit bug
2263
+ - Fix #1024 : enhancement
2264
+ - Fix #1011 : json-stringify-safe bug
2265
+ - Fix #1007 ##1028 #1013 #1009 : pm2 desc bug
2266
+ - Fix : pm2 interact delete when file doesn't exist bug
2267
+
2268
+ ## 0.12.5
2269
+
2270
+ - Windows support
2271
+
2272
+ ## 0.12.4
2273
+
2274
+ - Never start a process that already has a PID [#938]
2275
+ - 1. Make platform auto detecting. 2. Support darwin startup script. [#936]
2276
+ - Fix #857 #935, add scriptArgs back [d61d710]
2277
+ - Fix broken link upstart [f8ff296]
2278
+ - Fixed: multiple calls to vizion.parse() for the same process [0e798b1]
2279
+ - fix 2015 test easter egg - Happy New Year! [85d11d5]
2280
+ - fixes #906 [#911]
2281
+ - Add back automatic coffee interpreter #488 #901 [e9a69fe]
2282
+ - Upgrade cli-table, commander, colors, moment dependencies [0cc58ce][a4b7d8d]
2283
+ - Domain system to patch fix the exception thrown by the cluster module
2284
+ - Fix #830 #249 #954 when there is no HOME env to default to /etc/.pm2 [17d022c]
2285
+
2286
+ ## 0.12.3
2287
+
2288
+ - fixed critical bug: `process.env` flattens all env-vars [#898]
2289
+ - npm maintainers format [#894]
2290
+ - fix `pm2 desc` crash bug [#892]
2291
+ - fix CLI typo [#888]
2292
+ - `port` config [#885]
2293
+
2294
+ ## 0.12.2
2295
+
2296
+ - treeKill copyright and update [#848] [#849]
2297
+ - Allow environment variables per each ecosystem deploy [#847]
2298
+ - max-memory-restart option [#697] [#141]
2299
+ - JSON validation (cf ADVANCED_README.md) [#768] [#838]
2300
+ - CLI/JSON refactoring
2301
+ - watch fixes
2302
+ - execute binary softwares
2303
+ - node_args refactored (ESC support) [#838]
2304
+ - reload env graceful and peaceful [#838]
2305
+ - min_uptime added [#838]
2306
+ - startOrRestart conf.json does update environment variables [#805]
2307
+ - vizion only refresh ahead and unstaged flags [f1f829c]
2308
+ - worker restart cluster process if it's equal to 0 && online [c2e3581]
2309
+ - pm2 pull <name> [commit_id] [c2e3581] [4021902]
2310
+ - fix reloadLogs for fork mode [c0143cc][197781e]
2311
+ - waterfall logs stream [#822]
2312
+ - --log option to have a merged error and out output [#822]
2313
+ - God core refactors
2314
+ - test refactoring
2315
+ - update isBinaryFile [636fd99]
2316
+ - pid deletion has been resurected [f2ce631]
2317
+ - worker refactor [29fc72b]
2318
+ - fix no color [3feead2]
2319
+ - upgrade chokidar 0.12 with follow symlink [4ac0e74]
2320
+ - refactor Reload [cf94517][f1eb17]
2321
+ - avoid truncate with pm2 logs command [26aff8b]
2322
+ - God print log with timestamp via PM2_LOG_DATE_FORMAT [bf2bf8a][3eaed07]
2323
+ - better test suit
2324
+ - new treekill system [11fe5f4]
2325
+
2326
+ Big thanks to @Tjatse !
2327
+
2328
+ ## 0.12.1
2329
+
2330
+ - Harden Lock system
2331
+ - Fix Worker bug / Refactor Worker
2332
+ - Cleanly close interactor sockets on end
2333
+ - Add backward compatibility for older PM2 on kill action via system signal SIGQUIT
2334
+ - once listener for killDaemon
2335
+
2336
+ ## 0.12.0 - clear water ops
2337
+
2338
+ - better ecosystem.json5 file with embedded comments
2339
+ - startOrRestart conf.json update environment variables #805 #812
2340
+ - pm2 start my/bin/file work out of the box
2341
+ - JSON5 support
2342
+ - PM2_HOME supported - PM2 files paths relocation (logs, pid) via PM2_HOME option
2343
+ - post_updates commands are searched in process.json/ecosystem.json/package.json
2344
+ - Worker system to verify up to date repositories
2345
+ - Rename process running with PM2 <version> - app_name
2346
+ - Process Lock system
2347
+ - Inner iteraction with PM2 possible #782
2348
+ - Better vizion system
2349
+ - backward / forward / pull command
2350
+ - Doc moved to doc
2351
+ - remove uidnumber module
2352
+ - pre install / post install scripts removed
2353
+ - Remote Lock System
2354
+ - More God tests
2355
+ - GRACEFUL_LISTEN_TIMEOUT constant configurable
2356
+ - Logs are closed in Fork mode when reloading
2357
+ - Fix not tty
2358
+ - Fix cluster structure nullification
2359
+ - Pre Windows Support
2360
+ - Send revision process on each process event
2361
+ - Upgrade Commander (better help display)
2362
+ - Upgrade chokidar to 0.10.x
2363
+ - Better interactor
2364
+ - Better revision parsing
2365
+ - Configuration file
2366
+ - Close fd in fork mode while reloading
2367
+ - Remove --run-as-user option
2368
+ - Better CLI interface for interactor
2369
+ - axm:monitor axm:dynamic
2370
+ - Temporaly merge pm2-interface with pm2
2371
+ - Cache cpu infos
2372
+ - Make revision transit in God.bus broadcast
2373
+ - Ignore useless events in God.bus broadcast
2374
+
2375
+ ## 0.11.0-1
2376
+
2377
+ - Multi user support and privilege containment: UNIX sockets instead of TCP
2378
+ - Reload refactoring
2379
+ - Process on uncaughtexcption to flush process list
2380
+ - pm2 logs display state change of processes
2381
+
2382
+ ## 0.10.x
2383
+
2384
+ - multi host for pm2 deploy
2385
+ - fork mode by default
2386
+ - fix watch on clusters
2387
+ - refactor watch
2388
+ - env option via programmatic interface
2389
+ - fix watch system
2390
+ - correct pm2 describe command
2391
+ - close file used via pm2 flush
2392
+ - add startOrReload
2393
+ - better closing events
2394
+
2395
+ ## 0.10.0 - PM2 Hellfire release
2396
+
2397
+ - PM2 hearth code has been refactored and now it handles extreme scenario without any leak or bug
2398
+ - PM2 restart <json|id|name|all> refresh current environment variables #528
2399
+ - PM2 delete all more verbose
2400
+ - PM2 reset <all|id|name> reset restart numbers
2401
+ - Auto update script at PM2 installation
2402
+ - --watch enhanced to avoid zombie processes
2403
+ - Restart app when reaching a limit of memory by using --max-memory-restart (and max_memory_restart via JSON)(https://github.com/Unitech/pm2#max-memory-restart)
2404
+ - PM2 respects strong unix standard process management
2405
+ - Remove timestamps by default with pm2 logs
2406
+ - Coffeescript not enabled by default anymore (enhance memory usage)
2407
+ - PM2 Programmatic interface enhanced
2408
+ - PM2 hearth refactor
2409
+ - PM2 describe show node-args
2410
+ - node_args for V8 options is now available via JSON declaration
2411
+ - Watch system avoid ghost processes
2412
+ - Memory leak fixes
2413
+ - Better performance on interface
2414
+ - Fix tests
2415
+ - Enable PM2_NODE_OPTIONS and node-args for fork mode
2416
+ - Dependencies updated
2417
+ - Faster monitoring system
2418
+ - AXM actions unification
2419
+ - Socket errors handled
2420
+ - Watchdog via Agent - restart automatically PM2 with previous processes in case of crash
2421
+ - PM2_NODE_OPTIONS deprecation (use --node-args instead)
2422
+
2423
+ ## 0.9.6 - 0.9.5 - 0.9.4
2424
+
2425
+ - Bash test auto exit when failure
2426
+ - Bump fix log streaming
2427
+ - Bump fix to display old logs streaming by default
2428
+ - Bump fix
2429
+
2430
+ ## 0.9.3
2431
+
2432
+ - Critical bug on fork mode fixed (stream close)
2433
+ - Advanced log display interface pm2-logs #589
2434
+ - Simple log timestamp via --log-date-format (with momentJS formating) #183
2435
+ - Possible to pass arguments via scriptArg with programmatic PM2 #591
2436
+ - Gentoo startup script generation #592
2437
+ - Fix run-as-user and run-as-group in fork mode #582
2438
+ - Documentation update
2439
+
2440
+ ## 0.9.2
2441
+
2442
+ - max_restart enabled
2443
+ - sudo fix for init scripts
2444
+ - some startup refactoring
2445
+ - Possibility to specify the configuration folder for PM2 via process.env.PM2_HOME
2446
+ - Fix date format
2447
+ - N/A for undefined date
2448
+ - Evented interactions with PM2, available via pm2-interface
2449
+ - Deep Interactor refactoring
2450
+ - Force reload for upstart script
2451
+
2452
+ ## 0.9.0-0.9.1
2453
+
2454
+ - CLI flattening
2455
+ - require('pm2') possible to interact with
2456
+ - deployment system
2457
+ - Remove builtin monitoring feature
2458
+ - Fix watch on delete #514
2459
+ - Gracefull reload now rightly handled #502
2460
+ - Allow path in watch option #501
2461
+ - Allow management of non-interpreted binaries #499
2462
+ - Documentation fixes
2463
+
2464
+ ## 0.8.12-0.8.15
2465
+
2466
+ - Version bumping
2467
+
2468
+ ## 0.8.12
2469
+
2470
+ - Fix CWD option #295
2471
+
2472
+ ## 0.8.10-0.8.11
2473
+
2474
+ - Builtin monitoring feature with email (with pm2 subscribe)
2475
+ - Reload Logs for Fork
2476
+ - Deletion of possible circular dependencies error
2477
+ - pm2 updatePM2 command to update in-memory pm2
2478
+ - notification message if the in-memory pm2 is outdated
2479
+ - cwd option in json #405 #417 #295
2480
+ - README updates
2481
+ - ipc channel for fork mode
2482
+ - re enable process event loggin for interactor
2483
+ - avoid possible stream error
2484
+ - watch ignore option in JSON
2485
+
2486
+ ## 0.8.5-6
2487
+
2488
+ - Update monitoring module
2489
+
2490
+ ## 0.8.4
2491
+
2492
+ - Remove C++ binding for monitoring
2493
+ - Update axon and axon-rpc
2494
+
2495
+ ## 0.8.2
2496
+
2497
+ - Adds option to switch to a different user/group before starting a managed process #329
2498
+ - watch doesnt watch node_module folder
2499
+ - default log files and pid files location can be overrided by PM2_LOG_DIR / PM2_PID_DIR
2500
+
2501
+
2502
+ ## 0.8.1
2503
+
2504
+ - Readme changes #400 #398
2505
+ - Fix describe command #403
2506
+ - reload/gracefulReload throw error if no process has been reloaded #340
2507
+
2508
+ ## 0.8.0
2509
+
2510
+ - More verbosity to pm2.log
2511
+ - Fast Watch & Reload
2512
+ - New README.md
2513
+ - --merge-logs option to merge logs for a group of process
2514
+ - logs reload with SIGUSR2 or `pm2 reloadLogs`
2515
+ - return failure code when no process has been reloaded
2516
+ - Upgrade of outdated packages
2517
+ - Silent (-s) flag remove all possible pm2 output to CLI
2518
+ - New display for list, more compact
2519
+ - `pm2 describe <id>` to get more details about a process
2520
+ - Fixed 0.10.x issue when stop/kill
2521
+ - Helper shown when -h
2522
+ - Linter errors
2523
+ - Systemd support for Fedora / ArchLinux
2524
+ - #381 Add support for Amazon Linux startup script
2525
+ - Fixed rendering
2526
+ - Interaction possible with VitalSigns.io
2527
+ - Avoid exception when dump file is not present
2528
+
2529
+ ## 0.7.8
2530
+
2531
+ - List processes with user right `service pm2-init.sh status`
2532
+
2533
+ ## 0.7.7
2534
+
2535
+ - Bug fixes, stability fixes
2536
+
2537
+ ## 0.7.2
2538
+
2539
+ - harmony can be enabled [Enabling harmony](#a66)
2540
+ - can pass any options to node via PM2_NODE_OPTIONS, configurable via ~/.pm2/custom_options.sh
2541
+ - pid file written in ~/.pm2/pm2.pid
2542
+ - startup script support for CentOS
2543
+ - --no-daemon option (Alex Kocharin)
2544
+ - json file now can be : started/stoped/restarted/deleted
2545
+ - coffeescript support for new versions (Hao-kang Den)
2546
+ - accept JSON via pipe from standard input (Ville Walveranta)
2547
+ - adjusting logical when process got an uncaughtException (Ethanz)
2548
+
2549
+ ### Update from 0.x -> 0.7.2
2550
+
2551
+ - CentOS crontab option should not be used anymore and use the new init script with `pm2 startup centos`
2552
+ - If you use the configuration file or the harmonoy option, you should regenerate the init script
2553
+
2554
+ ## 0.7.1
2555
+
2556
+ - Integrates hardened reload, graceful reload and strengthened process management
2557
+
2558
+ ## 0.7.0
2559
+
2560
+ - Reload works at 100%
2561
+ - Logs are now separated by process id
2562
+ - Minimal listing with -m option
2563
+ - pid files are deleted once process exit
2564
+ - ping method to launch or knwo if pm2 is alive
2565
+ - more tests
2566
+ - coffeescript is supported in cluster mode
2567
+ - clean exit
2568
+ - clean process stopping
2569
+ - speed process management enhanced
2570
+ - async used instead of recuresive loops
2571
+ - broad test for node 0.11.10 0.11.9 0.11.8 0.11.7 0.11.5 0.10.24 0.10.23 0.10.22 0.10.21 0.10.20 0.10.19 0.10.18 0.10.17 0.10.16 0.10.15 0.10.14 0.10.13 0.10.12 0.10.11 0.8
2572
+
2573
+ ## 0.6.8
2574
+
2575
+ - Homogeneize JSON #186
2576
+ - Auto intepreter selection (you can do pm2 start app.php)
2577
+
2578
+ ## 0.5.6
2579
+
2580
+ - Coffeescript support
2581
+ - Updating dependencies - axon - commander
2582
+ - Log feature enhanced - duplicates removed - name or id can be passed to pm2 logs xxx
2583
+
2584
+ ## 0.5.5
2585
+
2586
+ - Ability to set a name to a launched script + tests
2587
+ - with the --name option when launching file
2588
+ - with the "name" parameter for JSON files
2589
+ - Ability to restart a script by name + tests
2590
+ - Upgrade node-usage to 0.3.8 - fix monitoring feedback for MacOSx
2591
+ - require.main now require the right file (activate it by modifying MODIFY_REQUIRE in constants.js)
2592
+ - CentOS startup script with pm2 startup centos
2593
+ - 0 downtime reload
2594
+
2595
+ ## 0.5.4
2596
+
2597
+ - Remove unused variable in startup script
2598
+ - Add options min_uptime max_restarts when configuring an app with JSON
2599
+ - Remove pid file on process exit
2600
+ - Command stopAll -> stop all | restartAll -> restart all (backward compatible with older versions)
2601
+
2602
+ ## 0.5.0
2603
+
2604
+ - Hardening tests
2605
+ - Cron mode to restart a script
2606
+ - Arguments fully supported
2607
+ - MacOSx monitoring possible