From 93354c60f3276cbc75b1c472c04cfdbc698583be Mon Sep 17 00:00:00 2001 From: Aran-Fey Date: Tue, 28 May 2024 19:34:08 +0200 Subject: [PATCH] update changelog --- changelog.md | 27 +++++++++++++++------------ rio/deprecations.py | 5 ++--- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/changelog.md b/changelog.md index 7b96aa20..6169be17 100644 --- a/changelog.md +++ b/changelog.md @@ -1,20 +1,23 @@ # Changelog -- Buttons now have a smaller minimum size when using a `rio.Component` as - content +- Buttons now have a smaller minimum size when using a `rio.Component` as + content +- `FrostedGlassFill` added +- `rio.Fill` deprecated. Most components only support specific fills, so this + base class has no purpose any more ## 0.8 -- Rectangles now honor the theme's shadow color -- Renamed `Banner.markup` to `Banner.markdown` -- Removed the "multiline" style from Banners -- Removed `Button.initially_disabled_for` -- Added a `text_color` parameter to `Theme.from_colors` and `Theme.pair_from_colors` -- `rio run` now checks that the installed version of Rio is up-to-date +- Rectangles now honor the theme's shadow color +- Renamed `Banner.markup` to `Banner.markdown` +- Removed the "multiline" style from Banners +- Removed `Button.initially_disabled_for` +- Added a `text_color` parameter to `Theme.from_colors` and `Theme.pair_from_colors` +- `rio run` now checks that the installed version of Rio is up-to-date ## 0.7 -- New example: multi-page website -- New component: CodeBlock -- UserSettings can now have mutable default values -- Removed "undefined space" +- New example: multi-page website +- New component: CodeBlock +- UserSettings can now have mutable default values +- Removed "undefined space" diff --git a/rio/deprecations.py b/rio/deprecations.py index 8821c1af..adfd85b0 100644 --- a/rio/deprecations.py +++ b/rio/deprecations.py @@ -4,7 +4,6 @@ from typing import * from .components import component as component_meta - __all__ = ["deprecated", "parameters_renamed", "_remap_kwargs"] @@ -22,8 +21,8 @@ def deprecated(*, since: str, description: str): def parameters_renamed(old_names_to_new_names: Mapping[str, str]): """ - Class/Function decorator that allows it to be called with the old name of - the given parameter. For example: + Class/Function decorator that allows it to be called with the old names of + the given parameters. For example: @parameters_renamed({'foo': 'bar'}) def example_func(bar: int):