{"ecosystem":"cran","package":"htmltools","from_version":null,"to_version":null,"changes":[{"from_version":"v0.5.2","to_version":"v0.5.3","change_type":"breaking","description":"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)","migration_hint":null},{"from_version":"v0.5.1.1","to_version":"v0.5.2","change_type":"breaking","description":"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)","migration_hint":null},{"from_version":"v0.5.0","to_version":"v0.5.1","change_type":"breaking","description":"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)","migration_hint":null},{"from_version":"v0.4.0","to_version":"v0.5.0","change_type":"breaking","description":"`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)","migration_hint":null},{"from_version":"v0.4.0","to_version":"v0.5.0","change_type":"breaking","description":"`css()` now returns `NULL` instead of `\"\"` when no non-empty properties are specified. (#145)","migration_hint":null},{"from_version":"v0.4.0","to_version":"v0.5.0","change_type":"breaking","description":"`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)","migration_hint":null},{"from_version":"v0.4.0","to_version":"v0.5.0","change_type":"breaking","description":"Trailing commas now permited in `...` arguments to `css()`, `tagList()`, and the var-arg mutation functions: `tagAppendAttributes()`, `tagSetChildren()`, and `tagAppendChildren()`. (#145)","migration_hint":null},{"from_version":"v0.4.0","to_version":"v0.5.0","change_type":"breaking","description":"Added `capturePlot` and `plotTag` functions, for easily creating image files and HTML <img> tags (respectively) from plot expressions. (#150)","migration_hint":null}],"total":8,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}