Sun Jun 4 02:10:23 2023 UTC ()
(www/R-shiny) Updated 1.7.1 to 1.7.4
# shiny 1.7.4
## Full changelog
### Breaking changes
* Closed #3719: Output container sizes, which are available via
[`session$clientData` and
`getCurrentOutputInfo()`](https://shiny.rstudio.com/articles/client-data.html),
no longer round to the nearest pixel (i.e., they are now more exact,
possibly fractional values). (#3720)
* Closed #3704, #3735, and #3740: `renderPlot()` no longer generates
an error (or segfault) when it executes before the output is
visible. Instead, it'll now use the graphics device's default size
for it's initial size. Relatedly, `plotPNG()` now ignores `NULL`
values for `width`/`height` (and uses the device's default
`width`/`height` instead). (#3739)
### New features and improvements
* `plotOutput()`, `imageOutput()`, and `uiOutput()` gain a `fill`
argument. If `TRUE` (the default for `plotOutput()`), the output
container is allowed to grow/shrink to fit a fill container (created
via `htmltools::bindFillRole()`) with an opinionated height. This
means `plotOutput()` will grow/shrink by default [inside of
`bslib::card_body_fill()`](https://rstudio.github.io/bslib/articles/cards.html#responsive-sizing),
but `imageOutput()` and `uiOutput()` will have to opt-in to similar
behavior with `fill = TRUE`. (#3715)
* Closed #3687: Updated jQuery-UI to v1.13.2. (#3697)
* Internal: Added clearer and strict TypeScript type definitions (#3644)
# shiny 1.7.3
### Bug fixes
* Shiny 1.7.0 changed the `icon(lib="fontawesome")` implementation
from a bundled copy of fontawesome, to the {fontawesome}
package. This led to issue #3688, where icons that were previously
working, were now breaking. That's because {fontawesome} 0.3.0 and
earlier did not have support for icon names used in Font Awesome 5
and earlier, only the newest icon names used in Font Awesome 6. Now,
{fontawesome} 0.4.0 has restored support for those older icon names,
and Shiny 1.7.2.1 has updated its {fontawesome} requirement to
>=0.4.0.
# shiny 1.7.2
## Full changelog
### Breaking changes
* Closed #3626: `renderPlot()` (and `plotPNG()`) now uses
`ragg::agg_png()` by default when the [`{ragg}`
package](https://github.com/r-lib/ragg) is installed. To restore the
previous behavior, set `options(shiny.useragg = FALSE)`. (#3654)
### New features and improvements
* Closed #1545: `insertUI()` now executes `<script>` tags. (#3630)
* `fileInput()` can set the `capture` attribute to facilitates user
access to a device's media capture mechanism, such as a camera, or
microphone, from within a file upload control ([W3C HTML Media
Capture](https://www.w3.org/TR/html-media-capture/)). (Thanks to
khaled-alshamaa, #3481)
* Closed tidyverse/dplyr#5552: Compatibility of dplyr 1.0 (and rlang
chained errors in general) with `req()`, `validate()`, and friends.
* Closed tidyverse/dplyr#6154: Values from an `actionButton()` had S3
classes in the incorrect order.
* Closed #3346: Default for `ref` input in `runGithub()` changed from
`"master"` to `"HEAD"`. (#3564)
* Closed #3619: In R 4.2, `splitLayout()` no longer raises warnings
about incorrect length in an `if` statement. (Thanks to @dmenne,
#3625)
### Bug fixes
* Closed #3250:`{rlang}`/`{tidyeval}` conditions (i.e., warnings and
errors) are no longer filtered from stack traces. (#3602)
* Closed #3581: Errors in throttled/debounced reactive expressions no
longer cause the session to exit. (#3624)
* Closed #3657: `throttle.ts` and the `Throttler` typescript objects
it provides now function as intended. (Thanks gto @dvg-p4, #3659)
* The auto-reload feature (`options(shiny.autoreload=TRUE)`) was not
being activated by `devmode(TRUE)`, despite a console message
asserting that it was. (#3620)
* Closed #2297: If an error occurred in parsing a value in a bookmark
query string, an error would be thrown and nothing would be
restored. Now a message is displayed and that value is
ignored. (Thanks to @daattali, #3385)
* Restored the previous behavior of automatically guessing the
`Content-Type` header for `downloadHandler` functions when no
explicit `contentType` argument is supplied. (#3393)
* Previously, updating an input value without a corresponding Input
binding element did not trigger a JavaScript `shiny:inputchanged`
event. Now, if no Input binding element is found, the
`shiny:inputchanged` event is triggered on
`window.document`. (#3584)
* Closed #2955: Input and output bindings previously attempted to use
`el['data-input-id']`, but that never worked. They now use
`el.getAttribute('data-input-id')` instead. (#3538)
### Minor improvements
* When taking a test snapshot, the sort order of the json keys of the
`input`, `output`, and `export` fields is currently sorted using the
locale of the machine. This can lead to inconsistent test snapshot
results. To opt-in to a consistent ordering of snapshot fields with
`{shinytest}`, please set the global option
`options(shiny.snapshotsortc = TRUE)`. `{shinytest2}` users do not
need to set this value. (#3515)
* Closed rstudio/shinytest2#222: When restoring a context (i.e.,
bookmarking) from a URL, Shiny now better handles a trailing `=`
after `_inputs_` and `_values_`. (#3648)
* Shiny's internal HTML dependencies are now mounted dynamically
instead of statically. (#3537)
* HTML dependencies that are sent to dynamic UI now have better type
checking, and no longer require a `dep.src.href` field. (#3537)
(mef)
diff -r1.6 -r1.7 pkgsrc/www/R-shiny/Makefile
diff -r1.5 -r1.6 pkgsrc/www/R-shiny/distinfo
--- pkgsrc/www/R-shiny/Makefile 2022/04/30 01:49:59 1.6
+++ pkgsrc/www/R-shiny/Makefile 2023/06/04 02:10:23 1.7
| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.6 2022/04/30 01:49:59 mef Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2023/06/04 02:10:23 mef Exp $ |
2 | | | 2 | |
3 | R_PKGNAME= shiny | | 3 | R_PKGNAME= shiny |
4 | R_PKGVER= 1.7.1 | | 4 | R_PKGVER= 1.7.4 |
5 | CATEGORIES= www | | 5 | CATEGORIES= www |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | COMMENT= Web application framework for R | | 8 | COMMENT= Web application framework for R |
9 | LICENSE= gnu-gpl-v3 | | 9 | LICENSE= gnu-gpl-v3 |
10 | | | 10 | |
11 | DEPENDS+= R-crayon>=1.3.4:../../devel/R-crayon | | 11 | DEPENDS+= R-crayon>=1.3.4:../../devel/R-crayon |
12 | DEPENDS+= R-fontawesome-[0-9]*:../../textproc/R-fontawesome | | 12 | DEPENDS+= R-fontawesome-[0-9]*:../../textproc/R-fontawesome |
13 | DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang | | 13 | DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang |
14 | DEPENDS+= R-sourcetools>=0.1.7:../../lang/R-sourcetools | | 14 | DEPENDS+= R-sourcetools>=0.1.7:../../lang/R-sourcetools |
15 | DEPENDS+= R-mime>=0.3:../../mail/R-mime | | 15 | DEPENDS+= R-mime>=0.3:../../mail/R-mime |
16 | DEPENDS+= R-xtable>=1.8.4:../../math/R-xtable | | 16 | DEPENDS+= R-xtable>=1.8.4:../../math/R-xtable |
17 | DEPENDS+= R-promises>=1.0.1:../../parallel/R-promises | | 17 | DEPENDS+= R-promises>=1.0.1:../../parallel/R-promises |
--- pkgsrc/www/R-shiny/distinfo 2022/04/30 01:49:59 1.5
+++ pkgsrc/www/R-shiny/distinfo 2023/06/04 02:10:23 1.6
| @@ -1,5 +1,5 @@ | | | @@ -1,5 +1,5 @@ |
1 | $NetBSD: distinfo,v 1.5 2022/04/30 01:49:59 mef Exp $ | | 1 | $NetBSD: distinfo,v 1.6 2023/06/04 02:10:23 mef Exp $ |
2 | | | 2 | |
3 | BLAKE2s (R/shiny_1.7.1.tar.gz) = e671607c9b8bb7d61fe0844a23fa88d502fc5568de4d16dcf8a41c91aa381c32 | | 3 | BLAKE2s (R/shiny_1.7.4.tar.gz) = f382cf4814aecb8d06c62fb412101384933115f58289ea37d847b39846f6ac4e |
4 | SHA512 (R/shiny_1.7.1.tar.gz) = bcbf90ad719097b299a2535b94a9fe97530e94c01b179bb71b233651e1b906a6b496607861e2c355433065abab15810082839f2e1443dc9738af940e5501f061 | | 4 | SHA512 (R/shiny_1.7.4.tar.gz) = 239df2de9b4e7aeda21480ff8fdf9a6cfcd69afe56b507fec5303bb5394191115e8f98f5a3bfbfae07c5d3696b2bb04bee2a1b5cfe2b5a11e1867f8c025216c9 |
5 | Size (R/shiny_1.7.1.tar.gz) = 2963486 bytes | | 5 | Size (R/shiny_1.7.4.tar.gz) = 2476288 bytes |