Skip to content

Dash monorepo #1679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1,659 commits into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1659 commits
Select commit Hold shift + click to select a range
e1a0d77
Update README.md
chriddyp Jun 21, 2017
139edb0
Update README.md
chriddyp Jun 21, 2017
10cef09
Merge pull request #13 from plotly/jackwluo-patch-1
jackluo Jun 21, 2017
ea9cc0f
Merge pull request #15 from plotly/n-clicks
chriddyp Jul 18, 2017
8722c3b
add key property
chriddyp Sep 29, 2017
b1b2d12
generate new components and metadata
chriddyp Sep 29, 2017
98edae8
v0.8.0
chriddyp Sep 29, 2017
385756f
Remove whitespace. Standard import 'import unittest' should be placed…
jbampton Jan 6, 2018
45d1f66
Fix undefined reference to __version__ in setup.py. You can test this…
jbampton Jan 11, 2018
0775011
Fixed typo in README
Akronix Jan 29, 2018
ef2b8c6
integration tests
chriddyp Feb 23, 2018
694c907
rerun publish
chriddyp Feb 23, 2018
96939ef
trigger ci build
chriddyp Feb 23, 2018
2bd254d
Move PropTypes from React package to prop-types (#36)
mjclawar Feb 23, 2018
e34ec57
rerun script
chriddyp Feb 23, 2018
2219da2
rerun script
chriddyp Feb 23, 2018
f7b0e58
update index export so that it's more diffable
chriddyp Feb 23, 2018
3de78f0
remove obsolete, non-standard, or deprecated tags
chriddyp Feb 23, 2018
cfcbdf5
update changelog
chriddyp Feb 23, 2018
fa8217a
add check that dash was correctly imported and exit with helpful mess…
ned2 Mar 30, 2018
812f4ea
npm publish
chriddyp Apr 3, 2018
039ee45
v0.10.0
chriddyp Apr 3, 2018
0622524
Added data-* and aria-* attributes (#40)
rmarren1 Apr 23, 2018
b07234d
`autoComplete` property on `Textarea`
chriddyp Apr 29, 2018
750aa66
v0.10.1
chriddyp Apr 29, 2018
bba84ce
v0.10.1 changelog
chriddyp Apr 29, 2018
40d5250
commit generated files to the repo (#44)
chriddyp Apr 29, 2018
69ebb48
Fix MANIFEST.in to include license (#46)
synapticarbors May 9, 2018
3c81a36
determine which element was clicked (#45)
chriddyp Jun 1, 2018
a686965
v0.11.0
chriddyp Jun 1, 2018
e3256cf
Added CONTRIBUTING.md (#52)
wbrgss Jul 25, 2018
576e361
Typo fix; missing `;` (#53)
wbrgss Jul 25, 2018
cd64144
Merge pull request #50 from rmarren1/ide
rmarren1 Aug 3, 2018
ccca65c
Merge pull request #57 from plotly/update-circle
T4rk1n Aug 22, 2018
7f443c3
Merge pull request #63 from rmarren1/fix-3.7
rmarren1 Aug 30, 2018
4869001
Merge pull request #62 from plotly/fix-circle
T4rk1n Sep 4, 2018
e113350
Merge pull request #65 from plotly/fix-percy-builds
T4rk1n Sep 7, 2018
e67fabd
Merge pull request #64 from plotly/dev-bundle
T4rk1n Sep 20, 2018
96f2f41
Merge pull request #67 from plotly/fix-manifest-typo
T4rk1n Sep 20, 2018
0b3e064
Merge pull request #69 from plotly/fix-dev-bundles
T4rk1n Sep 20, 2018
d3c43a7
Merge pull request #70 from rmarren1/classes-with-3.7
rmarren1 Sep 21, 2018
f5dfd8c
Merge pull request #75 from plotly/fix-requests-security
T4rk1n Nov 5, 2018
bc5a3ae
Added support for NAMESPACE generation
Nov 6, 2018
6fcd928
Revert "Added support for NAMESPACE generation"
Nov 6, 2018
d5315c5
Merge pull request #79 from plotly/update-tooling
rmarren1 Dec 12, 2018
d0e420a
Merge pull request #84 from plotly/fix-props
T4rk1n Dec 17, 2018
b687b18
Merge pull request #85 from plotly/fix-build
T4rk1n Dec 17, 2018
2592b98
Merge pull request #86 from plotly/fix-ignores
T4rk1n Dec 17, 2018
a6abffb
Merge pull request #83 from plotly/prepublish
rmarren1 Dec 21, 2018
a3a7da6
bump version to 0.13.5
Jan 11, 2019
4a496fd
Merge pull request #89 from plotly/no-events
alexcjohnson Jan 15, 2019
e6d7949
Merge pull request #91 from plotly/0.13.6-issue34
rpkyle Jan 29, 2019
d25e4f5
Update CHANGELOG.md
rpkyle Jan 29, 2019
6d5a969
Merge pull request #92 from plotly/version-lock
T4rk1n Feb 4, 2019
6f92f71
Merge pull request #93 from plotly/loading_states_data
valentijnnieman Feb 28, 2019
8babda7
Merge pull request #95 from plotly/improve-build
Marc-Andre-Rivet Mar 4, 2019
d921221
Merge pull request #96 from plotly/improve-build
Marc-Andre-Rivet Mar 4, 2019
b14cfe7
generate html after template change (#97)
Marc-Andre-Rivet Mar 4, 2019
ac6d0f2
Improve build
Marc-Andre-Rivet Mar 4, 2019
445b990
bump version to 0.14.0
Mar 5, 2019
672798a
Percy snapshot name only uses python major/minor (#100)
Marc-Andre-Rivet Mar 8, 2019
d9118bd
Merge pull request #101 from plotly/0.14.0-issue591
rpkyle Mar 10, 2019
747291b
Rework dash-renderer setProps (#99)
Marc-Andre-Rivet Mar 11, 2019
8a69ca2
remove undefined setProps handling (#103)
Marc-Andre-Rivet Mar 23, 2019
e92609f
bump version to 0.15.0
Mar 25, 2019
a6d67fb
bump version to 0.15.0
Mar 25, 2019
d52ee5e
Merge pull request #106 from plotly/0.15.0-issue12312
rpkyle Mar 27, 2019
1aca8ff
Merge pull request #110 from plotly/proptypes
byronz Apr 17, 2019
ed82fae
Merge pull request #111 from plotly/oneof
byronz Apr 18, 2019
2bc717b
v0.16.0
chriddyp Apr 25, 2019
3954a90
new build
chriddyp Apr 25, 2019
5bbf536
v0.16.0
chriddyp Apr 25, 2019
537f077
Build & slew of minor improvements (#113)
Marc-Andre-Rivet May 21, 2019
34e9e74
Fix monorepo build (#115)
Marc-Andre-Rivet May 28, 2019
84eed46
Create FUNDING.yml
nicolaskruchten May 29, 2019
accdc03
Merge pull request #116 from plotly/prop-types-dev
byronz Jun 11, 2019
402c153
revert branch clone
Jun 11, 2019
ff56fdb
Merge pull request #117 from plotly/0.16.0-rpkg
rpkyle Jun 14, 2019
2fe69d0
bug: missing quotation marks
rpkyle Jun 14, 2019
e842903
Merge pull request #119 from plotly/update-jun-2019-b
alexcjohnson Jun 18, 2019
bd823b1
bump version to 1.0.0
Jun 20, 2019
8089017
document loss of `version.py`
alexcjohnson Jun 21, 2019
654cafe
Merge pull request #121 from plotly/component-description
alexcjohnson Jun 22, 2019
14a9977
Merge pull request #123 from plotly/mkcor-rm-duplicate-pd
alexcjohnson Jun 24, 2019
2dbb8b6
Build Dash 1.0.0 of dash-html-components for R (#122)
rpkyle Jul 2, 2019
04c5c39
Merge pull request #131 from plotly/assets-#597
byronz Aug 26, 2019
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
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
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
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
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
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
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
  •  
  •  
  •  
548 changes: 482 additions & 66 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
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ coverage.xml
.Python
build/
dash/deps/
dash/html/
dash/dcc/
dash/dash_table/
develop-eggs/
dist/
downloads/
Expand Down Expand Up @@ -80,3 +83,8 @@ VERSION.txt

# vim
*.swp

# 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
6 changes: 6 additions & 0 deletions .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
6 changes: 6 additions & 0 deletions .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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- [#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.

### Changed
- [#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.
- [#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.

## [1.21.0] - 2021-07-09

Expand Down
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ As of Dash 1.2, the renderer bundle and its peer dependencies can be packed and

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 updates and contributions 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 +81,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
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ include dash/favicon.ico
include dash/extract-meta.js
include dash/deps/*.js
include dash/deps/*.map
include dash/dcc/*
include dash/html/*
include dash/dash_table/*
include dash/dash-renderer/build/*.js
include dash/dash-renderer/build/*.map
188 changes: 188 additions & 0 deletions components/dash-core-components/.circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
version: 2.1

orbs:
win: circleci/[email protected]

jobs:
dcc-percy-finalize:
working_directory: ~/dash/components/dash-core-components
docker:
- image: percyio/agent
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
steps:
- checkout:
path: ~/dash
- run: percy finalize --all

dcc-lint-unit-39: &lint-unit
working_directory: ~/dash/components/dash-core-components
docker:
- image: circleci/python:3.9.2-buster-node-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
environment:
PYTHON_VERSION: py39
steps:
- checkout:
path: ~/dash
- run: echo $PYTHON_VERSION > ver.txt
- restore_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "dev-requirements.txt" }}
- run:
name: 🐍 pip dev requirements
command: |
sudo pip install virtualenv --upgrade
python -m venv venv || virtualenv venv && . venv/bin/activate
pip install --progress-bar off -e git+https://github.com/plotly/dash.git@dev#egg=dash[dev,testing]
pip install --progress-bar off --no-cache-dir -r dev-requirements.txt
- save_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "dev-requirements.txt" }}
paths:
- venv
- run:
name: 🌸 Lint
command: |
. venv/bin/activate
set -eo pipefail
npm ci
npm run lint

dcc-lint-unit-36:
<<: *lint-unit
docker:
- image: circleci/python:3.6.13-stretch-node-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
environment:
PYTHON_VERSION: py36

dcc-build-dash-39: &build-dash
working_directory: ~/dash/components/dash-core-components
docker:
- image: circleci/python:3.9.2-buster-node-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
environment:
PYTHON_VERSION: py39
steps:
- checkout:
path: ~/dash
- run: echo $PYTHON_VERSION > ver.txt
- restore_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "dev-requirements.txt" }}
- run:
name: 🐍 pip dev requirements
command: |
sudo pip install virtualenv --upgrade
python -m venv venv || virtualenv venv && . venv/bin/activate
set -eo pipefail
pip install --progress-bar off --no-cache-dir -r dev-requirements.txt
- save_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "dev-requirements.txt" }}
paths:
- venv
- run:
name: 🏗️ build dash
command: |
. venv/bin/activate && mkdir packages
set -eo pipefail
# build main dash & renderer
git clone --depth 1 -b dash-monorepo [email protected]:plotly/dash.git dash-main
cd dash-main && pip install -e .[dev] --progress-bar off && renderer build
python setup.py sdist && mv dist/* ../packages/ && cd ..
# build html
git clone --depth 1 https://github.com/plotly/dash-html-components.git
git clone --depth 1 [email protected]:plotly/dash-table.git
cd dash-html-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages && cd ..
cd dash-table && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages && cd ..
# build dcc
npm ci && npm run build && python setup.py sdist && mv dist/* ./packages && ls -la packages
- persist_to_workspace:
root: ~/dash/components/dash-core-components
paths:
- packages

dcc-build-dash-36:
<<: *build-dash
docker:
- image: circleci/python:3.6.13-stretch-node-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
environment:
PYTHON_VERSION: py36

dcc-test-39: &test
working_directory: ~/dash/components/dash-core-components
docker:
- image: circleci/python:3.9.2-buster-node-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
environment:
PYTHON_VERSION: py39
PERCY_PARALLEL_TOTAL: -1
PERCY_ENABLE: 1
parallelism: 3
steps:
- checkout:
path: ~/dash
- run: echo $PYTHON_VERSION > ver.txt
- restore_cache:
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "dev-requirements.txt" }}
- attach_workspace:
at: ~/dash/components/dash-core-components
- run:
name: 🧪 Run Integration Tests
command: |
. venv/bin/activate && rm -rf dash_core_components && ls -la
set -eo pipefail
cd packages && mv dash-*.tar.gz main.tar.gz && ls -la
find . -name "dash_*.gz" | xargs pip install -I --progress-bar off --no-cache-dir
pip install --no-cache-dir --progress-bar off main.tar.gz[dev,testing]
pip list | grep dash | xargs pip show && cd ..
echo $(python -V 2>&1) | grep 3.
TESTFILES=$(circleci tests glob "tests/integration/**/test_*.py" | circleci tests split --split-by=timings)
pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml ${TESTFILES}
- store_artifacts:
path: ~/dash/components/dash-core-components/test-reports
- store_test_results:
path: ~/dash/components/dash-core-components/test-reports
- store_artifacts:
path: /tmp/dash_artifacts

dcc-test-36:
<<: *test
docker:
- image: circleci/python:3.6.13-stretch-node-browsers
auth:
username: dashautomation
password: $DASH_PAT_DOCKERHUB
environment:
PYTHON_VERSION: py36
PERCY_ENABLE: 0

workflows:
dcc-python3.9:
jobs:
- dcc-lint-unit-39
- dcc-build-dash-39
- dcc-test-39:
requires:
- dcc-build-dash-39
- dcc-percy-finalize:
requires:
- dcc-test-39

dcc-python3.6:
jobs:
- dcc-lint-unit-36
- dcc-build-dash-36
- dcc-test-36:
requires:
- dcc-build-dash-36
18 changes: 18 additions & 0 deletions components/dash-core-components/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig is awesome: https://EditorConfig.org

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8
indent_style = space
indent_size = 4

# Matches the exact files either package.json or .travis.yml
[{package.json,.circleci/config.yml}]
indent_style = space
indent_size = 2
16 changes: 16 additions & 0 deletions components/dash-core-components/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
build/
dist/
lib/
lib/bundle.js*
coverage/
node_modules/
.npm
vv/
venv/
*.pyc
*.egg-info
*.log
.idea/
.DS_Store
dash_core_components/
config/
Loading