Releases: Unitech/pm2
Releases · Unitech/pm2
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
v0.12.16
- 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
- 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)