github beeware/toga v0.5.1
0.5.1

latest release: v0.5.2
3 months ago

Features

  • The WebView widget now supports specifying static content on instantiation. (#2851)
  • The content of a WebView can now be assigned using the content property, without providing a root URL for the content. (#2854)
  • Application of style properties has been streamlined to reduce redundant font creation and widget-refreshing. (#3273)
  • The Canvas example app's UI controls have been reorganized and more clearly labeled. (#3321)
  • The Web backend now supports the DateInput, ScrollContainer and TimeInput widgets. (#3334)

Bugfixes

  • The asyncio event loop used on Winforms now shuts down correctly, ensuring there are no dangling resources on application exit. (#3266)
  • Changing a widget's text_direction now triggers a layout refresh, since it can affect child positioning. (#3268)
  • Table rows are now highlighted on Winforms when the widget doesn't have focus. (#3269)
  • Support for GTK3 installs that use a GIO release older than 2.72 has been restored. Ubuntu 22.04, and other Debian 12-derived systems are affected by this issue. (#3296)
  • Some errors observed on the Web backend during app startup have been resolved. (#3301)
  • An incompatibility with Textual 3.0 that caused log messages to be generated on the console on app exit has been resolved. (#3342)
  • Window visibility and focus events in the web backend no longer raise errors when the browser window loses focus (#3345)
  • A crash caused by the name argument added to asynchronous tasks in Python 3.13.3 has been corrected. (#3394)
  • The type annotation for directional style properties (margin, and the deprecated padding alias) has been corrected. (#3396)

Backward Incompatible Changes

  • Supplying multiple arguments to BaseStyle.apply() (and therefore Pack.apply()) has been deprecated. If you want to apply multiple arguments at once, apply them within the with style_object.batch_apply() context manager. (#3273)
  • The anticlockwise parameter to the Canvas drawing context's arc and ellipse methods (and the Arc and Ellipse drawing objects) has been deprecated; use counterclockwise instead. (#3300)

Misc

Don't miss a new toga release

NewReleases is sending notifications on new releases.