v1.0.0 - Full rewrite, Pydantic V2 support, API simplified, JSON-based internals
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
- Bump mypy from 1.0.0 to 1.1.1 by @dependabot in #42
- Chore: Switch to Ruff by @NowanIlfideme in #44
- Full API Rewrite, With Custom YAML Engine by @NowanIlfideme in #50
- Bump mypy from 1.1.1 to 1.2.0 by @dependabot in #47
- Bump pytest from 7.2.2 to 7.3.1 by @dependabot in #49
- Bump ruff from 0.0.260 to 0.0.262 by @dependabot in #51
- Bump ruff from 0.0.262 to 0.0.263 by @dependabot in #52
- Fix writing with pre-opened file by @NowanIlfideme in #54
- Bump ruff from 0.0.263 to 0.0.264 by @dependabot in #55
- Bump mypy from 1.2.0 to 1.3.0 by @dependabot in #59
- Bump ruff from 0.0.264 to 0.0.270 by @dependabot in #63
- Bump ruff from 0.0.270 to 0.0.272 by @dependabot in #65
- Bump pytest from 7.3.1 to 7.3.2 by @dependabot in #66
- Bump mypy from 1.3.0 to 1.4.1 by @dependabot in #73
- Bump ruff from 0.0.272 to 0.0.275 by @dependabot in #70
- Bump pytest from 7.3.2 to 7.4.0 by @dependabot in #72
- Ensure proper support for Pydantic v2 by @NowanIlfideme in #80
Full Changelog: v0.11.2...v1.0.0