7.1.2
Bug Fixes
pm2 updateunder apm2 startupsystemd unit no longer gets its new daemon and apps killed byExecStop=pm2 kill(systemd >= 232) #5000filter_env: trueworks again (ignored since 4.4.1): apps only inherit PATH, HOME, USER, locales and a few OS variables besides theirenv#6176filter_envalso applies to--update-envrestart/reload and to cluster workers;--filter-envalone meanstrue#6176pm2.disconnect()no longer throws nor calls back twice when a socket takes more than 200ms to closepm2 start --containeruseskeymetrics/pm2:<node>-trixie(was the 2018latestimage, and--node-versionpointed to tags that do not exist)
Breaking change
filter_env: trueapps no longer inherit other shell variables (NODE_ENV, NODE_OPTIONS, HTTP_PROXY...): declare them inenv#6176- An app keeps the shell env it already received when the filter comes later (started before 7.1.2 or without
filter_env, dump.pm2 included):pm2 deleteit and start it again #6176