Repository navigation
chore(deps): update dependency pm2 to ^7.1.2 - #1053
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
anlyyao,
chaishi,
liweijie0812 and
uyarn
as code owners
October 26, 2026 02:12
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
renovate
Bot
force-pushed
the
renovate/pm2-7.x
branch
from
October 26, 2026 02:24
8fc49ef to
ae7098f
Compare
renovate
Bot
force-pushed
the
renovate/pm2-7.x
branch
from
November 4, 2026 15:57
ae7098f to
0d49dc8
Compare
renovate
Bot
force-pushed
the
renovate/pm2-7.x
branch
4 times, most recently
from
November 9, 2026 08:02
ef6450b to
5e10ddb
Compare
renovate
Bot
force-pushed
the
renovate/pm2-7.x
branch
5 times, most recently
from
November 24, 2026 00:23
2fe4e1d to
a9cf475
Compare
liweijie0812
approved these changes
Nov 24, 2026
renovate
Bot
force-pushed
the
renovate/pm2-7.x
branch
from
November 25, 2026 13:38
a9cf475 to
a09b875
Compare
renovate
Bot
force-pushed
the
renovate/pm2-7.x
branch
from
November 25, 2026 13:50
a09b875 to
346b0b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.0.4→^7.1.2Release Notes
Unitech/pm2 (pm2)
v7.1.2Compare Source
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#6176filter_env, dump.pm2 included):pm2 deleteit and start it again #6176v7.1.1Compare Source
Bug Fixes
pidusage4.1.0, wmic is used again when available) #6173/proc/<pid>/statfd per new pid in the daemon (grew with every restart)pm2.connect()right afterpm2.disconnect()no longer crashes withCannot read properties of null (reading 'sock')#6002v7.1.0Compare Source
Features
pm2 monit/pm2 dashnow preload the last 200 lines (out + err merged) of every process from its log files, most recent first;--lines <n>to display more #5187pm2 monit: Ctrl+Up / Ctrl+Down (and PageUp / PageDown) scroll the focused log pane page by pageBug Fixes
name,namespace,cron_restart,instances...) no longer override the app configuration #6006 #6016 #5747 #5622 #5030 #5032 #4943 #4778 #4821 #3210env:and named like a PM2 option (env: { port: 3000 },time,watch...) still reach the app: only the ambient shell environment is filtered, not what the user declares_tree_pids, since 7.0.0) no longer leaks into the app'sprocess.envafter a restart, nor gets reused as the pid list of a later killpm2 monit: align the Custom Metrics pane in columns (value right-aligned, fixed unit column, numbers rounded to 2 decimals) and shorten long metric names instead of pushing values out of the panepm2 monit: the footer no longer overlaps the bottom border of the Custom Metrics / Metadata panespm2 monit: logs, metrics and metadata panes update instantly when the selected process changes (no longer wait for the next refresh tick)pm2 monit: characters of old log lines no longer stay stuck on screen — emoji are now measured as 2 cells, and\r, cursor escape sequences, control chars and{tags}in logs are sanitized #5397@pm2/blessedis now vendored inmodules/blessed(one less npm dependency)chokidar3.6.0 is now vendored inmodules/chokidarwith a bounded brace expansion, dropping the vulnerablebracesdependency (GHSA-vfj7-8cjw-p6xm, no patched version)--time/log_date_formatwhen an app writes more than 64KB at once (partial line at a pipe chunk boundary was dropped) #6125--time, every line of a multi-line write is now date-prefixed (not only the first)pm2 logs "/regex/" --lines 0now streams matching apps (regex was ignored in stream-only mode); regexes with an inner/are no longer mangled, apps started afterpm2 logsare picked up, and only one bus subscription is opened #5196pm2 reloadLogsno longer crashes the app in fork mode whenout_file/error_fileareNULLand onlylog_fileis set #5509end()) instead of destroyed onpm2 reloadLogs/ app exit, so buffered data is no longer truncatedpm2 serve: a request with a malformed percent-escape (GET /%) no longer crashes the server (answers 400); handler exceptions answer 500 instead of killing the processprocess.stdout.write(pino/sonic-boom,npm start, children spawned with stdioinherit) no longer ends up inpm2.log— workers get piped stdio and the daemon routes it to the app log files andpm2 logs#3675 #4719 #4872 #4916 #4953 #5633 #4816fs.writeSync(1, ...), native addons) is no longer silently truncated at 64 KB #4044 #4872exec_mode: clusteron a non Node.js/Bun script (bash, python, binary) now falls back to fork mode with a warning instead of crashing withSyntaxError: Invalid or unexpected token(ELF) #4775node.exe,node64.exe,nodejs,node18,node@18,bun.exe), so cluster mode and the fork-mode wrapper are no longer skipped for themps(slim Docker images) no longer starts the app twice and crashes the daemon withCallback was already called#6171psunder Bun (synchronous spawn throw) falls back to killing the root pidOne of the pids provided is invalidspam) #6134 #6135uid/gid: log files created by a root daemon are chowned to the app user (no more EACCES crash loop)pm2 reloadLogsno longer crashes the daemon (ERR_IPC_CHANNEL_CLOSED) nor leaks fds when a cluster app is stopped, nor on concurrent callsexec_mode: clusteris kept for JS/TS apps run by a custom interpreter (tsx,ts-node); fork fallback only for binaries and non-JS scripts/interpreters #4775pm2 serve: null bytes answer 400 (--spano longer crashes onGET /x/%2500), errors in async file handlers answer 500closethat sometimes never comes on Linux (2 fds leaked per app stop/restart/delete)_tree_pidsfrom a 7.0.0-7.0.4 dump no longer leaks into the app env nor gets an unrelated pid SIGKILLed on stopPM2_PROXYsupport removed with theproxy-agentdependency (unused, broken since 7.0.0 withProxyAgent is not a constructor; drops the vulnerable get-uri/basic-ftp chain)port,time,watch...) are no longer forwarded to fork mode apps; declare them inenv:pm2 lshost metrics: virtual interfaces and read-only mounts are hiddenConfiguration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.