Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.2.0] - 2026-10-16

Added:
- Data List and LIST: new "filter empty" node that removes every empty entry
(`None`, empty STRING, empty LIST/DICT/SET, ...); `0` and `False` are kept.
An optional boolean switch also treats a STRING consisting only of whitespace
as empty.

## [2.1.1] - 2026-10-07

Fixed:
- "save IMAGE to file" and "save IMAGE+MASK to file" no longer fail with
"EXIF data is too long" when saving a JPG whose embedded workflow metadata is
Expand All @@ -24,6 +22,14 @@ Fixed:
and the reduction is reported; the image itself is always written. Should
embedding metadata ever fail for another reason, the image is written again
without metadata instead of not at all.
- "save IMAGE to file" and "save IMAGE+MASK to file": the `parameters` metadata
now ends with the sampler settings of the workflow (`Steps: 8, Sampler: euler,
Schedule type: simple, CFG scale: 1, Seed: 51, Size: 1024x1024`). Sites like
Civitai only read the prompt out of a `parameters` text that contains such a
line; without it the whole text is discarded and the explicitly set `prompt`
was not extracted at all. The settings are read from the sampler node of the
workflow and nothing is invented - when the graph does not provide them, the
text stays the plain prompt as before.

## [2.1.0] - 2026-09-19

Expand All @@ -34,8 +40,8 @@ Backward compatible changes:
it saved and the images appear in ComfyUI's generated-images list. In addition
both nodes got a second `images` output that passes the images through
unchanged, like the built-in node does.
- files written somewhere else (plain `path` mode) are still saved, they just
cannot be previewed, as ComfyUI can only serve files from its own folders
- files written somewhere else (plain `path` mode) are still saved, they just
cannot be previewed, as ComfyUI can only serve files from its own folders
- Both save nodes now embed ComfyUI's workflow metadata (the API prompt and the
full workflow) in addition to the existing prompt metadata. Dragging a saved
file back onto the canvas therefore restores the workflow, while the explicitly
Expand All @@ -44,8 +50,8 @@ Backward compatible changes:
two channels worth having when a whole batch is saved from a data list: the
workflow then contains every prompt of the graph, whereas `parameters` always
holds the prompt of the image that was actually written.
- ComfyUI's `--disable-metadata` option suppresses both channels, exactly like
it does for the built-in save node
- ComfyUI's `--disable-metadata` option suppresses both channels, exactly like
it does for the built-in save node
- No widget was added, removed or reordered, so existing workflows keep their
saved widget values.

Expand All @@ -54,7 +60,7 @@ Backward compatible changes:

Critical change that ensures reliablity and **should** have no bad side
effects, but when you see any, please report:
- DICT, LIST, SET and Data List nodes (plus the DICT/LIST-taking STRING nodes)
- DICT, LIST, SET and Data List nodes (plus the DICT/LIST-taking STRING nodes)
now degrade gracefully when their data source is not connected (`None`) instead
of raising: read/query nodes return their natural "no data" result (the `get`
default, an empty list, `False`, `0`, `None`), and transform nodes behave as if
Expand All @@ -69,7 +75,7 @@ effects, but when you see any, please report:
as `%date:yyyy-MM-dd%`

Backward compatible changes:
- Add a "continue if not empty" flow-control node: it passes a value through
- Add a "continue if not empty" flow-control node: it passes a value through
unchanged when it is non-empty, and blocks execution (via an execution blocker)
when the value is empty. It is list-aware (`INPUT_IS_LIST` / `OUTPUT_IS_LIST`),
so it is immune to ComfyUI's empty-input batching crash and passes data lists
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "basic_data_handling"
version = "2.1.0"
version = "2.2.0"
description = """Basic Python functions for manipulating data that every programmer is used to, lightweight with no additional dependencies.

Supported data types:
Expand Down
Loading
Loading