The best decade release
This is a large release!
The feature I am most excited about is the new MaskedInput widget, a contribution by Angelo Mottola. Here's a quick preview:
Screen.Recording.2024-09-23.at.15.33.49.mov
Here's the full release notes...
[0.80.0] - 2024-09-23
Added
- Added
MaskedInputwidget #4783 - Input validation for floats and integers accept embedded underscores, e.g., "1_234_567" is valid. #4784
- Support for
"none"value added todock,hatchandsplitstyles #4982 - Support for
"none"added to box and border style properties (e.gwidget.style.border = "none") #4982 - Docstrings added to most style properties #4982
- Added
ansi_colorswitch to App to permit ANSI (themed) colors #5000 - Added
:ansipseudo class #5000 - Added
-ansi-scrollbarstyle to widgets #5000 - Added
App.INLINE_PADDINGto define the number of spaces above inline apps #5000 - Added
nocolorpsuedoclass when NO_COLOR env var is set BINDING_GROUP_TITLEnow defaults toNone#5023- Added
TreeNode.siblings,TreeNode.next_sibling,TreeNode.previous_sibling,TreeNode.is_collapsed#5023 - Added additional bindings to Tree widget #5023
- Added
Tree.center_scroll#5023 - Added
Tree.unselect#5023
Changed
- Input validation for integers no longer accepts scientific notation like '1.5e2'; must be castable to int. #4784
- Default
scrollbar-size-verticalchanged to2in inline styles to match Widget default CSS (unlikely to affect users) #4982 - Removed border-right from
Toast#4984 - Some fixes in
RichLogresult in slightly different semantics, see docstrings for details #4978 - Changed how scrollbars are rendered (will have no visual effect, but will break snapshot tests) #5000
- Added
enabledswitch to filters (mostly used internally) #5000 BINDING_GROUP_TITLEnow defaults toNone#5023- Breaking change: Changed how scrollbars are rendered so they work in ansi mode (will break snapshots) #5023
Fixed
- Input validation of floats no longer accepts NaN (not a number). #4784
- Fixed issues with screenshots by simplifying segments only for snapshot tests #4929
- Fixed
RichLog.writenot respectingwidthparameter #4978 - Fixed
RichLogwriting at wrong width whenwriteoccurs before width is known (e.g. incomposeoron_mount) #4978 - Fixed
RichLog.writeincorrectly shrinking width toRichLog.min_widthwhenshrink=True(now shrinks to fit content area instead) #4978 - Fixed flicker when setting
darkreactive on startup #4989 - Fixed command palette not sorting search results by their match score #4994
- Fixed
DataTablecached height issue on re-populating the table when using auto-height rows #4992 - Fixed inline app output being cleared when
inline_no_clear=True#5019