Update README and workflow fixer tool for version 0.3.0 release
- Introduced breaking changes with modified namespace for improved compatibility. - Added a workflow fixer tool to assist users in migrating existing workflows. - Implemented path separator conversion functionality for Windows and Unix formats. - Enhanced error handling and user feedback in the fixer tool. - Updated README files with important update notices and detailed change logs.
This commit is contained in:
@@ -1,10 +1,28 @@
|
||||

|
||||
|
||||
# ComfyUI Painting Coder Utilities Nodes
|
||||
|
||||
A practical collection of nodes designed for ComfyUI that streamlines image and text processing workflows. Features include optimized resolution adjustment, text cleaning tools, dynamic image/text combination, and mask preview utilities. Created by a programmer who enjoys painting, this collection is perfect for artists and developers looking to enhance their AI art creation pipeline.
|
||||
|
||||
[English](./README.md) | [简体中文](./README_CN.md)
|
||||
|
||||
|
||||
# ⚠️ Important Update Notice
|
||||
|
||||
**[English]**
|
||||
**Version 0.3.0 Breaking Changes:**
|
||||
- The namespace has been modified to improve compatibility
|
||||
- This update will cause older workflows to stop working
|
||||
- To fix your existing workflows, please use our workflow fixer tool:
|
||||
|
||||

|
||||
|
||||
[Workflow Fixer Tool](https://github.com/jammyfu/ComfyUI_PaintingCoderUtils/blob/1b46d18b5841540b6cea95eaa22a212add2525ff/docs/fix/workflow_fixer.html)
|
||||
|
||||
- Added new feature: Path separator conversion between Windows and Unix-style (Linux/Mac) formats
|
||||
- The fixer tool now supports both namespace updates and path format conversion
|
||||
---
|
||||
|
||||
## 🎯 Nodes
|
||||
|
||||
### 📐Image Resolution Adjuster
|
||||
@@ -371,6 +389,14 @@ Usage:
|
||||
MIT License
|
||||
|
||||
## 🤝 Updates
|
||||
### v0.3.0 (2025-01-21)
|
||||
- **Breaking Changes:**
|
||||
- Modified namespace structure for better compatibility
|
||||
- Added workflow fixer tool for migration
|
||||
- Added path separator conversion functionality
|
||||
- Enhanced error handling and user feedback
|
||||
- Improved cross-platform compatibility
|
||||
|
||||
### v0.2.2 (2024-01-09)
|
||||
- Added Mask Switch node
|
||||
- Support switching between two masks based on conditions
|
||||
|
||||
@@ -5,6 +5,25 @@
|
||||
|
||||
[English](./README.md) | [简体中文](./README_CN.md)
|
||||
|
||||
|
||||
# ⚠️ 重要更新说明
|
||||
|
||||
**版本0.3.0重大更新:**
|
||||
- 修改了命名空间以提升兼容性
|
||||
- 此更新会导致旧的工作流无法使用
|
||||
- 请使用我们的工作流修复工具来修复现有工作流:
|
||||
|
||||

|
||||
|
||||
[工作流修复工具](https://github.com/jammyfu/ComfyUI_PaintingCoderUtils/blob/1b46d18b5841540b6cea95eaa22a212add2525ff/docs/fix/workflow_fixer.html)
|
||||
|
||||
- 新增功能:支持Windows与Unix(Linux/Mac)格式之间的路径分隔符转换
|
||||
- 修复工具现在同时支持命名空间更新和路径格式转换
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## 🎯 功能节点
|
||||
|
||||
### 📐图像分辨率调整器 (Image Resolution Adjuster)
|
||||
@@ -388,6 +407,13 @@ Switch节点用于在工作流中动态切换不同的输入或输出路径。
|
||||
MIT License
|
||||
|
||||
## 🤝 更新说明
|
||||
### v0.3.0 (2025-01-21)
|
||||
- **重大变更:**
|
||||
- 修改了命名空间结构以提高兼容性
|
||||
- 添加了工作流修复工具以便迁移
|
||||
- 增加了路径分隔符转换功能
|
||||
- 增强了错误处理和用户反馈
|
||||
- 改善了跨平台兼容性
|
||||
|
||||
### v0.2.2 (2024-01-09)
|
||||
- 新增 Mask Switch 节点
|
||||
|
||||
@@ -183,8 +183,9 @@
|
||||
.header-image img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px 8px 0 0; /* 只设置上方圆角 */
|
||||
box-shadow: 0 -2px 4px rgba(0,0,0,0.1); /* 添加上方阴影 */
|
||||
border-radius: 8px 8px 0 0;
|
||||
box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
|
||||
transition: opacity 0.3s ease; /* 添加过渡效果 */
|
||||
}
|
||||
|
||||
.header-image a {
|
||||
@@ -295,7 +296,7 @@
|
||||
<!-- 添加功能选择下拉菜单 -->
|
||||
<div class="fix-type-select">
|
||||
<select id="fixType" onchange="updateUI()">
|
||||
<option value="namespace">Fix PaintingCoder Namespace</option>
|
||||
<option value="namespace">Fix PaintingCoder old version (<0.3.0) workflow</option>
|
||||
<option value="path">Fix Path Separator</option>
|
||||
</select>
|
||||
</div>
|
||||
@@ -358,8 +359,8 @@
|
||||
selectedFile: "Selected file: ",
|
||||
errorSelectFile: "Please select a file first.",
|
||||
successMessage: "File fixed and saved as ",
|
||||
switchLang: "中文",
|
||||
fixTypeNamespace: "Fix PaintingCoder Namespace",
|
||||
switchLang: "中文",
|
||||
fixTypeNamespace: "Fix PaintingCoder old version (<0.3.0) workflow",
|
||||
fixTypePath: "Fix Path Separator",
|
||||
pathOptions: {
|
||||
auto: "Auto Detect",
|
||||
@@ -383,7 +384,7 @@
|
||||
errorSelectFile: "请先选择一个文件。",
|
||||
successMessage: "文件已修复并保存为 ",
|
||||
switchLang: "English",
|
||||
fixTypeNamespace: "修复 PaintingCoder 命名空间",
|
||||
fixTypeNamespace: "修复PaintingCoder旧版本(<0.3.0)工作流",
|
||||
fixTypePath: "修复路径分隔符",
|
||||
pathOptions: {
|
||||
auto: "自动检测",
|
||||
@@ -444,6 +445,14 @@
|
||||
document.getElementById('toUnixLabel').textContent = t.pathOptions.toUnix;
|
||||
|
||||
updateFileList(); // 更新文件列表的语言
|
||||
|
||||
// 更新头图
|
||||
const headerImage = document.querySelector('.header-image img');
|
||||
if (currentLanguage === 'zh') {
|
||||
headerImage.src = "https://raw.githubusercontent.com/jammyfu/ComfyUI_PaintingCoderUtils/main/docs/images/paiting_coder_logo02.jpg";
|
||||
} else {
|
||||
headerImage.src = "https://raw.githubusercontent.com/jammyfu/ComfyUI_PaintingCoderUtils/main/docs/images/paiting_coder_logo01.jpg";
|
||||
}
|
||||
}
|
||||
|
||||
// 需要添加命名空间的节点映射
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 210 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 240 KiB |
Reference in New Issue
Block a user