From 051d077bcd67fef30f2244c382b791f8658d5aa4 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 24 Jul 2026 16:54:22 +0000 Subject: [PATCH] v2.3.2: bump version, document CI + execute() hardening Update pyproject.toml to 2.3.2 and add a matching README version history entry covering the CI test workflow, the min-resolution upscale warning, and the zero-dimension passthrough guard. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01SqaVwWKNn9bsmmhUkJXhZ2 --- README.md | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15a0036..7578ab0 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ Restart ComfyUI. No dependencies beyond ComfyUI itself (Python 3.10+). ## Version history +- **v2.3.2**: Added CI test workflow (pytest on Python 3.10–3.12); warn on very large upscales in "Prioritize Min Resolution" mode; pass malformed zero-dimension inputs through unchanged instead of erroring - **v2.3.1**: Rewrote README with current screenshots; enforce `min_res` even when rounding to a large `multiple_of` would dip below it - **v2.3.0**: Added `resize_method` selection (lanczos default); fixed a rare off-by-one in cropped output size; removed unused numpy dependency; Python 3.10 compatibility; proper logging - **v2.2**: Fixed strict max-resolution mode exceeding `max_res` after rounding; added test suite diff --git a/pyproject.toml b/pyproject.toml index 2e14373..c08ebc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "constrainresolution" description = "Resize images to fit min/max resolution limits with dimensions guaranteed divisible by 2/8/16/32/64. Aspect-ratio-preserving resize with smart cropping — ideal for image-to-image and image-to-video workflows." -version = "2.3.1" +version = "2.3.2" license = {file = "LICENSE"} requires-python = ">=3.10" dependencies = []