diff --git a/news-files-annotated/shiny.md b/news-files-annotated/shiny.md index 327fd86..13af65d 100644 --- a/news-files-annotated/shiny.md +++ b/news-files-annotated/shiny.md @@ -1,25 +1,31 @@ -# shiny (development version) +# shiny 1.10.0 ## New features and improvements !begin-bullets-1! - !begin-bullet! - Small improvements to the default pulse busy indicator to better - blend with any background. It's also now slightly smaller by - default. (#4122) + When busy indicators are enabled (i.e., `useBusyIndicators()` is in + the UI), Shiny now: - !end-bullet! -- !begin-bullet! - When spinners and the pulse busy indicators are enabled, Shiny now - shows the pulse indicator when dynamic UI elements are recalculating - if no other spinners are present in the app. (#4137) + !begin-bullets-2! + - !begin-bullet! + Shows the pulse indicator when dynamic UI elements are + recalculating and no other spinners are visible in the app. + (#4137) + !end-bullet! + - !begin-bullet! + Makes the pulse indicator slightly smaller by default and + improves its appearance to better blend with any background. + (#4122) + !end-bullet! + !end-bullets-2! !end-bullet! - !begin-bullet! Improve collection of deep stack traces (stack traces that are - tracked across steps in an async promise chain) with `coro` async - generators such as `elmer` chat streams. Previously, Shiny treated + tracked across steps in an async promise chain) with `{coro}` async + generators such as `{elmer}` chat streams. Previously, Shiny treated each iteration of an async generator as a distinct deep stack, leading to pathologically long stack traces; now, Shiny only keeps/prints unique deep stack trace, discarding duplicates. (#4156) @@ -35,7 +41,7 @@ ## Bug fixes -!begin-bullets-2! +!begin-bullets-3! - !begin-bullet! Fixed a bug in `conditionalPanel()` that would cause the panel to @@ -50,15 +56,16 @@ !end-bullet! - !begin-bullet! - `dateInput` and `dateRangeInput` no longer send immediate updates to - the server when the user is typing a date input. Instead, it waits - until the user presses Enter or clicks out of the field to send the - update, avoiding spurious and incorrect date values. Note that an - update is still sent immediately when the field is cleared. (#3664) + `dateInput()` and `dateRangeInput()` no longer send immediate + updates to the server when the user is typing a date input. Instead, + it waits until the user presses Enter or clicks out of the field to + send the update, avoiding spurious and incorrect date values. Note + that an update is still sent immediately when the field is cleared. + (#3664) !end-bullet! - !begin-bullet! - Fixed a bug in `onBookmark` hook that caused elements to not be + Fixed a bug in `onBookmark()` hook that caused elements to not be excluded from URL bookmarking. (#3762) !end-bullet! @@ -66,14 +73,14 @@ Fixed a bug with stack trace capturing that caused reactives with very long async promise chains (hundreds/thousands of steps) to become extremely slow. Chains this long are unlikely to be written - by hand, but {coro} async generators and {elmer} async streaming + by hand, but `{coro}` async generators and `{elmer}` async streaming were easily creating problematically long chains. (#4155) !end-bullet! - !begin-bullet! Duplicate input and output IDs -- e.g. using `"debug"` for two inputs or two outputs -- or shared IDs -- e.g. using `"debug"` as - the `inputID` for an input and an output -- now result in a console + the `inputId` for an input and an output -- now result in a console warning message, but not an error. When `devmode()` is enabled, an informative message is shown in the Shiny Client Console. We recommend all Shiny devs enable `devmode()` when developing Shiny @@ -88,18 +95,18 @@ !end-bullet! - !begin-bullet! - Fixed a bug where stack traces from `observeEvent` were being - stripped of stack frames too aggressively. + Fixed a bug where stack traces from `observeEvent()` were being + stripped of stack frames too aggressively. (#4163) !end-bullet! -!end-bullets-2! +!end-bullets-3! # shiny 1.9.1 ## Bug fixes -!begin-bullets-3! +!begin-bullets-4! - !begin-bullet! Fixed a bug introduced in v1.9.0 where the boundaries of @@ -107,7 +114,7 @@ when browser zoom was used. (#4111) !end-bullet! -!end-bullets-3! +!end-bullets-4! # shiny 1.9.0 @@ -129,7 +136,7 @@ customized with `busyIndicatorOptions()`. For more details, see ## New features and improvements -!begin-bullets-4! +!begin-bullets-5! - !begin-bullet! The client-side TypeScript code for Shiny has been refactored so @@ -168,11 +175,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-4! +!end-bullets-5! ## Bug fixes -!begin-bullets-5! +!begin-bullets-6! - !begin-bullet! `downloadButton()` and `downloadLink()` are now disabled up until @@ -198,11 +205,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-5! +!end-bullets-6! # shiny 1.8.1.1 -!begin-bullets-6! +!begin-bullets-7! - !begin-bullet! In v1.8.1, shiny.js starting throwing an error when input/output @@ -212,13 +219,13 @@ customized with `busyIndicatorOptions()`. For more details, see breaking apps that happen to work with duplicate IDs. (#4019) !end-bullet! -!end-bullets-6! +!end-bullets-7! # shiny 1.8.1 ## New features and improvements -!begin-bullets-7! +!begin-bullets-8! - !begin-bullet! Added `ExtendedTask`, a new simple way to launch long-running @@ -254,11 +261,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-7! +!end-bullets-8! ## Changes -!begin-bullets-8! +!begin-bullets-9! - !begin-bullet! `renderDataTable()`/`dataTableOutput()` are officially deprecated in @@ -287,11 +294,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-8! +!end-bullets-9! ## Bug fixes -!begin-bullets-9! +!begin-bullets-10! - !begin-bullet! Notifications are now constrained to the width of the viewport for @@ -318,13 +325,13 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-9! +!end-bullets-10! # shiny 1.8.0 ## Breaking changes -!begin-bullets-10! +!begin-bullets-11! - !begin-bullet! Closed #3899: The JS function `Shiny.bindAll()` is now asynchronous. @@ -336,7 +343,7 @@ customized with `busyIndicatorOptions()`. For more details, see relies on it being synchronous (i.e., blocking the main thread). In this case, consider placing any downstream code in a `.then()` callback (or `await` the result in a `async` function). (#3929) - !begin-bullets-11! + !begin-bullets-12! - !begin-bullet! Since `renderContent()` calls `bindAll()` (after it inserts content), it now returns a `Promise` instead of `void`, @@ -344,14 +351,14 @@ customized with `busyIndicatorOptions()`. For more details, see binding to complete. !end-bullet! - !end-bullets-11! + !end-bullets-12! !end-bullet! -!end-bullets-10! +!end-bullets-11! ## New features and improvements -!begin-bullets-12! +!begin-bullets-13! - !begin-bullet! Updated `selectizeInput()`'s selectize.js dependency from v0.12.4 to @@ -386,11 +393,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-12! +!end-bullets-13! ## Bug fixes -!begin-bullets-13! +!begin-bullets-14! - !begin-bullet! `fileInput()` no longer has unwanted round corners applied to the @@ -403,26 +410,26 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-13! +!end-bullets-14! # shiny 1.7.5.1 ## Bug fixes -!begin-bullets-14! +!begin-bullets-15! - !begin-bullet! On r-devel (R \> 4.3.1), `isTruthy(NULL)` now returns `FALSE` (as it does with older versions of R). (#3906) !end-bullet! -!end-bullets-14! +!end-bullets-15! # shiny 1.7.5 ## Possibly breaking changes -!begin-bullets-15! +!begin-bullets-16! - !begin-bullet! For `reactiveValues()` objects, whenever the `$names()` or @@ -441,11 +448,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-15! +!end-bullets-16! ## New features and improvements -!begin-bullets-16! +!begin-bullets-17! - !begin-bullet! Closed #789: Dynamic UI is now rendered asynchronously, thanks in @@ -490,11 +497,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-16! +!end-bullets-17! ## Bug fixes -!begin-bullets-17! +!begin-bullets-18! - !begin-bullet! Fixed #3771: Sometimes the error @@ -508,13 +515,13 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-17! +!end-bullets-18! # shiny 1.7.4.1 ## Full changelog -!begin-bullets-18! +!begin-bullets-19! - !begin-bullet! Closed #3849: In R-devel, a warning was raised when Shiny was loaded @@ -522,7 +529,7 @@ customized with `busyIndicatorOptions()`. For more details, see string. (#3850) !end-bullet! -!end-bullets-18! +!end-bullets-19! # shiny 1.7.4 @@ -530,7 +537,7 @@ customized with `busyIndicatorOptions()`. For more details, see ### Breaking changes -!begin-bullets-19! +!begin-bullets-20! - !begin-bullet! Closed #3719: Output container sizes, which are available via @@ -549,11 +556,11 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-19! +!end-bullets-20! ### New features and improvements -!begin-bullets-20! +!begin-bullets-21! - !begin-bullet! `plotOutput()`, `imageOutput()`, and `uiOutput()` gain a `fill` @@ -575,13 +582,13 @@ customized with `busyIndicatorOptions()`. For more details, see !end-bullet! -!end-bullets-20! +!end-bullets-21! # shiny 1.7.3 ### Bug fixes -!begin-bullets-21! +!begin-bullets-22! - !begin-bullet! Shiny 1.7.0 changed the `icon(lib="fontawesome")` implementation @@ -595,7 +602,7 @@ customized with `busyIndicatorOptions()`. For more details, see \>=0.4.0. !end-bullet! -!end-bullets-21! +!end-bullets-22! # shiny 1.7.2 @@ -603,7 +610,7 @@ customized with `busyIndicatorOptions()`. For more details, see ### Breaking changes -!begin-bullets-22! +!begin-bullets-23! - !begin-bullet! Closed #3626: `renderPlot()` (and `plotPNG()`) now uses @@ -612,11 +619,11 @@ customized with `busyIndicatorOptions()`. For more details, see `options(shiny.useragg = FALSE)`. (#3654) !end-bullet! -!end-bullets-22! +!end-bullets-23! ### New features and improvements -!begin-bullets-23! +!begin-bullets-24! - !begin-bullet! Closed #1545: `insertUI()` now executes `