Skip to content

Commit d20cacf

Browse files
rpkyleHammadTheOneMarc-André Rivet
authored
Dash for R v0.4.0 (#196)
* Add unit tests for index customization (#176) * Send status code of 1 when unit tests fail (#177) * Support for arbitrary file extensions (#186) * Add assortment of unit tests to Dash for R (#179) * Nested and standard components test (#191) * Support inline clientside callbacks in Dash for R (#140) * Speed up CI, use image from plotly * Update to dash-renderer 1.4.1 Co-authored-by: HammadTheOne <hammadkhan@plotly.com> Co-authored-by: Marc-André Rivet <marc-andre.rivet@plotly.com>
1 parent 16e79a5 commit d20cacf

24 files changed

+39557
-35126
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
"test": &test-template
77
working_directory: ~/dashr
88
docker:
9-
- image: byronz/dashr:ci
9+
- image: plotly/dashr:ci
1010
environment:
1111
PERCY_PARALLEL_TOTAL: '-1'
1212
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'True'
@@ -37,7 +37,10 @@ jobs:
3737
command: |
3838
python -m venv venv
3939
. venv/bin/activate
40-
pip install -e git+https://github.com/plotly/dash.git#egg=dash[testing]
40+
git clone --depth 1 https://github.com/plotly/dash.git dash-main
41+
cd dash-main && pip install -e .[dev,testing] --progress-bar off && cd ..
42+
cd dash-main/\@plotly/dash-generator-test-component-nested && npm ci && npm run build && sudo R CMD INSTALL . && cd ../../..
43+
cd dash-main/\@plotly/dash-generator-test-component-standard && npm ci && npm run build && sudo R CMD INSTALL . && cd ../../..
4144
export PATH=$PATH:/home/circleci/.local/bin/
4245
pytest --nopercyfinalize --junitxml=test-reports/dashr.xml tests/integration/
4346
- store_artifacts:

CHANGELOG.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Change Log for Dash for R
22
All notable changes to this project will be documented in this file.
33

4+
## [0.4.0] - 2020-05-05
5+
### Added
6+
- Support for inline clientside callbacks in JavaScript [#140](https://github.com/plotly/dashR/pull/140)
7+
- Support for arbitrary file extensions for assets within component libraries [#186](https://github.com/plotly/dashR/pull/186)
8+
- Dash for R now provides a `show_undo_redo` parameter as in Dash for Python [#194](https://github.com/plotly/dashR/pull/194)
9+
10+
### Changed
11+
- `dash-renderer` updated to v1.4.1 [#195](https://github.com/plotly/dashR/pull/195)
12+
- `dashHtmlComponents` updated to v1.0.3
13+
- `dashCoreComponents` updated to v1.10.0
14+
- `dashTable` updated to v4.7.0
15+
416
## [0.3.1] - 2020-02-14
517
### Fixed
618
- 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.
5365
- Initial release
5466
- Support for `plot_ly` and `ggplotly` "subplots" [#84](https://github.com/plotly/dashR/pull/84)
5567
- Improved debugging support [#87](https://github.com/plotly/dashR/pull/87), including Dash Dev Tools and `debug` mode
56-
- Provide a useful warning message when JS dependencies cannot be found [#81](https://github.com/plotly/dashR/pull/81)
57-
- Support for externalized PropTypes introduced
68+
- Provide a useful warning message when JS dependencies cannot be found [#81](https://github.com/plotly/dashR/pull/81)
69+
- Support for externalized PropTypes introduced
5870
- Support for `callback_context` added
5971
- Options to set `dev_tools_ui` and `dev_tools_props_check` added
6072

@@ -69,11 +81,11 @@ All notable changes to this project will be documented in this file.
6981

7082
### Fixed
7183
- CSS dependencies are now properly loaded [#94](https://github.com/plotly/dashR/pull/94)
72-
73-
84+
85+
7486
## [0.0.7] - 2019-04-09
7587
### Removed
76-
- `dependencies_set`, `dependencies_get`, and `dependencies_get_internal` methods removed from package
88+
- `dependencies_set`, `dependencies_get`, and `dependencies_get_internal` methods removed from package
7789

7890

7991
### [0.0.6] - 2019-04-08
@@ -107,9 +119,9 @@ All notable changes to this project will be documented in this file.
107119

108120
### [0.0.3] - 2019-03-08
109121
### Added
110-
- `assert_valid_callbacks` to validate callback handler definitions and ordering of `input` and `state` using
122+
- `assert_valid_callbacks` to validate callback handler definitions and ordering of `input` and `state` using
111123
new `valid_seq` function
112-
124+
113125
### Changed
114126
- Callback method and handling refactored to match current Dash for Python API [#51](https://github.com/plotly/dashR/pull/51)
115127
- Handler function for callbacks now passed via `func` argument to `app$callback()`

DESCRIPTION

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Package: dash
22
Title: An Interface to the Dash Ecosystem for Authoring Reactive Web Applications
3-
Version: 0.3.1
3+
Version: 0.4.0
44
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"))
55
Description: A framework for building analytical web applications, Dash offers a pleasant and productive development experience. No JavaScript required.
66
Depends:
77
R (>= 3.0.2)
88
Imports:
9-
dashHtmlComponents (== 1.0.2),
10-
dashCoreComponents (== 1.8.0),
11-
dashTable (== 4.6.0),
9+
dashHtmlComponents (== 1.0.3),
10+
dashCoreComponents (== 1.10.0),
11+
dashTable (== 4.7.0),
1212
R6,
1313
fiery (> 1.0.0),
1414
routr (> 0.2.0),
@@ -31,9 +31,9 @@ Collate:
3131
'imports.R'
3232
'print.R'
3333
'internal.R'
34-
Remotes: plotly/dash-html-components@6f4e7be,
35-
plotly/dash-core-components@fc153b4,
36-
plotly/dash-table@79d46ca
34+
Remotes: plotly/dash-html-components@e63acfa,
35+
plotly/dash-core-components@e322758,
36+
plotly/dash-table@f5620fd
3737
License: MIT + file LICENSE
3838
Encoding: UTF-8
3939
LazyData: true

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ importFrom(routr,RouteStack)
2727
importFrom(routr,ressource_route)
2828
importFrom(stats,setNames)
2929
importFrom(tools,file_ext)
30-
importFrom(utils,getFromNamespace)
30+
importFrom(utils,getFromNamespace)

0 commit comments

Comments
 (0)