From e592330c79e707b402d34ee502c53fe1f544e3b7 Mon Sep 17 00:00:00 2001 From: gero Date: Mon, 9 Mar 2026 22:21:00 +0100 Subject: [PATCH] fix: bump to v1.3.10, remove phantom WEB_DIRECTORY, clean exports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Version 1.3.9 → 1.3.10 in __init__.py and pyproject.toml - Remove WEB_DIRECTORY = "./js" (no js/ directory exists) - Clean __all__ to only export NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS, __version__ - Update CLAUDE.md version history Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 1 + __init__.py | 14 ++------------ pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 625701f..68144af 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -164,6 +164,7 @@ When modifying or extending this node: ## Version History +- **v1.3.10** (2026-03-09): Removed phantom WEB_DIRECTORY (no js/ dir exists), cleaned up __all__ exports, version bump for registry - **v1.3.9** (2026-03-09): Version bump to republish after registry conflict (v1.3.8 was claimed by a reverted commit) - **v1.3.8** (2026-03-09): Added DA3 v1.1 models (Large-1.1, Giant-1.1, Nested-Giant-Large-1.1), fixed duplicate error message in DA3 loading - **v1.3.7** (2026-02-16): Fixed missing `import json` causing NameError (#18), PEP 8 import grouping, removed redundant local import diff --git a/__init__.py b/__init__.py index 4824b11..ee16e39 100644 --- a/__init__.py +++ b/__init__.py @@ -12,15 +12,12 @@ logging.basicConfig(level=logging.INFO) logger = logging.getLogger("DepthEstimation") # Version info -__version__ = "1.3.9" +__version__ = "1.3.10" # Node class mappings - will be populated based on dependency checks NODE_CLASS_MAPPINGS = {} NODE_DISPLAY_NAME_MAPPINGS = {} -# Web extension info for ComfyUI -WEB_DIRECTORY = "./js" - # Graceful dependency checking required_dependencies = { "torch": "2.0.0", @@ -152,11 +149,4 @@ else: "DepthEstimationNode": "Depth Estimation (Error)" } -# Module exports -__all__ = [ - "NODE_CLASS_MAPPINGS", - "NODE_DISPLAY_NAME_MAPPINGS", - "__version__", - "WEB_DIRECTORY", - "DA3_AVAILABLE" -] \ No newline at end of file +__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "__version__"] \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index acb9588..84c936c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyuidepthestimation" description = "A robust custom depth estimation node for ComfyUI using Depth-Anything models (V1, V2, and V3/DA3). It integrates depth estimation with configurable post-processing options including blur, median filtering, contrast enhancement, and gamma correction." -version = "1.3.9" +version = "1.3.10" license = { file = "LICENSE" } dependencies = [ "transformers>=4.20.0",