From 921f2066af5ae4d6dc1f253d26f5ab1094fd3d87 Mon Sep 17 00:00:00 2001 From: Carson Date: Mon, 16 Jun 2025 09:48:11 -0500 Subject: [PATCH] v1.11.0 release candidate --- DESCRIPTION | 2 +- NEWS.md | 48 ++++++++-------- .../busy-indicators/busy-indicators.css | 2 +- inst/www/shared/shiny-autoreload.js | 2 +- inst/www/shared/shiny-showcase.css | 2 +- inst/www/shared/shiny-showcase.js | 2 +- inst/www/shared/shiny-testmode.js | 2 +- inst/www/shared/shiny.js | 4 +- inst/www/shared/shiny.min.css | 2 +- inst/www/shared/shiny.min.js | 4 +- inst/www/shared/shiny.min.js.map | 2 +- package.json | 2 +- revdep/README.md | 56 +++++++++---------- revdep/cran.md | 42 ++++---------- revdep/problems.md | 50 +---------------- 15 files changed, 74 insertions(+), 148 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d32868a3d0..804b44eaa8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: shiny Type: Package Title: Web Application Framework for R -Version: 1.10.0.9001 +Version: 1.11.0 Authors@R: c( person("Winston", "Chang", role = c("aut", "cre"), email = "winston@posit.co", comment = c(ORCID = "0000-0002-1576-2126")), person("Joe", "Cheng", role = "aut", email = "joe@posit.co"), diff --git a/NEWS.md b/NEWS.md index bbbeaa6ec6..d58dab7b06 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,19 @@ -# shiny (development version) +# shiny 1.11.0 + +## Improvements + +* When auto-reload is enabled, Shiny now reloads the entire app when support files, like Shiny modules, additional script files, or web assets, change. To enable auto-reload, call `devmode(TRUE)` to enable Shiny's developer mode, or set `options(shiny.autoreload = TRUE)` to specifically enable auto-reload. You can choose which files are watched for changes with the `shiny.autoreload.pattern` option. (#4184) + +* When busy indicators are enabled (i.e., `useBusyIndicators()`), Shiny now: + * Shows a spinner on recalculating htmlwidgets that have previously rendered an error (including `req()` and `validate()`). (#4172) + * Shows a spinner on `tableOutput()`. (#4172) + * Places a minimum height on recalculating outputs so that the spinner is always visible. (#4172) + +* Shiny now uses `{cli}` instead of `{crayon}` for rich log messages. (thanks @olivroy, #4170) + +* `renderPlot()` was updated to accommodate changes in ggplot2 v4.0.0. (#4226) + +* When adding the new tab via `insertTab()` or `bslib::nav_insert()`, the underlying JavaScript no longer renders content twice. (#4179) ## New features @@ -8,28 +23,15 @@ * The family of `update*Input()` functions can now render HTML content passed to the `label` argument (e.g., `updateInputText(label = tags$b("New label"))`). (#3996) +* `ExtendedTask` now catches synchronous values and errors and returns them via `$result()`. Previously, the extended task function was required to always return a promise. This change makes it easier to use `ExtendedTask` with a function that may return early or do some synchronous work before returning a promise. (#4225) + * The `callback` argument of Shiny.js' `InputBinding.subscribe()` method gains support for a value of `"event"`. This makes it possible for an input binding to use event priority when updating the value (i.e., send immediately and always resend, even if the value hasn't changed). (#4211) ## Changes * Shiny no longer suspends input changes when _any_ `` or `