Skip to content

Commit 6804417

Browse files
chore(main): release 1.0.0 (#269)
1 parent f664b64 commit 6804417

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## [1.0.0](https://github.com/andrewthetechie/pydantic-aioredis/compare/v0.7.0...v1.0.0) (2022-09-23)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* This is a breaking change to how updates for model attributes are saved to Redis. It removes the update classmethod and replaces with with a save method on each model.
9+
* This will result in "data loss" for existing models stored in redis due to the change in default separator. To maintain backwards compatbility with 0.7.0 and below, you will need to modify your existing models to set _redis_separator = "_%&_" as a field on them.
10+
11+
### Features
12+
13+
* json_object_hook and serializer example ([#294](https://github.com/andrewthetechie/pydantic-aioredis/issues/294)) ([80c725e](https://github.com/andrewthetechie/pydantic-aioredis/commit/80c725e087b1a09917df1770ebc676139808b2cb))
14+
* redis-separator ([#278](https://github.com/andrewthetechie/pydantic-aioredis/issues/278)) ([f367d30](https://github.com/andrewthetechie/pydantic-aioredis/commit/f367d300751b3a7550b54c31f6a7da58e9296351))
15+
* update on setattr ([#287](https://github.com/andrewthetechie/pydantic-aioredis/issues/287)) ([f1ce5c2](https://github.com/andrewthetechie/pydantic-aioredis/commit/f1ce5c2b1fe292cfe8dd509cac477f617e36c057))
16+
17+
18+
### Bug Fixes
19+
20+
* fix pre-commit in example ([ab94167](https://github.com/andrewthetechie/pydantic-aioredis/commit/ab94167a8ff22b5290f05a4b2eb3ea11a2fb4ab0))
21+
22+
23+
### Documentation
24+
25+
* change typing to <3.10 compatible ([2ccfa0a](https://github.com/andrewthetechie/pydantic-aioredis/commit/2ccfa0a38911e2fce0c6baaa79d3d39a896e2613))
26+
* fix incorrect links in CONTRIBUTING.rst ([a8ba8e5](https://github.com/andrewthetechie/pydantic-aioredis/commit/a8ba8e5626baf18a710577db946d52a6ddaed6fa))
27+
* fix invalid doc in abstract.py ([32d0d13](https://github.com/andrewthetechie/pydantic-aioredis/commit/32d0d137fe87024f45e1875fe349d819a957f3f0))
28+
329
## [0.7.0](https://github.com/andrewthetechie/pydantic-aioredis/compare/v0.6.0...v0.7.0) (2022-07-21)
430

531

pydantic_aioredis/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Entry point for pydantic-aioredis"""
22
# set by poetry-dynamic-versioning
3-
__version__ = "0.0.0" # noqa: E402
3+
__version__ = "1.0.0" # noqa: E402
44

55
from .config import RedisConfig # noqa: F401
66
from .model import Model # noqa: F401

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pydantic-aioredis"
3-
version = "0.7.0"
3+
version = "1.0.0"
44
description = "Use your pydantic models as an ORM, storing data in Redis."
55
authors = ["Andrew Herrington <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)