update changelog

This commit is contained in:
Aran-Fey
2024-05-28 19:34:08 +02:00
parent eb1cd97de1
commit 93354c60f3
2 changed files with 17 additions and 15 deletions
+15 -12
View File
@@ -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"
+2 -3
View File
@@ -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):