diff --git a/CHANGELOG.md b/CHANGELOG.md index 5550852..9eef4fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,12 @@ Changes are grouped as follows - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. +## [0.6.6] - 2024-09-30 + +## Fixed + +- Bug where DataFrame did not allow nan values. + ## [0.6.5] - 2024-09-17 ## Fixed diff --git a/src/pyclarify/__init__.py b/src/pyclarify/__init__.py index 892ba6a..0b09a9b 100644 --- a/src/pyclarify/__init__.py +++ b/src/pyclarify/__init__.py @@ -25,5 +25,5 @@ ) import pyclarify.query -__version__ = "0.6.5" +__version__ = "0.6.6" __API_version__ = "1.1" diff --git a/src/pyclarify/views/dataframe.py b/src/pyclarify/views/dataframe.py index bf4c36d..75b14a5 100644 --- a/src/pyclarify/views/dataframe.py +++ b/src/pyclarify/views/dataframe.py @@ -354,7 +354,7 @@ def __add__(self, other): except TypeError as e: raise TypeError(source=self, other=other) from e - model_config = ConfigDict(allow_inf_nan=False, json_encoders={datetime: time_to_string}, extra="forbid") + model_config = ConfigDict(ser_json_inf_nan='null', json_encoders={datetime: time_to_string}, extra="forbid") DataFrame.model_rebuild()