Skip to content

Commit 5b81f2c

Browse files
committed
Update changelog
1 parent 8b3f422 commit 5b81f2c

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

CHANGELOG.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,52 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](https://semver.org/).
44

5-
## [UNRELEASED]
5+
## [3.0.0-rc1] - 2025-01-28
6+
7+
## Added
8+
9+
- [#2276](https://github.com/plotly/dash/pull/2276) Python typing definition generation for components `__init__`.
10+
- [#3035](https://github.com/plotly/dash/pull/3035) `PropType` generation for Typescript components allowing runtime prop validation when in debug mode.
11+
- [#3066](https://github.com/plotly/dash/pull/3066) Adds `window.dash_component_api` for components developer as alternative to removed `_dashprivate` props.
12+
- Add `dash_component_api.useDashContext`, `dash_component_api.DashContext` to access the redux store and loading mechanisms.
13+
- `DashContext.componentPath` hold the path to the current component.
14+
- `DashContext.useLoading(options?)` selector to get a boolean if the component is loading.
15+
- `DashContext.isLoading` in case you need to use outside of a functional component.
16+
- `DashContext.useSelector` to create custom selectors for the connected redux store.
17+
- `DashContext.useStore` get the Dash app redux store.
18+
- `DashContext.useDispatch` to dispatch new actions on the Dash redux store.
19+
- Add `dash_component_api.getLayout(path)` to replace `_dashprivate_layout`.
20+
- [#3029](https://github.com/plotly/dash/pull/3029) Add pip install based hooks to Dash functionalities.
21+
- Packages can add an `entry_points` with key `dash-hooks` to their `setup.py` for a module to be run when a Dash app is started.
22+
- Add `dash.hooks` methods to hook into Dash apps.
23+
- `hooks.layout` takes the layout as argument and must return a layout, can be used to wrap or add to the layout of Dash apps.
24+
- `hooks.callback` defines a callback to be added to Dash apps.
25+
- `hooks.clientside_callback` defines a clientside callback to be added to Dash apps.
26+
- `hooks.setup` is called before a Dash app is started to get an instance of the app as first argument.
27+
- `hooks.error` to receive all callback errors.
28+
- `hooks.index` to change the `Dash.index_string`.
29+
30+
## Removed
31+
32+
- [#3066](https://github.com/plotly/dash/pull/3066) `loading_state` removed from components props.
33+
- [#3078](https://github.com/plotly/dash/pull/3078) Deprecations removals
34+
- Removed `dash.development.component_loader`, components libraries now required to generate the components with `dash-generate-components`.
35+
- `Dash.run_server` has been removed in favor of `Dash.run`.
36+
- Removed `dcc.LogoutButton` component.
37+
- Renamed all `long` references to `background`.
38+
39+
## Changed
40+
41+
- [#3093](https://github.com/plotly/dash/pull/3093) Changed default React version to 18.3.1
42+
- `defaultProps` on functional components now emits a deprecation warning.
43+
- Deprecation notice on strings refs.
644

745
## Fixed
846

947
- [#3080](https://github.com/plotly/dash/pull/3080) Fix docstring generation for components using single-line or nonstandard-indent leading comments
1048
- [#3103](https://github.com/plotly/dash/pull/3103) Fix Graph component becomes unresponsive if an invalid figure is passed
49+
- [#3130](https://github.com/plotly/dash/pull/3130) Fix HOST variable when using conda.
50+
- [#3066](https://github.com/plotly/dash/pull/3066) Improve performance of context components re-rendering.
1151

1252
## [2.18.2] - 2024-11-04
1353

0 commit comments

Comments
 (0)