@@ -2,15 +2,18 @@ Version 0.3.0
2
2
-------------
3
3
4
4
### New
5
+ - official support for cluster servers!!!
5
6
- now all operations support omitting exceptions
6
7
- ` make_key ` , ` make_pattern ` , ` encode ` and ` decode ` are now functions, so they can be used outside the backend (e.g: when using the raw client)
7
8
- ` django_valkey.get_valkey_connection ` now works with shard client as well
9
+ - replace django's ` close_caches ` receiver with ` close_async_caches `
8
10
9
11
### bug fix
10
12
- fixed bug of ` omit_exception ` not handling generator and async generators
11
13
- fixed bug of async ` get_valkey_connection ` checking if the client is async.
12
14
13
15
### internal change
16
+ - ` make_key ` and ` make_pattern ` return None if key/pattern is None
14
17
- moved all operations from ` django_valkey.cache ` and ` django_valkey.async_cache.cache ` to ` django_valkey.base ` .
15
18
- cluster client now uses the same methods as normal client, unless it has to have a specific method.
16
19
- prefixing async methods with ` a ` is done dynamically now; (so no more ` aset = set ` ), it's all handled in ` __getattr__ ` .
@@ -20,6 +23,9 @@ Version 0.3.0
20
23
- ` AsyncHerdClient._pack ` and ` AsyncHerdClient._unpack ` are now sync methods.
21
24
- common parts of herd clients now live in ` django_valkey.base_client `
22
25
- shard client now has ` get_client ` instead of ` get_server `
26
+ - all tests now use pytest tools
27
+ - use anyio for async tests instead of ` pytest-asyncio `
28
+ - add editorconfig file
23
29
24
30
Version 0.2.0
25
31
-------------
@@ -115,4 +121,4 @@ Released 2024/09/07
115
121
116
122
- added some docstring to compressor classes
117
123
118
- - fixed some messages generated by autocomplete
124
+ - fixed some messages generated by autocomplete
0 commit comments