From 35bcb9e203e3551ce10ff877dd46b7eaf018c3cd Mon Sep 17 00:00:00 2001 From: Philippe Duval Date: Mon, 3 Sep 2018 16:09:55 -0400 Subject: [PATCH 1/4] Set url_base_pathname default to None. --- dash/dash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash/dash.py b/dash/dash.py index 8177761082..a8414203cc 100644 --- a/dash/dash.py +++ b/dash/dash.py @@ -76,7 +76,7 @@ def __init__( assets_url_path='/assets', assets_ignore='', include_assets_files=True, - url_base_pathname='/', + url_base_pathname=None, assets_external_path=None, requests_pathname_prefix=None, routes_pathname_prefix=None, From a32ae9e148c639cb735b526150a376edbd8f239d Mon Sep 17 00:00:00 2001 From: Philippe Duval Date: Tue, 4 Sep 2018 10:37:46 -0400 Subject: [PATCH 2/4] dash-html-components==0.12.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4eb352abdc..56b2b5adc3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ appnope==0.1.0 backports.shutil-get-terminal-size==1.0.0 click==6.7 dash-core-components==0.3.3 -dash-html-components==0.11.0rc1 +dash-html-components==0.12.0 dash-renderer==0.2.9 dash.ly==0.14.0 decorator==4.0.11 From d5a3f588ff97a993a24c6f65c6372424b64d3010 Mon Sep 17 00:00:00 2001 From: Philippe Duval Date: Tue, 4 Sep 2018 11:08:09 -0400 Subject: [PATCH 3/4] Fix circle cache key. --- .circleci/config.yml | 8 ++++++-- dev-requirements-py37.txt | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a56a907dd4..da8c8468a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,8 +15,12 @@ jobs: name: Write deps cache key command: cat "$REQUIREMENTS_FILE" > reqs.txt + - run: + name: Write job name + command: echo $CIRCLE_JOB > circlejob.txt + - restore_cache: - key: deps1-{{ .Branch }}-{{ checksum "reqs.txt" }} + key: deps1-{{ .Branch }}-{{ checksum "reqs.txt" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }} - run: name: Install dependencies @@ -27,7 +31,7 @@ jobs: pip install -r $REQUIREMENTS_FILE - save_cache: - key: deps1-{{ .Branch }}-{{ checksum "reqs.txt" }} + key: deps1-{{ .Branch }}-{{ checksum "reqs.txt" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }} paths: - "venv" diff --git a/dev-requirements-py37.txt b/dev-requirements-py37.txt index 0f3238c436..645a65767e 100644 --- a/dev-requirements-py37.txt +++ b/dev-requirements-py37.txt @@ -1,5 +1,5 @@ dash_core_components>=0.27.2 -dash_html_components>=0.12.0rc3 +dash_html_components>=0.12.0 dash-flow-example==0.0.3 dash-dangerously-set-inner-html dash_renderer From 99597587979fbe14e945438d07f5f2c1ae8fadfa Mon Sep 17 00:00:00 2001 From: Philippe Duval Date: Thu, 6 Sep 2018 13:06:58 -0400 Subject: [PATCH 4/4] Version bump. --- CHANGELOG.md | 4 ++++ dash/version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e8d53aab6..afc2e17244 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.26.4 - 2018-08-28 +## Fixed +- Set `url_base_pathname` to `None` in `Dash.__init__`. Fix [#364](https://github.com/plotly/dash/issues/364) + ## 0.26.3 - 2018-08-27 ## Fixed - Prefix assets files with `requests_pathname_prefix`. [#351](https://github.com/plotly/dash/pull/351) diff --git a/dash/version.py b/dash/version.py index be363825ce..cddea31832 100644 --- a/dash/version.py +++ b/dash/version.py @@ -1 +1 @@ -__version__ = '0.26.3' +__version__ = '0.26.4'