Skip to content

Releases: Unitech/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)

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