Skip to content

Releases: Unitech/pm2

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]

0.12.3 - Christmas time

25 Dec 17:28
Compare
Choose a tag to compare
  • fixed critical bug: process.env flattens all env-vars [#898]
  • npm maintainers format [#894]
  • fix pm2 desc crash bug [#892]
  • fix CLI typo [#888]
  • port config [#885]

0.12.2 - Conquistador

16 Dec 10:45
Compare
Choose a tag to compare
  • Allow environment variables per each ecosystem deploy [#847]
  • max-memory-restart option [#697] [#141]
  • JSON validation (cf ADVANCED_README.md) [#768] [#838]
  • CLI/JSON refactoring
  • watch fixes
  • execute binary softwares
  • treeKill copyright and update [#848] [#849]
  • node_args refactored (ESC support) [#838]
  • reload env graceful and peaceful [#838]
  • min_uptime added [#838]
  • startOrRestart conf.json does update environment variables [#805]
  • vizion only refresh ahead and unstaged flags [f1f829c]
  • worker restart cluster process if it's equal to 0 && online [c2e3581]
  • pm2 pull [commit_id] [c2e3581] [4021902]
  • fix reloadLogs for fork mode [c0143cc][197781e]
  • waterfall logs stream [#822]
  • --log option to have a merged error and out output [#822]
  • God core refactors
  • test refactoring
  • update isBinaryFile [636fd99]
  • pid deletion has been resurected [f2ce631]
  • worker refactor [29fc72b]
  • fix no color [3feead2]
  • upgrade chokidar 0.12 with follow symlink [4ac0e74]
  • refactor Reload [cf94517][f1eb17]
  • avoid truncate with pm2 logs command [26aff8b]
  • God print log with timestamp via PM2_LOG_DATE_FORMAT [bf2bf8a][3eaed07]
  • better test suit
  • new treekill system [11fe5f4]