diff --git a/CHANGELOG.md b/CHANGELOG.md index 79ffeb19d2..3a48a4778a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ -## [UNRELEASED] - 2019-01-23 +## [0.35.3] - 2019-01-23 ## Fixed - Asset blueprint takes routes prefix into it's static path. [#547](https://github.com/plotly/dash/pull/547) - Asset url path no longer strip routes from requests. [#547](https://github.com/plotly/dash/pull/547) - Remove print statement from PreventUpdate error handler. [#548](https://github.com/plotly/dash/pull/548) +- Removed ComponentRegistry dist cache [#524](https://github.com/plotly/dash/pull/524) ## Changed - `assets_folder` argument now default to 'assets' [#547](https://github.com/plotly/dash/pull/547) diff --git a/dash/development/base_component.py b/dash/development/base_component.py index ce6aec0741..78592383cc 100644 --- a/dash/development/base_component.py +++ b/dash/development/base_component.py @@ -11,16 +11,10 @@ class ComponentRegistry: """Holds a registry of the namespaces used by components.""" registry = set() - __dist_cache = {} @classmethod def get_resources(cls, resource_name): - cached = cls.__dist_cache.get(resource_name) - - if cached: - return cached - - cls.__dist_cache[resource_name] = resources = [] + resources = [] for module_name in cls.registry: module = sys.modules[module_name] diff --git a/dash/version.py b/dash/version.py index 5c16e9a05a..b2658ab461 100644 --- a/dash/version.py +++ b/dash/version.py @@ -1 +1 @@ -__version__ = '0.35.2' +__version__ = '0.35.3'