v0.71.1
Textualize/textualv0.71.1Jun 29, 2024by willmcgugan
AI Summary
Includes stability fixes and a significant change to SVG snapshot normalization. The release also modifies the return types of `App.push_screen` and `Screen.dismiss`.
Key Highlights
- SVG snapshots are now normalized to reduce visual breakages.
- Fixed grid and keyline issues with auto dimensions.
- Fixed mouse code leakage and markdown link clicks.
Breaking Changes
- `App.push_screen` now returns an `Awaitable` rather than a screen.
- `Screen.dismiss` now returns an `Awaitable` rather than a bool.
New Features
- SVG normalization
- Grid and keyline fixes
- Mouse code leakage fix
- Markdown link click fix
Full Release Notes
Mostly fixes and stability related changes, see below. Note, there is a change to the SVG snapshots. The SVGs are now "normalized" to reduce the chances that they will break due to non-visual changes. Unfortunately this does mean that your snapshots will break with this release, but the upside is they will break less often in the future! ## [0.71.0] - 2024-06-29 ### Changed - Snapshot tests will normalize SVG output so that changes with no visual impact don't break snapshots, but this release will break most of them. - Breaking change: `App.push_screen` now returns an Awaitable rather than a screen. https://github.com/Textualize/textual/pull/4672 - Breaking change: `Screen.dismiss` now returns an Awaitable rather than a bool. https://github.com/Textualize/textual/pull/4672 ### Fixed - Fixed grid + keyline when the grid has auto dimensions https://github.com/Textualize/textual/pull/4680 - Fixed mouse code leakage https://github.com/Textualize/textual/pull/4681 - Fixed link inside markdown table not posting a `Markdown.LinkClicked` message https://github.com/Textualize/textual/issues/4683 - Fixed issue with mouse movements on non-active screen https://github.com/Textualize/textual/pull/4688