From eb15ac981d09ae0b267d61ddd420f673444a1812 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 9 Jan 2026 12:16:17 +0000 Subject: [PATCH 1/4] version bump --- CHANGELOG.md | 7 +++++++ pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8936b648f..88ea6630c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [7.0.2] -2026-02-09 + +### Fixed + +- Removed superfluous style udpates when setting `display` attribute. + ## [7.0.1] - 2026-01-07 ### Added @@ -3278,6 +3284,7 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040 - New handler system for messages that doesn't require inheritance - Improved traceback handling +[7.0.2]: https://github.com/Textualize/textual/compare/v7.0.1...v7.0.2 [7.0.1]: https://github.com/Textualize/textual/compare/v7.0.0...v7.0.1 [7.0.0]: https://github.com/Textualize/textual/compare/v6.11.0...v7.0.0 [6.11.0]: https://github.com/Textualize/textual/compare/v6.10.0...v6.11.0 diff --git a/pyproject.toml b/pyproject.toml index 9f140490c5..17206a8953 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "textual" -version = "7.0.1" +version = "7.0.2" homepage = "https://github.com/Textualize/textual" repository = "https://github.com/Textualize/textual" documentation = "https://textual.textualize.io/" From a5d8e1ced7195d8384f395b448df5a3531c70a46 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 9 Jan 2026 12:17:24 +0000 Subject: [PATCH 2/4] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88ea6630c1..517289f144 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed -- Removed superfluous style udpates when setting `display` attribute. +- Removed superfluous style udpates when setting `display` attribute. https://github.com/Textualize/textual/pull/6316 ## [7.0.1] - 2026-01-07 From acc23e2858a65b40cae91c9e980a580b81d24ca0 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 9 Jan 2026 12:18:42 +0000 Subject: [PATCH 3/4] actual fix --- src/textual/css/_style_properties.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/textual/css/_style_properties.py b/src/textual/css/_style_properties.py index 7f63cf152b..40cb8a7370 100644 --- a/src/textual/css/_style_properties.py +++ b/src/textual/css/_style_properties.py @@ -867,7 +867,6 @@ def __set__(self, obj: StylesBase, value: EnumType | None = None): node = obj.node if node.parent: node._nodes.updated() - node.parent._refresh_styles() self._before_refresh(obj, value) obj.refresh( From 7f261c5fcaa814b4355df4ea4fb4bacc1d6b4f18 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 9 Jan 2026 12:22:18 +0000 Subject: [PATCH 4/4] fix date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 517289f144..bff69d77ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [7.0.2] -2026-02-09 +## [7.0.2] -2026-01-09 ### Fixed