All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Dropped support for mounting "named" and "anonymous" widgets via
App.mount
andWidget.mount
. Both methods now simply take one or more widgets as positional arguments. DOMNode.query_one
now raises aTooManyMatches
exception if there is more than one matching node. Textualize#1096
- Added
init
param to reactive.watch CSS_PATH
can now be a list of CSS files Textualize#1079- Added
DOMQuery.only_one
Textualize#1096
0.3.0 - 2022-10-31
- Fixed issue where scrollbars weren't being unmounted
- Fixed fr units for horizontal and vertical layouts Textualize#1067
- Fixed
textual run
breaking sys.argv Textualize#1064 - Fixed footer not updating styles when toggling dark mode
- Fixed how the app title in a
Header
is centred Textualize#1060 - Fixed the swapping of button variants Textualize#1048
- Fixed reserved characters in screenshots Textualize#993
- Fixed issue with TextLog max_lines Textualize#1058
- DOMQuery now raises InvalidQueryFormat in response to invalid query strings, rather than cryptic CSS error
- Dropped quit_after, screenshot, and screenshot_title from App.run, which can all be done via auto_pilot
- Widgets are now closed in reversed DOM order
- Input widget justify hardcoded to left to prevent text-align interference
- Changed
textual run
so that it patchesargv
in more situations - DOM classes and IDs are now always treated fully case-sensitive Textualize#1047
- Added Unmount event
- Added App.run_async method
- Added App.run_test context manager
- Added auto_pilot to App.run and App.run_async
- Added Widget._get_virtual_dom to get scrollbars
- Added size parameter to run and run_async
- Added always_update to reactive
- Returned an awaitable from push_screen, switch_screen, and install_screen Textualize#1061
0.2.1 - 2022-10-23
- Updated meta data for PyPI
0.2.0 - 2022-10-23
- CSS support
- Too numerous to mention
0.1.18 - 2022-04-30
- Bump typing extensions
0.1.17 - 2022-03-10
- Bumped Rich dependency
0.1.16 - 2022-03-10
- Fixed escape key hanging on Windows
0.1.15 - 2022-01-31
- Added Windows Driver
0.1.14 - 2022-01-09
- Updated Rich dependency to 11.X
0.1.13 - 2022-01-01
- Fixed spurious characters when exiting app
- Fixed increasing delay when exiting
0.1.12 - 2021-09-20
- Added geometry.Spacing
- Fixed calculation of virtual size in scroll views
0.1.11 - 2021-09-12
- Changed message handlers to use prefix handle_
- Renamed messages to drop the Message suffix
- Events now bubble by default
- Refactor of layout
- Added App.measure
- Added auto_width to Vertical Layout, WindowView, an ScrollView
- Added big_table.py example
- Added easing.py example
0.1.10 - 2021-08-25
- Added keyboard control of tree control
- Added Widget.gutter to calculate space between renderable and outside edge
- Added margin, padding, and border attributes to Widget
- Callbacks may be async or non-async.
- Event handler event argument is optional.
- Fixed exception in clock example Textualize#52
- Added Message.wait() which waits for a message to be processed
- Key events are now sent to widgets first, before processing bindings
0.1.9 - 2021-08-06
- Added hover over and mouse click to activate keys in footer
- Added verbosity argument to Widget.log
- Simplified events. Remove Startup event (use Mount)
- Changed geometry.Point to geometry.Offset and geometry.Dimensions to geometry.Size
0.1.8 - 2021-07-17
- Fixed exiting mouse mode
- Fixed slow animation
- New log system
0.1.7 - 2021-07-14
- Added functionality to calculator example.
- Scrollview now shows scrollbars automatically
- New handler system for messages that doesn't require inheritance
- Improved traceback handling