Commit Graph
5439 Commits
Author SHA1 Message Date
Siyuan Sun 622723ca7f Add Seedance 2.5 (HaryAI) 2026-11-20 17:47:53 +08:00
Dr.Lt.Data 1d7e39c128 update DB 2026-11-20 02:02:15 +09:00
Dr.Lt.Data 5905d60ab6 Merge pull request #3557 from xm6018924/bsai/contextual-series
Add BSAI-ComfyUI_Contextual-Series to custom node list (split 4/4: contextual frame extraction)
2026-11-20 02:01:47 +09:00
Dr.Lt.Data 106749a107 update DB 2026-11-20 01:22:26 +09:00
Dr.Lt.Data aeb0bdb898 Merge pull request #3562 from jutsuhq/add-comfyui-higgsfield
Add ComfyUI-Higgsfield
2026-11-20 01:21:18 +09:00
Dr.Lt.Data 2d74c4acb2 Merge pull request #3496 from xm6018924/bsai-split-2-prompt-suite
Add 2 BSAI custom node packs to custom node list (split 2/3: prompt suite)
2026-11-20 01:20:59 +09:00
Dr.Lt.Data a90fa0f7fe Merge pull request #3522 from YakovSava/add-yakovsava-samplers
Add Iakov Savelev's sampler research nodes (4 entries)
2026-11-20 01:20:46 +09:00
Dr.Lt.Data ac158f7617 Merge pull request #3477 from AinJuZen/main
feat: add ComfyUI-ModelMirror (缺模型一键镜像补齐)
2026-11-20 01:20:33 +09:00
Dr.Lt.Data e8312757a4 Merge pull request #3563 from Wlain/codex/kling-comfyui-catalog-update
Update Kling AI ComfyUI catalog entry
2026-11-20 01:20:07 +09:00
Dr.Lt.Data dab0a6746f Add the SAM 3.1 model of Comfy-Org to the model list, and the Kornia SAM models to the list of new models 2026-11-20 00:47:04 +09:00
Dr.Lt.Data 2908ccdd6f update DB 2026-11-19 23:54:26 +09:00
Dr.Lt.Data e14aafb2e3 Restore the git node packs of a snapshot as the snapshot names them, and say why a clone was refused (#3560) 2026-11-19 23:43:11 +09:00
Dr.Lt.Data f450f61d1f bump version to 3.43.2 3.43.2 2026-11-19 20:56:07 +09:00
Dr.Lt.Data a288523cd3 On an old ComfyUI, serve only the update of ComfyUI
Five changes, each in the CHANGELOG.

- On a ComfyUI without the System User API, refuse every route but the
  update of ComfyUI, leave a scheduled restore and the pip files of the
  unprotected directory alone, and migrate only the settings that are
  preferences
- Refuse there in the security gate, not by changing the security level
  that was read
- After the update, install the requirements of ComfyUI in prestartup,
  and keep a backup of the legacy directory that is already there
- Read config.ini values as plain text and default the invalid ones
- Report a failed legacy backup without its error text

Reported by:
- anir0y
2026-11-19 20:43:37 +09:00
Dr.Lt.Data 480dc05d99 Keep sharing credentials on the server and tighten the security-level and POST checks
Seven changes, each in the CHANGELOG.

- Keep saved sharing credentials out of server answers, and log in to
  matrix.org only
- Hold a switch of ComfyUI to an older version to the security level
- Take a JSON body only as application/json
- Hold a snapshot restore to the security level of a switch to an older
  version
- Save only a choice of the share menu as the share option
- Write the saved Matrix account as a file of its user only
- Hold every POST that changes something to application/json, and save
  the share option with a POST

Reported by:
- gistrec
- sondt99
- dungNHVhust
- ascanner
- godzeo
- naroSEC
- Liam-G
- manus-pi
- eliteaja11-dev
2026-11-19 20:43:37 +09:00
william 430209c157 Update Kling ComfyUI catalog listing 2026-11-19 18:05:57 +08:00
jutsuhq aa7a04d098 Add ComfyUI-Higgsfield 2026-11-19 09:40:30 +01:00
Dr.Lt.Data 5688993b0b Add the Kornia SAM safetensors models to the model list 2026-11-19 12:00:41 +09:00
Dr.Lt.Data 09cac4f075 bump version to 3.43.1 2026-11-19 08:17:43 +09:00
Dr.Lt.Data de1c60c962 Fix the scheduled snapshot restore, the steps of a snapshot restore and reserved install scripts (#3554)
Three fixes. The CHANGELOG has an entry for each.

- Give the scheduled snapshot restore the directories of the server
- Report the failed steps of a snapshot restore, check a cloned node pack
  out at the pinned commit and run the install step of the node packs it
  installs
- Write what is reserved for the next start as UTF-8, and remove the files of
  an old version from the node pack, and from nowhere else, when a version is
  switched; read the list of those files as UTF-8
2026-11-19 07:14:01 +09:00
Dr.Lt.Data 8a75836a7b Fix git_exe, .git/config reading, the commit and submodules of a node pack and an update whose git step fails (#3552)
Four fixes. The CHANGELOG has an entry for each.

- Use the git executable set as git_exe
- Read the commit of a node pack whose refs are packed, and bring its
  submodules to the commit that is checked out
- Start with a node pack whose .git/config cannot be read
- Fail an update whose pull or submodule update failed, and undo the pull
2026-11-18 22:54:23 +09:00
xm6018924 350c7d842e Add BSAI-ComfyUI_Contextual-Series to custom node list 2026-11-18 10:51:17 +08:00
Dr.Lt.Data 3a2177fb24 Fix failure answers, console messages and settings (#3543)
Five fixes. The CHANGELOG has an entry for each.

- Log a failed read of the ComfyUI versions instead of raising
- Print the messages of manager_core as they are
- Answer 400 to an install request whose body is not usable
- Refuse a db_mode, update_policy or component_policy request the server cannot use
- Keep a setting chosen while the Manager menu is loading it
2026-11-17 12:39:56 +09:00
Dr.Lt.Data c8bf0d48f3 update DB 2026-11-16 09:03:04 +09:00
Dr.Lt.Data afd1b1e606 Leave the log file alone once it is closed (#3538)
Restarting through comfy-cli calls close_log() and then exits from the
request handler. asyncio logs the exit, the Manager's logging handler
passes the record to the logger for the log file, and the write to the
closed file raised ValueError: the console showed it twice at every
such restart.

- Write to the log file only while it is open; the console still gets
  what is written to it
- Close the log file under the lock of the writes, so that a write
  that has found it open is not overtaken by the close
- Add tests for writes to an open and to a closed log file, and for
  the lock around the close
- Add a CHANGELOG entry
2026-11-16 08:38:20 +09:00
Dr.Lt.Data 3bea57137c bump version to 3.43 3.43 2026-11-16 00:03:49 +09:00
Perfect Johny cd297dafa7 Report the console's terminal state from the logger (#3423)
With file logging on, the logger that captures stdout and stderr
answered isatty() with False for every caller and had no closed
attribute. After colorama.init(), colorama took the console for a pipe
and removed the colors of every print(), and tqdm and rich took a
terminal for a pipe (#3259).

- Answer isatty() from the stream the logger wraps, and False when
  that stream cannot answer
- Add closed, which colorama takes as True for a stream without it:
  the state of the wrapped stream, False for a stream that has no such
  attribute, and True for a detached stream
- Answer closed True once the log file is closed. Restarting through
  comfy-cli calls close_log() and then exits, and colorama's exit
  handler would write its reset through the logger
- Add tests for both answers on both streams, for streams that cannot
  answer, and for what colorama does with the answers
- Add a CHANGELOG entry

The same change for manager-v4 is #3465.
2026-11-15 23:47:30 +09:00
Dr.Lt.Data 2fcd0a3d93 Move champdev-comfyui-nodes from the default channel to dev
The pack serves an operating-system shell and a file manager over
routes of the ComfyUI server, from the moment it is loaded. Its README
documents the terminal, but the list entry did not mention it. Up to
0.5.2 the routes ask for no authentication; 0.6.1 adds a password and
sends it to the pack's telemetry server together with the host's
addresses.

- Remove the entry from custom-node-list.json
- Add it to node_db/dev/custom-node-list.json with a [SECURITY ISSUE]
  title and a warning in the description
- Remove its rows from extension-node-map.json,
  node_db/new/extension-node-map.json and github-stats.json
2026-11-15 23:12:20 +09:00
Dr.Lt.Data 86ed519f2d update DB 2026-11-15 22:47:48 +09:00
Perfect Johny 59e8a2db5b End a pending model install only with its own queue (#3437)
The server reports the end of every queue with two dicts,
nodepack_result and model_result, keyed by the id of each task. The
Model Manager read model_result as an array, so result.length was
undefined, the guard for an empty result never held, and the end of
any queue ended its pending install. After a model install request
that the server refused, the end of the next queue, such as a node
pack install, asked to click Refresh and raised the notice that all
model downloads were completed, although no model had been installed.

- Count the keys of model_result in the guard and in the status text
- Hide the Stop button when the install is completed, not at the end
  of every queue
- When a queue ends without a model result, ask the server what is
  left: while tasks are left the install stays pending, and with none
  left the dialog returns to idle without a message. An install that
  started while the server was asked is left alone
- Show the Stop button only while the install that was queued is
  still pending; a queue can end before its start request is answered
- Add tests that run the shipped handlers in node
- Add a CHANGELOG entry

The change for manager-v4, which tells the batches apart by their id,
is #3536.
2026-11-15 21:49:16 +09:00
Perfect Johny 897cbeb6b2 Report why restoring or removing a snapshot failed (#3436)
When the server refuses to restore or remove a snapshot with status
400, the Snapshot Manager showed "Restore snapshot failed: undefined /
ReferenceError: exception is not defined", for a removal too, and after
a refused restore it still asked for a restart. The handler built its
message from target.title and exception: target is the snapshot's name,
a string, and exception is not defined there, so the line threw and the
catch block reported that error. Any other error status, such as a 502
from a proxy, was taken as success.

- Show the snapshot's name and the reason, both escaped, for every
  answer that is not a success. The reason is the text of a text/plain
  response, and otherwise the status line
- Show the restart notice only after a restore that was accepted
- Say "Remove snapshot failed" when a removal fails
- Add tests that run the shipped restore and removal against the
  server's answers
- Add a CHANGELOG entry

The same change for manager-v4 is #3535.
2026-11-15 21:07:50 +09:00
Dr.Lt.Data 94ab469bd4 update DB 2026-11-15 18:36:43 +09:00
Perfect Johny 05804c1079 Show node definitions as text in the node preview (#3434)
The preview that the Custom Nodes Manager shows over a node name is
built from ComfyUI's node definitions (/object_info) and inserted with
innerHTML. The name, the input and output names, the default values
and the description went in as they are, so text between angle
brackets was dropped from the preview and markup in a definition was
rendered.

- Escape the eight values where createNodePreview inserts them; the
  line break of a multi-line default is still shown as <br>
- Add tests that run the shipped createNodePreview in node with a
  definition that carries markup, and one that carries text between
  angle brackets, in every value the preview shows
- Add a CHANGELOG entry

The same change for manager-v4 is #3534.
2026-11-15 15:18:55 +09:00
Perfect Johny 2fc00edf2d Clean up after a registry archive that cannot be extracted (#3433)
_cnr_install creates the directory of the pack and then extracts the
downloaded archive into it. extract_package_as_zip handles a file that
is not a zip; any other error, such as an entry that cannot be written,
left the function through an exception with the new directory and the
archive still in custom_nodes. The next install of the pack found the
directory and stopped with "Install path already exists".

- Catch the error, remove the directory with try_rmtree and return a
  failed result that names the error
- Remove the archive whether the extraction worked or not, and ignore
  a failure to remove it
- Use try_rmtree for an archive that is not a zip as well, where
  shutil.rmtree was called directly
- Log a cleanup that fails as well and still return the failed result,
  at both calls; try_rmtree raises when it can neither remove nor
  schedule the directory, which an uninstall still reports as an error
- Add tests that install from an archive that fails part-way and from
  a file that is not a zip, install again afterwards, install while
  the cleanup fails, and uninstall a pack whose directory cannot be
  removed
- Add a CHANGELOG entry

The same change for manager-v4 is #3533.
2026-11-15 14:40:39 +09:00
Perfect Johny bfd65e7173 Write cache files whole and age them by their last write (#3432)
The cache files of the channel lists and of the registry's node list
were written in place. A write that stopped part-way left a truncated
file, which get_data reads as an empty list.

is_file_created_within_one_day read os.path.getctime. On Windows that
is the creation time, which stays the same when the file is rewritten,
so a cache first created more than a day ago counted as expired however
recently it was written.

- Add write_cache_file, which writes a temporary file beside the cache
  and replaces the cache with it, keeping the mode of the existing
  file. Where the written file cannot be put in place, as on Windows
  while another reader has the cache open, the replace is tried three
  times, 0.1 s apart. A cache that stays open is left as it is, with a
  warning; the caller gets no error and goes on with its data. A
  failure while writing the temporary file leaves the cache as it is
  as well. Where the mode cannot be set, the cache is replaced all the
  same. A temporary file that cannot be removed, because a scanner
  holds it open, is left behind and does not fail the write
- Use it for the four writes of a cache file: two in manager_util, one
  in get_data_by_mode and one in default_cache_update
- Read the modification time for the age
- Add tests for a write that fails and one that runs out of space, the
  mode, a mode that cannot be set, a replace that is refused for a
  moment and one that stays refused, a temporary file that is held
  open, and the age
- Add a CHANGELOG entry

The same change for manager-v4 is #3532.
2026-11-15 14:30:12 +09:00
Perfect Johny 0b3966f050 Compare a snapshot's pins with the installed commit and version (#3426)
Two comparisons in restore_snapshot never matched.

get_commit_hash returned the line of .git/HEAD as it is when HEAD is
detached, with its newline, and the snapshot saved it that way. On
restore the checkout of that text failed, repo_switch_commit returned
None, and the pack was listed as skipped at the commit it had. A pack
is left at a detached HEAD by a restore, so a snapshot taken after one
has this.

For a registry pack, the installed version was compared through v[1],
the path of the pack, where v[0] is the version. Every installed pack
was therefore sent to cnr_switch_version, which asks the registry
before it finds the version unchanged; with the registry out of reach
the request raised and the restore stopped.

- Return the hash without the newline
- Strip the hash read from a snapshot, so the snapshots already saved
  restore too
- Compare the version
- Add tests for the hash, for a pack at the pinned version and at
  another one, and for the checkout of both forms of the hash in a
  real repository

The same change for manager-v4 is #3531.
2026-11-15 11:06:55 +09:00
Deepratna Awale 38fed78015 Rename AutoExpress to Emotica (#3529) 2026-11-15 10:31:51 +09:00
Perfect Johny 7b61a5cb07 Read pip's exit status when restoring a snapshot's pip packages (#3425)
restore_pip_snapshot kept the return value of subprocess.check_output
as the result of each pip run and compared it with 0. check_output
returns pip's output, never an exit status, so the comparison held for
every run that succeeded: after the one run that installs the packages
named by version, pip was run again for each of them with --no-deps,
and every package of the three groups was reported under "Installation
failed for pip packages".

- Run pip with check_call, which returns the exit status and raises
  when it is not 0
- Add tests that cover the three groups, the fallback after a failed
  run, failures in every group at once, and a group whose option is
  not given

The same change for manager-v4 is #3530.
2026-11-15 10:18:23 +09:00
Dr.Lt.Data cac0748b88 update DB 2026-11-15 00:29:58 +09:00
Dr.Lt.Data 307bec483e Enable a disabled node pack requested through cm-api before restarting (#3525)
When an extension asks through cm.try-install-custom-node for a node
pack that is disabled, the user is asked whether to enable it and
restart. On confirmation the handler posted to
/customnode/toggle_active, which the server does not have, did not
look at the answer, and restarted: ComfyUI came back with the pack
still disabled.

- Enable the pack as the Custom Nodes Manager does: find its row in
  /customnode/getlist, put it in the queue, start the queue, and wait
  for the queue to report the pack
- Restart only when the queue reports success; otherwise show why the
  pack was not enabled
- Leave a queue that is already running alone
- End the wait when the started queue reports without the pack, or
  does not report within a minute; a listener left waiting would take
  a later report for the same row and restart ComfyUI unasked
- Show the reason when a request made while enabling gets no answer
- Show "Rebooting..." when the restart request gets no answer, which
  is what happens when ComfyUI restarts
- Remove the branch for a pack that is not installed: the server does
  not send this request for one, and the route it posted to does not
  exist
- Leave the queue listener of the Manager menu when the menu has not
  been created; a queue started from here made it raise
- Add browser tests of the handler and of the menu listener
- Add a CHANGELOG entry

The same change for manager-v4 is #3526.
2026-11-14 23:42:36 +09:00
Dr.Lt.Data 5b0d473778 update DB 2026-11-14 22:30:02 +09:00
Dr.Lt.Data d3c16e2d68 Merge pull request #3505 from ukr8b3g-cmyk/add-h3-continuum-ez-studio
Add H3 Continuum EZ Studio to the custom node list
2026-11-14 22:27:05 +09:00
Dr.Lt.Data c417c9debf Merge pull request #3454 from ketle-man/add-comfyui-vrm-pose-studio
Add VRM Pose Studio (ketle-man)
2026-11-14 22:26:45 +09:00
Dr.Lt.Data 5b9988cd8e Weigh the clauses of a pip requirement together (#3524)
The downgrade decision and the startup check read each clause of a pip
requirement on its own, and did not read "!=". Found by CodeRabbit on
#3521, #3523 and #3524 and in review.

- Install a requirement for a protected package that allows the
  installed version when another clause sets a minimum above it
  ("==4.*,>=4.58.0" beside 4.57.0); it was skipped
- Skip one that the installed version does not meet and that allows no
  newer version ("[torch]<=4.57.0,!=4.57.0", "<4.58,!=4.57.*"); it was
  installed, and pip replaced the package with an older version
- Install one that excludes the installed version with "!=" while a
  newer version is allowed ("~=4.57.0,!=4.57.0"); without extras it
  was skipped
- At startup, read ">" as pip does: a post-release of its version does
  not meet it, and the requirement is installed when a newer version
  meets every clause
- At startup, take "==0.21.*" as met by an installed 0.21.0rc1, as pip
  does
- At startup, install a requirement that excludes the installed
  version with "!=" and allows a newer one; pip chooses the version,
  which is an older one when no newer release exists
- Ask packaging whether a newer version meets every clause, about the
  versions next to the installed one and next to each clause's version;
  a pre-release counts only when "==", ">=", "<=", "~=" or "===" names
  one, which is when every pip takes one
- Never replace an installed local build, such as a CUDA build, on
  these grounds, and keep a protected one that "!=" excludes unless
  the requirement sets a minimum above it: for such a build the
  changes only add requirements that are skipped
- Add tests and a CHANGELOG entry

The same change for manager-v4 is #3523.
2026-11-14 21:29:46 +09:00
Dr.Lt.Data 1ad89f69cd Apply pip blacklists however a requirement is written (#3521)
Port the pip requirement checks of manager-v4 (#3489) to main, so that
both branches decide with the same code. #3431 had only replaced the
version class in main's own checks, which left ">" and "~=" answered
differently from v4.

- Parse requirements with packaging and share one parser and one
  downgrade decision between manager_core and the startup check
- Treat '-', '_' and '.' as one separator in package names, in the
  installed-package lookup, both lists, requirements and
  pip_auto_fix.list (#3458)
- Read every version clause, so a lower bound written first no longer
  hides an upper bound; read spaces, parentheses, markers, '===' and
  direct references
- Install a requirement with extras unless it would downgrade the
  protected package
- Check the requirement of every pip install command form, including
  those with --index-url, on the immediate and reserved paths
- Skip a protected package when the requirement cannot be compared and
  log why and how to install it
- At startup, recognize an installed package however its requirement
  spells the name, install one older than its '~=' version or at the
  version that '>' excludes, and stop reinstalling the '~=' version
  itself
- Read downgrade_blacklist from config.ini in cm-cli, which read a
  path attribute that does not exist and so protected only the
  built-in packages
- Remove the unused is_installed copy from manager_core and the
  pip_version helper that #3431 added
- Import packaging where it is used, because prestartup_script imports
  manager_util before it installs missing dependencies
- Add the tests of #3489, adapted to main, and tests for the startup
  loop, '>', pip_auto_fix.list names and the cm-cli setting; update
  README and CHANGELOG

manager-v4 needs no counterpart: it has this code since #3489.
2026-11-14 18:14:54 +09:00
Dr.Lt.Data c4c5c7f943 Fix lists failing after a channel response that is not JSON (#3518)
get_data returned {} when a channel answered with something that is
not JSON, such as a block page or "404: Not Found". get_data_by_mode
and the startup cache update wrote that {} to the cache, and the
custom node list and the model list then failed on the missing key
for as long as the cached {} was read, up to a day.

Raise for such a response, as for a failed connection. The callers
already handle that: get_data_by_mode falls back to the bundled file,
and nothing is written to the cache.

- Add tests
- Add a CHANGELOG entry

The manager-v4 port is #3519. Refs #3480.
2026-11-14 17:11:47 +09:00
Jacob Savel'ev ab866227a4 Add Iakov Savelev's sampler research nodes (adaptive-step-samplers, flow-sde-research, flow-wls-research, momentum-cfg-samplers-research) 2026-11-14 11:59:00 +05:00
Perfect Johny 41b6f19931 Read node pack and pip versions that carry a suffix (#3431)
StrictVersion read each of the first three components of a version
with int(), so it raised on a suffix after the third number. On main
it read node pack versions and pip versions alike.

- Read a node pack version with a pre-release after the third number,
  following '.' or '-', and write it with '-' as before: a registry
  version such as 1.8.0-beta.1 is recognized, and 0.1.3.post1 no
  longer stops the scan of installed node packs
- Compare pip versions with packaging in is_blacklisted and
  is_installed of manager_core and in is_installed of
  prestartup_script: an installed 2.5.1+cu124 or 4.41.0rc1 no longer
  raises, which at the next start skipped the rest of a node pack's
  requirements and its install.py
- Ask a packaging Specifier for the entries of pip_auto_fix.list, as
  pip does; "~=" becomes a compatible-release clause
- Import packaging where it is used, because prestartup_script imports
  manager_util before it installs missing dependencies
- Add tests that run the real scan and the real pip checks
- Add a CHANGELOG entry

The same change for manager-v4 is #3516. Fixes #1755.
2026-11-14 15:32:01 +09:00
Perfect Johny 443f7c5b84 Share only a file inside the output directory to Matrix (#3427)
The share route joined the file name and subfolder of the selected
output, both taken from the request, onto the output or temp directory
and uploaded that file to the Matrix homeserver named in the same
request. A name such as "../../file" left the directory, so a request
could have any file that ComfyUI can read uploaded.

- Refuse, with 400 and the error shape the share dialog shows, a path
  that is not inside the directory
- Compare the normalized path without resolving symlinks, as ComfyUI's
  /view does, and open that same path, so an image that the dialog
  previews through a symlink in the directory can still be shared
- Refuse a path on another Windows drive, for which commonpath raises
  ValueError
- Add tests that run the real route against a recording Matrix client
- Add a CHANGELOG entry

The same change for manager-v4 is #3515.
2026-11-14 14:46:32 +09:00
Perfect Johny 54e4ee5977 Read workflow files as UTF-8 when collecting node types (#3510)
get_node_types_in_workflows opened workflow files with the locale
encoding. On a non-UTF-8 locale, such as a Windows ANSI code page, a
UTF-8 workflow either failed to decode and was skipped with a
warning, or was read with garbled non-ASCII node type names. Read
with utf-8-sig, which takes files with and without a BOM.

A workflow file saved in the ANSI code page is no longer read.
ComfyUI saves workflows as UTF-8.

Fixes #3441
2026-11-14 12:39:34 +09:00