Skip to content

v1.0.0 - Full rewrite, Pydantic V2 support, API simplified, JSON-based internals

Compare
Choose a tag to compare
@NowanIlfideme NowanIlfideme released this 15 Jul 16:06
· 39 commits to main since this release
c3ad43e

Hi users of pydantic-yaml! I rewrote it to be much more maintainable in the short- and long-term.

In the short term: Pydantic V2 is supported, custom JSON encoders will also be used for YAML, and the API is simplified.

In the long term: Pydantic V2 API assumes external dump/load logic, rather than model.yaml(), so the API rewrite was coming anyways. And later we can allow using a "custom YAML engine". Maybe in v2.0.0? 😉

What's Changed

Full Changelog: v0.11.2...v1.0.0