Releases: posit-dev/py-shiny
shiny 0.4.0
New features
-
Added new fast-scrolling data table and data grid outputs. (#538)
-
Added
include_js()andinclude_css(), for easily including JS and CSS files in an application. (#127) -
Added sidebar, card, value box, and accordion methods into
shiny.experimental.ui. (#481) -
Added
fillandfillablemethods intoshiny.experimental.ui. IffillisTrue, then the UI component is allowed to expand into the parent container. IffillableisTrue, then the UI component will allow its content to expand. Bothfillon the child component andfillableon the parent component must beTruefor the child component to expand. (#481) -
Added sidebar methods into
shiny.experimental.ui.shiny.experimental.ui.layout_sidebar()does not requireui.panel_main()andui.panel_sidebar(). These two methods have been deprecated.x.ui.page_navbar(),x.ui.navset_bar(),x.navset_tab_card(), andx.navset.pill_card()addedsidebar=support. (#481) -
feat(sidebar):
ui.layout_sidebar()internally usesx.ui.layout_sidebar(), enabling filling layout features. (#568)
Bug fixes
shiny 0.3.3
New features
-
Added
shiny.experimentalas a place to put experimental features. When using Shiny's experimental features, we recommend importing them by callingimport shiny.experimental as x, so that all local function calls must start withx(e.g.x.ui.card()) to signify the method may be changed/removed without warning or future support. (#462) -
Added
penguinsexample. (#462) -
The bootstrap HTMLDependency is now created using the dev version of
{bslib}to get the latest features. (#462) -
Added
shiny.experimental.ui.input_text_area(), which supports auto-resizing height to fit the content whenautoresize=True. (#463)
Other changes
shiny.reactive.lockis now exported. (#458)
shiny 0.3.2
shiny 0.3.1
Bug fixes
- Fixed #443: Errors in streaming downloads previously resulted in a partially downloaded file; now Shiny responds with a
Transfer-Encoding: chunkedheader, which allows the browser to detect the error and abort the download. (#447)
Other changes
page_navbarnow accepts shinyswatch themes. (#455)
shiny 0.3.0
New features
- Added support for URL based HTMLDependencies.
{htmltools}(v0.1.5.9001) added support for URL based HTMLDependencies in posit-dev/py-htmltools#53. (#437)
shiny 0.2.10
New features
-
Added support for interacting with plots made with matplotlib, seaborn, and plotnine. (#392)
-
The
req()function now returns its first argument (assuming none of its arguments are falsey). This lets you perform validation on expressions as you assign, return, or pass them, without needing to introduce a separate statement just to callreq(). -
Added
Input.__contains__method, so that (for example) one could write an expression likeif "x" in inputs. (#402)
Bug fixes
-
The
widthparameters forinput_selectandinput_slidernow work properly. (Thanks, @bartverweire!) (#386) -
When
input_selectorinput_selectizewere not given an explicitselectargument, they always chose the first item, which is correct whenmultiple=False, but not whenmultiple=True. Now whenmultiple=True, the first item is no longer automatically selected. (#396)
Other changes
- Switched to new types from htmltools 0.1.5. (#416)
shiny 0.2.9
shiny 0.2.8
Bug fixes
-
panel_conditionalnow works correctly inside of Shiny modules. (Thanks, @gcaligari!) (#336) -
Fix compatibility with Uvicorn 0.19.0 (#357)
shiny 0.2.7
New features
shiny runnow takes a--launch-browserargument that causes the default web browser to be launched after the app is successfully loaded. Also, the--portargument now interprets a value of0as "listen on a random port". (#329)
Other changes
- Updated API document generation with updated paths to work with new version of Shinylive. (#331)