From 890e0a75ae9f2092d0730e4d68020cbb1877debe Mon Sep 17 00:00:00 2001 From: "Lex Darlog (DRL)" <3897975+Lex-DRL@users.noreply.github.com> Date: Fri, 3 Oct 2025 12:06:08 +0500 Subject: [PATCH] `v3.0.0` + comply `pyproject.toml` with recommendations + remove `frozendict` dependency --- CHANGELOG.md | 15 ++++++++++++--- pyproject.toml | 18 +++++++++++++----- requirements.txt | 1 - 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bfb530..532a646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,17 @@ ## `TODO` +> [!NOTE] +> - Add options for `crop/pad` node - to determine the order of [crop/pad] -> upscale -> [crop/pad]. +> - One of: +> - Add `upscale` versions for `simple` and `ratio` nodes, too. +> - (maybe?) separate the upscale part into its own node - to make it compatible with any simple nodes. +> - Add node for auto-detecting USDU-padding from initial res. -- Add `upscale` versions for `simple` and `ratio` nodes, too. -- Add options for `crop/pad` node - to determine the order of [crop/pad] -> upscale -> [crop/pad]. -- Add node for auto-detecting USDU-padding from initial res. +# v3.0.0 + +- From now on, the major version number will reflect the Comfy's node API version used. +- `❗ MAJOR` internal change: All the nodes migrated to Comfy's nodes v3 API schema. +- Increased widget precision for various float inputs. +- No other new features or changes in behavior. # v1.1.6 diff --git a/pyproject.toml b/pyproject.toml index 40b5d5d..d9744c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,19 +1,27 @@ [project] name = "best-resolution" +version = "3.0.0" description = "QoL nodes for semi-automatic calculation of the best (most optimal) sampling resolution \n• compatible with ANY model (from now or the future), \n• accounting for upscale... \n• ...and pixel-step." -version = "1.1.6" +license = {file = "LICENSE.md"} +readme = "README.md" authors = [ {name = "Lex Darlog"} ] -license = {file = "LICENSE.md"} -readme = "README.md" -dependencies = ["frozendict"] +requires-python = ">=3.10" +dependencies = [] +classifiers = [ + # https://docs.comfy.org/registry/specifications#classifiers-recommended + "Operating System :: OS Independent", +] [project.urls] Repository = "https://github.com/Lex-DRL/ComfyUI-BestResolution" +"Bugs/Feature Requests" = "https://github.com/Lex-DRL/ComfyUI-BestResolution/issues" # Used by Comfy Registry https://comfyregistry.org [tool.comfy] PublisherId = "lex-drl" DisplayName = "Best Resolution" -Icon = "" +# Icon = "https://raw.githubusercontent.com/username/repo/main/icon.png" +# Banner = "https://raw.githubusercontent.com/username/repo/main/banner.png" +requires-comfyui = ">=0.3.60" # The first version to include io.Combo.Output diff --git a/requirements.txt b/requirements.txt index 302328f..e69de29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +0,0 @@ -frozendict