diff --git a/BREAKING-CHANGES.md b/BREAKING-CHANGES.md index 01716567..08f73190 100644 --- a/BREAKING-CHANGES.md +++ b/BREAKING-CHANGES.md @@ -12,6 +12,7 @@ This is a quick summary of the sections below: - [v0.26.0 (unreleased)](#v0260-unreleased) - `Line` now has an extra `style` field which applies the style to the entire line + - `Block` style methods cannot be created in a const context - [v0.25.0](#v0250) - Removed `Axis::title_style` and `Buffer::set_background` - `List::new()` now accepts `IntoIterator>>` @@ -43,6 +44,14 @@ This is a quick summary of the sections below: ## v0.26.0 (unreleased) +### `Block` style methods cannot be used in a const context ([#720]) + +[#720]: https://github.com/ratatui-org/ratatui/pull/720 + +Previously the `style()`, `border_style()` and `title_style()` methods could be used to create a +`Block` in a constant context. These now accept `Into