npm pm2 1.1.0
Galactica

latest releases: 5.3.1, 5.3.0, 5.2.2...
8 years ago

This release is about PM2's internals refactoring, homogenization in action commands (in terms of behavior and outputs). Some interesting features has been added, as YAML file support (for application declaration) and better support for other languages (Python,Perl...). The Keymetrics agent has been enhanced, dividing by two the memory usage and avoiding any possible leak in any potential scenarios. Reconnection system has been refactored too.

Keymetrics users: a lot of benefits brought to you to do this upgrade

This version has been heavily tested in testing, production environments and deeply monitored in terms of CPU and Memory usage. Tests have been hardened.

  • [#133 #1568] Allow to rename a process via pm2 restart app --name "new-name"
  • [#2002 #1921 #1366] Fix CLI/JSON arguments update on restart (args, node_args, name, max-memory)
  • [#578] Add YAML support for application configuration file (in extent to JSON and JSON5 support)
  • [Keymetrics agent refactoring] TCP wait, memory consumption divided by two, reconnection refactoring, keep alive ping system
  • [Keymetrics agent refactoring] Fix random no response from pm2 link and pm2 unlink
  • [#2061] Kill ESRCH of processes in cluster mode with SIGINT catcher fixed
  • [#2012 #1650 #1743] CLI/JSON arguments update on reload
  • [#1613] Reload all reload ALL applications (stopped, errored...)
  • [#1961] Fix kill timeout info log
  • [#1987] Fix FreeBSD startup script
  • [#2011] Respect process.stdout/.stderr signature
  • [#1602] Fix zombie process when using babel-node as interpreter
  • [#1283] --skip-env option to not merge update with system env
  • Homogeneize actions commands outputs
  • Option --interpreter-args added (alias of node-args)
  • Allow to use exactly the same option in JSON declaration and CLI (e.g. interpreter) to avoid confusion
  • pm2 show, now shows more commands to manage processes
  • Refactor programmatic system

Update procedure

PM2 CLI and internals have been frozen since the 0.14 version, so updating PM2 is totally seamless:

$ npm install pm2 -g
$ pm2 update

Documentation

YAML doc: http://pm2.keymetrics.io/docs/usage/application-declaration/

Don't miss a new pm2 release

NewReleases is sending notifications on new releases.