diff --git a/CHANGELOG.md b/CHANGELOG.md index e3498c6..a538844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. + +## [1.0.12] - 04-02-23 + +### Changed + +- Set `allow_duplicate=True` for the default logging configurations for the `LogTransform`, thereby fixing [#280](https://github.com/emilhe/dash-extensions/issues/280). + ## [1.0.11] - 03-02-23 ### Changed diff --git a/dash_extensions/enrich.py b/dash_extensions/enrich.py index 44c09ba..28ee009 100644 --- a/dash_extensions/enrich.py +++ b/dash_extensions/enrich.py @@ -656,7 +656,7 @@ def __init__(self, log_output, log_writer_map: Dict[int, Callable], def setup_notifications_log_config(): log_id = "notifications_provider" - log_output = Output(log_id, "children") + log_output = Output(log_id, "children", allow_duplicate=True) def notification_layout_transform(layout: List[Component]): import dash_mantine_components as dmc @@ -674,7 +674,7 @@ def div_layout_transform(layout: List[Component]): layout.append(html.Div(id=log_id)) return layout - log_output = Output(log_id, "children") + log_output = Output(log_id, "children", allow_duplicate=True) return LogConfig(log_output, get_default_log_writers(), div_layout_transform) diff --git a/package-lock.json b/package-lock.json index 95cab3c..17eb199 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "dash-extensions", - "version": "1.0.11", + "version": "1.0.12", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 64fbf7a..c99a183 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash-extensions", - "version": "1.0.11", + "version": "1.0.12", "description": "Extensions for Plotly Dash.", "main": "build/index.js", "scripts": { diff --git a/pyproject.toml b/pyproject.toml index 5600238..0c47b79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dash-extensions" -version = "1.0.11" +version = "1.0.12" description = "Extensions for Plotly Dash." authors = ["emher "] license = "MIT"