New features
session.destroy()now accepts an optional moduleid. The parent that inserted a module's UI under anidcan tear down that module's scope withsession.destroy(id), without the module having to hand back a cleanup handle. (#2264)- Added the
britetheme preset, available wherever Shiny theme presets are accepted (e.g.ui.Theme()andui.page_*(theme=)). (#2246)
Bug fixes
- Fixed output resize/visibility detection for nested HTML outputs. The
IntersectionObservernow observes the nearest non-shiny-html-outputancestor, so the native-observer pipeline introduced in 1.6.1 works correctly when outputs are nested inside other dynamic UI. (#2246) - Fixed
ui.input_submit_textarea()failing inside module namespaces. The internal submit button's ID was built from the already-resolved (namespaced) textarea ID, causing a double-namespace wheninput_task_buttonresolved it again. (#2262)
Full Changelog: https://github.com/posit-dev/py-shiny/blob/v1.6.3/CHANGELOG.md