Skip to content

2.7.0 - #116

Merged
lucafoscili merged 11 commits into
mainfrom
next
Dec 9, 2025
Merged

2.7.0#116
lucafoscili merged 11 commits into
mainfrom
next

Conversation

@lucafoscili

Copy link
Copy Markdown
Owner

No description provided.

Introduces two new image resize filters: 'resizeEdge' for resizing by fitting one edge while preserving aspect ratio, and 'resizeFree' for resizing to explicit width/height with crop or padding. Updates Python backend, TypeScript types, settings, UI controls, and event handling to support these features, including helper text for current image size and manual apply functionality.
…dling

Introduces a new backend API endpoint and frontend method to recover pending editing datasets by node ID, improving session resilience in the image editor. Updates dataset construction to include lf_node_id, adds new resize filter processors, and enhances error handling and cleanup logic in editing sessions. Also refines image editor widget initialization to reconcile sessions and updates related types and tests.
Removes the advanced inpaint filter (INPAINT_ADV) and consolidates all inpaint controls into a single, more flexible layout-driven configuration. Updates the settings rendering logic to support grouped layouts and improves handling of control defaults, especially for seed values. Adjusts imports and tree data to reflect the removal of INPAINT_ADV, and updates styles to better support accordion-based layouts.
Updated the extract_dataset_entries function to strip file extensions from image names. This clarifies the returned data and aligns with the documented return type.
Removed the old WD14 caption dataset files and added new example workflows for captioning images using both VLM and WD14 methods. This update provides more relevant and up-to-date examples for image captioning workflows.
Renamed node identifiers and display names from 'LF_CaptionImageWD14Onnx' to 'LF_CaptionImageWD14' and updated sync message key to 'captionimagewd14' for consistency.
Updated the RETURN_TYPES assignment in LF_CivitAIMetadataSetup to use different input types based on the HAS_V3 constant. This allows for compatibility with different versions by switching between Input.COMBO and get_comfy_list for certain fields.
Updated the package version to 2.7.0 in __init__.py. Added docs/lf_nodes_workflows_index.json to provide an index of LF Nodes workflows. Updated the example workflow 'Flux + LLM Character manager' image and JSON to reflect new content and metadata.
Copilot AI review requested due to automatic review settings December 9, 2025 18:57
@github-actions

github-actions Bot commented Dec 9, 2025 •

Copy link
Copy Markdown
Contributor

🔢 Node file count: 125
(Excludes init.py and tests)

Simplifies RETURN_TYPES assignment by using a conditional expression for the upscale model type instead of separate if/else blocks. This improves code readability and maintainability.
@lucafoscili
lucafoscili merged commit beebb1e into main Dec 9, 2025
1 check passed
@lucafoscili
lucafoscili deleted the next branch December 9, 2025 19:12
@lucafoscili
lucafoscili removed the request for review from Copilot March 25, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant