v2.0.0
songquanpeng/one-apiv2.0.0Feb 1, 2025by k9p5
AI Summary
This is a major overhaul of the core library, replacing PixiJS with a custom 2D context rendering implementation to reduce bundle size and improve performance.
Key Highlights
- Removed PixiJS and Pixi Filters in favor of custom 2D context
- Reduced bundle size to 49KB gzip
- Fixed major GPU memory leaks
- Improved browser compatibility
Breaking Changes
- Removal of PixiJS and Pixi Filters
New Features
- Custom 2D context rendering
- Faster composition mutations
- Better browser compatibility
Full Release Notes
## 🚀 Core v2.0.0 - FFmpeg for the era of AI 🎉 🔥 Today we released `@diffusionstudio/core@2.0.0`, a major update that **completely removes PixiJS and Pixi Filters**, replacing them with a **custom 2D context rendering implementation**. ### 🌟 What's New? - 💡 **Tiny bundle size** — Just 49KB gzip, with only **one** remaining dependency 📦 - ⚡ **Faster composition mutations** — Fewer abstractions = more speed 🚀 - 🧠 **Fixes major GPU memory leaks** — Enjoy a more stable experience 🧹💪 - 🌐 **Better browser compatibility** — Works seamlessly across more environments 🌐 📖 Migration Guide: If you’re upgrading to V2, check out our guide 👉 [Migration Guide: V1 to V2](https://github.com/diffusionstudio/core/wiki/01-Migration-Guide:-V1-to-V2) Happy hacking! 🎉