Releases: JakobGM/patito
Releases · JakobGM/patito
v0.8.6
What's Changed
- Return validated DataFrame from
Model.validateby @JackKelly in #161 - Update Patito to 0.8.6 by @thomasaarholt in #162
New Contributors
- @JackKelly made their first contribution in #161
Full Changelog: v0.8.5...v0.8.6
v0.8.5
What's Changed
- [chore] upgrade polars support to >=1.32.0 by @danielgafni in #153
New Contributors
- @danielgafni made their first contribution in #153
Full Changelog: v0.8.4...v0.8.5
v0.8.4
What's Changed
- Fix tests for polars 1.19 by @thomasaarholt in #128
- Migrate from Poetry to UV by @thomasaarholt in #149
- fix LazyFrame.from_existing by @gab23r in #135
- RFC: use ConfigDict allow extra instead of allow_superfluous_columns by @gab23r in #137
Full Changelog: v0.8.3...v0.8.4
v0.8.3
What's Changed
- Fix: empty List[Struct] should not try to use nested schema since there are no struct to validate by @adrienDog in #126
- Update pyproject.toml by @thomasaarholt in #127
Full Changelog: v0.8.2...v0.8.3
v0.8.2
What's Changed
- add iter_models docs entry by @gab23r in #116
- Speed up
iter_models(x2-x3 improvement) by @gab23r in #117 - Modify metaclass to allow DataFrame[Foo] type propagation by @thomasaarholt in #99
- move pre-commit in dev dependencies by @gab23r in #118
- chore: turn off UP007 by @dsgibbons in #101
- Fix AliasGenerator by @thomasaarholt in #87
- Fix latest compatibility with latest polars version by @thomasaarholt in #122
- int model annotation should return only integer dtypes as valid by @maxhipperson in #121
- Bump patito to v0.8.2 by @thomasaarholt in #123
New Contributors
- @maxhipperson made their first contribution in #121
Full Changelog: v0.8.1...v0.8.2
v0.8.0
What's Changed
Patito 0.8 onwards now requires Polars 1.10 due to some changes in polars.
- Include Python 3.12 in release action by @thomasaarholt in #108
- Patito v0.8 by @thomasaarholt in #109
- Upgrade to setup-python v5 for multiple python versions by @thomasaarholt in #110
- Fix tests on polars 1.10 by @gab23r in #112
- Specify all supported python versions for redundancy by @thomasaarholt in #113
- fix: empty list validation by @dsgibbons in #107
- Update lockfile by @thomasaarholt in #114
- Add to authors list by @thomasaarholt in #79
- Fix validating enum when field is optional. by @vosskj03 in #76
- patio -> patito typo fix by @GeorgePearse in #82
- Speed up pyright by @thomasaarholt in #90
- Add pre-commit to poetry by @thomasaarholt in #92
- Bump version of ruff in pre-commit to match poetry by @thomasaarholt in #93
- Fix test failure due to polars 1.2 by @thomasaarholt in #91
- Add iterators by @joloppo in #80
- Simplify and fix ColumnInfo by @thomasaarholt in #94
- Tidy up linting by @thomasaarholt in #95
- Fix docstring tests by @thomasaarholt in #97
- fix: optional list of structs by @dsgibbons in #100
- feat: add allow missing field by @dsgibbons in #98
- feat: Allow clients to pass json_schema_extra too by @adrienDog in #88
- fix: validate should not mutate the dataframe by @adrienDog in #89
- chore: keep polars <= 1.6.0 while test suite is fixed by @dsgibbons in #106
New Contributors
- @gab23r made their first contribution in #112
- @vosskj03 made their first contribution in #76
- @GeorgePearse made their first contribution in #82
- @joloppo made their first contribution in #80
- @adrienDog made their first contribution in #88
Full Changelog: v0.7.0...v0.8.0
v0.7.0
We now support polars 1.0 and 1.1, as well as the latest version of pydantic (2.8)
What's Changed
- chore: prepare for polars 1.0 release by @ion-elgreco in #74
- Require Pydantic 2.7 by @thomasaarholt in #78
New Contributors
- @ion-elgreco made their first contribution in #74
Full Changelog: v0.6.2...v0.7.0
v0.6.2
This is the last release supporting pre-1.0 polars. We have a LOT of improvements, thank you to all contributors!
What's Changed
- fix: validate multiple constraints with AND, not OR #45 by @dsgibbons in #46
- chore: update pyproject.toml to reference new repository owner by @dsgibbons in #47
- ci: run tests on pull requests by @dsgibbons in #48
- fix deprecation and require pydantic >=2.4.1 by @thomasaarholt in #51
- Update typing-extensions usage by @lmmx in #53
- Remove unused XDG cache by @thomasaarholt in #57
- Remove readme mention of duckdb by @thomasaarholt in #56
- Use ruff and pre-commit on CI by @thomasaarholt in #58
- Add tests for AliasGenerator by @thomasaarholt in #61
- Add python 3.12 to poetry and tests by @thomasaarholt in #64
- Simplify default_dtypes and return DataType over DataTypeClass when possible" by @thomasaarholt in #65
- Improve repr of ColumnInfo by @thomasaarholt in #66
- Explicitly allow allow_missing and allow_superfluous columns to Model.validate by @thomasaarholt in #60
- fix: handle nested Literals by @brendancooley in #69
- docs: Fix example usage by @nakashima-hikaru in #67
- Add field validation on structs by @dsgibbons in #52
- fix: make all xfail
read_csvtests pass by @lmmx in #62 - Remove python version upper constraint by @chainyo in #70
- docs: Remove database & SQL references, remove title underlines to comply with Google docstring format, fix patito.Field docstring, error on front page by @nameloCmaS in #72
- feat: use model field alias generator appropriately for CSV column names by @lmmx in #54
- Version 0.6.2 by @thomasaarholt in #77
New Contributors
- @dsgibbons made their first contribution in #46
- @lmmx made their first contribution in #53
- @nakashima-hikaru made their first contribution in #67
- @chainyo made their first contribution in #70
- @nameloCmaS made their first contribution in #72
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
- Disable type and lint checks to allow release by @thomasaarholt in #41
- Fix some warnings after migration by @thomasaarholt in #39
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Add support for pydantic 2.0, polars 0.20.10 and remove duckdb support by @brendancooley in #32
New Contributors
- @brendancooley made their first contribution in #32
Full Changelog: v0.5.1...v0.6.0