Migrating to ComfyUI v0.3.42
Version v0.3.42 introduces 2 breaking changes. This guide details how to update your code.
Released: 6/26/2025
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
Cosmos Predict2Flux KontextOmnigen2ImageStitch nodeunetdiffusion modeltransformersBreaking Changes
●Issue #1
The term "unet" has been replaced with "diffusion model" in some contexts. Users relying on specific internal naming might need to update their node references or custom nodes if they were hardcoded to "unet".
●Issue #2
The minimum required version for the `transformers` library has been bumped. Users might need to update their dependencies.
Migration Steps
- 1Update your `transformers` dependency to meet the new minimum version requirement.
- 2Review any custom code or workflows that explicitly referenced 'unet' and update them to 'diffusion model' if necessary.
Release Summary
This release introduces major new image editing models, Flux Kontext and Omnigen2, alongside several bug fixes and dependency updates. Key changes include improved error handling for OOM situations and updates to model naming conventions.
Need More Details?
View the full release notes and all changes for ComfyUI v0.3.42.
View Full Changelog