populate changelog

This commit is contained in:
Aran-Fey
2025-10-11 14:27:48 +02:00
parent 046b2c4a67
commit 592657514e
2 changed files with 34 additions and 1 deletions
+27 -1
View File
@@ -2,18 +2,44 @@
## unreleased
Changes:
- Components that depend on session attributes (like `active_page_url`) or
session attachments are now automatically rebuilt when those values change
- Components are now rebuilt immediately after a state change, not just after
event handlers
- `TextStyle` no longer has default values, omitted values are left unchanged
instead
Deprecations:
- The `CursorStyle` enum is deprecated in favor of string literals
Bugfixes:
- Fix `rio.Revealer` not stretching its child
- Fix various components propagating click events
Additions:
- `NumberInput` can now evaluate math expressions
- `PointerEventListener` can now listen to only specific button events
- `KeyEventListener` can now listen to only specifc hotkeys
- `Calendar` now has a `is_sensitive` parameter
- New component: `rio.PdfViewer`
- The `CursorStyle` enum is deprecated in favor of string literals
- `rio.Image` now has a loading animation
- Added `accessibility_role` parameter to all components
- Added 'accessibility_relationship' parameter to `Link` component
- Added `auto_focus` parameter to input components
- Added `Session.pick_folder`
- Added `Font.from_google_fonts` and `Font.from_css_file`
- Added `rio.HttpOnly`
- Added `text_style` parameter to `rio.TextInput`
- Experimental additions:
- `rio.List`
- `rio.Dict`
- `rio.Set`
- `rio.Dataclass`
## 0.11
+7
View File
@@ -398,5 +398,12 @@ OnResizeMethodVar = t.TypeVar(
def on_resize(handler: OnResizeMethodVar) -> OnResizeMethodVar:
"""
Triggered whenever the component's size changes.
## Metadata
`decorator`: True
"""
_tag_as_event_handler(handler, EventTag.ON_RESIZE, None)
return handler