v0.75.0

Textualize/textualv0.75.0Aug 1, 2024by willmcgugan

AI Summary

Adds URL opening capabilities via `App.open_url` and improves mouse event handling with new attributes and bubbling behavior.

Key Highlights

  • Added `App.open_url` to open URLs in the web browser.
  • Added `Widget.is_mouse_over` to check mouse hover status.
  • Events `Enter` and `Leave` now bubble up the DOM tree.
  • Renamed `Widget.mouse_over` to `Widget.mouse_hover`.

New Features

  • `App.open_url`
  • `Widget.is_mouse_over`
  • `node` attribute to `events.Enter` and `events.Leave`
  • `Widget.mouse_hover` (renamed from mouse_over)

Full Release Notes

https://www.youtube.com/watch?v=BgNTBgJjIRI&ab_channel=LyricsDope

## [0.75.0] - 2024-08-01

### Added

- Added `App.open_url` to open URLs in the web browser. When running via the WebDriver, the URL will be opened in the browser that is controlling the app (web side not yet live) https://github.com/Textualize/textual/pull/4819
- Added `Widget.is_mouse_over` https://github.com/Textualize/textual/pull/4818
- Added `node` attribute to `events.Enter` and `events.Leave` https://github.com/Textualize/textual/pull/4818

### Changed

- `events.Enter` and `events.Leave` events now bubble. https://github.com/Textualize/textual/pull/4818
- Renamed `Widget.mouse_over` to `Widget.mouse_hover` https://github.com/Textualize/textual/pull/4818

### Fixed

- Fixed issue with `mutate_reactive` and data binding https://github.com/Textualize/textual/pull/4828