Skip to content

Releases: posit-dev/py-shiny

shiny 0.3.1

19 Apr 01:57
@wch wch
Compare
Choose a tag to compare

Bug fixes

  • Fixed #443: Errors in streaming downloads previously resulted in a partially downloaded file; now Shiny responds with a Transfer-Encoding: chunked header, which allows the browser to detect the error and abort the download. (#447)

Other changes

  • page_navbar now accepts shinyswatch themes. (#455)

shiny 0.3.0

03 Apr 22:05
@wch wch
Compare
Choose a tag to compare

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

11 Mar 18:50
@wch wch
Compare
Choose a tag to compare

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 call req().

  • Added Input.__contains__ method, so that (for example) one could write an expression like if "x" in inputs. (#402)

Bug fixes

  • The width parameters for input_select and input_slider now work properly. (Thanks, @bartverweire!) (#386)

  • When input_select or input_selectize were not given an explicit select argument, they always chose the first item, which is correct when multiple=False, but not when multiple=True. Now when multiple=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

03 Nov 18:09
@wch wch
Compare
Choose a tag to compare

Bug fixes

  • Closed #240, #330: Fixed live examples with additional files. (#340)

  • Fixed shiny run handling on Windows of absolute paths with drive letter, as in shiny run c:/myapp/app.py. (#370)

shiny 0.2.8

20 Oct 22:35
7d651c7
Compare
Choose a tag to compare

Bug fixes

  • panel_conditional now works correctly inside of Shiny modules. (Thanks, @gcaligari!) (#336)

  • Fix compatibility with Uvicorn 0.19.0 (#357)

shiny 0.2.7

27 Sep 20:33
80b3b67
Compare
Choose a tag to compare

New features

  • shiny run now takes a --launch-browser argument that causes the default web browser to be launched after the app is successfully loaded. Also, the --port argument now interprets a value of 0 as "listen on a random port". (#329)

Other changes

  • Updated API document generation with updated paths to work with new version of Shinylive. (#331)

shiny 0.2.6

02 Sep 19:44
@wch wch
Compare
Choose a tag to compare

New features

  • Closed #312: Matplotlib plots in a @render.plot can now use the global figure, instead of returning a figure object. (#314)

  • Disabled shiny static command, in favor of shinylive export from the shinylive package. (#326)

shiny 0.2.5

13 Aug 00:31
@wch wch
Compare
Choose a tag to compare

New features

  • Closed #269: The UI for a shiny.App object can now be provided as a function. (#299)
  • When a Shinylive deployment is made with shiny static, it the deployment code is now delegated to Shinylive. (#310)

Bug fixes

  • Fixed #279: When a Shiny application is mounted to a Starlette route, reactivity did not work. (#294)
  • Fixed #290: @render.plot now works as intended inside @module.server. (#292)
  • Fixed #289: input_selectize() now resolves the input id before using for other id-like attributes (#291)

shiny 0.2.4

01 Aug 15:42
@wch wch
Compare
Choose a tag to compare
  • Fixed #287: Running shiny static on Windows failed with PermissionError. (#288)

shiny 0.2.3

28 Jul 22:26
@wch wch
Compare
Choose a tag to compare

Bug fixes:

  • Fixed #281: Directory creation for Shinylive assets could fail if the parent directory did not exist. (#283)