mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-05 07:47:25 +00:00
[PR #2823] [MERGED] chore(release): 4.2.1 — register extension.manager.supports_csrf_post feature flag #2805
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#2805
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/2823
Author: @ltdrdata
Created: 4/22/2026
Status: ✅ Merged
Merged: 4/22/2026
Merged by: @ltdrdata
Base:
manager-v4← Head:fix/csrf-post-feature-flag📝 Commits (1)
81935bdchore(release): 4.2.1 — register extension.manager.supports_csrf_post feature flag📊 Changes
3 files changed (+32 additions, -6 deletions)
View changed files
📝
CHANGELOG.md(+11 -5)📝
comfyui_manager/__init__.py(+20 -0)📝
pyproject.toml(+1 -1)📄 Description
Summary
Follow-up to #2818. Registers a server-push feature flag so clients can detect CSRF-POST backend capability via ComfyUI core's
feature_flagsmechanism instead of parsing version strings.extension.manager.supports_csrf_post = True, registered at Manager import time incomfyui_manager/__init__.pyviacomfy_api.feature_flags.SERVER_FEATURE_FLAGS.ImportErroron older ComfyUI cores withoutcomfy_api.feature_flagsis swallowed silently — Manager continues to function, clients simply do not observe the flag.Version bump
pyproject.toml: 4.2.0 → 4.2.1 (SSOT;importlib.metadata.version("comfyui-manager")reads from here)CHANGELOG.md: new## [4.2.1] - 2026-04-22entryTest plan
python -c "from comfy_api import feature_flags; import comfyui_manager; print(feature_flags.SERVER_FEATURE_FLAGS['extension']['manager']['supports_csrf_post'])"-> Truecomfy_api.feature_flags(Manager still imports, no exception propagated).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.