We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3105442 commit 6a739a5Copy full SHA for 6a739a5
1 file changed
fern/products/sdks/generators/python/changelog/2026-05-28.mdx
@@ -0,0 +1,12 @@
1
+## 5.14.4
2
+**`(fix):`** Fix SSE union discrimination for both data-level and protocol-level contexts.
3
+
4
+Data-level: Simplify `parse_sse_obj` to always parse the SSE `data` field as
5
+JSON instead of using runtime heuristics. This fixes incorrect routing when the
6
+discriminant field name (e.g., `event`) collides with an SSE envelope field.
7
8
+Protocol-level: Generate an if/elif dispatch chain at code-generation time that
9
+routes on `_sse.event`, parsing each variant's data payload into its concrete
10
+type. No runtime heuristic — the generator decides the code path statically.
11
12
0 commit comments