v2.0.0
Pre-release
Pre-release
V2 Component System
CascadeUI 2.0.0 adds full support for Discord's V2 message components alongside the existing V1 system.
Highlights
- StatefulLayoutView base class for V2 views with all the same state features as StatefulView
- PersistentLayoutView for V2 views that survive bot restarts
- 4 V2 patterns: TabLayoutView, WizardLayoutView, FormLayoutView, PaginatedLayoutView
- 9 V2 helpers: card(), action_section(), toggle_section(), key_value(), alert(), divider(), gap(), image_section(), gallery()
- DevTools rebuilt as a V2 TabLayoutView with 5 tabs and self-filtering
- Interaction serialization prevents rapid-click failures
- rebuild= callback on push()/pop() for cleaner navigation patterns
- @cascade_reducer auto-deepcopy removes boilerplate from custom reducers
- 7 new V2 examples covering every pattern
- Documentation rewritten V2-first with tabbed V2/V1 content
See the full https://github.com/HollowTheSilver/CascadeUI/blob/main/CHANGELOG.md for details.
pip install pycascadeui==2.0.0
Full Changelog: v1.0.0...v2.0.0