Features
- The typing for Toga's API surface was updated to be more precise. (#2252)
- APIs were added for replacing a widget in an existing layout, and for obtaining the index of a widget in a list of children. (#2301)
- The content of a window can now be set when the window is constructed. (#2307)
- Size and position properties now return values as a
Size
andPosition
namedtuple
, respectively.namedtuple
objects support addition and subtraction operations. Basic tuples can still be used to set these properties. (#2388) - Android deployments no longer require the SwipeRefreshLayout component unless the app uses the Toga DetailedList widget. (#2454)
Bugfixes
- Invocation order of TextInput on_change and validation is now correct. (#2325)
- Dialog windows are now properly modal when using the GTK backend. (#2446)
- The Button testbed tests can accommodate minor rendering differences on Fedora 40. (#2583)
- On macOS, apps will now raise a warning if camera permissions have been requested, but those permissions have not been declared as part of the application metadata. (#2589)
Documentation
- The instructions for adding a change note to a pull request have been clarified. (#2565)
- The minimum supported Linux release requirements were updated to Ubuntu 20.04 or Fedora 32. (#2566)
- The first-time contributor README link has been updated. (#2588)
- Typos in the usage examples of
toga.MapPin
were corrected. (#2617)