|
1 | | -# shiny (development version) |
| 1 | +# shiny 1.14.0 |
2 | 2 |
|
3 | 3 | ## New features |
4 | 4 |
|
| 5 | +* New `startApp()` runs a Shiny app in non-blocking mode, returning a |
| 6 | + `ShinyAppHandle` object with `stop()`, `status()`, `url()`, and `result()` |
| 7 | + methods. When a new app is started, any previously running non-blocking app |
| 8 | + is automatically stopped. (#4349) |
| 9 | + |
5 | 10 | * `session$destroy()` and `session$onDestroy()` are now available on |
6 | 11 | module session proxies to clean up "dangling reactivity" when dynamic |
7 | 12 | module UI is removed. Calling `session$destroy()` invokes all |
|
10 | 15 | also destroy a child module scope by id with `session$destroy(id)`, so it |
11 | 16 | can tear down a module using the same id it used to insert the UI (#4372). |
12 | 17 |
|
13 | | -* New `startApp()` runs a Shiny app in non-blocking mode, returning a |
14 | | - `ShinyAppHandle` object with `stop()`, `status()`, `url()`, and `result()` |
15 | | - methods. When a new app is started, any previously running non-blocking app |
16 | | - is automatically stopped. (#4349) |
17 | | - |
18 | | -* `downloadButton()` and `downloadLink()` gain a new `enabled` parameter. The default value, `"auto"`, automatically enables the button/link when the download is ready. To opt-into manual state management (e.g., `shinyjs::enable()`), set `enabled` to `FALSE` (or `TRUE`). (#4119) |
| 18 | +* `downloadButton()` and `downloadLink()` gain a new `enabled` parameter. The |
| 19 | + default value, `"auto"`, automatically enables the button/link when the |
| 20 | + download is ready. To opt-into manual state management (e.g., |
| 21 | + `shinyjs::enable()`), set `enabled` to `FALSE` (or `TRUE`). (#4119) |
19 | 22 |
|
20 | 23 | ## Improvements |
21 | 24 |
|
|
32 | 35 | * `conditionalPanel()` no longer briefly flashes its contents on app start |
33 | 36 | when the condition is initially `FALSE`. (#3505) |
34 | 37 |
|
| 38 | +* Updated default HTTP headers for better security. Shiny now sends |
| 39 | + `X-Content-Type-Options: nosniff` instead of the legacy `X-UA-Compatible` |
| 40 | + header. This removes outdated Internet Explorer–specific behavior and adds a |
| 41 | + modern safeguard that prevents browsers from misinterpreting file types. |
| 42 | + (#4385) |
| 43 | + |
35 | 44 | * Removed `InputBinding.dispose()` from the JavaScript `InputBinding` class. |
36 | 45 | This method was never called by Shiny's runtime, so any overrides were dead |
37 | 46 | code. Use `unsubscribe()` for cleanup logic instead. (#4375) |
38 | 47 |
|
39 | | -* Updated default HTTP headers for better security. Shiny now sends `X-Content-Type-Options: nosniff` instead of the legacy `X-UA-Compatible` header. This removes outdated Internet Explorer–specific behavior and adds a modern safeguard that prevents browsers from misinterpreting file types. (#4385) |
40 | | - |
41 | 48 | ## Bug fixes |
42 | 49 |
|
43 | | -* Loading shiny no longer creates `.Random.seed` in the global environment as a side effect. (#4382) |
| 50 | +* Loading shiny no longer creates `.Random.seed` in the global environment as a |
| 51 | + side effect. (#4382) |
44 | 52 |
|
45 | | -* `need()` now gives a clearer error when called without either a `message` or `label` argument, instead of the cryptic "argument \"label\" is missing, with no default". (thanks @chasemc and @sundrelingam, #2509) |
| 53 | +* `need()` now gives a clearer error when called without either a `message` or |
| 54 | + `label` argument, instead of the cryptic "argument \"label\" is missing, with |
| 55 | + no default". (thanks @chasemc and @sundrelingam, #2509) |
46 | 56 |
|
47 | 57 | * Clarified `varSelectInput()` documentation to explain that the input |
48 | 58 | returns a symbol for use with tidy evaluation, and fixed a grammatical |
@@ -865,7 +875,7 @@ This release features plot caching, an important new tool for improving performa |
865 | 875 |
|
866 | 876 | * Upgrade FontAwesome from 4.7.0 to 5.3.1 and made `icon` tags browsable, which means they will display in a web browser or RStudio viewer by default (#2186). Note that if your application or library depends on FontAwesome directly using custom CSS, you may need to make some or all of the changes recommended in [Upgrade from Version 4](https://docs-v5.fontawesome.com/web/setup/upgrade-from-v4). Font Awesome icons can also now be used in static R Markdown documents. |
867 | 877 |
|
868 | | -* Address #174: Added `datesdisabled` and `daysofweekdisabled` as new parameters to `dateInput()`. This resolves #174 and exposes the underlying arguments of [Bootstrap Datepicker](http://bootstrap-datepicker.readthedocs.io/en/latest/options.html#datesdisabled). `datesdisabled` expects a character vector with values in `yyyy/mm/dd` format and `daysofweekdisabled` expects an integer vector with day interger ids (Sunday=0, Saturday=6). The default value for both is `NULL`, which leaves all days selectable. Thanks, @nathancday! (#2147) |
| 878 | +* Address #174: Added `datesdisabled` and `daysofweekdisabled` as new parameters to `dateInput()`. This resolves #174 and exposes the underlying arguments of [Bootstrap Datepicker](https://bootstrap-datepicker.readthedocs.io/en/latest/options.html). `datesdisabled` expects a character vector with values in `yyyy/mm/dd` format and `daysofweekdisabled` expects an integer vector with day interger ids (Sunday=0, Saturday=6). The default value for both is `NULL`, which leaves all days selectable. Thanks, @nathancday! (#2147) |
869 | 879 |
|
870 | 880 | * Support for selecting variables of a data frame with the output values to be used within tidy evaluation. Added functions: `varSelectInput`, `varSelectizeInput`, `updateVarSelectInput`, `updateVarSelectizeInput`. (#2091) |
871 | 881 |
|
|
0 commit comments