From c91efb8fe0efdbb1af57c1e8840dafc57989359d Mon Sep 17 00:00:00 2001 From: philippe Date: Fri, 17 Oct 2025 11:12:19 -0400 Subject: [PATCH 1/2] Deprecate dash table, add dash[ag-grid] extra requirement --- dash/development/base_component.py | 10 +++++++++- requirements/ag-grid.txt | 1 + setup.py | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 requirements/ag-grid.txt diff --git a/dash/development/base_component.py b/dash/development/base_component.py index 975acfd537..e4ba775115 100644 --- a/dash/development/base_component.py +++ b/dash/development/base_component.py @@ -22,7 +22,15 @@ eg: html.A(href=os.getenv('DASH_LOGOUT_URL')) """ ) - } + }, + "dash_table": { + "DataTable": textwrap.dedent( + """ + The dash_table.DataTable will be removed from the builtin dash components in Dash 4.0 + We recommend using dash-ag-grid as a replacement. Install with `pip install dash[ag-grid]`. + """ + ) + }, } diff --git a/requirements/ag-grid.txt b/requirements/ag-grid.txt new file mode 100644 index 0000000000..a7c660ae8c --- /dev/null +++ b/requirements/ag-grid.txt @@ -0,0 +1 @@ +dash-ag-grid diff --git a/setup.py b/setup.py index bdbec7b1cb..f87ef21d70 100644 --- a/setup.py +++ b/setup.py @@ -37,6 +37,7 @@ def read_req_file(req_type): "diskcache": read_req_file("diskcache"), "compress": read_req_file("compress"), "cloud": read_req_file("cloud"), + "ag-grid": read_req_file("ag-grid") }, entry_points={ "console_scripts": [ From 48516d0ddec41fca834935e0de8e9ab16f0b3467 Mon Sep 17 00:00:00 2001 From: philippe Date: Fri, 17 Oct 2025 12:01:05 -0400 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec279e29fa..f55a25d279 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ This project adheres to [Semantic Versioning](https://semver.org/). - [#3415](https://github.com/plotly/dash/pull/3415) Fix the error triggered when only a single no_update is returned for client-side callback functions with multiple Outputs. Fix [#3366](https://github.com/plotly/dash/issues/3366) - [#3416](https://github.com/plotly/dash/issues/3416) Fix DeprecationWarning in dash/_jupyter.py by migrating from deprecated ipykernel.comm.Comm to comm module +## Deprecated +- [#3482](https://github.com/plotly/dash/pull/3482) Deprecate dash_table.DataTable with replacement from `dash[ag-grid]` extra requirement. + ## [3.2.0] - 2025-07-31 ## Added