From 40c757d6d9a99216eb10c99c306beb553a6a1e73 Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 10 Feb 2024 09:59:31 +0100 Subject: [PATCH] Bump to v0.5.0 --- CHANGELOG.md | 12 ++++++++++++ README.md | 4 ++-- setup.py | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 642c3c0b..56ac7bdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [0.5.0] - 2024-02-10 + +### Added + +### Changed + +- Upgraded to pydantic v2. + +### Fixed + +- Fixed orjson.JSONDecodeError when models have optional string fields + ## [0.4.3] - 2022-12-29 ### Added diff --git a/README.md b/README.md index ad4bd945..f64ee66e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Most Notable Features are: ## Benchmarks -### v0.** +### v0.5 (with pydantic v2) ``` ------------------------------------------------ benchmark: 22 tests ------------------------------------------------ diff --git a/setup.py b/setup.py index a0f0f1ef..0588137b 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ # This call to setup() does all the work setup( name="pydantic-redis", - version="0.4.3", + version="0.5.0", description="This package provides a simple ORM for redis using pydantic-like models.", long_description=README, long_description_content_type="text/markdown",