diff --git a/dash_bootstrap_components/_version.py b/dash_bootstrap_components/_version.py index eb436f1c..8c0d5d5b 100644 --- a/dash_bootstrap_components/_version.py +++ b/dash_bootstrap_components/_version.py @@ -1 +1 @@ -__version__ = "2.0.0-dev" +__version__ = "2.0.0" diff --git a/docs/content/changelog.md b/docs/content/changelog.md index 5782a19a..1bf7ea6e 100644 --- a/docs/content/changelog.md +++ b/docs/content/changelog.md @@ -6,6 +6,29 @@ title: Changelog This page documents notable changes in dash-bootstrap-components releases. +## 2.0.0 - 2025/03/14 + +Version 2.0.0 of dash-bootstrap-components! This version makes various internal updates for compatibility with Dash 3.0.0. Please continue to report problems on our [issue tracker](https://github.com/facultyai/dash-bootstrap-components/issues). + +### Added +- Added Label.xxl prop. The logic for this was in place but the prop was not exposed to the Component due to a missing prop-types declaration ([PR 1084](https://github.com/facultyai/dash-bootstrap-components/pull/1084)) +- `Spinner` and `Placeholder` now accept the `target_components` prop which functions like `dcc.Loading` ([PR 1080](https://github.com/facultyai/dash-bootstrap-components/pull/1080)) +- Added `display` prop for `Spinner` and `Placeholder` to force the component to show ([PR 1080](https://github.com/facultyai/dash-bootstrap-components/pull/1080)) +- Added `disabled` prop to `CardLink` ([PR 1084](https://github.com/facultyai/dash-bootstrap-components/pull/1084)) + +### Changed +- Made `Modal` styling props consistent. `modal_class_name` and `modalClassName` are renamed to `class_name` and `className` respectively which target the same element as `style`. `class_name` and `className` previously set styles on the modal dialog, which should now be done with `dialog_class_name` and `dialogClassName` respectively. This is consistent with behaviour of `style` and `dialog_style` ([PR 1090](https://github.com/facultyai/dash-bootstrap-components/pull/1090)) + +### Removed +- Removed the following props which had no effect: Carousel.ride, DropdownMenu.addon_type, Navbar.light, NavbarSimple.light, Popover.innerClassName, Popover.inner_class_name. ([PR 1088](https://github.com/facultyai/dash-bootstrap-components/pull/1088)) ([PR 1090](https://github.com/facultyai/dash-bootstrap-components/pull/1090)) +- Removed the following deprecated props: DropdownMenu.right, Table.dark ([PR 1084](https://github.com/facultyai/dash-bootstrap-components/pull/1084)) +- All `_timestamp` props. Use callback context instead. ([PR 1082](https://github.com/facultyai/dash-bootstrap-components/pull/1082)) + + +## 1.7.1 - 2025/01/16 + +Version 1.7.1 of dash-bootstrap-components. This version fixes a build issue with version 1.7.0. Thanks to everyone who reported problems on our [issue tracker](https://github.com/facultyai/dash-bootstrap-components/issues). + ## 1.7.0 - 2025/01/15 Version 1.7.0 of dash-bootstrap-components. This version exposes some new props for `Modal`, and `Textarea` to allow users to customise the behaviour of those components, and extends the functionality of the `debounce` prop in `Input` and `Textarea` components. Please continue to report problems on our [issue tracker](https://github.com/facultyai/dash-bootstrap-components/issues). diff --git a/package.json b/package.json index f9c92d62..d6506c54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash-bootstrap-components", - "version": "2.0.0-dev", + "version": "2.0.0", "description": "Bootstrap components for Plotly Dash", "repository": "github:facultyai/dash-bootstrap-components", "main": "lib/dash-bootstrap-components.min.js", diff --git a/pyproject.toml b/pyproject.toml index 51ada857..9b27f21a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,9 @@ authors = [ ] maintainers = [{ name = "Tom Begley", email = "tomcbegley@gmail.com" }] requires-python = ">=3.9, <4" -dependencies = ["dash==3.0.0rc4"] +dependencies = [ + "dash>=3.0.0", +] classifiers = [ "Framework :: Dash", "License :: OSI Approved :: Apache Software License", diff --git a/tests/test_version.py b/tests/test_version.py index ee6ee206..88f7368c 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == "2.0.0-dev" + assert __version__ == "2.0.0" diff --git a/uv.lock b/uv.lock index 7966e495..a810196a 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,4 @@ version = 1 -revision = 1 requires-python = ">=3.9, <4" resolution-markers = [ "python_full_version < '3.11'", @@ -261,7 +260,7 @@ wheels = [ [[package]] name = "dash" -version = "3.0.0rc4" +version = "3.0.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "flask" }, @@ -275,9 +274,9 @@ dependencies = [ { name = "typing-extensions" }, { name = "werkzeug" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/ea/46/9c13b16b44e506c6cb1a6198c5359fa7b8f83dec6a6a95779477d133cc98/dash-3.0.0rc4.tar.gz", hash = "sha256:26b7105b3e37ed145cc268af3d19b1b06029bc7a7132f5b22e8f2d8c257c81c7", size = 7466167 } +sdist = { url = "https://files.pythonhosted.org/packages/52/9c/2a9f90b55fd9a5e27b89f20c8b52e05db52c49bb99213c0323b9116dbe9f/dash-3.0.0.tar.gz", hash = "sha256:2cbb071836b3ca546dbe38655083908b8be543f3bea9c4bf660b96490d3d4953", size = 7608640 } wheels = [ - { url = "https://files.pythonhosted.org/packages/5f/84/8335ea958c5e667c313ed961299d43dc5aa2a05b6f1aa89114ff90a7e283/dash-3.0.0rc4-py3-none-any.whl", hash = "sha256:2b284a581b62f068b2f0b5998818c16191104a4c40ab07ded41185ca92a874e5", size = 7818169 }, + { url = "https://files.pythonhosted.org/packages/0e/b1/4538ba05deedd430167bbee3ee1589276994e4a85c9e4d52f467080ecc33/dash-3.0.0-py3-none-any.whl", hash = "sha256:684de3765bdb24f2c5a7b5d9d4dffb02bb122586b08784a394769004af444f03", size = 7951998 }, ] [package.optional-dependencies] @@ -323,11 +322,10 @@ dev = [ [package.metadata] requires-dist = [ - { name = "dash", specifier = "==3.0.0rc4" }, + { name = "dash", specifier = ">=3.0.0" }, { name = "numpy", marker = "extra == 'pandas'", specifier = ">=2.0.2" }, { name = "pandas", marker = "extra == 'pandas'", specifier = ">=2.2.3" }, ] -provides-extras = ["pandas"] [package.metadata.requires-dev] dev = [