Skip to content

Commit

Permalink
Merge pull request #3172 from plotly/dash-3.0.0rc2
Browse files Browse the repository at this point in the history
Dash version 3.0.0rc2
  • Loading branch information
T4rk1n authored Feb 18, 2025
2 parents acd2a2a + e1f1a5e commit 3541ee4
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@
All notable changes to `dash` will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [3.0.0-rc2] - UNRELEASED
## [3.0.0-rc2] - 2025-02-18

## Added

- [#3152](https://github.com/plotly/dash/pull/3152) Custom Python prop typing for component library.
- Added `-t`, `--custom-typing-module` argument to `dash-generate-components` CLI, default to `dash_prop_typing` and can contains definitions in variables:
- `custom_imports: dict[ComponentName, list[str]]` import statement to be copied at the top of the component class definition.
- `custom_props: dict[ComponentName, dict[PropName, function]]` for custom props. The function signature is: `def generate_type(type_info, component_name, prop_name) -> str`
- [#3170](https://github.com/plotly/dash/pull/3170) Add `window.dash_component_api.ExternalWrapper` to render Dash components that are not part of the layout tree.

## Fixed

- [#3142](https://github.com/plotly/dash/pull/3142) Fix typing generation for id and dates props.
- [#3164](https://github.com/plotly/dash/pull/3164) Fix typing on progress and cancel background callback.
- [#3157](https://github.com/plotly/dash/pull/3157) Fix hook priority.

## [3.0.0-rc1] - 2025-01-28

Expand Down
4 changes: 2 additions & 2 deletions components/dash-core-components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/dash-core-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash-core-components",
"version": "3.0.0",
"version": "3.0.1",
"description": "Core component suite for Dash",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions dash/_dash_renderer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

__version__ = "2.0.0"
__version__ = "2.0.1"

_available_react_versions = {"18.3.1", "18.2.0", "16.14.0"}
_available_reactdom_versions = {"18.3.1", "18.2.0", "16.14.0"}
Expand Down Expand Up @@ -64,7 +64,7 @@ def _set_react_version(v_react, v_reactdom=None):
{
"relative_package_path": "dash-renderer/build/dash_renderer.min.js",
"dev_package_path": "dash-renderer/build/dash_renderer.dev.js",
"external_url": "https://unpkg.com/[email protected].0"
"external_url": "https://unpkg.com/[email protected].1"
"/build/dash_renderer.min.js",
"namespace": "dash",
},
Expand Down
4 changes: 2 additions & 2 deletions dash/dash-renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dash/dash-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash-renderer",
"version": "2.0.0",
"version": "2.0.1",
"description": "render dash components in react",
"main": "build/dash_renderer.min.js",
"scripts": {
Expand All @@ -13,7 +13,7 @@
"build:dev": "webpack",
"build:local": "renderer build local",
"build": "renderer build && npm run prepublishOnly",
"postbuild": "es-check es2015 ../deps/*.js build/*.js",
"postbuild": "es-check es2018 ../deps/*.js build/*.js",
"test": "karma start karma.conf.js --single-run",
"format": "run-s private::format.*",
"lint": "run-s private::lint.* --continue-on-error"
Expand Down Expand Up @@ -88,6 +88,6 @@
],
"prettier": "@plotly/prettier-config-dash",
"browserslist": [
"last 9 years and not dead"
"last 10 years and not dead"
]
}
2 changes: 1 addition & 1 deletion dash/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.0.0rc1"
__version__ = "3.0.0rc2"

0 comments on commit 3541ee4

Please sign in to comment.