Skip to content

Commit

Permalink
Merge branch 'dev' into persistence-hg
Browse files Browse the repository at this point in the history
  • Loading branch information
harryturr authored Sep 3, 2020
2 parents 5601ec3 + fa43741 commit 1596d43
Show file tree
Hide file tree
Showing 83 changed files with 3,878 additions and 2,726 deletions.
2,459 changes: 945 additions & 1,514 deletions @plotly/dash-test-components/package-lock.json

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
All notable changes to `dash` will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [UNRELEASED]
## [1.16.0] - 2020-09-03
### Added
- [#1371](https://github.com/plotly/dash/pull/1371) You can now get [CSP `script-src` hashes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src) of all added inline scripts by calling `app.csp_hashes()` (both Dash internal inline scripts, and those added with `app.clientside_callback`) .

### Changed
- [#1385](https://github.com/plotly/dash/pull/1385) Closes [#1350](https://github.com/plotly/dash/issues/1350) and fixes a previously undefined callback behavior when multiple elements are stacked on top of one another and their `n_clicks` props are used as inputs of the same callback. The callback will now trigger once with all the triggered `n_clicks` props changes.
- [#1179](https://github.com/plotly/dash/pull/1179) 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, seconds)`

### Fixed
- [#1384](https://github.com/plotly/dash/pull/1384) Fixed a bug introduced by [#1180](https://github.com/plotly/dash/pull/1180) breaking use of `prevent_initial_call` as a positional arg in callback definitions

Expand All @@ -15,7 +22,6 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- [#1180](https://github.com/plotly/dash/pull/1180) and [#1375](https://github.com/plotly/dash/pull/1375) `Input`, `Output`, and `State` in callback definitions don't need to be in lists. You still need to provide `Output` items first, then `Input` items, then `State`, and the list form is still supported. In particular, if you want to return a single output item wrapped in a length-1 list, you should still wrap the `Output` in a list. This can be useful for procedurally-generated callbacks.
- [#1368](https://github.com/plotly/dash/pull/1368) Updated pytest to v6.0.1. To avoid deprecation warnings, this also updated pytest-sugar to 0.9.4 and pytest-mock to 3.2.0. The pytest-mock update only effects python >= 3.0. Pytest-mock remains pinned at 2.0.0 for python == 2.7.


## [1.14.0] - 2020-07-27
### Added
- [#1343](https://github.com/plotly/dash/pull/1343) Add `title` parameter to set the
Expand Down
5 changes: 3 additions & 2 deletions dash-renderer/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tabWidth": 4,
"singleQuote": true,
"jsxSingleQuote": true,
"bracketSpacing": false,
"trailingComma": "es5"
}
"trailingComma": "none"
}
133 changes: 125 additions & 8 deletions dash-renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions dash-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "dash-renderer",
"version": "1.7.0",
"version": "1.8.0",
"description": "render dash components in react",
"main": "dash_renderer/dash_renderer.min.js",
"scripts": {
"prepublishOnly": "rm -rf lib && babel src --extensions=\".ts,.tsx,.js,.jsx\" --out-dir lib --copy-files",
"private::format.js-eslint": "eslint --quiet --fix .",
"private::format.js-prettier": "prettier --config .prettierrc --write \"src/**/*.js\"",
"private::format.js-prettier": "prettier --config .prettierrc --write \"src/**/*.{js,jsx,ts,tsx}\"",
"private::format.ts": "tslint --fix --project tsconfig.json --config tslint.json",
"private::lint.js-eslint": "eslint .",
"private::lint.js-prettier": "prettier --config .prettierrc \"src/**/*.js\" --list-different",
"private::lint.js-prettier": "prettier --config .prettierrc \"src/**/*.{js,jsx,ts,tsx}\" --list-different",
"private::lint.ts": "tslint --project tsconfig.json --config tslint.json",
"build:js": "webpack --build release",
"build:dev": "webpack --build local",
Expand All @@ -27,18 +27,21 @@
"@babel/polyfill": "7.8.7",
"@plotly/dash-component-plugins": "^1.2.0",
"cookie": "^0.4.0",
"cytoscape": "^3.14.1",
"cytoscape-dagre": "^2.2.2",
"dependency-graph": "^0.9.0",
"fast-isnumeric": "^1.1.3",
"prop-types": "15.7.2",
"radium": "^0.26.0",
"ramda": "^0.27.0",
"react": "16.13.0",
"react-cytoscapejs": "^1.2.1",
"react-dom": "16.13.0",
"react-json-tree": "^0.11.2",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-actions": "^2.6.5",
"redux-thunk": "^2.3.0",
"viz.js": "2.1.2"
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@babel/cli": "^7.10.3",
Expand Down Expand Up @@ -75,6 +78,7 @@
"ts-jest": "^26.0.0",
"ts-loader": "^7.0.2",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
Expand Down
Loading

0 comments on commit 1596d43

Please sign in to comment.