Releases: NowanIlfideme/pydantic-yaml
v1.4.0 - Bug fix for TypeError and removed dependency on `importlib_metadata`
Hello, this has been delayed for a while - sorry for the delay to everyone using pydantic-yaml
.
What's Changed
Highlights:
- deps: drop importlib_metadata by @branchvincent in #130
- Fix TypeError issue when parse List of objects by @csrocha in #184
- PyPI Trusted Publishing by @NowanIlfideme in #198
Chores:
- Bump ruff from 0.1.5 to 0.2.1 by @dependabot in #149
- Bump pytest from 7.4.2 to 8.0.0 by @dependabot in #145
- Bump actions/setup-python from 4 to 5 by @dependabot in #132
- Bump black from 23.11.0 to 24.3.0 by @dependabot in #154
- Bump ruff from 0.2.1 to 0.4.0 by @dependabot in #161
- Bump ruff from 0.4.0 to 0.6.0 by @dependabot in #196
- Bump mypy from 1.5.1 to 1.11.1 by @dependabot in #192
- Bump black from 24.3.0 to 24.8.0 by @dependabot in #194
- Bump pytest from 8.0.0 to 8.3.2 by @dependabot in #191
- Bump ruff from 0.6.0 to 0.7.3 by @dependabot in #205
- Bump mypy from 1.11.1 to 1.13.0 by @dependabot in #203
- Bump pytest from 8.3.2 to 8.3.3 by @dependabot in #202
- Updating pre-commit to latest version that supports Python 3.8 by @NowanIlfideme in #206
New Contributors
- @branchvincent made their first contribution in #130
- @csrocha made their first contribution in #184
Full Changelog: v1.3.0...v1.4.0
v1.3.0 - Support `pydantic.v1` backport
What's Changed
- Support Pydantic v2 backport for v1 functionality by @NowanIlfideme in #152
Full Changelog: v1.2.1...v1.3.0
v1.2.1 - Requirement changes
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
- Bump ruff from 0.0.291 to 0.1.5 by @dependabot in #125
- Bump black from 23.3.0 to 23.11.0 by @dependabot in #124
- Update ruamel-yaml requirement from <0.18.0,>=0.16.0 to >=0.16.0,<0.19.0 by @dependabot in #120
Full Changelog: v1.2.0...v1.2.1
v1.2.0 - Deprecation of Python 3.7
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
- Bump ruff from 0.0.289 to 0.0.291 by @dependabot in #108
- Bump mypy from 1.4.1 to 1.5.1 by @dependabot in #93
- Remove Python 3.7 support, targeting 3.8 - 3.11 by @NowanIlfideme in #109
Full Changelog: v1.1.3...v1.2.0
v1.1.3 - Fix options when writing to file path vs opened file.
What's Changed
- Make to_yaml_file consider options when writing to file path by @aeisenbarth in #96
- Bump ruff from 0.0.278 to 0.0.289 by @dependabot in #105
- Refactor to DRY dumper args. by @NowanIlfideme in #106
- Bump pytest from 7.4.0 to 7.4.2 by @dependabot in #101
- Bump actions/checkout from 3 to 4 by @dependabot in #100
New Contributors
- @aeisenbarth made their first contribution in #96
Full Changelog: v1.1.2...v1.1.3
v1.1.2 - Hotfix for indent when dumping to file
What's Changed
- Hotfix: Fix indenting when dumping to the file. by @NowanIlfideme in #104
Full Changelog: v1.1.1...v1.1.2
v1.1.1 - Docstring fix
v1.1.0 - Added YAML dumping options and customization
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
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
v1.0.0-alpha.2 - Fix bug with reading pre-opened files
What's Changed
- Bump ruff from 0.0.262 to 0.0.263 by @dependabot in #52
- Fix writing with pre-opened file by @NowanIlfideme in #54
Full Changelog: v1.0.0-alpha.1...v1.0.0-alpha.2