Skip to content

Releases: Attumm/redis-dict

V2.4.0 Added datetime timedelta for expiration

09 Feb 13:56
51aca54
Compare
Choose a tag to compare

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

20 Jan 09:34
d7f4dea
Compare
Choose a tag to compare

Added Redis configuration example to Readme
Updated "how to" with Redis configuration

v2.3.1

13 Jan 17:06
f947b69
Compare
Choose a tag to compare
  • 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

13 Jan 15:24
68d025c
Compare
Choose a tag to compare
v2.3.0 Pre-release
Pre-release
  • bumped package versions for security
  • small update for readme

Added preserve expiration as feature

23 Jun 09:51
3f91ecd
Compare
Choose a tag to compare

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

01 Apr 05:11
1bb19f1
Compare
Choose a tag to compare
Merge pull request #21 from Attumm/updated_readme_and_edgecase

Changed Readme, and handling of edgecase

v2.0.2

31 Mar 11:34
bed537d
Compare
Choose a tag to compare
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

20 Feb 13:20
392eb70
Compare
Choose a tag to compare

Updated future package

Added experimental support for lists and dictionaries.

05 Dec 10:10
7fd7631
Compare
Choose a tag to compare

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

20 Jul 13:33
51e02f4
Compare
Choose a tag to compare

Updated Readme, new release for pypi