Skip to content

v0.1.1: Icon Bundle Optimization & Example Fixes

Choose a tag to compare

@Augani Augani released this 22 Oct 15:46
· 135 commits to main since this release
6e621a4

🎉 Release v0.1.1

This release focuses on bundle size optimization and fixing all examples.

🔥 Breaking Changes

  • Icons are no longer bundled with the library (reduces package size by 95%)
  • Users must now provide their own icon assets
  • Added configurable icon path system with set_icon_base_path()

🐛 Fixed

  • Fixed 20+ examples with incorrect API usage
  • Fixed scroll module imports → scrollable
  • Fixed VStack compatibility with scrollable_vertical
  • Fixed Menu and MenuItem API usage
  • Fixed toolbar click handlers to use on_mouse_down
  • Removed 4 broken/missing examples

✨ Improved

  • Removed unnecessary inline comments (cleaner, production-ready code)
  • Added comprehensive icon setup documentation in README
  • All 53 working examples now compile successfully (100% success rate!)
  • Updated examples with proper AssetSource configuration

📦 Package Size

  • Before: 3,431 files
  • After: 157 files
  • Reduction: 95%

📚 Documentation

Users now need to:

  1. Download their preferred icon set (Lucide, Heroicons, etc.)
  2. Configure icon path with set_icon_base_path("path/to/icons")
  3. Set up GPUI's AssetSource (see README for complete example)

🔗 Resources

See CHANGELOG.md for full details.