Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1745 commits
Select commit Hold shift + click to select a range
141572c
bump version to v1.0.1
Aug 27, 2019
912462a
package: build R pkg 1.0.1
Aug 27, 2019
d0c5536
Revert ":package: build R pkg 1.0.1"
Aug 27, 2019
1d721bf
Update R package to 1.0.1 (#133)
rpkyle Aug 27, 2019
9dffc72
update generated props
Aug 27, 2019
848bed9
remove publish scripts & update contributing (#134)
Marc-Andre-Rivet Aug 28, 2019
cb890d8
remove artifacts from `dev`
Marc-Andre-Rivet Sep 26, 2019
439eaf4
Merge pull request #139 from jbampton/remove-quotes-from-yaml-and-fix…
alexcjohnson Oct 4, 2019
61b33f1
Merge pull request #141 from jbampton/style-circleci-config
alexcjohnson Oct 7, 2019
7c41d42
Merge pull request #140 from jbampton/fix-word-case-and-remove-whites…
alexcjohnson Oct 17, 2019
db15ce7
IE11 compatibility (#143)
Marc-Andre-Rivet Nov 14, 2019
5f80837
bump version
Nov 14, 2019
4bf219b
Update CODEOWNERS (#145)
Marc-Andre-Rivet Nov 29, 2019
e47b527
Update R package metadata YAML file for 1.0.2 (#147)
rpkyle Jan 10, 2020
ec866fb
Fix LICENSE for dashHtmlComponents install on Windows (#150)
rpkyle Feb 14, 2020
b383139
Update R examples in dashHtmlComponents (#153)
rpkyle Mar 6, 2020
d325b2c
Merge pull request #152 from plotly/update-plotly-url
Mar 27, 2020
9fa1965
Bump version to 1.0.3
Apr 1, 2020
be1cf61
R examples runnable if interactive() is true (#157)
rpkyle Apr 30, 2020
e686e9f
+ --r-suggests for CRAN checks
May 4, 2020
5820e68
update YAML for CRAN submission
May 4, 2020
4c26b0c
`npm ci` for renderer (#159)
Marc-Andre-Rivet May 4, 2020
8a6ced4
3.6.9 | 3.7.6
Jun 2, 2020
e72d8b9
Merge pull request #164 from plotly/dependabot/npm_and_yarn/elliptic-…
alexcjohnson Aug 3, 2020
c544f20
Merge pull request #163 from plotly/dependabot/npm_and_yarn/lodash-4.…
alexcjohnson Aug 3, 2020
13ad747
Julia components (#165)
waralex Aug 25, 2020
af62b87
Bump to 1.1.0 + ignore files for jl
Aug 25, 2020
a00c4ef
html 1.1.1
Sep 3, 2020
5063781
Use authenticated Docker pulls (#167)
rpkyle Oct 6, 2020
7dbd7ac
Update CODEOWNERS
Marc-Andre-Rivet Dec 9, 2020
1f765ac
Merge pull request #169 from plotly/import-test
alexcjohnson Dec 10, 2020
5faa83e
Merge pull request #170 from plotly/mdn-update-yari
alexcjohnson Dec 15, 2020
173ebc8
Merge pull request #172 from jbampton/fix-spelling
alexcjohnson Dec 17, 2020
00f412b
Merge pull request #171 from plotly/dash-1506
alexcjohnson Dec 17, 2020
a55ad4c
Merge pull request #168 from plotly/dependabot/npm_and_yarn/dot-prop-…
alexcjohnson Dec 17, 2020
13be9ec
Merge pull request #174 from plotly/moz-update-jan-2021
alexcjohnson Jan 7, 2021
9748792
bump to v1.1.2 (#176)
harryturr Jan 19, 2021
6c20ebc
Remove context reference from CircleCI (#175)
rpkyle Jan 20, 2021
933bef2
Merge pull request #178 from plotly/129-obsolete-docs
alexcjohnson Jan 30, 2021
7f768ab
Merge pull request #173 from plotly/sanity-browser-capabilities
alexcjohnson Jan 30, 2021
483db05
Merge pull request #179 from AnnMarieW/add-allow-prop-77
alexcjohnson Feb 11, 2021
46cfb32
Merge pull request #181 from plotly/dependabot/npm_and_yarn/elliptic-…
alexcjohnson Mar 19, 2021
ab5ffe4
Merge pull request #183 from plotly/dependabot/npm_and_yarn/y18n-4.0.1
alexcjohnson Apr 2, 2021
1afe8fc
Merge pull request #182 from plotly/update-toolchain-20210324
alexcjohnson Apr 2, 2021
1513026
version bump 1.1.3 (#184)
harryturr Apr 8, 2021
8bb32a0
Merge pull request #188 from plotly/dependabot/npm_and_yarn/lodash-4.…
alexcjohnson May 12, 2021
30901ea
Merge pull request #189 from plotly/dependabot/npm_and_yarn/hosted-gi…
alexcjohnson May 13, 2021
4f40373
Merge pull request #191 from plotly/dependabot/npm_and_yarn/browsersl…
alexcjohnson May 27, 2021
b668cc4
Update dash-html-components R package vignettes and examples (#190)
HammadTheOne May 27, 2021
ab21d63
Merge pull request #193 from plotly/update-renderer
alexcjohnson Jun 3, 2021
601733d
Merge pull request #192 from plotly/dependabot/npm_and_yarn/ws-7.4.6
alexcjohnson Jun 3, 2021
50abc2c
Merge pull request #194 from plotly/deps-update-20210630
alexcjohnson Jul 8, 2021
16554bf
version bump
alexcjohnson Jul 9, 2021
20dbb5d
Create MAKE_A_NEW_BACK_END.md
alexcjohnson Jul 22, 2021
031e7a0
Update MAKE_A_NEW_BACK_END.md
jackparmer Jul 22, 2021
1b09290
Adding dash-html-components package
HammadTheOne Jul 23, 2021
dcdf74f
Updating config
HammadTheOne Jul 23, 2021
4692acf
Changing packages directory to components
HammadTheOne Jul 23, 2021
e5908ff
Updating continuation configs
HammadTheOne Jul 23, 2021
3b7588b
Updated dynamic config
HammadTheOne Jul 23, 2021
8f89aa7
Updated html job names
HammadTheOne Jul 23, 2021
9437453
Typo fix
HammadTheOne Jul 23, 2021
64ac892
Update working directories for CI jobs
HammadTheOne Jul 23, 2021
020da30
Testing wd of jobs
HammadTheOne Jul 23, 2021
70fe8c4
More info
HammadTheOne Jul 23, 2021
42ec6c5
Changing working directory
HammadTheOne Jul 23, 2021
0e453e8
Testing out checkout directory
HammadTheOne Jul 23, 2021
5665d5b
Reverting checkout directory
HammadTheOne Jul 23, 2021
e99c5bc
Testing config
HammadTheOne Jul 23, 2021
9726ff8
Fixed config
HammadTheOne Jul 23, 2021
f7500d8
Testing config
HammadTheOne Jul 23, 2021
5c1b6f0
Testing executor directory
HammadTheOne Jul 23, 2021
52d51df
Updated checkout path
HammadTheOne Jul 23, 2021
a4c997e
Testing directory path
HammadTheOne Jul 23, 2021
bf94d30
Removing pre-commit hooks for dcc and table
HammadTheOne Jul 24, 2021
697924f
Working path updates for html and table
HammadTheOne Jul 24, 2021
dd88a54
Removing py2.7 tests
HammadTheOne Jul 24, 2021
38ddb7e
dcc persistence test
HammadTheOne Jul 24, 2021
cc03bf2
Correcting paths
HammadTheOne Jul 24, 2021
2f65c65
Testing paths
HammadTheOne Jul 24, 2021
3f34eb3
Added workspace
HammadTheOne Jul 25, 2021
ea20fa9
Installing dash with dcc test
HammadTheOne Jul 25, 2021
34f40eb
Running html tests
HammadTheOne Jul 25, 2021
faffc58
Re-running tests
HammadTheOne Jul 25, 2021
4cfd130
Running tests
HammadTheOne Jul 26, 2021
aaffe2a
Testing wd
HammadTheOne Jul 26, 2021
20d85ac
Testing dash install
HammadTheOne Jul 26, 2021
0ed70c5
Rerunning workflow
HammadTheOne Jul 26, 2021
2df67a8
Added branch flag
HammadTheOne Jul 26, 2021
2467bef
Updating git clone of dash-main
HammadTheOne Jul 26, 2021
dc0573e
Updated dcc tests
HammadTheOne Jul 26, 2021
275d162
Adding dash-table import to dcc tests
HammadTheOne Jul 26, 2021
5efc488
Updated dcc integration tests
HammadTheOne Jul 26, 2021
3afc207
Testing setup workflow
HammadTheOne Jul 27, 2021
a11255a
Running workflow
HammadTheOne Jul 27, 2021
7c2cbfa
Removing extra quote
HammadTheOne Jul 27, 2021
11ab57b
Setup phase
HammadTheOne Jul 27, 2021
7c56ecf
Reverting shared config changes
HammadTheOne Jul 27, 2021
decae47
Removed dynamic config
HammadTheOne Jul 27, 2021
e232394
Running dash integration tests
HammadTheOne Jul 28, 2021
f922e3e
Removing persistence for misc-build
HammadTheOne Jul 28, 2021
1e15a59
Running tests
HammadTheOne Jul 28, 2021
0a2e5ed
Adding dash install
HammadTheOne Jul 28, 2021
825c1f5
Added build step
HammadTheOne Jul 28, 2021
8e2cc93
Building deps within tests
HammadTheOne Jul 28, 2021
89cfe47
Fixed test packages
HammadTheOne Jul 28, 2021
eb552a0
Fixing dcc tests
HammadTheOne Jul 28, 2021
3be5391
Drop python 2 support (#1694)
jonmmease Jul 28, 2021
8b03e39
Fixing table tests and adding assets
HammadTheOne Jul 28, 2021
c9dc330
Fixing requirements
HammadTheOne Jul 28, 2021
b5b11e7
Fixing dash-table server tests
HammadTheOne Jul 29, 2021
1010a44
Reformatting table
HammadTheOne Jul 29, 2021
11b5f77
Adding table fixes
HammadTheOne Jul 29, 2021
73a6048
Running table server test
HammadTheOne Jul 29, 2021
675286d
Add pytest install
HammadTheOne Jul 29, 2021
f102198
More dependency installs
HammadTheOne Jul 29, 2021
629c420
Fixing table test
HammadTheOne Jul 29, 2021
71401b5
Flexible callback support (#1691)
jonmmease Aug 5, 2021
a19c274
Preserve schema key order when flattening a dict grouping (#1701)
jonmmease Aug 6, 2021
4c55a57
Changed lerna bootstrap to npm i
HammadTheOne Aug 7, 2021
14dc753
Adding pre-linting to component artifacts
HammadTheOne Aug 10, 2021
365048b
Updated ci config
HammadTheOne Aug 10, 2021
e6cfecf
Fixing wd
HammadTheOne Aug 10, 2021
1586067
Fixed table test
HammadTheOne Aug 11, 2021
a2251ff
Fix internal and external resources tests
HammadTheOne Aug 11, 2021
1d36ca7
Adding more test fixes
HammadTheOne Aug 11, 2021
5d41353
Removing flaky table test
HammadTheOne Aug 11, 2021
e169cbc
Fixing hot reload interaction with pytest
HammadTheOne Aug 11, 2021
e7bc362
Fixing scripts test
HammadTheOne Aug 12, 2021
f17a6d5
Merge branch 'dev' into dash-monorepo
HammadTheOne Aug 12, 2021
c8db560
Linting fix
HammadTheOne Aug 12, 2021
17b5c56
Fixing conflict merge changes
HammadTheOne Aug 12, 2021
59b66f3
Added linting fix
HammadTheOne Aug 12, 2021
cea7e39
Cleanup
HammadTheOne Aug 12, 2021
27c13df
Skipping specific tests
HammadTheOne Aug 13, 2021
2118456
Consolidate percy jobs
HammadTheOne Aug 13, 2021
6b6d5c0
Linting
HammadTheOne Aug 13, 2021
ac0b8d8
Single percy job
HammadTheOne Aug 13, 2021
1837234
Temporarily add percy jobs back
HammadTheOne Aug 13, 2021
e071e3d
Skipping additional test
HammadTheOne Aug 13, 2021
7b11920
Single percy finalize
HammadTheOne Aug 14, 2021
1ca7990
Percy adjustment
HammadTheOne Aug 14, 2021
e271f7f
Rename specific dcc Percy snapshots
HammadTheOne Aug 15, 2021
ddae81b
Rename specific dcc Percy snapshots
HammadTheOne Aug 15, 2021
5bec9a0
Merge branch 'dash-monorepo' of https://github.com/plotly/dash into d…
HammadTheOne Aug 15, 2021
f0c9e07
Testing percy changes
HammadTheOne Aug 15, 2021
39a11e0
Fixing percy tests
HammadTheOne Aug 15, 2021
4e2dffb
Rerunning tests
HammadTheOne Aug 16, 2021
c6668d8
Testing parallel_total
HammadTheOne Aug 16, 2021
3eac71e
Revert PERCY_PARALLEL_TOTAL
HammadTheOne Aug 16, 2021
5cd8051
Testing without parallelism
HammadTheOne Aug 16, 2021
8199365
Re-enable parallelism and test Percy orb
HammadTheOne Aug 16, 2021
24e91d4
Disable compression by default in Dash 2 (#1707)
jonmmease Aug 16, 2021
58204ce
Fixing ci
HammadTheOne Aug 16, 2021
9453473
Merge branch 'dev' into dash-monorepo
HammadTheOne Aug 16, 2021
cda1aac
CI cleanup
HammadTheOne Aug 16, 2021
25a5012
Merge branch 'dash-monorepo' of https://github.com/plotly/dash into d…
HammadTheOne Aug 16, 2021
e277be5
Add support for adding "extra components" to an app's layout (#1700)
jonmmease Aug 16, 2021
9d10871
Refactor JSON encoding to use plotly.py JSON engine (#1514)
jonmmease Aug 16, 2021
86c140a
Add long_callback decorator (#1702)
jonmmease Aug 18, 2021
94c2680
Re-running tests
HammadTheOne Aug 18, 2021
8787f41
Rerunning tests
HammadTheOne Aug 19, 2021
f9c3eb4
Testing with stored artifacts
HammadTheOne Aug 19, 2021
d461404
Merge branch 'dev' into dash-monorepo
HammadTheOne Aug 19, 2021
fe6ceab
Linting and test fixes
HammadTheOne Aug 19, 2021
e1fccf9
More linting fix
HammadTheOne Aug 19, 2021
068c9f9
Testing orjson removal
HammadTheOne Aug 19, 2021
65f0980
Added visual test to percy
HammadTheOne Aug 19, 2021
5367326
Improve flaky test
jonmmease Aug 19, 2021
698f863
Running tests with separate build
HammadTheOne Aug 19, 2021
71521d7
Merge branch 'dash-monorepo' of https://github.com/plotly/dash into d…
HammadTheOne Aug 19, 2021
ca132e3
Updating workflow
HammadTheOne Aug 19, 2021
4b53e3e
Cleanup html tests
HammadTheOne Aug 19, 2021
1fa0eeb
move files to _callback.py and remove self.
chriddyp Aug 19, 2021
68d8079
imports
chriddyp Aug 19, 2021
751a62b
wire things through + black
chriddyp Aug 19, 2021
080d520
move clientside callback stuff to a new file
chriddyp Aug 19, 2021
5bcdea2
get clientside callbacks to work
chriddyp Aug 20, 2021
1356331
declare dash.clientside_callback
chriddyp Aug 20, 2021
49fcd4d
better error message
chriddyp Aug 20, 2021
7977711
pylint
chriddyp Aug 20, 2021
c03edb7
black
chriddyp Aug 20, 2021
37fe64d
basic test
chriddyp Aug 20, 2021
4538d10
export dash.clientside_callback
chriddyp Aug 20, 2021
9d25cfd
pylint on import
chriddyp Aug 20, 2021
71ca88a
lint & black
chriddyp Aug 20, 2021
865b2d4
Clear global callback collections after use
jonmmease Aug 20, 2021
d26fcef
black
jonmmease Aug 20, 2021
6be0b42
Move global inline scripts into app's inline scripts
jonmmease Aug 20, 2021
5c2f05e
Merge pull request #1679 from plotly/dash-monorepo
chriddyp Aug 20, 2021
b572091
Merge pull request #1719 from plotly/dash-dot-callback-2-jonmmease
chriddyp Aug 20, 2021
eae8914
Merge pull request #1718 from plotly/dash-dot-callback-2
chriddyp Aug 20, 2021
5647abe
Fix pytest import (#1720)
HammadTheOne Aug 20, 2021
c32ca56
fixed bug causing 'dash_html_components.' to be imported instead of d…
yujinwunz Aug 24, 2021
825bf8a
Remove `future`, `__future__` and `py2/py3`
anders-kiaer Aug 24, 2021
0d1828b
unit test
yujinwunz Aug 24, 2021
7ee59aa
Update dash/dash.py
yujin-wu Aug 25, 2021
97a271a
lint
yujin-wu Aug 25, 2021
bee7116
removed side effect in tests
yujinwunz Aug 25, 2021
d9568e9
Merge pull request #1727 from plotly/register-resource-fix
alexcjohnson Aug 25, 2021
5cf7639
add to highlightjs: fsharp, csharp, matlab
alexcjohnson Aug 25, 2021
15a988c
update pylint to latest
alexcjohnson Aug 25, 2021
71aede9
update pre-3.9 pylintrc
alexcjohnson Aug 25, 2021
33fe472
changelog for new hljs langs
alexcjohnson Aug 25, 2021
74c0149
noise
alexcjohnson Aug 25, 2021
d21a365
Merge pull request #1729 from plotly/more-hljs-langs
alexcjohnson Aug 26, 2021
b477eea
retry hook for JWT expiry
yujin-wu Aug 30, 2021
8cc4c7a
forbidden => unauthorized
yujin-wu Aug 30, 2021
48bd255
update plotly.js to v2.4.1
alexcjohnson Aug 30, 2021
900a706
changelog for plotlyjs 2.2.1->2.4.1
alexcjohnson Aug 30, 2021
9ef8317
don't handle async error on disconnect
yujin-wu Aug 31, 2021
f8cf5e4
include bbox from plotly.js events
alexcjohnson Aug 31, 2021
607f80c
ADD_HTTP_HEADERS action
yujin-wu Aug 31, 2021
2717a76
new Tooltip component
alexcjohnson Aug 31, 2021
675e283
add Tooltip to exports, and alphabetize index file
alexcjohnson Aug 31, 2021
f6f8000
changelog
yujin-wu Aug 31, 2021
87a649a
added action back to callbacks
yujin-wu Aug 31, 2021
1399fb7
changelog for dcc.Tooltip
alexcjohnson Aug 31, 2021
67927f7
plotly.js 2.4.2
alexcjohnson Aug 31, 2021
f1270f9
lint & test cleanup
alexcjohnson Aug 31, 2021
66c7847
Merge pull request #1726 from anders-kiaer/future_remove
alexcjohnson Aug 31, 2021
e25f5c6
Remove build artifacts and update build process (#1734)
HammadTheOne Sep 1, 2021
6275d60
Merge branch 'dev' into plotlyjs-2.4.1
alexcjohnson Sep 1, 2021
0a5d73d
Update dash/dash-renderer/src/actions/callbacks.ts
yujin-wu Sep 1, 2021
239f4b2
fix typo in link to docs
fergusch Sep 1, 2021
32324b4
Merge pull request #1739 from fergusch/serve-locally-warning-typo
alexcjohnson Sep 1, 2021
e295ec2
added test for request_hooks, removed null check bug for existing hooks
yujin-wu Sep 1, 2021
57c1e5d
Merge branch 'api-retrying' of github-yujin-wu:plotly/dash into api-r…
yujin-wu Sep 1, 2021
dd6f535
wrapped request refresh jwt hook with memoize
yujin-wu Sep 1, 2021
a880c07
don't mutate props
yujin-wu Sep 1, 2021
d0c319c
add id to tooltip main element - and add a basic tooltip test
alexcjohnson Sep 2, 2021
1d9a17f
Merge branch 'dev' into plotlyjs-2.4.1
alexcjohnson Sep 2, 2021
67b124b
move tooltip DOM id to hover-content span
alexcjohnson Sep 2, 2021
e281fec
oops fix tooltip test
alexcjohnson Sep 2, 2021
0d33e97
Merge branch 'dev' into api-retrying
alexcjohnson Sep 2, 2021
ee81125
lint
alexcjohnson Sep 2, 2021
2b954bb
Add flaky decorator to long_callback tests to retry up to 3 times
jonmmease Sep 2, 2021
81d0268
Merge pull request #1741 from plotly/long_callback_tests
alexcjohnson Sep 2, 2021
246ec4d
Merge branch 'dev' into plotlyjs-2.4.1
alexcjohnson Sep 2, 2021
5d326df
rerun tests
alexcjohnson Sep 2, 2021
cf75745
Merge pull request #1735 from plotly/plotlyjs-2.4.1
alexcjohnson Sep 2, 2021
bf45c98
Merge branch 'dev' into api-retrying
alexcjohnson Sep 2, 2021
421c3e4
Merge pull request #1736 from plotly/api-retrying
alexcjohnson Sep 2, 2021
dacf692
Add dependency on component stub packages (#1725)
jonmmease Sep 3, 2021
8e685bd
Updating versions
HammadTheOne Sep 3, 2021
e67f3bd
Bump dash versions
HammadTheOne Sep 3, 2021
3eeb73e
Merging dev changes and build artifacts into master
HammadTheOne Sep 3, 2021
cf03f27
Merge branch 'update-version' into master-2.0.0
HammadTheOne Sep 3, 2021
c261ab7
Merging in update-version changes
HammadTheOne Sep 3, 2021
b161068
Changing gitignore inclusions
HammadTheOne Sep 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
583 changes: 475 additions & 108 deletions .circleci/config.yml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
ignore = C901, E203, E266, E501, E731, W503
select = B,C,E,F,W,T4
per-file-ignores =
tests/*: E722, F811
tests/*: E722, F811
dash/html/I.py: E742
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,8 @@ VERSION.txt
# main-branch artifacts to explicitly include
!dash/dash-renderer/build
!dash/deps

# Exceptions
!components/dash-core-components/tests/integration/upload/upload-assets/upft001.csv
!components/dash-table/tests/assets/*.csv
!components/dash-table/tests/selenium/assets/*.csv
9 changes: 8 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ ignore=CVS
# regex matches against base names, not paths.
ignore-patterns=

# Add files or directories matching the regex patterns to the ignore-list.
# The regex matches against paths.
ignore-paths=^dash/dcc/.*$,
^dash/html/.*$,
^dash/dash_table/.*$

# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
Expand Down Expand Up @@ -62,7 +68,8 @@ disable=fixme,
superfluous-parens,
bad-continuation,
line-too-long,
bad-option-value
bad-option-value,
unspecified-encoding


# Enable the message, report, category or checker with the given id(s). You can
Expand Down
9 changes: 8 additions & 1 deletion .pylintrc39
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ ignore=CVS
# regex matches against base names, not paths.
ignore-patterns=

# Add files or directories matching the regex patterns to the ignore-list.
# The regex matches against paths.
ignore-paths=^dash/dcc/.*$,
^dash/html/.*$,
^dash/dash_table/.*$

# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
Expand Down Expand Up @@ -153,7 +159,8 @@ disable=invalid-name,
line-too-long,
super-with-arguments,
raise-missing-from,
bad-option-value
bad-option-value,
unspecified-encoding

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,48 @@
All notable changes to `dash` will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [2.0.0] - 2021-08-03

## Dash and Dash Renderer

### Added
- [#1702](https://github.com/plotly/dash/pull/1702) Added a new `@app.long_callback` decorator to support callback functions that take a long time to run. See the PR and documentation for more information.
- [#1514](https://github.com/plotly/dash/pull/1514) Perform json encoding using the active plotly JSON engine. This will default to the faster orjson encoder if the `orjson` package is installed.
- [#1736](https://github.com/plotly/dash/pull/1736) Add support for `request_refresh_jwt` hook and retry requests that used expired JWT tokens.

### Changed
- [#1679](https://github.com/plotly/dash/pull/1679) Restructure `dash`, `dash-core-components`, `dash-html-components`, and `dash-table` into a singular monorepo and move component packages into `dash`. This change makes the component modules available for import within the `dash` namespace, and simplifies the import pattern for a Dash app. From a development standpoint, all future changes to component modules will be made within the `components` directory, and relevant packages updated with the `dash-update-components` CLI command.
- [#1707](https://github.com/plotly/dash/pull/1707) Change the default value of the `compress` argument to the `dash.Dash` constructor to `False`. This change reduces CPU usage, and was made in recognition of the fact that many deployment platforms (e.g. Dash Enterprise) already apply their own compression. If deploying to an environment that does not already provide compression, the Dash 1 behavior may be restored by adding `compress=True` to the `dash.Dash` constructor.
- [#1734](https://github.com/plotly/dash/pull/1734) Added `npm run build` script to simplify build process involving `dash-renderer` and subcomponent libraries within `dash`.


## Dash Core Components
### Added

- [#1729](https://github.com/plotly/dash/pull/1729) Include F#, C#, and MATLAB in markdown code highlighting, for the upcoming .NET and MATLAB flavors of dash.

- [#1735](https://github.com/plotly/dash/pull/1735) Upgrade Plotly.js to v2.4.2. This includes:
- [Feature release 2.3.0](https://github.com/plotly/plotly.js/releases/tag/v2.3.0):
- More number formatting options due to `d3-format` upgrade.
- Many new `geo` projections.
- Improved rendering and performance of `scattergl`, `splom` and `parcoords` traces.
- [Feature release 2.4.0](https://github.com/plotly/plotly.js/releases/tag/v2.4.0):
- `legend.groupclick`
- `bbox` of hover items in event data, to support custom dash-driven hover effects
- Patch releases [2.3.1](https://github.com/plotly/plotly.js/releases/tag/v2.3.1), [2.4.1](https://github.com/plotly/plotly.js/releases/tag/v2.4.1), and [2.4.2](https://github.com/plotly/plotly.js/releases/tag/v2.4.2) containing various bug fixes.

- [#1735](https://github.com/plotly/dash/pull/1735) New `dcc.Tooltip` component. This is particularly useful for rich hover information on `dcc.Graph` charts, using the `bbox` information included in the event data in plotly.js v2.4.0

## Dash Table
### Added

- [#1729](https://github.com/plotly/dash/pull/1729) Include F#, C#, and MATLAB in markdown code highlighting, for the upcoming .NET and MATLAB flavors of dash.

## Dash HTML Components
### Removed

- [#1734](https://github.com/plotly/dash/pull/1734) Removed the following obsolete `html` elements - `<command>`, `<element>`, `<isindex>`, `<listing>`, `<multicol>`, `<nextid>`. These are obsolete and had been previously removed from the reference table.

## [1.21.0] - 2021-07-09

## Dash and Dash Renderer
Expand Down
25 changes: 13 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@ $ python3 -m venv .venv/dev
$ source .venv/dev/bin/activate
# install dash and dependencies
$ pip install -e .[testing,dev] # in some shells you need \ to escape []
$ cd dash-renderer
# build renderer bundles, this will build all bundles from source code
# the only true source of npm version is defined in package.json
$ npm install
$ npm run build # or `renderer build`
# install dash-renderer for development
$ pip install -e .
# this script will build the dash-core-components, dash-html-components, dash-table,
# and renderer bundles; this will build all bundles from source code in their
# respective directories. The only true source of npm version is defined
# in package.json for each package.
$ npm run build # runs `renderer build` and `npm build` in dcc, html, table
# build and install components used in tests
$ cd .. # should be back in dash/ root directory
$ npm install
$ npm run setup-tests.py # or npm run setup-tests.R
# you should see both dash and dash-renderer are pointed to local source repos
# you should see dash points to a local source repo
$ pip list | grep dash
```

Expand All @@ -38,17 +35,21 @@ If you want to contribute or simply dig deeper into Dash, we encourage you to pl

For contributors with a primarily **Python** or **R** background, this section might help you understand more details about developing and debugging in JavaScript world.

As of Dash 1.2, the renderer bundle and its peer dependencies can be packed and generated from the source code. The `dash-renderer\package.json` file is the one version of the truth for dash renderer version and npm dependencies. A build tool `renderer`, which is a tiny Python script installed by Dash as a command-line tool, has a few commands:
As of Dash 1.2, the renderer bundle and its peer dependencies can be packed and generated from the source code. The `dash-renderer\package.json` file is the one version of the truth for dash renderer version and npm dependencies. A build tool `renderer`, which is a tiny Python script installed by Dash as a command-line tool, has a few commands which can be run from within the `dash/dash-renderer` directory:

1. `renderer clean` deletes all the previously generated assets by this same tool.
2. `renderer npm` installs all the npm modules using this `package.json` files. Note that the `package-lock.json` file is the computed reference product for the versions defined with tilde(~) or caret(^) syntax in npm.
3. `renderer bundles` parses the locked version JSON, copies all the peer dependencies into dash_renderer folder, bundles the renderer assets, and generates an `__init__.py` to map all the resources. There are also a list of helpful `scripts` property defined in `package.json` you might need to do some handy tasks like linting, syntax format with prettier, etc.
4. `renderer digest` computes the content hash of each asset in `dash_renderer` folder, prints out the result in logs, and dumps into a JSON file `digest.json`. Use this when you have a doubt about the current assets in `dash_renderer`, and compare it with previous result in one shot by this command.
5. `renderer build` runs 1, 2, 3, 4 in sequence as a complete build process from scratch.
6. `renderer build local` runs the same order as in 5 and also generates source maps for debugging purposes. You also need to install dash-renderer with editable mode: `pip install -e .`.
6. `renderer build local` runs the same order as in 5 and also generates source maps for debugging purposes.

When a change in renderer code doesn't reflect in your browser as expected, this could be: confused bundle generation, caching issue in a browser, Python package not in `editable` mode, etc. The new tool reduces the risk of bundle assets by adding the digest to help compare asset changes.

### Development of `dash-core-components`, `dash-html-components`, and `dash_table`

Specific details on making changes and contributing to `dcc`, `html`, and `dash_table` can be found within their respective sub-directories in the `components` directory. Once changes have been made in the specific directories, the `dash-update-components` command line tool can be used to update the build artifacts and dependencies of the respective packages within Dash. For example, if a change has been made to `dash-core-components`, use `dash-update-components "dash-core-components"` to move the build artifacts to Dash. By default, this is set to update `all` packages.

## Python 2 And 3 Compatibility

Writing Python 2/3 compatible code might be a challenging task for contributors used to working on one particular version, especially new learners who start directly with Python 3.
Expand Down Expand Up @@ -77,7 +78,7 @@ Git command veterans might argue that a simple terminal and a cherry switch keyb

### Emoji

Plotlyers love to use emoji as an effective communication medium for
Plotlyers love to use emoji as an effective communication medium for:

**Commit Messages**

Expand Down
Loading