htmltools breaking changes
cran8 curated breaking changes across major versions of htmltools. Use this as a migration checklist before bumping dependencies.
- v0.5.2 \u2192 v0.5.3breaking
Closed #305: `htmlPreserve()` no longer uses _inline_ code blocks for Pandoc's raw attribute feature when used inside a _non_-inline knitr/rmarkdown code chunk, and as a result, in this case, an additional `<p>` tag is no longer wrapped around the HTML content. (#306)
- v0.5.1.1 \u2192 v0.5.2breaking
Closed #205: When calling `tagGetAttribute(x)` on an object with a non-atomic attribute, a list of untouched values will be returned. It is still recommended to only store character values inside attributes. (#212)
- v0.5.0 \u2192 v0.5.1breaking
Closed #161: `parseCssColors(x)` now requires `x` to be a character vector (it no longer accepts a `list()` of strings) and an error is no longer thrown when `mustWork = FALSE` and `x` contains `NA` value(s). (#194)
- v0.4.0 \u2192 v0.5.0breaking
`HTML()` now takes `.noWS` argument, which can be used to suppress surrounding whitespace (similar to the new argument for tags in htmltools 0.4.0). (#154)
- v0.4.0 \u2192 v0.5.0breaking
`css()` now returns `NULL` instead of `""` when no non-empty properties are specified. (#145)
- v0.4.0 \u2192 v0.5.0breaking
`save_html(tags$body(...))` no longer results in double <body> tags being written to the .html file. (Note that `save_html(tags$html(...))` is not supported at this time.) (#145)
- v0.4.0 \u2192 v0.5.0breaking
Trailing commas now permited in `...` arguments to `css()`, `tagList()`, and the var-arg mutation functions: `tagAppendAttributes()`, `tagSetChildren()`, and `tagAppendChildren()`. (#145)
- v0.4.0 \u2192 v0.5.0breaking
Added `capturePlot` and `plotTag` functions, for easily creating image files and HTML <img> tags (respectively) from plot expressions. (#150)
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cran/htmltools