{"ecosystem":"cran","package":"bslib","from_version":null,"to_version":null,"changes":[{"from_version":"v0.8.0","to_version":"v0.9.0","change_type":"breaking","description":"The navbar-related style options of `page_navbar()` and `navset_bar()` have been consolidated into a single `navbar_options` argument that pairs with a new `navbar_options()` helper. Using the direct `position`, `bg`, `inverse`, `collapsible`, and `underline` arguments will continue to work with a deprecation message. (#1141)","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"`container` now defaults to `NULL` instead of `card_body`. As a result, `card_image()` no longer has padding around it, making it easier to create \"full-bleed\" card images ([for example](https://getbootstrap.com/docs/5.3/components/card/#images)). To restore the previous behavior, wrap `card_image()` in a `card_body()`.","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"To help reduce the potential for squashed content, the main content area of `page_sidebar()` and `page_navbar()` with a `sidebar` now have a (customizable) minimum height and width on a \"medium-sized\" window. To revert to previous behavior, set `theme = bs_theme(\"bslib-page-main-min-height\" = \"unset\", \"bslib-page-main-min-width\" = \"unset\")`. (#1057, #1059, #1084)","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"`card_image()` had a couple breaking changes (#1076):","migration_hint":null},{"from_version":"v0.7.0","to_version":"v0.8.0","change_type":"breaking","description":"`fill` now defaults to `FALSE` to avoid stretching/shrinking the image vertically (and thus, changing it's aspect ratio). To restore the previous behavior, set `fill = TRUE`.","migration_hint":null},{"from_version":"v0.5.1","to_version":"v0.6.0","change_type":"breaking","description":"`page()` now returns a `<body>` tag instead of `tagList()`. This change allows `page()` to treat named arguments as HTML attributes for the `<body>` tag, making it possible to add page-level classes or other attributes. (#809)","migration_hint":null},{"from_version":"v0.5.1","to_version":"v0.6.0","change_type":"breaking","description":"`bs_theme()` now defaults to `preset=\"shiny\"`. This provides an additional set of theming defaults and rules that make it easier to create Shiny apps (in particular, dashboards) that look good out of the box. To revert to the previous behavior, set `bs_theme(preset=\"bootstrap\")`. (#711)","migration_hint":null},{"from_version":"v0.5.1","to_version":"v0.6.0","change_type":"breaking","description":"`value_box()` no longer defaults to `theme_color = \"primary\"`. To restore the previous behavior, please use `theme = \"primary\"`. In addition to the default style change, the `theme_color` is now deprecated in favor of `theme`. (#758)","migration_hint":null},{"from_version":"v0.5.1","to_version":"v0.6.0","change_type":"breaking","description":"`page_navbar()` now defaults to `underline = TRUE`, meaning that navigation links in the navbar now have underline styling by default (set `underline = FALSE` to revert to previous behavior). (#784)","migration_hint":null},{"from_version":"v0.5.1","to_version":"v0.6.0","change_type":"breaking","description":"The JS/CSS assets behind `{bslib}` components (e.g., `card()`, `value_box()`, etc) are all now bundled into one `htmlDependency()` and included with the return value of `bs_theme_dependencies()` (previously they were attached at the component-level). (#810)","migration_hint":null},{"from_version":"v0.4.2","to_version":"v0.5.0","change_type":"breaking","description":"`page_fill()` now produces a `<body>` tag with `display:flex` (instead of `display:block`).","migration_hint":null},{"from_version":"v0.4.2","to_version":"v0.5.0","change_type":"breaking","description":"`card_body()` now provides the same behavior as `card_body_fill()` (i.e., it is both a fillable container and fill item) by default. And, now, since `card_body()` can do everything `card_body_fill()` can do, `card_body_fill()` has been deprecated. The main benefit of this change is that `card(full_screen = TRUE, ...)` with output(s) passed to `...` \"just works\" in an intuitive way. To revert to the previous behavior, set `fillable = FALSE` and `fill = FALSE` in calls to `card_body()` and set `wr","migration_hint":null},{"from_version":"v0.4.2","to_version":"v0.5.0","change_type":"breaking","description":"Closed #375: `margin-top` is no longer included on header tags that aren't created via pandoc. If this negatively impacts spacing above headers, consider adding a suitable [utility class](https://rstudio.github.io/bslib/articles/utility-classes.html) (for example, change `shiny::titlePanel(\"My title\")` to `tagAppendAttributes(titlePanel(\"My title\"), class = \"mt-3\", .selector = \"h2\")`). (#396)","migration_hint":null},{"from_version":"v0.4.2","to_version":"v0.5.0","change_type":"breaking","description":"`page_fill()` (now called `page_fillable()`) had several breaking changes (listed below) to better accommodate filling layouts. If this breaks existing behavior, consider using `shiny::fillPage(theme = bslib::bs_theme(), ...)` instead of `page_fill()`.","migration_hint":null},{"from_version":"v0.4.2","to_version":"v0.5.0","change_type":"breaking","description":"`page_fill()` no longer fills the windows height on mobile (i.e., narrow screens) by default (set `fillable_mobile = TRUE` to restore the old behavior).","migration_hint":null},{"from_version":"v0.3.1","to_version":"v0.4.0","change_type":"breaking","description":"`bs_theme()` now defaults to `version = 5` (i.e., Bootstrap 5). If this change happens to break an existing app, consider specifying `bs_theme(version = 4)` to revert the change in the Bootstrap version. (#374)","migration_hint":null},{"from_version":"v0.3.1","to_version":"v0.4.0","change_type":"breaking","description":"The default coloring on some Bootswatch 4+ theme's `.navbar-default`/`.navbar-inverse` class has changed slightly to better match their Bootswatch 3 coloring. Also, since this coloring is now based solely on [`$navbar-*` variables](https://rstudio.github.io/bslib/articles/bs5-variables.html), Bootswatch themes now work better in combination with custom `$navbar-*` values (e.g., `bs_theme(\"navbar-bg\" = ...)` can be used to provide the background color, and foreground colors will automatically con","migration_hint":null},{"from_version":"v0.2.5.1","to_version":"v0.3.0","change_type":"breaking","description":"Closed rstudio/rmarkdown#2154: `{magrittr}`'s pipe operator (`%>%`) is no longer re-exported by `{bslib}`. Either `library(magrittr)` to make `%>%` available and/or use use R 4.1's pipe operator (`|>`).","migration_hint":null},{"from_version":"v0.9.0","to_version":"v0.10.0","change_type":"breaking","description":"bslib now uses the `{brand.yml}` package for reading [brand.yml](https://posit-dev.github.io/brand-yml/) files. This change improves compatibility with other tools that use brand.yml files, such as Quarto. The `{brand.yml}` package must be installed for `_brand.yml` files to be automatically discovered. (#1227)","migration_hint":null}],"total":19,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}