Skip to content

Commit

Permalink
[skip vbump] upversion to 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
donyunardi committed Feb 12, 2025
1 parent c75f39e commit 1261ff7
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

### New features

* Possible to call `ui_teal` and `srv_teal` directly in any application by delivering `data` argument as a `reactive` returning `teal_data` object. #669
* Since introduction of `ui_teal` and `srv_teal` functions `id` argument in `init` is being deprecated. #1438
* Possible to call `ui_teal` and `srv_teal` directly in any application by delivering `data` argument as a `reactive` returning `teal_data` object.
* Since introduction of `ui_teal` and `srv_teal` functions, the `id` argument in `init` is being deprecated.
* Introduce `ui_session_info` and `srv_session_info` shiny module to create the user session info and teal app lockfile download button.
* Introduced `teal_transform_module` to provide a way to interactively modify data delivered to `teal_module`'s `server` and to decorate module outputs. #1228 #1384
* Introduced `teal_transform_module` to provide a way to interactively modify data delivered to `teal_module`'s `server` and to decorate module outputs.
* Introduced a new argument `once = FALSE` in `teal_data_module` to possibly reload data during a run time.
* Possibility to download lockfile to restore app session for reproducibility. #479
* Possibility to download lockfile to restore app session for reproducibility.
* Datasets which name starts with `.` are ignored when `module`'s `datanames` is set as `"all"`.
* Added warning when reserved `datanames`, such as `all` and `.raw_data` are being used.
* Added warning when reserved `datanames`, such as `all` and `.raw_data` are being used.
* Added `add_custom_server()` to allow adding custom server logic to the main shiny server function of a teal app.

### Breaking changes

* Setting `datanames()` on `data` passed to teal application no longer has effect. In order to change `teal_module`'s
* Setting `datanames()` on `data` passed to teal application no longer has effect. In order to change `teal_module`'s
`datanames` one should modify `module$datanames`.
* `landing_popup_module()` is deprecated. Please use `add_landing_modal()` function to add a landing popup for your teal application.
* `teal` no longer re-export `%>%`. Please load `library(magrittr)` instead or use `|>` from `base`.
Expand Down
14 changes: 7 additions & 7 deletions R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
#' This parameter is deprecated. Use `modify_footer()` on the teal app object instead.
#' @param id `r lifecycle::badge("deprecated")` (`character`) Optionally,
#' a string specifying the `shiny` module id in cases it is used as a `shiny` module
#' rather than a standalone `shiny` app. This is a legacy feature. Deprecated since v0.15.3
#' rather than a standalone `shiny` app. This is a legacy feature. Deprecated since v0.16.0
#' please use [ui_teal()] and [srv_teal()] instead.
#' @param id `r lifecycle::badge("deprecated")` (`character`) Optionally,
#' a string specifying the `shiny` module id in cases it is used as a `shiny` module
#' rather than a standalone `shiny` app. This is a legacy feature. Deprecated since v0.15.3
#' rather than a standalone `shiny` app. This is a legacy feature. Deprecated since v0.16.0
#' please use [ui_teal()] and [srv_teal()] instead.
#'
#' @return Named list containing server and UI functions.
Expand Down Expand Up @@ -190,7 +190,7 @@ init <- function(data,

if (lifecycle::is_present(id)) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "init(id)",
details = paste(
"To wrap `teal` application within other shiny application please use",
Expand Down Expand Up @@ -244,7 +244,7 @@ init <- function(data,

if (lifecycle::is_present(title)) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "init(title)",
details = paste(
"Use `modify_title()` on the teal app object instead.",
Expand All @@ -256,7 +256,7 @@ init <- function(data,
}
if (lifecycle::is_present(header)) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "init(header)",
details = paste(
"Use `modify_header()` on the teal app object instead.",
Expand All @@ -268,7 +268,7 @@ init <- function(data,
}
if (lifecycle::is_present(footer)) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "init(footer)",
details = paste(
"Use `modify_footer()` on the teal app object instead.",
Expand All @@ -281,7 +281,7 @@ init <- function(data,

if (length(landing) == 1L) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "landing_popup_module()",
details = paste(
"`landing_popup_module()` is deprecated.",
Expand Down
2 changes: 1 addition & 1 deletion R/landing_popup_module.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ landing_popup_module <- function(label = "Landing Popup",
content = NULL,
buttons = modalButton("Accept")) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "landing_popup_module()",
details = paste(
"landing_popup_module() is deprecated.",
Expand Down
4 changes: 2 additions & 2 deletions R/module_teal_with_splash.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ui_teal_with_splash <- function(id,
header = tags$p(),
footer = tags$p()) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "ui_teal_with_splash()",
details = "Deprecated, please use `?ui_teal` instead"
)
Expand Down Expand Up @@ -53,7 +53,7 @@ ui_teal_with_splash <- function(id,
#' @rdname module_teal_with_splash
srv_teal_with_splash <- function(id, data, modules, filter = teal_slices()) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "srv_teal_with_splash()",
details = "Deprecated, please use `?srv_teal` instead"
)
Expand Down
2 changes: 1 addition & 1 deletion R/show_rcode_modal.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @export
show_rcode_modal <- function(title = NULL, rcode, session = getDefaultReactiveDomain()) {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "show_rcode_modal()",
details = "This function will be removed in the next release."
)
Expand Down
2 changes: 1 addition & 1 deletion R/tdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ as_tdata <- function(...) {

.deprecate_tdata_msg <- function() {
lifecycle::deprecate_stop(
when = "0.15.3",
when = "0.16.0",
what = "tdata()",
details = paste(
"tdata has been removed in favour of `teal_data`.\n",
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ build_app_title <- function(
title = "teal app",
favicon = "https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/PNG/nest.png") {
lifecycle::deprecate_soft(
when = "0.15.3",
when = "0.16.0",
what = "build_app_title()",
details = "Use `modify_title()` on the object created using the `init`."
)
Expand Down
2 changes: 1 addition & 1 deletion man/init.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1261ff7

Please sign in to comment.