github posit-dev/py-shiny v0.10.0
Shiny 0.10.0

latest releases: v0.10.2, v0.10.1
one month ago

Deprecations

  • Restored @render.data_frame's (prematurely removed in v0.9.0) input value input.<ID>_selected_rows(). Please use <ID>.cell_selection()["rows"] and consider input.<ID>_selected_rows() deprecated. (#1345, #1377)

  • @render.data_frame's method .input_cell_selection() has been renamed to .cell_selection(). Please use .cell_selection() and consider .input_cell_selection() deprecated. (#1407)

  • @render.data_frame's input value input.<ID>_data_view_indices has been renamed to input.<ID>_data_view_rows for consistent naming. Please use input.<ID>_data_view_rows and consider input.<ID>_data_view_indices deprecated. (#1377)

New features

  • Added busy indicators to provide users with a visual cue when the server is busy calculating outputs or otherwise serving requests to the client. More specifically, a spinner is shown on each calculating/recalculating output, and a pulsing banner is shown at the top of the page when the app is otherwise busy. Use the new ui.busy_indicator.options() function to customize the appearance of the busy indicators and ui.busy_indicator.use() to disable/enable them. (#918)

  • Added support for creating modules using Shiny Express syntax, and using modules in Shiny Express apps. (#1220)

  • ui.page_*() functions gain a theme argument that allows you to replace the Bootstrap CSS file with a new CSS file. theme can be a local CSS file, a URL, or a shinyswatch theme. In Shiny Express apps, theme can be set via express.ui.page_opts(). (#1334)

Bug fixes

  • Fixed an issue that prevented Shiny from serving the font.css file referenced in Shiny's Bootstrap CSS file. (#1342)

  • Removed temporary state where a data frame renderer would try to subset to selected rows that did not exist. (#1351, #1377)

  • Fix an issue in the data frame output which caused the table to freeze when filters removed previously selected cells. (#1412)

Other changes

  • Session is now an abstract base class, and AppSession is a concrete subclass of it. Also, ExpressMockSession has been renamed ExpressStubSession and is a concrete subclass of Session. (#1331)

  • The Session class now has a method is_stub_session(). For ExpressStubSession, this method returns True for , and AppSession objects it returns False. (#1331)

  • Closed #1293: The error console would display error messages if an app was disconnected and the user changed an input. (#1339)

  • Fixed an issue where some CSS files were larger than necessary because they had source maps embedded in them. (#1339)

Don't miss a new py-shiny release

NewReleases is sending notifications on new releases.