Compare commits

..
Author SHA1 Message Date
Vito 82d7243c42 Merge pull request #111 from ComfyAssets/chore/release-1.3.1
chore(release): 1.3.1 with a one-line startup banner and the Custom Colors fix
2026-11-01 03:54:09 -08:00
Vito Sansevero 4fdbc727cf Merge main (Custom Colors Nodes 2.0 fix) into chore/release-1.3.1 2026-11-01 03:24:59 -08:00
Vito 1e76311262 Merge pull request #112 from ComfyAssets/fix/custom-colors-nodes2-submenu
fix(custom_colors): flag the Custom Colors entry as a submenu for Nodes 2.0
2026-11-01 03:23:55 -08:00
Vito Sansevero 037ff39a3b chore(release): 1.3.1 with a one-line startup banner
- Collapse the console banner to a single line with the version and the
  tool count instead of one `Loaded:` line per node, matching
  ComfyUI-PromptManager
- Keep the banner ASCII so a legacy Windows console cannot abort the load
- Update the console encoding test to assert the summary line
- Ship the Krea 2 resolution family already on main
- Bump pyproject.toml to 1.3.1 and date the changelog section
2026-10-31 21:12:54 -07:00
4 changed files with 17 additions and 14 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
# Changelog
## Unreleased
## 1.3.1
### Startup
- The console banner is one line, version plus tool count, instead of one
`Loaded:` line per node.
### Custom Colors
+7 -10
View File
@@ -114,15 +114,12 @@ def get_version():
return "unknown"
# Print startup message with loaded tools
print()
print(f"\033[94m[ComfyUI-KikoTools] Version:\033[0m {get_version()}")
for node_key, display_name in NODE_DISPLAY_NAME_MAPPINGS.items():
# ASCII only: a Windows console using a legacy code page cannot print emoji,
# and a UnicodeEncodeError here would abort loading the whole node.
ascii_name = display_name.encode("ascii", "ignore").decode().strip()
print(f" \033[94mLoaded:\033[0m {ascii_name}")
print(f"\033[94mTotal: {len(NODE_CLASS_MAPPINGS)} tools loaded\033[0m")
print()
# One-line startup banner. Keep it ASCII: a Windows console using a legacy
# code page raises UnicodeEncodeError on emoji, which would abort loading the
# whole node pack.
print(
f"\033[94m[ComfyUI-KikoTools] Version:\033[0m {get_version()} "
f"- {len(NODE_CLASS_MAPPINGS)} tools loaded"
)
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
+1 -1
View File
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "kikotools"
description = "Simple tools for ComfyUI"
version = "1.3.0"
version = "1.3.1"
license = {text = "MIT"}
dependencies = []
+3 -2
View File
@@ -38,8 +38,9 @@ def test_package_loads_with_a_legacy_windows_console(encoding):
stream.flush()
banner = stream.buffer.getvalue().decode(encoding)
assert "Loaded:" in banner
assert "Model Downloader" in banner # display name kept, emoji dropped
assert "[ComfyUI-KikoTools] Version:" in banner
assert "tools loaded" in banner
assert "Loaded:" not in banner # one summary line, not one line per tool
def test_preset_validation_messages_are_ascii(monkeypatch):