Skip to content

Commit 0b97ee1

Browse files
authored
1.7.5 release candidate (#3867)
Co-authored-by: cpsievert <[email protected]>
1 parent 68546c3 commit 0b97ee1

File tree

17 files changed

+67
-49
lines changed

17 files changed

+67
-49
lines changed

DESCRIPTION

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Package: shiny
22
Type: Package
33
Title: Web Application Framework for R
4-
Version: 1.7.4.9003
4+
Version: 1.7.5
55
Authors@R: c(
6-
person("Winston", "Chang", role = c("aut", "cre"), email = "winston@rstudio.com", comment = c(ORCID = "0000-0002-1576-2126")),
7-
person("Joe", "Cheng", role = "aut", email = "joe@rstudio.com"),
8-
person("JJ", "Allaire", role = "aut", email = "jj@rstudio.com"),
9-
person("Carson", "Sievert", role = "aut", email = "carson@rstudio.com", comment = c(ORCID = "0000-0002-4958-2844")),
10-
person("Barret", "Schloerke", role = "aut", email = "barret@rstudio.com", comment = c(ORCID = "0000-0001-9986-114X")),
11-
person("Yihui", "Xie", role = "aut", email = "yihui@rstudio.com"),
12-
person("Jeff", "Allen", role = "aut", email = "[email protected]"),
13-
person("Jonathan", "McPherson", role = "aut", email = "jonathan@rstudio.com"),
6+
person("Winston", "Chang", role = c("aut", "cre"), email = "winston@posit.co", comment = c(ORCID = "0000-0002-1576-2126")),
7+
person("Joe", "Cheng", role = "aut", email = "joe@posit.co"),
8+
person("JJ", "Allaire", role = "aut", email = "jj@posit.co"),
9+
person("Carson", "Sievert", role = "aut", email = "carson@posit.co", comment = c(ORCID = "0000-0002-4958-2844")),
10+
person("Barret", "Schloerke", role = "aut", email = "barret@posit.co", comment = c(ORCID = "0000-0001-9986-114X")),
11+
person("Yihui", "Xie", role = "aut", email = "yihui@posit.co"),
12+
person("Jeff", "Allen", role = "aut"),
13+
person("Jonathan", "McPherson", role = "aut", email = "jonathan@posit.co"),
1414
person("Alan", "Dipert", role = "aut"),
1515
person("Barbara", "Borges", role = "aut"),
16-
person(family = "RStudio", role = "cph"),
16+
person("Posit Software, PBC", role = c("cph", "fnd")),
1717
person(family = "jQuery Foundation", role = "cph",
1818
comment = "jQuery library and jQuery UI library"),
1919
person(family = "jQuery contributors", role = c("ctb", "cph"),

NEWS.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
1-
# shiny 1.7.4.9002
1+
# shiny 1.7.5
22

3-
## Full changelog
3+
## Possibly breaking changes
44

5-
### Breaking changes
5+
* For `reactiveValues()` objects, whenever the `$names()` or `$values()` methods are called, the keys are now returned in the order that they were inserted. (#3774)
66

7-
### New features and improvements
7+
* The value provided to `options(shiny.json.digits)` is now interpreted as number of _digits after the decimal_ instead of _significant digits_. To treat the value as significant digits, wrap it in `I()` (e.g., `options(shiny.json.digits = I(4))`). This new default behavior not only helps with reducing digits in testing snapshots, but is also more consistent with `{jsonlite}`'s default behavior. (#3819)
88

9-
* Closed #789: Dynamic UI is now rendered asynchronously, thanks in part to the newly exported `Shiny.renderDependenciesAsync()`, `Shiny.renderHtmlAsync()`, and `Shiny.renderContentAsync()`. Importantly, this means `<script>` tags are now loaded asynchronously (the old way used `XMLHttpRequest`, which is synchronous). In addition, `Shiny` now manages a queue of async tasks (exposed via `Shiny.shinyapp.taskQueue`) so that order of execution is preserved. (#3666)
9+
## New features and improvements
1010

11-
* For `reactiveValues()` objects, whenever the `$names()` or `$values()` methods are called, the keys are now returned in the order that they were inserted. (#3774)
11+
* Closed #789: Dynamic UI is now rendered asynchronously, thanks in part to the newly exported `Shiny.renderDependenciesAsync()`, `Shiny.renderHtmlAsync()`, and `Shiny.renderContentAsync()`. Importantly, this means `<script>` tags are now loaded asynchronously (the old way used `XMLHttpRequest`, which is synchronous). In addition, `Shiny` now manages a queue of async tasks (exposed via `Shiny.shinyapp.taskQueue`) so that order of execution is preserved. (#3666)
1212

13-
* `Map` objects are now initialized at load time instead of build time. This avoids potential problems that could arise from storing `fastmap` objects into the built Shiny package. (#3775)
13+
* Fixes #3840: `updateSliderInput()` now warns when attempting to set invalid `min`, `max`, or `value` values. Sending an invalid update message to an input no longer causes other update messages to fail. (#3843)
1414

15-
* Allow for `shiny:::toJSON()` to respect if `digits=` has class `"AsIs"` which represents if `use_signif=` is `TRUE` or `FALSE`. This is useful for testing to keep the digits smaller. For example, setting `options(shiny.json.digits = 4)` will save 4 digits after the decimal, rather than the default of `I(16)` which will save 16 significant digits. (#3819)
15+
* `sliderInput()` now has a larger target area for clicking or tapping on the slider handle or range. (#3859)
1616

1717
* Closed #2956: Component authors can now prevent Shiny from creating an input binding on specific elements by adding the `data-shiny-no-bind-input` attribute to the element. The attribute may have any or no value; its presence will prevent binding. This feature is primarily useful for input component authors who want to use standard HTML input elements without causing Shiny to create an input binding for them. Additionally, Shiny now adds custom classes to its inputs. For example, `checkboxInput()` now has a `shiny-input-checkbox` class. These custom classes may be utilized in future updates to Shiny's input binding logic. (#3861)
1818

19-
* Slider inputs created with `sliderInput()` now have a larger target area for clicking or tapping on the slider line or the slider bar. (#3859)
19+
* `Map` objects are now initialized at load time instead of build time. This avoids potential problems that could arise from storing `fastmap` objects into the built Shiny package. (#3775)
2020

21-
22-
### Bug fixes
21+
## Bug fixes
2322

2423
* Fixed #3771: Sometimes the error `ion.rangeSlider.min.js: i.stopPropagation is not a function` would appear in the JavaScript console. (#3772)
2524

2625
* Fixed #3833: When `width` is provided to `textAreaInput()`, we now correctly set the width of the `<textarea>` element. (#3838)
2726

28-
* Fixes #3840: `updateSliderInput()` now warns when attempting to set invalid `min`, `max`, or `value` values. Sending an invalid update message to an input no longer causes other update messages to fail. (#3843)
29-
3027

3128
# shiny 1.7.4.1
3229

R/map.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ Map <- R6Class(
4848
)
4949
)
5050

51-
as.list.Map <- function(map) {
52-
map$values()
51+
as.list.Map <- function(x, ...) {
52+
x$values()
5353
}
54-
length.Map <- function(map) {
55-
map$size()
54+
length.Map <- function(x) {
55+
x$size()
5656
}

R/shiny-options.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ getShinyOption <- function(name, default = NULL) {
9090
#' \item{shiny.jquery.version (defaults to `3`)}{The major version of jQuery to use.
9191
#' Currently only values of `3` or `1` are supported. If `1`, then jQuery 1.12.4 is used. If `3`,
9292
#' then jQuery `r version_jquery` is used.}
93-
#' \item{shiny.json.digits (defaults to `16`)}{The number of digits to use when converting
94-
#' numbers to JSON format to send to the client web browser.}
93+
#' \item{shiny.json.digits (defaults to `I(16)`)}{Max number of digits to use when converting
94+
#' numbers to JSON format to send to the client web browser. Use [I()] to specify significant digits.
95+
#' Use `NA` for max precision.}
9596
#' \item{shiny.launch.browser (defaults to `interactive()`)}{A boolean which controls the default behavior
9697
#' when an app is run. See [runApp()] for more information.}
9798
#' \item{shiny.mathjax.url (defaults to `"https://mathjax.rstudio.com/latest/MathJax.js"`)}{

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ For help with learning fundamental Shiny programming concepts, check out the [Ma
4747

4848
## Join the conversation
4949

50-
If you want to chat about Shiny, meet other developers, or help us decide what to work on next, [join us on Discord](https://discord.gg/yMGCamUMnS).
50+
If you want to chat about Shiny, meet other developers, or help us decide what to work on next, [join us on Discord](https://discord.com/invite/yMGCamUMnS).
5151

5252
## Getting Help
5353

inst/www/shared/shiny-autoreload.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/www/shared/shiny-showcase.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/www/shared/shiny-showcase.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/www/shared/shiny-testmode.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/www/shared/shiny.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! shiny 1.7.4.9003 | (c) 2012-2023 RStudio, PBC. | License: GPL-3 | file LICENSE */
1+
/*! shiny 1.7.5 | (c) 2012-2023 RStudio, PBC. | License: GPL-3 | file LICENSE */
22
"use strict";
33
(function() {
44
var __create = Object.create;
@@ -19196,7 +19196,7 @@
1919619196
var windowShiny2;
1919719197
function setShiny(windowShiny_) {
1919819198
windowShiny2 = windowShiny_;
19199-
windowShiny2.version = "1.7.4.9003";
19199+
windowShiny2.version = "1.7.5";
1920019200
var _initInputBindings = initInputBindings(), inputBindings = _initInputBindings.inputBindings, fileInputBinding2 = _initInputBindings.fileInputBinding;
1920119201
var _initOutputBindings = initOutputBindings(), outputBindings = _initOutputBindings.outputBindings;
1920219202
setFileInputBinding(fileInputBinding2);

0 commit comments

Comments
 (0)