Skip to content

Commit 2759b4d

Browse files
committed
Merge branch 'dev' of https://github.com/CNFeffery/dash into dev
2 parents 6cfd5c7 + e34da12 commit 2759b4d

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](https://semver.org/).
44

5-
## [UNRELEASED]
5+
## [2.18.1] - 2024-09-12
66

77
## Fixed
88

99
- [#2987](https://github.com/plotly/dash/pull/2987) Fix multioutput requiring same number of no_update. Fixes [#2986](https://github.com/plotly/dash/issues/2986)
1010
- [2988](https://github.com/plotly/dash/pull/2988) Fix error handler and grouped outputs. Fixes [#2983](https://github.com/plotly/dash/issues/2983)
1111
- [#2841](https://github.com/plotly/dash/pull/2841) Fix typing on Dash init.
12+
- [#1548](https://github.com/plotly/dash/pull/1548) Enable changing of selenium url, fix for selenium grid support.
1213

1314
## Deprecated
1415

1516
- [#2985](https://github.com/plotly/dash/pull/2985) Deprecate dynamic component loader.
1617
- [#2985](https://github.com/plotly/dash/pull/2985) Deprecate `run_server`, use `run` instead.
1718
- [#2899](https://github.com/plotly/dash/pull/2899) Deprecate `dcc.LogoutButton`, can be replaced with a `html.Button` or `html.A`. eg: `html.A(href=os.getenv('DASH_LOGOUT_URL'))` on a Dash Enterprise instance.
19+
- [#2995](https://github.com/plotly/dash/pull/2995) Deprecate `Dash.__init__` keywords:
20+
- The `plugins` keyword will be removed.
21+
- Old `long_callback_manager` keyword will be removed, can use `background_callback_manager` instead.
1822

1923
## [2.18.0] - 2024-09-04
2024

dash/dash.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,13 @@ def __init__( # pylint: disable=too-many-statements
547547

548548
self._assets_files = []
549549
self._long_callback_count = 0
550+
if long_callback_manager:
551+
warnings.warn(
552+
DeprecationWarning(
553+
"`long_callback_manager` is deprecated and will be remove in Dash 3.0, "
554+
"use `background_callback_manager` instead."
555+
)
556+
)
550557
self._background_manager = background_callback_manager or long_callback_manager
551558

552559
self.logger = logging.getLogger(__name__)
@@ -557,6 +564,12 @@ def __init__( # pylint: disable=too-many-statements
557564
if plugins is not None and isinstance(
558565
plugins, patch_collections_abc("Iterable")
559566
):
567+
warnings.warn(
568+
DeprecationWarning(
569+
"The `plugins` keyword will be removed from Dash init in Dash 3.0 "
570+
"and replaced by a new hook system."
571+
)
572+
)
560573
for plugin in plugins:
561574
plugin.plug(self)
562575

dash/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.18.0"
1+
__version__ = "2.18.1"

0 commit comments

Comments
 (0)