You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* main: (56 commits)
Add actions step for nightly reporting -> Testrail (#774)
Remove unused entry in manifest
Bump version to 0.6.0.9000
Use latest htmltools
Bump version to v0.6.0; Rearrange news to have API changes last
Tweaks from testing
Fix default width/height with implicit plot output (#792)
Update deps (#794)
Remove deprecated 'name' parameter from `Outputs` (#791)
api(ui): Drop `toggle_` methods. Consolidate update accordion methods. Stronger typing for `layout_sidebar(sidebar)` and `page_sidebar(sidebar)` (#788)
bug(sidebar): Revert sidebar icon back to chevron (#789)
For `input_action_button`, default to having whitespace around button (#758)
Remove output from template app (#775)
Add output_args and suspend_display decorators (#786)
Update value_box; Update to bootstrap 5.3; Update htmldeps (#772)
tests: add sidebar test (#787)
Seaborn plots should fill their output_plot (#785)
Kwargs to uvicorn run (#780)
Add width and height arguments to `@render.plot` (#783)
gitgnore dist/
...
@@ -10,12 +10,109 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
11
11
### New features
12
12
13
-
* Added `shiny.render.renderer_components` decorator to help create new output renderers. (#621)
13
+
### Bug fixes
14
+
15
+
### Other changes
16
+
17
+
18
+
## [0.6.0] - 2023-08-08
19
+
20
+
### Breaking Changes
21
+
*`shiny.run` only allows positional arguments for `app`, `host`, and `port`, all other arguments must be specified with keywords.
22
+
23
+
### New features
24
+
*`shiny run` now takes `reload-includes` and `reload-excludes` to allow you to define which files trigger a reload (#780).
25
+
*`shiny.run` now passes keyword arguments to `uvicorn.run` (#780).
26
+
* The `@output` decorator is no longer required for rendering functions; `@render.xxx` decorators now register themselves automatically. You can still use `@output` explicitly if you need to set specific output options (#747).
27
+
* Added support for integration with Quarto (#746).
28
+
* Added `shiny.render.renderer_components` decorator to help create new output renderers (#621).
29
+
* Added `shiny.experimental.ui.popover()`, `update_popover()`, and `toggle_popover()` for easy creation (and server-side updating) of [Bootstrap popovers](https://getbootstrap.com/docs/5.3/components/popovers/). Popovers are similar to tooltips, but are more persistent, and should primarily be used with button-like UI elements (e.g. `input_action_button()` or icons) (#680).
30
+
* Added CSS classes to UI input methods (#680) .
31
+
*`Session` objects can now accept an asynchronous (or synchronous) function for `.on_flush(fn=)`, `.on_flushed(fn=)`, and `.on_ended(fn=)` (#686).
32
+
*`App()` now allows `static_assets` to represent multiple paths. To do this, pass in a dictionary instead of a string (#763).
33
+
* The `showcase_layout` argument of `value_box()` now accepts one of three character values: `"left center"`, `"top right"`, `"bottom"`. (#772)
34
+
*`value_box()` now supports many new themes and styles, or fully customizable themes using the new `value_box_theme()` function. To reflect the new capabilities, we've replaced `theme_color` with a new `theme` argument. The previous argument will continue work as expected, but with a deprecation warning. (#772)
35
+
36
+
In addition to the Bootstrap theme names (`primary` ,`secondary`, etc.), you can now use the main Boostrap colors (`purple`, `blue`, `red`, etc.). You can also choose to apply the color to the background or foreground by prepending a `bg-` or `text-` prefix to the theme or color name. Finally, we've also added new gradient themes allowing you to pair any two color names as `bg-gradient-{from}-{to}` (e.g., `bg-gradient-purple-blue`).
37
+
38
+
These named color themes aren't limited to value boxes: because they're powered by small utility classes, you can use them anywhere within your bslib-powered UI.
39
+
40
+
* Added `shiny.ui.showcase_bottom()`, a new `shiny.ui.value_box()` layout that places the showcase below the value box `title` and `value`, perfect for a full-bleed plot. (#772)
14
41
15
42
### Bug fixes
16
43
44
+
*`shiny run` now respects the user provided `reload-dir` argument (#765).
45
+
* Fixed #646: Wrap bare value box value in `<p />` tags. (#668)
46
+
* Fixed #676: The `render.data_frame` selection feature was underdocumented and buggy (sometimes returning `None` as a row identifier if the pandas data frame's index had gaps in it). With this release, the selection is consistently a tuple of the 0-based row numbers of the selected rows--or `None` if no rows are selected. (#677)
47
+
* Added tests to verify that ui input methods, ui labels, ui update (value) methods, and ui output methods work within modules (#696).
48
+
* Adjusted the `@render.plot` input type to be `object` to allow for any object (if any) to be returned (#712).
49
+
* In `layout_column_wrap()`, when `width` is a CSS unit -- e.g. `width = "400px"` or `width = "25%"` -- and `fixed_width = FALSE`, `layout_column_wrap()` will ensure that the columns are at least `width` wide, unless the parent container is narrower than `width`. (#772)
50
+
17
51
### Other changes
18
52
53
+
*`input_action_button()` now defaults to having whitespace around it. (#758)
54
+
*`layout_sidebar()` now uses an `<aside>` element for the sidebar's container and a `<header>` element for the sidebar title. The classes of each element remain the same, but the semantic meaning of the elements is now better reflected in the HTML markup. (#772)
55
+
*`layout_sidebar()` no longer gives the sidebar main content area the `role="main"` attribute. (#772)
56
+
* Improved the style and appearance of the button to enter full screen in `card()`s and `value_box()`es to better adapt to Bootstrap's dark mode. (#772)
57
+
58
+
### API changes
59
+
60
+
* Added `shiny.ui.navset_underline()` and `shiny.ui.navset_card_underline()` whose navigation container is similar to `shiny.ui.navset_tab()` and `shiny.ui.navset_card_tab()` respectively, but its active/focused navigation links are styled with an underline. (#772)
61
+
*`shiny.ui.layout_column_wrap(width, *args)` was rearranged to `shiny.ui.layout_column_wrap(*args, width)`. Now, `width` will default to `200px` is no value is provided. (#772)
62
+
*`shiny.ui.showcase_left_center()` and `shiny.ui.showcase_top_right()` no longer take two values for the `width` argument. Instead, they now take a single value (e.g., `width = "30%"`) representing the width of the showcase are in the value box. Furthermore, they've both gained `width_full_screen` arguments that determine the width of the showcase area when the value box is expanded to fill the screen. (#772)
63
+
*`shiny.ui.panel_main()` and `shiny.ui.panel_sidebar()` are deprecated in favor of new API for `shiny.ui.layout_sidebar()`. Please use `shiny.ui.sidebar()` to construct a `sidebar=` and supply it to `shiny.ui.layout_sidebar(sidebar, *args, **kwargs)`. (#788)
64
+
*`shiny.experimental.ui.toggle_sidebar()` has been renamed to `shiny.ui.update_sidebar()`. It's `open` value now only supports `bool` values. (#788)
65
+
66
+
#### API relocations
67
+
68
+
*`shiny.ui`'s `navset_pill_card()` and `navset_tab_card()` have been renamed to `navset_card_pill()` and `navset_card_tab()` respectively (#492).
69
+
70
+
The following methods have been moved from `shiny.experimental.ui` and integrated into `shiny.ui` (final locations under `shiny.ui` are displayed) (#680):
If a ported method is called from `shiny.experimental.ui`, a deprecation warning will be displayed.
100
+
101
+
Methods still under consideration in `shiny.experimental.ui`:
102
+
*`card(wrapper=)`: A function (which returns a UI element) to call on unnamed arguments in `card(*args)` which are not already `shiny.ui.CardItem` objects.
103
+
*`card_body()`: A container for grouping related UI elements together
104
+
*`card_image()`: A general container for an image within a `shiny.ui.card`.
105
+
*`card_title()`: A general container for the "title" of a `shiny.ui.card`.
106
+
107
+
#### API removals
108
+
109
+
*`shiny.experimental.ui.FillingLayout` has been removed. (#481)
110
+
*`shiny.experimental.ui.toggle_switch()` has been made defunct. Please remove it from your code and use `shiny.ui.update_switch()` instead. (#772)
111
+
*`shiny.experimental.ui.as_width_unit()` has been made defunct. Please remove it from your code. (#772)
112
+
*`shiny.experimental.ui`' `as_fill_carrier()`, `is_fill_carrier()`, `is_fillable_container()`, and `is_fill_item()` have been made defunct. Remove them from your code. (#680, #788)
113
+
* Support for `min_height=`, `max_height=`, and `gap=` in `shiny.experimental.ui.as_fillable_container()` and `as_fill_item()` has been removed. (#481)
114
+
*`shiny.experimental.ui.TagCallable` has been made defunct. Please use its type is equivalent to `htmltools.TagFunction`. (#680)
115
+
19
116
20
117
## [0.5.1] - 2023-08-08
21
118
@@ -166,35 +263,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
166
263
167
264
### New features
168
265
169
-
* Closed [#312](https://github.com/rstudio/py-shiny/issues/312): Matplotlib plots in a `@render.plot` can now use the global figure, instead of returning a `figure` object. ([#314](https://github.com/rstudio/py-shiny/pull/314))
266
+
* Closed [#312](https://github.com/posit-dev/py-shiny/issues/312): Matplotlib plots in a `@render.plot` can now use the global figure, instead of returning a `figure` object. ([#314](https://github.com/posit-dev/py-shiny/pull/314))
170
267
171
-
* Disabled `shiny static` command, in favor of `shinylive export` from the shinylive package. ([#326](https://github.com/rstudio/py-shiny/pull/326))
268
+
* Disabled `shiny static` command, in favor of `shinylive export` from the shinylive package. ([#326](https://github.com/posit-dev/py-shiny/pull/326))
172
269
173
270
174
271
## [0.2.5] - 2022-08-12
175
272
176
273
### New features
177
274
178
-
* Closed [#269](https://github.com/rstudio/py-shiny/issues/269): The UI for a `shiny.App` object can now be provided as a function. ([#299](https://github.com/rstudio/py-shiny/pull/299))
179
-
* When a Shinylive deployment is made with `shiny static`, it the deployment code is now delegated to Shinylive. ([#310](https://github.com/rstudio/py-shiny/pull/310))
275
+
* Closed [#269](https://github.com/posit-dev/py-shiny/issues/269): The UI for a `shiny.App` object can now be provided as a function. ([#299](https://github.com/posit-dev/py-shiny/pull/299))
276
+
* When a Shinylive deployment is made with `shiny static`, it the deployment code is now delegated to Shinylive. ([#310](https://github.com/posit-dev/py-shiny/pull/310))
180
277
181
278
### Bug fixes
182
279
183
-
* Fixed [#279](https://github.com/rstudio/py-shiny/issues/279): When a Shiny application is mounted to a Starlette route, reactivity did not work. ([#294](https://github.com/rstudio/py-shiny/pull/294))
184
-
* Fixed [#290](https://github.com/rstudio/py-shiny/issues/290): `@render.plot` now works as intended inside `@module.server`. ([#292](https://github.com/rstudio/py-shiny/pull/292))
185
-
* Fixed [#289](https://github.com/rstudio/py-shiny/issues/289): `input_selectize()` now resolves the input id before using for other id-like attributes ([#291](https://github.com/rstudio/py-shiny/pull/291))
280
+
* Fixed [#279](https://github.com/posit-dev/py-shiny/issues/279): When a Shiny application is mounted to a Starlette route, reactivity did not work. ([#294](https://github.com/posit-dev/py-shiny/pull/294))
281
+
* Fixed [#290](https://github.com/posit-dev/py-shiny/issues/290): `@render.plot` now works as intended inside `@module.server`. ([#292](https://github.com/posit-dev/py-shiny/pull/292))
282
+
* Fixed [#289](https://github.com/posit-dev/py-shiny/issues/289): `input_selectize()` now resolves the input id before using for other id-like attributes ([#291](https://github.com/posit-dev/py-shiny/pull/291))
186
283
187
284
## [0.2.4] - 2022-08-01
188
285
189
286
### Bug fixes
190
287
191
-
* Fixed [#287](https://github.com/rstudio/py-shiny/issues/287): Running `shiny static` on Windows failed with `PermissionError`. ([#288](https://github.com/rstudio/py-shiny/pull/288))
288
+
* Fixed [#287](https://github.com/posit-dev/py-shiny/issues/287): Running `shiny static` on Windows failed with `PermissionError`. ([#288](https://github.com/posit-dev/py-shiny/pull/288))
192
289
193
290
## [0.2.3] - 2022-07-28
194
291
195
292
### Bug fixes
196
293
197
-
* Fixed [#281](https://github.com/rstudio/py-shiny/issues/281): Directory creation for Shinylive assets could fail if the parent directory did not exist. ([#283](https://github.com/rstudio/py-shiny/pull/283))
294
+
* Fixed [#281](https://github.com/posit-dev/py-shiny/issues/281): Directory creation for Shinylive assets could fail if the parent directory did not exist. ([#283](https://github.com/posit-dev/py-shiny/pull/283))
0 commit comments