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: (76 commits)
Add shiny/templates to MANIFEST.in files (#926)
docs: Function Reference Proofreads (#919)
Fix failing deploy tests (#925)
Add GitHub sources to shiny create
Make changelog styling more consistent
Function reference edits (#857)
docs: Use definition lists for parameter descriptions to enable full markdown support (#901)
docs(layout_columns): Add example app (#903)
fix(layout_columns): Remove use of enum for breakpoints (#912)
Express: don't automatically put strings in a `<pre>` block (#905)
Deprecate `nav()` in favor of `nav_panel()` (#876)
chore: Remove unused import
refactor(layout_column_wrap): Use helper for wrapping children (#910)
fix(layout_columns): Don't apply fillable class to layout container (#909)
Add output to React template (#908)
fix(layout_columns): Add missing `bslib-mb-spacing` class (#906)
Custom component template updates (#874)
fix(layout_columns): If the breakpoint name is an enum, need to collect the value (#902)
chore: exclude `_dev/` folder (#897)
feat: Add `ui.layout_columns()` (#856)
...
Copy file name to clipboardExpand all lines: CHANGELOG.md
+36-16Lines changed: 36 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## [UNRELEASED]
10
10
11
+
### New features
12
+
13
+
*`shiny create` now allows you to select from a list of template apps.
14
+
*`shiny create` provides templates which help you build your own custom JavaScript components.
15
+
* Closed #814: The functions `reactive.Calc` and `reactive.Effect` have been changed to have lowercase names: `reactive.calc`, and `reactive.effect`. The old capitalized names are now aliases to the new lowercase names, so existing code will continue to work. Similarly, the class `reactive.Value` has a new alias, `reactive.value`, but in this case, since the original was a class, it keeps the original capitalized name as the primary name. The examples have not been changed yet, but will be changed in a future release. (#822)
16
+
* Added `ui.layout_columns()` for creating responsive column-forward layouts based on Bootstrap's 12-column CSS Grid. (#856)
17
+
18
+
### Bug fixes
19
+
20
+
* Fix support for `shiny.ui.accordion(multiple=)` (#799).
21
+
22
+
### Other changes
23
+
24
+
* Closed #492: `shiny.ui.nav()` is now deprecated in favor of the more aptly named `shiny.ui.nav_panel()` (#876).
25
+
* Update penguins example to credit Allison Horst and drop usage of `shiny.experimental` (#798).
26
+
*`as_fillable_container()` and `as_fill_item()` no longer mutate the `Tag` object that was passed in. Instead, it returns a new `Tag` object. Also closed #856: these functions now put the `html-fill-container` and `html-fill-item` CSS classes last, instead of first. (#862)
27
+
28
+
29
+
## [0.6.0] - 2023-10-30
30
+
11
31
### Breaking Changes
12
32
*`shiny.run` only allows positional arguments for `app`, `host`, and `port`, all other arguments must be specified with keywords.
13
33
@@ -30,6 +50,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
30
50
31
51
* 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)
32
52
53
+
### Bug fixes
54
+
55
+
*`shiny run` now respects the user provided `reload-dir` argument (#765).
56
+
* Fixed #646: Wrap bare value box value in `<p />` tags. (#668)
57
+
* 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)
58
+
* Added tests to verify that ui input methods, ui labels, ui update (value) methods, and ui output methods work within modules (#696).
59
+
* Adjusted the `@render.plot` input type to be `object` to allow for any object (if any) to be returned (#712).
60
+
* 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)
61
+
62
+
### Other changes
63
+
64
+
*`input_action_button()` now defaults to having whitespace around it. (#758)
65
+
*`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)
66
+
*`layout_sidebar()` no longer gives the sidebar main content area the `role="main"` attribute. (#772)
67
+
* 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)
68
+
33
69
### API changes
34
70
35
71
* 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)
@@ -88,22 +124,6 @@ Methods still under consideration in `shiny.experimental.ui`:
88
124
* Support for `min_height=`, `max_height=`, and `gap=` in `shiny.experimental.ui.as_fillable_container()` and `as_fill_item()` has been removed. (#481)
89
125
*`shiny.experimental.ui.TagCallable` has been made defunct. Please use its type is equivalent to `htmltools.TagFunction`. (#680)
90
126
91
-
### Bug fixes
92
-
93
-
*`shiny run` now respects the user provided `reload-dir` argument (#765).
94
-
* Fixed #646: Wrap bare value box value in `<p />` tags. (#668)
95
-
* 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)
96
-
* Added tests to verify that ui input methods, ui labels, ui update (value) methods, and ui output methods work within modules (#696).
97
-
* Adjusted the `@render.plot` input type to be `object` to allow for any object (if any) to be returned (#712).
98
-
* 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)
99
-
100
-
### Other changes
101
-
102
-
*`input_action_button()` now defaults to having whitespace around it. (#758)
103
-
*`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)
104
-
*`layout_sidebar()` no longer gives the sidebar main content area the `role="main"` attribute. (#772)
105
-
* 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)
Copy file name to clipboardExpand all lines: Makefile
+21-12Lines changed: 21 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
.PHONY: help clean clean-test clean-pyc clean-build help lint test e2e e2e-examples
1
+
.PHONY: help clean clean-test clean-pyc clean-build help lint test playwright-shiny playwright-examples playwright-deploys install-trcli install-playwright
2
2
.DEFAULT_GOAL := help
3
3
4
4
defineBROWSER_PYSCRIPT
@@ -83,25 +83,34 @@ test: ## run tests quickly with the default Python
83
83
python3 tests/pytest/asyncio_prevent.py
84
84
pytest
85
85
86
-
# Default `FILE` to `e2e` if not specified
87
-
FILE:=tests/e2e
86
+
# Default `SUB_FILE` to empty
87
+
SUB_FILE:=
88
88
89
-
DEPLOYS_FILE:=tests/deploys
89
+
DEPLOYS_FILE:=tests/playwright/deploys
90
90
91
-
playwright-install:
91
+
install-playwright:
92
92
playwright install --with-deps
93
93
94
-
e2e: playwright-install## end-to-end tests with playwright
95
-
pytest $(FILE) -m "not examples and not integrationtest"
94
+
install-trcli:
95
+
which trcli || pip install trcli
96
96
97
-
e2e-examples: playwright-install ## end-to-end tests on examples with playwright
98
-
pytest $(FILE) -m "examples"
97
+
install-rsconnect: ## install the main version of rsconnect till pypi version supports shiny express
0 commit comments