Skip to content

Commit e98cddc

Browse files
committed
Update changelog
1 parent c150a49 commit e98cddc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ This project adheres to [Semantic Versioning](https://semver.org/).
44

55
## [3.0.0-rc2] - UNRELEASED
66

7+
## Added
8+
9+
- [#3152](https://github.com/plotly/dash/pull/3152) Custom Python prop typing for component library.
10+
- Added `-t`, `--custom-typing-module` argument to `dash-generate-components` CLI, default to `dash_prop_typing` and can contains definitions in variables:
11+
- `custom_imports: dict[ComponentName, list[str]]` import statement to be copied at the top of the component class definition.
12+
- `custom_props: dict[ComponentName, dict[PropName, function]]` for custom props. The function signature is: `def generate_type(type_info, component_name, prop_name) -> str`
13+
714
## Fixed
815

916
- [#3142](https://github.com/plotly/dash/pull/3142) Fix typing generation for id and dates props.

0 commit comments

Comments
 (0)