Socket
Socket
Sign inDemoInstall

pm2

Package Overview
Dependencies
Maintainers
1
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm2 - npm Package Versions

1
28

2.9.2-next

Diff

tknew
published 2.9.1 •

Changelog

Source

2.9.1

  • #3356 hot fix on startup system
tknew
published 2.9.0 •

Changelog

Source

2.9.0

  • #3278 --silent -s now does not print welcome message
  • #3345 #2871 #3233 pm2 -v will not spawn daemon anymore
  • #3341 update moment dependency
  • #3314 pm2 install <MODULE> --safe will now monitor new installation of module and will fallback to previous version if the module is failing (restart, fail on npm install)
  • #3314 module folder structure refactoring to keep independent dependencies for each modules
  • #3324 remove yarn installation of modules
  • #3273 pm2 --mini-list now print the right pid file
  • #3206 add flag to auto turn off auto exit with pm2-docker
  • #3036 Fix applying env PM2_CONCURRENT_ACTIONS correctly
  • #3346 do not chmod systemd script (was failing systemd script on orange pi)
  • #3347 Add --wait-ip option to override systemd initialization to wait for internet full connectivity
  • #3348 alias pm2-docker to pm2-runtime
  • #3350 Override HOME and USER when setting --uid to start module or application
  • #3351 alias pm2 ps to pm2 ls (docker style)
tknew
published 2.8.0-next •

tknew
published 2.8.0 •

Changelog

Source

2.8.0

  • #2070 Fix sendDataToProcessId not working (@h091237557)
  • #2182 Add windowHide options in cluster mode (@soyuka)
  • #3206 By default in docker, pm2 will auto exit when no process are online (@dguo)
  • #3225 fix --lines accepting invalid values (@vmarchaud)
  • #3036 fix when PM2_CONCURRENT_ACTIONS was overriden everytime on node > 4 (@danez)
  • Add node 9 tests on CI (@Unitech)
  • Add pm2 unlink command (eq to pm2 link delete) (@Unitech)
  • Fix interactor to support custom endpoints (@vmarchaud)
  • Allow custom PM2_HOME for docker (@lucidNTR)
  • Support MJS module (@vpotseluyko)
  • Allow custom service name for startup (@danez)
  • Update PMX to 1.5 (@unitech)
tknew
published 2.7.2 •

Changelog

Source

2.7.2

  • #3200 Associate .tsx files with ts-node (@dguo)
  • #3202 Add first draft of typescript definitions (@jportela)
  • Allow to install http url via pm2 install (@unitech)
  • #3204 Given --uid add all its gids automatically (@jmeit)
  • #3184 bugfix: try/catch around userInfo to avoid crash (@vmarchaud)
  • #3181 force upgrade to latest pm2-deploy
tknew
published 2.7.1 •

Changelog

Source

2.7.1

  • #3117 Add required node env on cluster mode start instance (2m0nd)
  • make profiler compatible with Node.js 8
tknew
published 2.7.0 •

Changelog

Source

2.7.0

  • #3150 fix watchdog on agent
  • #3001 dump-backup feature
  • #3134 edge case error handling
  • #3096 fix module installation
  • #3085 honor every pm2 args on restart
  • #3046 better error message if PM2 is misconfigured
  • #3058 pm2-docker now does not write logs by default
  • #3045 continue to broadcast on the bus system even if logs are disabled
  • [Docker] Auto Exit when no application is running
  • [Keymetrics] pm2 unmonitor fix
  • [Beta Container Support] beta pm2 start app.js --container
  • [Chore] upgrade modules
  • [Chore] enhance package.json
tknew
published 2.6.1 •

Changelog

Source

2.6.1

  • #3037 bug fix cb
tknew
published 2.6.0 •

Changelog

Source

2.6.0

Changes

  • #2998 pm2 report command for automated system inspection
  • #2997 --disable-logs option to suppress error
  • #2290 allow to declare apps under "pm2" attribute (eq "apps"). Nicer in package.json
  • #2994 allow to specify typescript version to be installed
  • #2501 low memory environment pm2 setting via PM2_OPTIMIZE_MEMORY (beta)
  • #2968 pm2 attach <pm_id> to attach to process stdin / stdout
  • pm2-runtime -> drop in replacement for the node.js binary
  • #2951 pm2 reload command locker via timestamped lock file
  • #2977 pm2 reloadLogs protected
  • #2958 Allow to delete attribute via --attribute null
  • #2980 PM2_SILENT=true pm2 startup
  • #2690 --parallel <number> command allows to change the nb of concurrent actions (reload/restart)
  • expose cwd on CLI via --cwd
  • multiple pm2-docker enhacements
  • Alias pm2.link and pm2.unlink to pm2.interact and pm2._pre_interact
  • Allow to customize kill signal via PM2_KILL_SIGNAL
  • Support git+http in module installation
  • force reverse interaction reconnection on internet discovery
  • --instances -1 when having a 1 cpu is no-longer spawning no processes #2953
  • refactor the context retrieving from error
  • add a TTL for file cache entry
  • #2956 Fix listen_timeout in combination with wait_ready
  • #2996 respect signal order on pm2 reload (delegate ready function to reload fn)

Breaking

  • Drop pm2-daemon CLI (replaced by pm2-runtime)

2.5

  • pm2 register|login to create new account / login on Keymetrics + auto link
  • pm2 open to open dashboard on browser
  • pm2 monitor|unmonitor <pm_id|name|all> for selective monitoring
  • #2818 alias pm2-docker to pm2-daemon
  • #2809 correctly resolve git/npm repo when running pm2 install
  • #2861 better auto exit check for docker
  • #2870 avoid null error when preparing app config
  • #2872 avoid showing useless warning
  • #438 allow to override daemon config paths via env (example: PM2_PID_FILE_PATH to override pid file of the daemon)
  • #2849 better gentoo template for pm2 startup
  • #2868 allow tailing log with --raw flag
  • #452 Add PM2_WEB_STRIP_ENV_VARS to remove environnement vars from pm2 web endpoint
  • #2890 Fix wait-ready for cluster mode
  • #2906 randomize machine name with default pm2 link
  • #2888 allow to use regex for pm2 logs
  • #2045 allow to rename NODE_APP_INSTANCE env variable
  • #2809 add increment_var options to ask for a environnement variable to be incremented for each application started
  • more informations when failing to deploy on custom ecosystem file
  • fix tests for node 8
  • fix missing callback when overriding console.log
  • allow to rename daemon process name via PM2_DAEMON_NAME
  • few typo in the readme

Breaking change

  • the NODE_APP_INSTANCE var behavior has been changed :
    • old behavior : when starting multiples instances of an app each one get an unique number, but its not working anymore if you are using pm2 scale (simply put its possible to have two application with the same number)
    • new behavior : the number are consistent, if you scale up/down it will take a number that isn't used by another application (so two application should never have the same number)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc