Releases: Attumm/redis-dict
V2.4.0 Added datetime timedelta for expiration
V2.4.0
Added datetime timedelta for expiration during initialization and within the context manager.
Bumped the test-requirement version of cryptography.
Great thanks to @Pydes-boop for incorporating timedeltas for expiration during initialization and in the context manager.
passed:
mypy --strict redis_dict.py
pylama redis_dict.py -i E501
Added Redis configuration example to Readme
Added Redis configuration example to Readme
Updated "how to" with Redis configuration
v2.3.1
- Setup guide for Redis encryption.
- Minor wording changes to the README for improved clarity.
- An example illustrating the use of 'preserve timeout' for keys, developed in collaboration with @cterrazas2."
v2.3.0
Added preserve expiration as feature
In this release, a new feature has been added to the RedisDict functionality: Preserve Expiration. This feature enables the user to maintain the existing TTL (Time to Live) value of a key when it is updated, rather than resetting it to the default or global expire time.
Now, when an existing key is updated and preserve_expiration is set to True, the current TTL of the key is preserved. This effectively allows keys to retain their original expiration settings even after their values have been updated. This provides greater flexibility and control over individual key expiration settings in your Redis data store.
The new feature has been thoroughly tested to ensure its reliable functionality. The unittests added cover various scenarios of using the preserve_expiration configuration parameter.
Special thanks to GitHub user cterrazas2, who not only brought this issue to attention, but also contributed to the solution by providing the initial code for this feature. The involvement has been invaluable in making this enhancement possible.
Updated Readme
Merge pull request #21 from Attumm/updated_readme_and_edgecase Changed Readme, and handling of edgecase
v2.0.2
Added typehinting
Added google style dosctrings
Added type tuple
Added type set
Added fuzz testing
Added load testing script
Added some other tests
Changed some peformance updates
Changed README.md
Changed redis version for security
Changed redis package to lastest version
passes "mypy --strict"
passes pylama
Updated future package
Updated future package
Added experimental support for lists and dictionaries.
Added experimental support lists and dictionaries.
Using JSON as serialization list and dictionaries can now be stored.
But using JSON serialization of lists, and dictionaries is not always guaranteed to work.
JSON serialization still has the issue with referenced types, and with dictionaries the key type is forced to a string.
That means that some parts of your dictionary could change.
For storage of Dictionaries in another way the "chain" feature can be used.
That way all the data stored on Redis will keep the same performance as all other operations.
There for it's it's feature that could work in some use-cases but not all.
Updated Readme
Updated Readme, new release for pypi