Upgrade notes for Shiny 1.2.0
This release features plot caching, an important new tool for improving performance and scalability. Using
renderCachedPlot in place of
renderPlot can greatly improve responsiveness for apps that show the same plot many times (for example, a dashboard or report where all users view the same data). Shiny gives you a fair amount of control in where the cache is stored and how cached plots are invalidated, so be sure to read this article to get the most out of this feature.
- The URL paths for FontAwesome CSS/JS/font assets have changed, due to our upgrade from FontAwesome 4 to 5. This shouldn’t affect you unless you’re using
www/index.htmlto provide your UI and have hardcoded the old FontAwesome paths into your HTML. If that’s you, consider switching to HTML templates, which give you the syntax of raw HTML while still taking advantage of Shiny’s automatic management of web dependencies.
renderCachedPlot(), which stores plots in a cache so that they can be served up almost instantly. (#1997)
Minor new features and improvements
Upgrade FontAwesome from 4.7.0 to 5.3.1 and made
icontags 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. Font Awesome icons can also now be used in static R Markdown documents.
Address #174: Added
daysofweekdisabledas new parameters to
dateInput(). This resolves #174 and exposes the underlying arguments of Bootstrap Datepicker.
datesdisabledexpects a character vector with values in
daysofweekdisabledexpects 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)
Support for selecting variables of a data frame with the output values to be used within tidy evaluation. Added functions:
Added support for plot interaction when the plot is scaled. (#2125)
Added namespace support when freezing reactiveValue keys. #2080
Upgrade selectize.js from 0.12.1 to 0.12.4 #2028