Releases: Unitech/pm2
Releases · Unitech/pm2
v0.15.x
Enhancement: Better Windows support
Enhancement: PM2 module commands (pm2 module:[update|generate|publish])
Enhancement: Watch feature has been refactored + test, Chokidar has been upgraded to be compatible with Node 4.x
Enhancement: Deep integration of alert system
Feature: Raw Node.js applications are configurable via PMX (pm2 set app-name:variable )
Feature: JSON declaration files can now access to process.env object and now errors are more explicit
Bug fix: Last process.kill is now wrapped into try/catch
Workflow: Appveyor has been added to test suit
v0.14.7
- Fix #1524 : PM2 doesn't fail silently if no permission to write log files
- New flag
--no-pmx
: starts an app without injecting pmx - New feature : cron restart now works in fork mode as well
- Disabled auto-gc on interactor
- Allow PM2 to execute binaries in $PATH
- pm2 link priv pub --recyle for elastic infrastructure
- pm2 deploy now check default file ecosystem.js[on|on5], package.json
v0.14.6
- 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>
(orrestart_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
Hotfix: When cannot kill a process return nothing
0.14.4 - Summer release
- 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
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
0.14.2_ansi Exits after everything written to stdout has been drained.
v0.14.2
v0.14.1
v0.14.0 CrystalClear (Current stable)
��- 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 forpm2 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