Skip to content

Commit 4fdc242

Browse files
authored
Merge pull request #61 from plotly/dev
Release Dash.jl v0.1.0
2 parents 7d28dfe + f7b152e commit 4fdc242

File tree

161 files changed

+85922
-1785
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+85922
-1785
lines changed

.circleci/config.yml

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ version: 2
33
jobs:
44

55
test:
6-
working_directory: /root/project/Dash
7-
6+
working_directory: ~/dashjl
87
docker:
9-
- image: julia:latest
10-
8+
- image: plotly/julia:ci
9+
environment:
10+
PERCY_PARALLEL_TOTAL: '-1'
11+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'True'
1112
steps:
1213
- checkout
1314

@@ -26,7 +27,28 @@ jobs:
2627
- run:
2728
name: 🔎 Unit tests
2829
command: |
29-
julia -e 'using Pkg; Pkg.update(); Pkg.add(PackageSpec(path=pwd())); Pkg.build("Dash"); Pkg.test("Dash", coverage=true);'
30+
julia test/ci_prepare.jl
31+
32+
- run:
33+
name: ⚙️ Integration tests
34+
command: |
35+
python -m venv venv
36+
. venv/bin/activate
37+
git clone --depth 1 https://github.com/plotly/dash.git -b dev dash-main
38+
cd dash-main && pip install -e .[dev,testing] --progress-bar off && cd ~/dashjl
39+
export PATH=$PATH:/home/circleci/.local/bin/
40+
pytest --headless --nopercyfinalize --junitxml=test-reports/dashjl.xml --percy-assets=test/assets/ test/integration/
41+
- store_artifacts:
42+
path: test-reports
43+
- store_test_results:
44+
path: test-reports
45+
- store_artifacts:
46+
path: /tmp/dash_artifacts
47+
48+
- run:
49+
name: 🦔 percy finalize
50+
command: npx percy finalize --all
51+
when: always
3052

3153
workflows:
3254
version: 2

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://plotly.com/products/consulting-and-oem/

.github/workflows/lint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint Markdown
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Use Node.js
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: '12.x'
14+
- run: npm install -g [email protected]
15+
- run: markdownlint '**/*.md' --ignore node_modules

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ components/*
88
lib/*
99
Manifest.toml
1010
.DS_Store
11-
docs/build
11+
docs/build
12+
venv
13+
*.pyc
14+
tmp

.markdownlint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# MD001 Header levels should only increment by one level at a time
2+
MD001: false
3+
4+
# MD013 Line length
5+
MD013: false
6+
7+
# MD022 Headers should be surrounded by blank lines
8+
MD022: false
9+
10+
# MD026 Trailing punctuation in header
11+
MD026: false
12+
13+
# MD032 Lists should be surrounded by blank lines
14+
MD032: false

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Change Log for Dash for Julia
2+
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3+
4+
## [0.1.0] - 2020-09-10
5+
### Added
6+
- Support for clientside callbacks [#30](https://github.com/plotly/Dash.jl/pull/30)
7+
- Support for hot reloading on application or asset changes [#25](https://github.com/plotly/Dash.jl/pull/25)
8+
- Asset serving of CSS, JavaScript, and other resources [#18](https://github.com/plotly/Dash.jl/pull/18)
9+
- Support for passing functions as layouts [#18](https://github.com/plotly/Dash.jl/pull/18)
10+
- Resource registry for component assets [#18](https://github.com/plotly/Dash.jl/pull/18)
11+
- Asynchronous component loading & fingerprinting component assets [#18](https://github.com/plotly/Dash.jl/pull/18)
12+
- Developer tools UI support [#18](https://github.com/plotly/Dash.jl/pull/18)
13+
- Dash environment variables are now supported [#18](https://github.com/plotly/Dash.jl/pull/18)
14+
- Index page/layout validation now performed [#18](https://github.com/plotly/Dash.jl/pull/18)
15+
- Support for `gzip` compression [#14](https://github.com/plotly/Dash.jl/pull/14)
16+
- Parity with core Dash API parameters [#12](https://github.com/plotly/Dash.jl/pull/12)
17+
- Integration tests are now supported, server startup message appears on app initialization [#21](https://github.com/plotly/Dash.jl/pull/21)
18+
19+
### Changed
20+
- Dash.jl now starts via `run_server` with `host` and `port` arguments [#2](https://github.com/plotly/Dash.jl/issues/2)
21+
- Defining layouts in Dash.jl now occurs similarly to Dash for Python/R [#1](https://github.com/plotly/Dash.jl/issues/1)
22+
23+
### Removed
24+
- `make_handler` no longer used to start Dash server [#2](https://github.com/plotly/Dash.jl/issues/2)
25+
- `layout_maker` has been removed [#18](https://github.com/plotly/Dash.jl/pull/18)
26+
- `layout_maker` is no longer called by the app developer to define the layout [#1](https://github.com/plotly/Dash.jl/issues/1)
27+
28+
### Fixed
29+
- Request headers are now properly specified [#28](https://github.com/plotly/Dash.jl/issues/28)
30+
- Unspecified `children` now passed as `nothing` rather than undefined [#27](https://github.com/plotly/Dash.jl/issues/27)

LICENSE

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2019 Alexandr Romanenko
3+
Copyright (c) 2020 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99
copies of the Software, and to permit persons to whom the Software is
1010
furnished to do so, subject to the following conditions:
1111

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

Project.toml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,40 @@
11
name = "Dash"
22
uuid = "1b08a953-4be3-4667-9a23-3db579824955"
3-
authors = ["Alexandr Romanenko"]
3+
authors = ["Chris Parmer <[email protected]>",
4+
"Alexandr Romanenko <[email protected]>"]
45
version = "0.1.0"
56

67
[deps]
8+
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
9+
DashBase = "03207cf0-e2b3-4b91-9ca8-690cf0fb507e"
10+
DashCoreComponents = "1b08a953-4be3-4667-9a23-9da06441d987"
11+
DashHtmlComponents = "1b08a953-4be3-4667-9a23-24100242a84a"
12+
DashTable = "1b08a953-4be3-4667-9a23-f0e2ba4deb9a"
713
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
814
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
915
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1016
JSON2 = "2535ab7d-5cd8-5a07-80ac-9b1792aadce3"
11-
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
17+
MD5 = "6ac74813-4b46-53a4-afec-0b5dc9d7885c"
1218
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
1319
PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5"
20+
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc"
1421
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
22+
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1523

1624
[compat]
17-
julia = "1.1"
25+
CodecZlib = "0.7.0"
26+
DashBase = "0.1.0"
27+
DashCoreComponents = "1.10.2"
28+
DashHtmlComponents = "1.0.3"
29+
DashTable = "4.9.0"
1830
DataStructures = "0.17.5"
19-
HTTP = "0.8.6"
31+
HTTP = "0.8.10"
2032
JSON = "0.21.0"
2133
JSON2 = "0.3.1"
34+
MD5 = "0.2.1"
2235
MacroTools = "0.5.1"
23-
PlotlyBase = "0.3.0"
36+
PlotlyBase = "0.3.0, 0.4"
37+
julia = "1.1"
2438

2539
[extras]
2640
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

0 commit comments

Comments
 (0)