v2.1.0
Pre-releaseThis is the final "pre-release"! v3.0.0 (April 13-15th) will feature brand new view and component patterns, new instance management convenience layers for class properties, override hooks and helpers. A complete documentation overhaul, state management consolidation, and just an overall solid foundation that extends readability, removes bloat and allows our community to truly build a long standing discord.py staple. I've spent two consecutive weeks identifying bugs, strengthening async and concurrency handling and completely restructured the directory and file layout, state store data, and so much more!
CascadeUI 2.1.0 adds multi-user access control, participant-aware sessions, and a configurable card() API.
Highlights
allowed_usersattribute for declarative control over who can interact with a viewregister_participant()/unregister_participant()for tracking non-owner users in the session index- Session limiting now applies to all participants, not just the view owner
SessionLimitErrorgainsblocked_user_idfor cog-level error handlingcard()accepts mixed strings and V2 components freely (strings auto-wrapped in TextDisplay)- Replace policy only targets views owned by the current user
- TicTacToe example: two-player V2 game with challenge flow, dynamic board size, configurable win length, mutual rematch, and participant sessions
- Removed ~14 redundant
update_from_statestubs from pattern views and examples
See the full CHANGELOG for details.
pip install pycascadeui==2.1.0
Full Changelog: v2.0.0...v2.1.0