diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d9fe5c5..1938c119 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: "test": &test-template working_directory: ~/dashr docker: - - image: byronz/dashr:ci + - image: plotly/dashr:ci environment: PERCY_PARALLEL_TOTAL: '-1' PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'True' @@ -37,7 +37,10 @@ jobs: command: | python -m venv venv . venv/bin/activate - pip install -e git+https://github.com/plotly/dash.git#egg=dash[testing] + git clone --depth 1 https://github.com/plotly/dash.git dash-main + cd dash-main && pip install -e .[dev,testing] --progress-bar off && cd .. + cd dash-main/\@plotly/dash-generator-test-component-nested && npm ci && npm run build && sudo R CMD INSTALL . && cd ../../.. + cd dash-main/\@plotly/dash-generator-test-component-standard && npm ci && npm run build && sudo R CMD INSTALL . && cd ../../.. export PATH=$PATH:/home/circleci/.local/bin/ pytest --nopercyfinalize --junitxml=test-reports/dashr.xml tests/integration/ - store_artifacts: diff --git a/CHANGELOG.md b/CHANGELOG.md index e888e0ab..8f21e910 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ # Change Log for Dash for R All notable changes to this project will be documented in this file. +## [0.4.0] - 2020-05-05 +### Added +- Support for inline clientside callbacks in JavaScript [#140](https://github.com/plotly/dashR/pull/140) +- Support for arbitrary file extensions for assets within component libraries [#186](https://github.com/plotly/dashR/pull/186) +- Dash for R now provides a `show_undo_redo` parameter as in Dash for Python [#194](https://github.com/plotly/dashR/pull/194) + +### Changed +- `dash-renderer` updated to v1.4.1 [#195](https://github.com/plotly/dashR/pull/195) +- `dashHtmlComponents` updated to v1.0.3 +- `dashCoreComponents` updated to v1.10.0 +- `dashTable` updated to v4.7.0 + ## [0.3.1] - 2020-02-14 ### Fixed - License file in `dashHtmlComponents` now loads properly when installing Dash for R on systems running Microsoft Windows [#150](https://github.com/plotly/dash-html-components/pull/150) @@ -53,8 +65,8 @@ All notable changes to this project will be documented in this file. - Initial release - Support for `plot_ly` and `ggplotly` "subplots" [#84](https://github.com/plotly/dashR/pull/84) - Improved debugging support [#87](https://github.com/plotly/dashR/pull/87), including Dash Dev Tools and `debug` mode - - Provide a useful warning message when JS dependencies cannot be found [#81](https://github.com/plotly/dashR/pull/81) - - Support for externalized PropTypes introduced + - Provide a useful warning message when JS dependencies cannot be found [#81](https://github.com/plotly/dashR/pull/81) + - Support for externalized PropTypes introduced - Support for `callback_context` added - Options to set `dev_tools_ui` and `dev_tools_props_check` added @@ -69,11 +81,11 @@ All notable changes to this project will be documented in this file. ### Fixed - CSS dependencies are now properly loaded [#94](https://github.com/plotly/dashR/pull/94) - - + + ## [0.0.7] - 2019-04-09 ### Removed -- `dependencies_set`, `dependencies_get`, and `dependencies_get_internal` methods removed from package +- `dependencies_set`, `dependencies_get`, and `dependencies_get_internal` methods removed from package ### [0.0.6] - 2019-04-08 @@ -107,9 +119,9 @@ All notable changes to this project will be documented in this file. ### [0.0.3] - 2019-03-08 ### Added -- `assert_valid_callbacks` to validate callback handler definitions and ordering of `input` and `state` using +- `assert_valid_callbacks` to validate callback handler definitions and ordering of `input` and `state` using new `valid_seq` function - + ### Changed - Callback method and handling refactored to match current Dash for Python API [#51](https://github.com/plotly/dashR/pull/51) - Handler function for callbacks now passed via `func` argument to `app$callback()` diff --git a/DESCRIPTION b/DESCRIPTION index 57962403..31197c74 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,14 +1,14 @@ Package: dash Title: An Interface to the Dash Ecosystem for Authoring Reactive Web Applications -Version: 0.3.1 +Version: 0.4.0 Authors@R: c(person("Chris", "Parmer", role = c("aut"), email = "chris@plotly.com"), person("Ryan Patrick", "Kyle", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5829-9867"), email = "ryan@plotly.com"), person("Carson", "Sievert", role = c("aut"), comment = c(ORCID = "0000-0002-4958-2844")), person("Hammad", "Khan", role = c("aut"), email = "hammadkhan@plotly.com"), person(family = "Plotly Technologies", role = "cph")) Description: A framework for building analytical web applications, Dash offers a pleasant and productive development experience. No JavaScript required. Depends: R (>= 3.0.2) Imports: - dashHtmlComponents (== 1.0.2), - dashCoreComponents (== 1.8.0), - dashTable (== 4.6.0), + dashHtmlComponents (== 1.0.3), + dashCoreComponents (== 1.10.0), + dashTable (== 4.7.0), R6, fiery (> 1.0.0), routr (> 0.2.0), @@ -31,9 +31,9 @@ Collate: 'imports.R' 'print.R' 'internal.R' -Remotes: plotly/dash-html-components@6f4e7be, - plotly/dash-core-components@fc153b4, - plotly/dash-table@79d46ca +Remotes: plotly/dash-html-components@e63acfa, + plotly/dash-core-components@e322758, + plotly/dash-table@f5620fd License: MIT + file LICENSE Encoding: UTF-8 LazyData: true diff --git a/NAMESPACE b/NAMESPACE index 6daedb64..e5c7d9ec 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -27,4 +27,4 @@ importFrom(routr,RouteStack) importFrom(routr,ressource_route) importFrom(stats,setNames) importFrom(tools,file_ext) -importFrom(utils,getFromNamespace) \ No newline at end of file +importFrom(utils,getFromNamespace) diff --git a/R/dash.R b/R/dash.R index 14fc024c..48db012c 100644 --- a/R/dash.R +++ b/R/dash.R @@ -18,12 +18,13 @@ #' requests_pathname_prefix = NULL, #' external_scripts = NULL, #' external_stylesheets = NULL, -#' suppress_callback_exceptions = FALSE +#' suppress_callback_exceptions = FALSE, +#' show_undo_redo = FALSE #' ) #' #' @section Arguments: #' \tabular{lll}{ -#' `name` \tab \tab Character. The name of the Dash application (placed in the `