Repository navigation
2.7.0 - #116
Merged
Merged
2.7.0#116
Conversation
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.
Contributor
|
🔢 Node file count: 125 |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.