Skip to content

Commit

Permalink
Dash for R v0.8.0 (#235)
Browse files Browse the repository at this point in the history
* 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 <hammadkhan@plotly.com>
  • Loading branch information
rpkyle and HammadTheOne authored Oct 28, 2020
1 parent 939dc24 commit add8dd3
Show file tree
Hide file tree
Showing 25 changed files with 76,722 additions and 13,477 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ Makefile
announcement\.Rmd
todo\.txt
.github
tests/integration
tests/circleci
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
working_directory: ~/dashr
docker:
- image: plotly/dashr:ci
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
environment:
PERCY_PARALLEL_TOTAL: '-1'
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'True'
Expand Down Expand Up @@ -64,4 +67,6 @@ workflows:
version: 2
build:
jobs:
- "test"
- "test":
context:
- dash-docker-hub
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ node_modules/
python/
todo.txt
r-finance*
build/
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
All notable changes to `dash` will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.8.0] - 2020-10-27
### Fixed
- 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).

### Added
- 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)
- 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)
- 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)
- 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)

### Changed
- `dash-renderer` updated to v1.8.2

## [0.7.1] - 2020-07-30
### Fixed
- 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).
Expand Down
9 changes: 5 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: dash
Title: An Interface to the Dash Ecosystem for Authoring Reactive Web Applications
Version: 0.7.1
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"))
Version: 0.8.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"), comment = c(ORCID = "0000-0003-2479-9841"), 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)
Expand All @@ -21,7 +21,8 @@ Imports:
base64enc,
mime,
crayon,
brotli
brotli,
glue
Suggests:
testthat
Collate:
Expand All @@ -39,7 +40,7 @@ License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
KeepSource: true
RoxygenNote: 7.1.0
RoxygenNote: 7.1.1
Roxygen: list(markdown = TRUE)
URL: https://github.com/plotly/dashR
BugReports: https://github.com/plotly/dashR/issues
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated by roxygen2: do not edit by hand

S3method(print,dash_component)
export(ALL)
export(ALLSMALLER)
export(Dash)
export(MATCH)
export(clientsideFunction)
export(dashNoUpdate)
export(input)
Expand All @@ -17,6 +20,8 @@ importFrom(digest,sha1)
importFrom(fiery,Fire)
importFrom(fiery,combined_log_format)
importFrom(fiery,logger_console)
importFrom(glue,glue)
importFrom(glue,glue_collapse)
importFrom(htmltools,attachDependencies)
importFrom(htmltools,htmlDependencies)
importFrom(htmltools,htmlDependency)
Expand Down
Loading

0 comments on commit add8dd3

Please sign in to comment.