Skip to content

v3.0.0b5 — Pydantic support

Compare
Choose a tag to compare
@zhPavel zhPavel released this 20 Apr 08:32
· 144 commits to main since this release
6084abe
  • Add support for Pydantic models!

    Now you can work with pydantic models like any other: construct from dict, serialize to dict, convert to any other model, and convert it to any other model.

    Also, you can use integrations.pydantic.native_pydantic to delegate loading and dumping to pydantic itself.

  • Add support for dumping Literal inside Union. #237

  • Add support for BytesIO and IO[bytes]. #270

See the full list of changes at changelog.