./databases/py-redis, Redis Python client

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.0.8, Package name: py311-redis-5.0.8, Maintainer: pkgsrc-users

The Python interface to the Redis key-value store.


Required to run:
[devel/py-async-timeout] [lang/python310]

Master sites:

Filesize: 4487.94 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-27 06:58:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-redis: updated to 5.0.4

5.0.4

Bug Fixes

Make it possible to customize SSL ciphers
   2024-03-11 07:48:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-redis: updated to 5.0.3

5.0.3

Bug Fixes

Fix breaking change: message in LockError is now optional

Maintenance

Bump release-drafter/release-drafter from 5 to 6
Bump rojopolis/spellcheck-github-actions from 0.35.0 to 0.36.0
Remove redundant async-timeout dependency
   2024-02-28 19:02:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-redis: updated to 5.0.2

5.0.2

New Features

Allow to control the minimum SSL version
Add modules support to async RedisCluster
Adding lock_name to LockError
Add GEOSHAPE field type for index creation of RediSearch

Bug Fixes

Fix retry logic for pubsub and pipeline
Ignore TypeError on disconnect (within multiprocess)
Release already acquired connections on ClusterPipeline, when get_connection \ 
raises an exception
Fix possible pipeline connections leak
Return a copy of the response from cache
Fix: HSET unexpectedly mutates the list passed to items
Fix acl_genpass with bits
Allow the parsing of the asking command to forward original options
Fix parsing of FT.PROFILE result
Use disable_decoding in async read_response with hiredis parser.
Fix return types in json commands
Fix Specifying Target Nodes broken hyperlink

Maintenance

Fix incorrect asserts in test and ensure connections are closed
Revert stale issue version update
Docs: Add timeout parameter for get_message example
Bump codecov/codecov-action from 3 to 4
Bump actions/stale from 3 to 9
Fix grammer in BlockingConnectionPool class documentation
Updating async-timeout to 4.0.3
Fix type hint of arbitrary argument lists
Fix JSON.OBJLEN type hint
Fix HDEL type hint
Docs: organize cluster mode part of lua scripting
Update reported version deprecation in asyncio.client
Make the connection callback methods public again, add documentation
Update repr of important classes with module name and recommended "< โ€ฆ
Typo in advanced features documentation
Fix typos in documentation
Add "sum" to DUPLICATE_POLICY documentation of TS.CREATE, TS.ADD and \ 
TS.ALTER
Fixed typo in ocsp.py
Creating CODEOWNERS for documentation
   2023-09-27 14:12:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-redis: updated to 5.0.1

5.0.1

๐Ÿš€ New Features

Provide aclose() / close() for classes requiring lifetime management
Add support for ModuleCommands in cluster
Add support for multiple values in RPUSHX
Add Redis.from_pool() class method, for explicitly owning and closing a \ 
ConnectionPool

๐Ÿ› Bug Fixes

Fixing monitor parsing for messages containing specific substrings
Cluster determine slot command name need to be upper
Support timeout = 0 in search query
Fix async sentinel: add push_request keyword argument to read_response
Fix protocol checking for search commands
Fix: SentinelManagedConnection.read_response() got an unexpected keyword \ 
argument 'push_request'
Fix: automatically close connection pool for async Sentinel
Save a reference to created async tasks, to avoid tasks potentially disappearing
Avoid reference cycling by the garbage collector during response reading

๐Ÿงฐ Maintenance

Type hint improvements
Replace clear_connect_callbacks with _deregister_connect_callback
Async fixes, remove del and other things
Add pagination, sorting and grouping examples to search json example
Remove process-id checks from asyncio. Asyncio and fork() does not mix.
Fix resource usage and cleanup Mocks in the unit tests
Remove mentions of tox
Add 7.2 to supported Redis versions
Fix resource warnings in unit tests
Fix typo in redis-stream-example.ipynb
Deprecate RedisGraph
Fix redis 7.2.0 tests
Fix test_scorer (search)
   2023-08-25 15:46:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-redis: updated to 5.0.0.

5.0.0

Triggers and Functions support

Triggers and Functions allow you to execute server-side functions triggered when \ 
key values are modified or created in Redis, a stream entry arrival, or \ 
explicitly calling them. Simply put, you can replace Lua scripts with \ 
easy-to-develop JavaScript or TypeScript code. Move your business logic closer \ 
to the data to ensure a lower latency, and forget about updating dependent key \ 
values manually in your code.
Try it for yourself with Quick start

Full Redis 7.2 and RESP3 support

Python 3.7 End-of-Life

Python 3.7 has reached its end-of-life (EOL) as of June 2023. This means that \ 
starting from this date, Python 3.7 will no longer receive any updates, \ 
including security patches, bug fixes, or improvements. If you continue to use \ 
Python 3.7 post-EOL, you may expose your projects and systems to potential \ 
security vulnerabilities. We ended its support in this version and strongly \ 
recommend migrating to Python 3.10.

๐Ÿ› Bug Fixes

Fix timeout retrying on pipeline execution
Fix socket garbage collection

๐Ÿงฐ Maintenance

Updating client license to clear, MIT
Add py.typed in accordance with PEP-561
Dependabot label change
Fix type hints in SearchCommands
Add sync modules (except search) tests to cluster CI
Fix a duplicate word in CONTRIBUTING.md
Fixing doc builds
Change cluster docker to edge and enable debug command
   2023-07-04 12:29:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-redis: updated to 4.6.0

4.6.0

๐Ÿงช Experimental Features

Support JSON.MERGE command
Support JSON.MSET command
๐Ÿš€ New Features

Extract abstract async connection class
Add support for WAITAOF
Introduce OutOfMemoryError exception for Redis write command rejections due to \ 
OOM errors
Add WITHSCORE argument to ZRANK
๐Ÿ› Bug Fixes

Fix dead weakref in sentinel connection causing ReferenceError
Fix Key Error in parse_xinfo_stream
Remove unnecessary __del__ handlers
Added support for missing argument to SentinelManagedConnection.read_response()
๐Ÿงฐ Maintenance

Fix type hint for retry_on_error in async cluster
Clean up documents and fix some redirects
Add unit tests for the connect method of all Redis connection classes
Docstring formatting fix
   2023-05-09 07:25:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-redis: updated to 4.5.5

4.5.5

๐Ÿš€ New Features

Add support for CLIENT NO-TOUCH
Add support for CLUSTER MYSHARDID
Add "address_remap" feature to RedisCluster
Add WITHSCORES argument to ZREVRANK command
Improve error output for master discovery

๐Ÿ› Bug Fixes

Fix XADD: allow non negative maxlen
Fix create single connection client from url
Optionally disable disconnects in read_response
Fix SLOWLOG GET return value
Fix potential race condition during disconnection
Return response in case of KeyError
Fix incorrect usage of once flag in async Sentinel
Fix memory leak caused by hiredis in asyncio case
Really do not use asyncio's timeout lib before 3.11.2

๐Ÿงฐ Maintenance

Clean PytestUnraisableExceptionWarning from asycio client
Add RedisCluster.remap_host_port, Update tests for CWE 404
Updated AWS Elasticache IAM connection example
Update CONTRIBUTING guidelines
Fix ClusterCommandProtocol type
Fix TOPK list example.
Improving vector similarity search example
Update example of Redisearch creating index
   2023-03-30 09:11:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-redis: updated to 4.5.4

4.5.4

Upgrade urgency: SECURITY, contains fixes to security issues.

(CVE-2023-28859) - Cancelling an async future does not, properly trigger, \ 
leading to a potential data leak in specific cases.
(CVE-2023-28858) - Cancelling an async future does not, properly trigger, \ 
leading to a potential data leak in specific cases.

๐Ÿ› Bug Fixes

Fixing cancelled async futures
Fix: do not use asyncio's timeout lib before 3.11.2
Fix UDS in v4.5.2: UnixDomainSocketConnection missing constructor argument

๐Ÿงฐ Maintenance

Minor fixes for 2666 and enhanced async test
Fix issue 2660: PytestUnraisableExceptionWarning from asycio client
Removing accidentally checked in files