Skip to content

Releases: NowanIlfideme/pydantic-kedro

v0.8.0 - Support of Pydantic v1 extended to Pydantic v2 Backport

01 Apr 20:14
04a9ea7
Compare
Choose a tag to compare

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)

22 Mar 14:57
7e6de55
Compare
Choose a tag to compare

Many internal changes for kedro~=0.19 and kedro-datasets, but from the user side there are only minor changes (see docs too):

  1. The *DataSet classes have been renamed to *Dataset, though the old names
    are still available as aliases.
  2. The kedro-datasets package is now a necessary dependency.
  3. Thanks to changes in Kedro's datasets, most have switched to requiring
    keyword-only arguments, especially filename. 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

Full Changelog: v0.6.2...v0.7.0

v0.6.2 - Maximum versions pinned

06 Feb 12:57
8f73c56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.2

v0.6.1 - Requirements bump

09 Nov 18:28
178306e
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0 - Auto-creation of parent directories when saving locally

25 Sep 14:00
38721f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.2...v0.6.0

v0.5.2 - Fix for YAML dumping. Explicit support for SparkDataSet.

12 Sep 19:02
83ee958
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.2

v0.5.1 - Fix for strict classes

16 Jun 11:21
2cbb8b6
Compare
Choose a tag to compare

Recommended to update to this version. It supports classes with extra = "forbid" in their config.

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0 - Breaking (Object Format) - Fixes for Nested Model Serialization

01 Jun 20:14
76f524e
Compare
Choose a tag to compare

⚠️ 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

Full Changelog: v0.4.0...v0.5.0

v0.4.0 - Now with config inheritance

11 May 00:22
b3e7774
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0 - New save_model(), load_model() functions for stand-alone use.

10 May 21:09
f35316d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.3.0