Skip to content

Commit

Permalink
Update version and changelogs.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Sep 20, 2018
1 parent 2b55681 commit a1cf21e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.27.0 - 2018-09-20
## Added
- Added support for serving dev bundles from the components suite, enable with `app.run_server(dev_tools_serve_dev_bundles=True)` [#369](https://github.com/plotly/dash/pull/369)

## 0.26.6 - 2018-09-19
## Fixed
- Added `Cache-Control` headers to files served by `Dash.serve_component_suites`. [#387](https://github.com/plotly/dash/pull/387)
Expand Down
8 changes: 4 additions & 4 deletions dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,24 +987,24 @@ def get_asset_url(self, path):

def enable_dev_tools(self,
debug=False,
dev_tools_serve_bundles=None):
dev_tools_serve_dev_bundles=None):
"""
Activate the dev tools, called by `run_server`. If your application is
served by wsgi and you want to activate the dev tools, you can call
this method out of `__main__`.
:param debug: If false no tools will be activated.
:type debug: bool
:param dev_tools_serve_bundles: Serve the dev bundles of component libs
:type dev_tools_serve_bundles: bool
:param dev_tools_serve_dev_bundles: Serve the dev bundles of component libs
:type dev_tools_serve_dev_bundles: bool
:return:
"""
env = _configs.env_configs()
debug = debug or _configs.get_config('debug', None, env, debug,
is_bool=True)

self._dev_tools['serve_dev_bundles'] = _configs.get_config(
'serve_dev_bundles', dev_tools_serve_bundles, env,
'serve_dev_bundles', dev_tools_serve_dev_bundles, env,
default=debug,
is_bool=True
)
Expand Down
2 changes: 1 addition & 1 deletion dash/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.26.6'
__version__ = '0.27.0'

0 comments on commit a1cf21e

Please sign in to comment.