Skip to content

Releases: NowanIlfideme/pydantic-yaml

v1.4.0 - Bug fix for TypeError and removed dependency on `importlib_metadata`

11 Nov 15:57
7f2c3db
Compare
Choose a tag to compare

Hello, this has been delayed for a while - sorry for the delay to everyone using pydantic-yaml.

What's Changed

Highlights:

Chores:

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0 - Support `pydantic.v1` backport

29 Mar 20:24
2fb3d39
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v1.3.0

v1.2.1 - Requirement changes

06 Feb 09:55
df90356
Compare
Choose a tag to compare

NOTE: if you haven't pinned ruamel-yaml you may have errors; make sure to pin ruamel-yaml~=0.17.40 in that case.

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0 - Deprecation of Python 3.7

25 Sep 18:53
238a2a0
Compare
Choose a tag to compare

Since Python 3.7 has entered end-of-life and many dependencies (including mypy) are no longer supporting it, pydantic-yaml won't support it either. The latest version to support Python 3.7 is 1.1.3.

What's Changed

Full Changelog: v1.1.3...v1.2.0

v1.1.3 - Fix options when writing to file path vs opened file.

13 Sep 14:12
79fc559
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.1.3

v1.1.2 - Hotfix for indent when dumping to file

12 Sep 18:44
13b160b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.1.2

v1.1.1 - Docstring fix

25 Jul 12:03
3d724ab
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.1.1

v1.1.0 - Added YAML dumping options and customization

19 Jul 19:39
36cb1cf
Compare
Choose a tag to compare

What's Changed

  • Update dumper.py by @Tobychev in #81
  • Added YAML dumping options, including custom class. by @NowanIlfideme in #82
  • (that PR also improves docs to show that dataclasses can be easily handled with Pydantic v2).
  • Bump ruff from 0.0.275 to 0.0.278 by @dependabot in #78

New Contributors

Full Changelog: v1.0.0...v1.1.0

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

15 Jul 16:06
c3ad43e
Compare
Choose a tag to compare

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

v1.0.0-alpha.2 - Fix bug with reading pre-opened files

26 Apr 17:30
4b54ea8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0-alpha.1...v1.0.0-alpha.2