Releases: NowanIlfideme/pydantic-kedro
v0.8.0 - Support of Pydantic v1 extended to Pydantic v2 Backport
What's Changed
- Support installations of Pydantic v2 (but only v1 backported models) by @NowanIlfideme in #113
Essentially, you may install Pydantic v2 now, however you need to use the backport from pydantic.v1 import BaseModel
and so on - we only support v1-style models at this point.
Full Changelog: v0.7.0...v0.8.0
v0.7.0 - Support for Kedro 0.19 (but not Pydantic v2)
Many internal changes for kedro~=0.19
and kedro-datasets
, but from the user side there are only minor changes (see docs too):
- The
*DataSet
classes have been renamed to*Dataset
, though the old names
are still available as aliases. - The
kedro-datasets
package is now a necessary dependency. - Thanks to changes in Kedro's datasets, most have switched to requiring
keyword-only arguments, especiallyfilename
. So instead of using a map such
as{DataFrame: ParquetDataset}
you should use a function or a lambda, e.g.
{DataFrame: lambda x: ParquetDataSet(filename=x)}
.
What's Changed
- Support kedro 0.19 and kedro-datasets by @NowanIlfideme in #103
- Rename DataSet to Dataset and update docs. by @NowanIlfideme in #105
- Bump actions/checkout from 3 to 4 by @dependabot in #63
- Bump actions/setup-python from 4 to 5 by @dependabot in #86
- Bump ruff from 0.0.291 to 0.3.4 by @dependabot in #106
- Bump pre-commit from 3.5.0 to 3.6.0 by @dependabot in #87
- Bump DavidAnson/markdownlint-cli2-action from 13 to 15 by @dependabot in #95
- Bump mypy from 1.5.1 to 1.9.0 by @dependabot in #107
- Update pyspark requirement from ~=3.4.1 to >=3.4.1,<3.6.0 by @dependabot in #78
Full Changelog: v0.6.2...v0.7.0
v0.6.2 - Maximum versions pinned
What's Changed
- Bump DavidAnson/markdownlint-cli2-action from 11 to 13 by @dependabot in #68
- Fix: Pin max versions by @NowanIlfideme in #101
Full Changelog: v0.6.1...v0.6.2
v0.6.1 - Requirements bump
What's Changed
- Update pandas requirement from ~=1.5.3 to >=1.5.3,<2.2.0 by @dependabot in #71
- Bump pre-commit from 3.3.3 to 3.5.0 by @dependabot in #73
- Bump mypy from 1.4.1 to 1.5.1 by @dependabot in #55
- Bump black from 23.7.0 to 23.11.0 by @dependabot in #76
Full Changelog: v0.6.0...v0.6.1
v0.6.0 - Auto-creation of parent directories when saving locally
What's Changed
- Auto-create parent directories when saving locally by @NowanIlfideme in #70
- Bump ruff from 0.0.278 to 0.0.291 by @dependabot in #69
- Bump pytest from 7.4.0 to 7.4.2 by @dependabot in #62
Full Changelog: v0.5.2...v0.6.0
v0.5.2 - Fix for YAML dumping. Explicit support for SparkDataSet.
What's Changed
- Bump black from 23.3.0 to 23.7.0 by @dependabot in #47
- Bump ruff from 0.0.272 to 0.0.278 by @dependabot in #48
- Bump pytest from 7.3.2 to 7.4.0 by @dependabot in #43
- Bump mypy from 1.3.0 to 1.4.1 by @dependabot in #42
- Add PySpark support (SparkDataSet) by @NowanIlfideme in #64
Full Changelog: v0.5.1...v0.5.2
v0.5.1 - Fix for strict classes
Recommended to update to this version. It supports classes with extra = "forbid"
in their config.
What's Changed
- Bump ruff from 0.0.270 to 0.0.272 by @dependabot in #34
- Bump pre-commit from 3.3.2 to 3.3.3 by @dependabot in #36
- Bump pytest from 7.3.1 to 7.3.2 by @dependabot in #35
- Bump DavidAnson/markdownlint-cli2-action from 10 to 11 by @dependabot in #37
- Fix: Strict Classes Support by @NowanIlfideme in #38
Full Changelog: v0.5.0...v0.5.1
v0.5.0 - Breaking (Object Format) - Fixes for Nested Model Serialization
⚠️ Important Breaking Fix ⚠️
Nested models are now properly serialized and loaded. Note that you must specify "class": "YourClassName"
in JSON (or the equivalent in YAML) when creating these files by hand. Docs fix will be done in a later patch.
This will break saved objects, but should NOT change any of your code.
What's Changed
- Bump ruff from 0.0.265 to 0.0.270 by @dependabot in #30
- Keep type information for nested Pydantic models by @NowanIlfideme in #32
- Bump pre-commit from 3.3.1 to 3.3.2 by @dependabot in #28
- Bump mypy from 1.2.0 to 1.3.0 by @dependabot in #26
Full Changelog: v0.4.0...v0.5.0
v0.4.0 - Now with config inheritance
v0.3.0 - New save_model(), load_model() functions for stand-alone use.
What's Changed
- Feature: Standalone
save_model
/load_model
functions by @NowanIlfideme in #22 - Fixes for mypy in utils by @NowanIlfideme in #23
Full Changelog: v0.2.0...v0.3.0