v2.0.0

VRSEN/agency-swarmv2.0.0Feb 1, 2025by k9p5

AI Summary

A major update that completely removes PixiJS and Pixi Filters, replacing them with a custom 2D context rendering implementation to improve performance, reduce bundle size, and enhance stability.

Key Highlights

  • Replaced PixiJS and Pixi Filters with a custom 2D context rendering implementation
  • Reduced bundle size to 49KB gzip with only one remaining dependency
  • Fixed major GPU memory leaks to ensure a more stable experience
  • Achieved faster composition mutations through fewer abstractions
  • Improved browser compatibility across more environments

Breaking Changes

  • PixiJS and Pixi Filters have been completely removed
  • Migration required from PixiJS APIs to the new 2D context implementation

New Features

  • Custom 2D context rendering implementation
  • Optimized bundle size
  • Improved GPU memory management
  • Enhanced 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! πŸŽ‰