Skip to content

Releases: Unitech/pm2

v0.12.14

06 May 12:33
Compare
Choose a tag to compare
  • ilogs is no longer part of PM2
  • Improved interaction with Keymetrics
  • BabelJS is now integrated into PM2

v0.12.13

29 Apr 14:35
Compare
Choose a tag to compare
  • Enhanced : PM2 doesn't leave processes behind when it crashes
  • Enhanced : Call reload instead of restart when max-memory-limit reached
  • Enhanced : Modules are compatible ES6 by default by adding --harmony flag
  • Enhanced : Dump feature is now smarter
  • Fix #1206 : fix pm2 logs bug when merged_logs
  • Fix : pm2 scale doesn't try to scale a fork_mode process

0.12.12

22 Apr 18:10
Compare
Choose a tag to compare
  • New command: pm2 scale - scale up/down an application
  • Added: Using Keymetrics harden PM2 by enabling a WatchDog that auto restart PM2 in case of crash
  • pm2 logs --raw flag : show logs in raw format
  • Fix #1177 : now concurrent vizion.parse() for the same process event when it restarts
  • Added: Expose kill method programmatically
  • Added: Call disconnect without a function
  • Added: Programmatic call to .connect can now take no-daemon-option
  • Fixed: starting a JSON programmatically return a process list coming from God
  • Fixed: Reflect dump functions from CLI and God
  • Enhanced: New CLI API for configuring modules (pm2 conf module.option [value])
  • Added: Expose pm2 gc programmatically
  • Added: pm2 install update the module
  • Enhanced: 4 new test suites for PM2 programmatic calls
  • Enhanced: Documentation restructured

0.12.11

17 Apr 13:12
Compare
Choose a tag to compare

We strongly recommend you to always update your PM2 since it comes more stable and efficient at every release.

  • Enhancement: Reduced memory footprint !
  • --no-autorestart flag : starts an app without automatic restart feature
    ("autorestart" : false in JSON declaration)
  • --no-vizion flag : starts an app completely without vizion features
    ("vizion" : false in JSON declaration)
  • Fix #1146 : add module._initPaths() on ProcessContainer.js so it forces each
    new process to take the current NODE_PATH env value in account
  • New: pm2.start() now handles json objects as param
  • Added: timestamps to KM agent logs
  • Fix: now properly closes all fds after logging has finished.
  • New command: pm2 gc (manually triggers garbage collection for PM2)
  • VersioningManagment: exec() timeout configurable via .json
  • Fix #1143 :
    If we start let's say 4 instances of an app (cluster_mode),
    Each app will have a value in process.env.NODE_APP_INSTANCE which will be 0 for the first one,
    1, 2 and 3 for the next ones.
  • Fix #1154 :
    Negative arguments to '-i' are substracted to CPU cores number.
    E.g: 'pm2 start app.js -i -3' in a 8 cpus environment will start 5 instances (8 - 3).

0.12.10

07 Apr 18:22
Compare
Choose a tag to compare
  • Fix : PM2 interactor doesn't send data about dead processes ('old') anymore.
  • Fix #1137 : Safe params for 'pm2 list' so cli-table won't fail
  • Refactored reverse interaction with keymetrics for better stability and more verbosity on Rollback/Pull/Upgrade operations

0.12.9

25 Mar 23:35
Compare
Choose a tag to compare
  • Fix #1124 : PM2_PROGRAMMATIC flag wasn't handled properly
  • Fix #1121 : NODE_PATH before PATH so custom node versions come first
  • Fix #1119 : Safe params so cli-table won't fail
  • Fix #1099 : Bug when app name starts by digit (e.g '1-myApp')
  • Fix #1111 : More verbosity on writeFileSync errors
  • New env setting: PM2_KILL_TIMEOUT (ms) : time to wait before a process is considered dead
  • New env setting: PM2_CONCURRENT_ACTIONS : use it with care, value bigger than 1 is considered unstable
  • Refactored reload/gracefulReload for better stability

0.12.8

17 Mar 16:36
Compare
Choose a tag to compare
  • Fix : Channel closed error
  • Fix : Resource leak error
  • Fix #1091 : when passing a wrong formated number to -i infinite loop
  • Fix #1068 #1096 : restart fails after reloadLogs()
  • New : When PM2 is being killed, all restarts are blocked to avoid conflict
  • New : PM2 dumps the process list before exiting if it is killed by signal
  • Refactored stop/restart for better stability

0.12.7

02 Mar 17:35
Compare
Choose a tag to compare
  • pm2 logs : Now shows merged logs
  • Fix #929 #1043 : Bug pm2 stop/restart not working properly
  • Fix #1039 : Better algorithm for vision recursive parsing to avoid infinite loops
  • Automatize #858 #905: Directly init pm2 folder if not present when using it programmatically
  • Add Bus system from PM2 programmatic API

0.12.6 - Thunderstorm

23 Feb 17:53
Compare
Choose a tag to compare
  • Enhancement of startJson command (force_name and additional_env options)
  • Fix #990 : pm2 flush while pm2 logs was open bug
  • Fix #1002 : pm2 monit bug
  • Fix #1024 : enhancement
  • Fix #1011 : json-stringify-safe bug
  • Fix #1007 #1028 #1013 #1009 : pm2 desc bug
  • Fix : pm2 interact delete when file doesn't exist bug

0.12.4 - TechyStary

28 Jan 20:18
Compare
Choose a tag to compare
  • Never start a process that already has a PID [#938]
  • Make platform auto detecting.
  • Support darwin startup script. [#936]
  • Fix #857 #935, add scriptArgs back [d61d710]
  • Fix broken link upstart [f8ff296]
  • Fixed: multiple calls to vizion.parse() for the same process [0e798b1]
  • fix 2015 test easter egg - Happy New Year! [85d11d5]
  • fixes #906 [#911]
  • Add back automatic coffee interpreter #488 #901 [e9a69fe]
  • Upgrade cli-table, commander, colors, moment dependencies [0cc58ce][a4b7d8d]
  • Domain system to patch fix the exception thrown by the cluster module
  • Fix #830 #249 #954 when there is no HOME env to default to /etc/.pm2 [17d022c]