Releases: befelix/pydantic_sweep
Releases · befelix/pydantic_sweep
0.3.2
Highlights
- Fix for Python 3.10
- Add
example
folder - License documentation and examples under 0BSD
Merged PRs
- normalize_path raises error on wrong input by @befelix in #62
- License docs under 0BSD by @befelix in #63
- Fix for python 3.10 by @befelix in #65
- Add example script by @befelix in #64
Full Changelog: v0.3.1...v0.3.2
0.3.1
Highlights
initialize
accepts nested dictionaries fordefault
/constant
arguments.
Merged PRs
- Improved model printing by @befelix in #55
- Skip redundant path normalization by @befelix in #56
- Readthedocs config file by @befelix in #57
- Remove GH pages build by @befelix in #59
- Fix documentation links by @befelix in #60
- nested dicts for default/constant in initialize by @befelix in #61
Full Changelog: v0.3.0...v0.3.1
0.3.0
Highlights
field
now checks that values are hashable by default. This can be disabled by
settingcheck=False
.- Added
as_hashable
utility to easily compare different configs and pydantic Models. - Added
check_unique
utility to check whether models are unique.
Merged PRs
- Deploy docs on release only by @befelix in #49
- Field values are hashable by @befelix in #51
- Intersphinx enabled by @befelix in #50
- as_hashable utility added by @befelix in #52
- check_unique added for models and configs by @befelix in #53
- Version 0.3.0 by @befelix in #54
Full Changelog: v0.2.1...v0.3.0
0.2.1
Highlights
BaseModel
gained a custom model_validator that guards against ambiguous model
selection from union types in nested models.- Relaxed version requirements of
pydantic
andmore-itertools
Merged PRs
- Model Unions are validated by @befelix in #46
- Dependencies versions are relaxed by @befelix in #47
- Changelog markdown suffix added by @befelix in #48
Full Changelog: v0.2.0...v0.2.1
0.2.0
Highlights
DefaultValue
is checked against conflicting settings the same way as normal values- Passing
DefaultValue
to thedefault
/constant
argument ofinitialize
works as
expected.
Merged PRs
- Fix typo rst->md by @befelix in #32
- Doc code links fixed by @befelix in #33
- Contribution docs added by @befelix in #34
- Configure Renovate by @renovate in #35
- Update astral-sh/setup-uv action to v5 by @renovate in #36
- Renovate lockfile management by @befelix in #38
- Renovate fix config by @befelix in #40
- Config: remove comment by @befelix in #41
- Lock file maintenance by @renovate in #42
- Lock file maintenance by @renovate in #43
- DefaultValue is checked for conflicts by @befelix in #44
- DefaultValue pretty print by @befelix in #45
New Contributors
Full Changelog: v0.1.0...v0.2.0