Skip to content

Dash v3.0.0rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
@T4rk1n T4rk1n released this 18 Feb 20:30
· 633 commits to dev since this release
3541ee4

Added

  • #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 Add window.dash_component_api.ExternalWrapper to render Dash components that are not part of the layout tree.

Fixed

  • #3142 Fix typing generation for id and dates props.
  • #3164 Fix typing on progress and cancel background callback.
  • #3157 Fix hook priority.