You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@ htmlwidgets 1.6.0
3
3
4
4
### Potentially breaking changes
5
5
6
-
* Closed #433 and #440: `saveWidget(selfcontained=TRUE)` now uses the `{rmarkdown}` package to discover and call pandoc, which fixes a couple existing issues and helps "future proof" this code path from future changes to pandoc.
7
6
*`shinyWidgetOutput()` and `sizingPolicy()` both gain a new `fill` parameter. When `TRUE` (the default), the widget's container element is allowed to grow/shrink to fit it's parent container so long as that parent is opinionated about its height and has been marked with `htmltools::bindFillRole(x, container = TRUE)`. (#442)
8
7
* The primary motivation for this is to allow widgets to grow/shrink by default [inside `bslib::card_body_fill()`](https://rstudio.github.io/bslib/articles/cards.html#responsive-sizing)
9
8
* Widgets that aren't designed to fill their container in this way should consider setting `sizingPolicy(fill = FALSE)`/`shinyWidgetOutput(fill = FALSE)` and/or allowing users to customize these settings (i.e., add a `fill` argument to the `customWidgetOutput()` function signature).
10
9
*`shinyWidgetOutput()`'s `reportSize` argument now defaults to `TRUE`. This way, calling `shiny::getCurrentOutputInfo()` inside a `shinyRenderWidget()` context will report the current height and width of the widget.
11
10
12
-
### Bug fixes
11
+
### Improvements
13
12
13
+
* Closed #433 and #440: `saveWidget(selfcontained=TRUE)` now uses the `{rmarkdown}` package to discover and call pandoc, which fixes a couple existing issues and helps "future proof" this code path from future changes to pandoc.
14
14
* Closed #257 and #358: `saveWidget(selfcontained=TRUE)` now correctly prevents HTML from being interpreted as markdown. (#401)
15
15
16
16
htmlwidgets 1.5.4
@@ -160,7 +160,7 @@ htmlwidgets 0.6
160
160
* Add `appendContent` and `prependContent` functions for adding HTML
161
161
to a widget rendered in a static context (i.e. R console or Rmd)
162
162
163
-
* Fix a bug where the string `</body></html>` in the widget data caused
163
+
* Fix a bug where the string "</body></html>" in the widget data caused
164
164
`saveWidget()` to have malformed output. (#168)
165
165
166
166
* Tweak pandoc conversion used in saveWidget to prevent hanging with
@@ -181,7 +181,7 @@ htmlwidgets 0.5
181
181
182
182
* Add background parameter to saveWidget function
183
183
184
-
* Fix a bug where `</script>` appearing in widget data would break
184
+
* Fix a bug where "</script>" appearing in widget data would break
185
185
parsing
186
186
187
187
* Fix a bug where multiple widgets on a page caused all but one to miss
0 commit comments