Skip to content

Commit add8dd3

Browse files
rpkyleHammadTheOne
and
HammadTheOne
authored
Dash for R v0.8.0 (#235)
* New feature: callback graph improvements and timing (#224) * New feature: support user-defined server routes and redirects (#225) * Enable setting script and stylesheet attributes (#226) * New feature: Pattern-Matching Callbacks (#228) * Authenticate on pulls from Docker Hub (#231) * Fixed a bug in the usage of glue (#233) * Update dash-renderer to v1.8.2 (#234) Co-authored-by: HammadTheOne <[email protected]>
1 parent 939dc24 commit add8dd3

25 files changed

+76722
-13477
lines changed

.Rbuildignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ Makefile
55
announcement\.Rmd
66
todo\.txt
77
.github
8+
tests/integration
9+
tests/circleci

.circleci/config.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ jobs:
77
working_directory: ~/dashr
88
docker:
99
- image: plotly/dashr:ci
10+
auth:
11+
username: dashautomation
12+
password: $DASH_PAT_DOCKERHUB
1013
environment:
1114
PERCY_PARALLEL_TOTAL: '-1'
1215
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'True'
@@ -64,4 +67,6 @@ workflows:
6467
version: 2
6568
build:
6669
jobs:
67-
- "test"
70+
- "test":
71+
context:
72+
- dash-docker-hub

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ node_modules/
77
python/
88
todo.txt
99
r-finance*
10+
build/

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [0.8.0] - 2020-10-27
6+
### Fixed
7+
- Usage of `glue` has been corrected to address [#232](https://github.com/plotly/dashR/issues/232) via [#233](https://github.com/plotly/dashR/pull/233).
8+
9+
### Added
10+
- Pattern-matching IDs and callbacks. Component IDs can be lists, and callbacks can reference patterns of components, using three different wildcards: `ALL`, `MATCH`, and `ALLSMALLER`. This lets you create components on demand, and have callbacks respond to any and all of them. To help with this, `app$callback_context` gets three new entries: `outputs_list`, `inputs_list`, and `states_list`, which contain all the ids, properties, and except for the outputs, the property values from all matched components. [#228](https://github.com/plotly/dashR/pull/228)
11+
- New and improved callback graph in the debug menu. Now based on Cytoscape for much more interactivity, plus callback profiling including number of calls, fine-grained time information, bytes sent and received, and more. You can even add custom timing information on the server with `callback_context.record_timing(name, duration, description)` [#224](https://github.com/plotly/dashR/pull/224)
12+
- Support for setting attributes on `external_scripts` and `external_stylesheets`, and validation for the parameters passed (attributes are verified, and elements that are lists themselves must be named). [#226](https://github.com/plotly/dashR/pull/226)
13+
- Dash for R now supports user-defined routes and redirects via the `app$server_route` and `app$redirect` methods. [#225](https://github.com/plotly/dashR/pull/225)
14+
15+
### Changed
16+
- `dash-renderer` updated to v1.8.2
17+
518
## [0.7.1] - 2020-07-30
619
### Fixed
720
- Fixes a minor bug in debug mode that prevented display of user-defined error messages when induced by invoking the `stop` function. [#220](https://github.com/plotly/dashR/pull/220).

DESCRIPTION

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: dash
22
Title: An Interface to the Dash Ecosystem for Authoring Reactive Web Applications
3-
Version: 0.7.1
4-
Authors@R: c(person("Chris", "Parmer", role = c("aut"), email = "[email protected]"), person("Ryan Patrick", "Kyle", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5829-9867"), email = "[email protected]"), person("Carson", "Sievert", role = c("aut"), comment = c(ORCID = "0000-0002-4958-2844")), person("Hammad", "Khan", role = c("aut"), email = "[email protected]"), person(family = "Plotly Technologies", role = "cph"))
3+
Version: 0.8.0
4+
Authors@R: c(person("Chris", "Parmer", role = c("aut"), email = "[email protected]"), person("Ryan Patrick", "Kyle", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5829-9867"), email = "[email protected]"), person("Carson", "Sievert", role = c("aut"), comment = c(ORCID = "0000-0002-4958-2844")), person("Hammad", "Khan", role = c("aut"), comment = c(ORCID = "0000-0003-2479-9841"), email = "[email protected]"), 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)
@@ -21,7 +21,8 @@ Imports:
2121
base64enc,
2222
mime,
2323
crayon,
24-
brotli
24+
brotli,
25+
glue
2526
Suggests:
2627
testthat
2728
Collate:
@@ -39,7 +40,7 @@ License: MIT + file LICENSE
3940
Encoding: UTF-8
4041
LazyData: true
4142
KeepSource: true
42-
RoxygenNote: 7.1.0
43+
RoxygenNote: 7.1.1
4344
Roxygen: list(markdown = TRUE)
4445
URL: https://github.com/plotly/dashR
4546
BugReports: https://github.com/plotly/dashR/issues

NAMESPACE

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Generated by roxygen2: do not edit by hand
22

33
S3method(print,dash_component)
4+
export(ALL)
5+
export(ALLSMALLER)
46
export(Dash)
7+
export(MATCH)
58
export(clientsideFunction)
69
export(dashNoUpdate)
710
export(input)
@@ -17,6 +20,8 @@ importFrom(digest,sha1)
1720
importFrom(fiery,Fire)
1821
importFrom(fiery,combined_log_format)
1922
importFrom(fiery,logger_console)
23+
importFrom(glue,glue)
24+
importFrom(glue,glue_collapse)
2025
importFrom(htmltools,attachDependencies)
2126
importFrom(htmltools,htmlDependencies)
2227
importFrom(htmltools,htmlDependency)

0 commit comments

Comments
 (0)