You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,10 @@ A single tag (`v*`) triggers the release of the core SDK only:
8
8
|---|---|
9
9
|`dapr` (core SDK) | Includes every extension under `dapr.ext.*`. Users opt in to per-extension third-party deps via extras: `pip install "dapr[fastapi]"`, etc. The legacy top-level `flask_dapr` import path remains available as a thin shim inside this wheel and emits `FutureWarning`. |
Copy file name to clipboardExpand all lines: dapr/ext/flask/AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ tests/ext/flask/
18
18
19
19
Installed via the `flask` extra on core dapr: `pip install "dapr[flask]"`.
20
20
21
-
The legacy top-level import path (`from flask_dapr import DaprApp, DaprActor`) is still supported through a thin shim at the repo root that emits a `FutureWarning`. The shim is scheduled for removal one release after the bundling change ships. All new code and docs should use the canonical `from dapr.ext.flask import ...` path.
21
+
The legacy top-level import path (`from flask_dapr import DaprApp, DaprActor`) is still supported through a thin shim at the repo root that emits a `FutureWarning`. The shim is kept through 1.21 and removed in 1.22, giving users on 1.18 (the last release to ship the standalone distributions) the full N-2 support window to migrate. All new code and docs should use the canonical `from dapr.ext.flask import ...` path.
22
22
23
23
## Public API
24
24
@@ -89,6 +89,6 @@ Note: No tests for `DaprActor` in this extension (unlike FastAPI which tests `_w
89
89
## Key details
90
90
91
91
-**Synchronous + asyncio bridge**: Flask is sync, but `ActorRuntime` is async. The extension uses `asyncio.run()` for each actor operation.
92
-
-**Canonical import path**: Use `from dapr.ext.flask import DaprApp, DaprActor`. The legacy `flask_dapr` top-level path still works but emits `FutureWarning` and will be removed next cycle.
92
+
-**Canonical import path**: Use `from dapr.ext.flask import DaprApp, DaprActor`. The legacy `flask_dapr` top-level path still works but emits `FutureWarning` and will be removed in 1.22.
93
93
-**Similar to FastAPI extension**: The two extensions have nearly identical functionality. When modifying one, check if the same change is needed in the other.
94
94
-**Reentrancy ID**: Actor method invocation extracts `Dapr-Reentrancy-Id` header, same as FastAPI extension.
0 commit comments