Skip to content

Commit 84a9f33

Browse files
committed
Bump to v0.4.1
1 parent 9d28610 commit 84a9f33

File tree

6 files changed

+108
-2
lines changed

6 files changed

+108
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,6 @@ jobs:
6464
- name: Upload to pypi
6565
run: |
6666
twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/*
67+
- name: Deploy docs
68+
run: |
69+
mkdocs gh-deploy

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [0.4.1] - 2022-12-20
11+
12+
### Added
13+
14+
- Added the docs site at `https://sopherapps.github.io/pydantic-redis/`
15+
16+
### Changed
17+
18+
- Made the `shared` package protected
19+
20+
### Fixed
21+
1022
## [0.4.0] - 2022-12-17
1123

1224
### Added
@@ -17,6 +29,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1729

1830
- Changed redis index to use sorted sets instead of ordinary sets
1931

32+
### Fixed
33+
2034
## [0.3.0] - 2022-12-15
2135

2236
### Added

docs/change-log.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## [Unreleased]
9+
10+
## [0.4.1] - 2022-12-20
11+
12+
### Added
13+
14+
- Added the docs site at `https://sopherapps.github.io/pydantic-redis/`
15+
16+
### Changed
17+
18+
- Made the `shared` package protected
19+
20+
### Fixed
21+
22+
## [0.4.0] - 2022-12-17
23+
24+
### Added
25+
26+
- Added pagination
27+
28+
### Changed
29+
30+
- Changed redis index to use sorted sets instead of ordinary sets
31+
32+
### Fixed
33+
34+
## [0.3.0] - 2022-12-15
35+
36+
### Added
37+
38+
- Added asyncio support, to be got from the `pydantic_redis.asyncio` module
39+
40+
### Changed
41+
42+
- Moved the synchronous version to the `pydantic_redis.syncio` module, but kept its contents exposed in pydantic_redis
43+
for backward-compatibility
44+
45+
### Fixed
46+
47+
## [0.2.0] - 2022-12-15
48+
49+
### Added
50+
51+
### Changed
52+
53+
- Changed the `NESTED_MODEL_LIST_FIELD_PREFIX` to "___" and `NESTED_MODEL_TUPLE_FIELD_PREFIX` to "____"
54+
- Changed all queries (selects) to use lua scripts
55+
- Changed `Model.deserialize_partially` to receive data either as a dict or as a flattened list of key-values
56+
57+
### Fixed
58+
59+
## [0.1.8] - 2022-12-13
60+
61+
### Added
62+
63+
- Add support for model fields that are tuples of nested models
64+
65+
### Changed
66+
67+
### Fixed
68+
69+
## [0.1.7] - 2022-12-12
70+
71+
### Added
72+
73+
### Changed
74+
75+
### Fixed
76+
77+
- Fixed support for model properties that are *Optional* lists of nested models
78+
- Fixed issue with field names being disfigured by `lstrip` when attempting to strip nested-mode-prefixes
79+
80+
## [0.1.6] - 2022-11-01
81+
82+
### Added
83+
84+
- Support for model properties that are lists of nested models
85+
86+
### Changed
87+
88+
### Fixed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ nav:
4040
- 'Explanation':
4141
- explanation/why-use-orms.md
4242
- reference.md
43+
- change-log.md
4344

4445
markdown_extensions:
4546
- pymdownx.highlight:

pydantic_redis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626

2727
__all__ = [Store, RedisConfig, Model, asyncio]
2828

29-
__version__ = "0.4.0"
29+
__version__ = "0.4.1"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# This call to setup() does all the work
1212
setup(
1313
name="pydantic-redis",
14-
version="0.4.0",
14+
version="0.4.1",
1515
description="This package provides a simple ORM for redis using pydantic-like models.",
1616
long_description=README,
1717
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)