Skip to content

Releases: Unitech/pm2

v0.14.6

05 Aug 16:02
Compare
Choose a tag to compare
  • Scoped PM2 actions
  • Password encryption via pm2 set pm2:passwd xxxx
  • Interactor Remote action refactor
  • .getSync method to get configuration variable synchronously
  • Add password protected PM2 methods (install, delete)
  • pm2 get|pm2 conf display all confs
  • Password protected PM2 flag
  • New flag : --restart-delay <ms> (or restart_delay in JSON declaration)
  • New command : pm2 deepUpdate
  • New command (beta) : pm2 logrotate
  • Enhancement : pm2 handles processes that can't be killed in a better way
  • Fix : some ignore_watch issues
  • Fix : some pm2 startup systemd issues

0.14.5 - Canicular release

22 Jul 15:11
Compare
Choose a tag to compare

Hotfix: When cannot kill a process return nothing

0.14.4 - Summer release

22 Jul 14:55
Compare
Choose a tag to compare
  • New command : pm2 iprobe [app_name|app_id|'ALL']
  • Feature: FreeBSD startup script
  • Fix: Remove forced GC
  • Fix: #1444 --next-gen-js in fork mode
  • Fix: Windows path fix

PLEASE UPGRADE YOUR PM2 IF YOU ARE USING AN OLDER VERSION

$ npm install pm2 -g
$ pm2 update

v0.14.3

01 Jul 14:13
Compare
Choose a tag to compare
  • pm2 flush now flushes pm2.log as well
  • New flag : --no-treekill : when used PM2 won't kill children processes
  • New flags : pm2 logs ['all'|'PM2'|app_name|app_id] [--err|--out] [--lines <n>] [--raw] [--timestamp [format]]
  • Enhancement: Modules installable via Github: pm2 install username/repository
  • Feature: PMX has scoped function -> pm2 stores temporary output from custom functions
  • Fix: Interactor issue when doing an heapdump
  • Feature: PM2 CLI autocompletion

Exits after everything written to stdout has been drained

26 Jun 03:04
Compare
Choose a tag to compare
0.14.2_ansi

Exits after everything written to stdout has been drained.

v0.14.2

24 Jun 17:44
Compare
Choose a tag to compare
  • Improved pm2-dev
  • Now when apps list is empty, the id counter is set to 0
  • Removed pres/keymetrics.js post-install script
  • Fix : pm2 logs allocation error
  • Fix : pm2 prettylist|jlist truncated output

v0.14.1

19 Jun 10:27
Compare
Choose a tag to compare
  • Improved pm2-dev
  • Now when apps list is empty, the id counter is set to 0
  • Removed pres/keymetrics.js post-install script
  • Remote ports for Keymetrics are now configurable via env variables

v0.14.0 CrystalClear (Current stable)

12 Jun 15:12
Compare
Choose a tag to compare

��- Removed: pm2.startJSON() method, now call pm2.start()

  • API Change: pm2 start <app_name|app_id> restart an application already launched
  • API Change: pm2 start restart all json apps if already launched
  • pm2 start all - restart all applications
  • pm2 reload <json_file> possible
  • pm2 gracefulReload <json_file> possible
  • Smart start (pm2 start app.js ; pm2 stop app ; pm2 start app)
  • Reduced memory footprint
  • Reduced pipelined data
  • Reduced CPU usage
  • Faster command processing
  • Upgrade shelljs, semver, colors, chalk, coffee-script, async, json-stringify-safe, cron, debug, commander
  • Fix: launchBus() only connects and disconnects once
  • Refactored pm2 logs :
    • Now you don't need to install tail on Windows
    • 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)
    • Logs are shown in chronological order at a file level (modified date)
    • More verbosity : tailed logs are explicitely separated from the real-time logs
    • Real-time logs now use the bus event emitter
    • PM2 logs added to the bus
    • --lines <n> and --raw flags available for pm2 logs command
    • New flag : '--timestamp [format]' // default format is 'YYYY-MM-DD-HH:mm:ss'
    • Now you can exclusively show PM2 logs by doing pm2 logs PM2

v0.12.16

05 Jun 17:16
Compare
Choose a tag to compare
  • Feature : File transmission added in Agent
  • Feature : Transmit Node.js/io.js version in Agent
  • Feature : Parameters can be passed to remote actions
  • Feature : Support JS in addition to JSON and JSON5 config files #1298
  • Enhanced: pm2 conf display all configuration values
  • Enhanced: pm2-dev
  • Enhanced: Better error messages when validating data passed via CLI
  • Enhanced: Smaller memory footprint for PM2 (~30%)
  • Fix #1285 : PID file was deleted after a reload/gracefulReload
  • Fix : ENOMEM made PM2 crash

v0.12.15

18 May 18:33
Compare
Choose a tag to compare
  • Fix #941 : Env variables overriden when an app is restarted
  • max_memory_restart now performs a graceful reload
  • pm2 logs --raw now shows 20 last lines of each log file
  • pm2-dev run app.js : start an app in dev mode (--no-daemon --watch and stream logs of all launched apps)
  • --no-daemon command now display logs of all processes (Docker)