Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions fern/products/sdks/overview/python/changelog/2026-03-26.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## 5.0.8
**`(fix):`** Eliminate Pydantic v2 deprecation warnings in `UniversalBaseModel`. Under Pydantic v2,
the class-based `Config` pattern with `smart_union` and `allow_population_by_field_name`
emits deprecation warnings. `UniversalBaseModel` now uses `model_config: ConfigDict` with
`populate_by_name=True`, `validate_by_name=True`, and `validate_by_alias=True` (for v2.11+
support) for v2, and a custom `@model_serializer` for datetime serialization instead of
the deprecated `json_encoders`. Pydantic v1 continues to use the original class-based Config.


Loading