Skip to content

Commit

Permalink
feat: Use shinylive assets v0.5.0 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Jul 19, 2024
1 parent 415ef5a commit 33edf8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# shinylive (development version)

* shinylive now uses [shinylive web assets v0.5.0](https://github.com/posit-dev/shinylive/releases/tag/v0.5.0) by default, which bundles webR 0.4.0 with R 4.4.1. This update brings improved keyboard shortcuts for R users in the Shinylive editor, the ability to export a custom library of R packages with the exported app, and a few improvements to the Quarto integration. (#108)

* `export()` gains an `assets_version` argument to choose the version of the Shinylive web assets to be used with the exported app. This is primarily useful for testing new versions of the Shinylive assets before they're officially released via a package update. In CI and other automated workflow settings, the `SHINYLIVE_ASSETS_VERSION` environment variable can be used to set the assets version. (#91)

* `export()` gains `template_params` and `template_dir` arguments to control the template HTML files used in the export, allowing users to partially or completely customize the exported HTML. The export template is provided by the shinylive assets and may change from release-to-release. Use `assets_info()` to locate installed shinylive assets; the template files for a given release are in the `export_template` directory of the release. (#96)
Expand Down
4 changes: 2 additions & 2 deletions R/version.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is the version of the Shinylive assets to use.
SHINYLIVE_ASSETS_VERSION <- "0.3.0"
SHINYLIVE_ASSETS_VERSION <- "0.5.0"
SHINYLIVE_R_VERSION <- as.character(utils::packageVersion("shinylive"))
WEBR_R_VERSION <- "4.3.3"
WEBR_R_VERSION <- "4.4.1"

0 comments on commit 33edf8c

Please sign in to comment.