From 38399e4eb0492b0c60c68f5dddf664a357b0edf2 Mon Sep 17 00:00:00 2001 From: Victor Kuznetsov Date: Mon, 3 Aug 2026 16:59:10 -0700 Subject: [PATCH] Release 0.25.0 Breaking, on top of the released 0.24.0. Removed from the CLI: --model, --steps, --guidance-scale, --device, and the deprecated --auto. Removed from InvisibleEngine and WatermarkRemover: the model_id, num_inference_steps and guidance_scale parameters, remove_watermark_batch, and the remover's region/region_feather path. Each pinned a value the two remaining profiles fix -- the model stack, the per-stage distilled schedule, CFG 1.0, CUDA -- so their only outcome was an error raised several frames below the caller. Also removed: the public remove_ai_watermarks.upscaler module, the --min-resolution and --upscaler options and the published esrgan extra (0.24.0 shipped them unreachable); the pytorch-xpu index; and "diffusion" from the "all" extra, which qwen-zimage already pulls. Behaviour changes a caller can see: - invisible-watermark removal now requires the qwen-zimage extra, not diffusion. Both profiles run the DiffSynth Z-Image face stage, so a torch+diffusers-only environment used to pass the availability gate and then die there. Every install hint names qwen-zimage now. - get_device() answers cuda or cpu only, and the CUDA-only refusal names the resolved device rather than the raw argument. - adaptive_polish is tri-state. Unset follows the profile (off for qwen-zimage, on for sdxl-zimage) and is resolved inside the engine, so a library caller and a CLI caller on one profile now produce the same pixels; they did not before. ComfyUI node 0.1.15 is already published and tracks this surface. pre-commit: 1) maintain.sh - exit 0 (1093 tests, Pyright 0 errors, no vulnerabilities); 2) /simplify - n/a, version bump only; 3) docs sync - version appears in pyproject.toml, __init__.py and uv.lock, all three updated; 4) CLAUDE.md - no rule change Co-Authored-By: Claude Opus 5 --- pyproject.toml | 2 +- src/remove_ai_watermarks/__init__.py | 2 +- uv.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b88b43b..cc14b2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "remove-ai-watermarks" -version = "0.24.0" +version = "0.25.0" description = "AI watermark remover for visible, invisible, and provenance marks in images and video" readme = "README.md" requires-python = ">=3.10.1" diff --git a/src/remove_ai_watermarks/__init__.py b/src/remove_ai_watermarks/__init__.py index b6d0118..c3764ba 100644 --- a/src/remove_ai_watermarks/__init__.py +++ b/src/remove_ai_watermarks/__init__.py @@ -32,7 +32,7 @@ _os.environ.setdefault("TRANSFORMERS_VERBOSITY", "error") _warnings.filterwarnings("ignore", message=r".*ImageProcessorFast.*") -__version__ = "0.24.0" +__version__ = "0.25.0" __all__ = [ "__version__", diff --git a/uv.lock b/uv.lock index 7584ae9..0878625 100644 --- a/uv.lock +++ b/uv.lock @@ -3331,7 +3331,7 @@ wheels = [ [[package]] name = "remove-ai-watermarks" -version = "0.24.0" +version = "0.25.0" source = { editable = "." } dependencies = [ { name = "c2pa-python" },