Redis

Latest version: v5.0.4

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 12

4.0.0

* FT.EXPLAINCLI intentionally raising NotImplementedError
* Restoring ZRANGE desc for Redis < 6.2.0 (1697)
* Response parsing occasionally fails to parse floats (1692)
* Re-enabling read-the-docs (1707)
* Call HSET after FT.CREATE to avoid keyspace scan (1706)
* Unit tests fixes for compatibility (1703)
* Improve documentation about Locks (1701)
* Fixes to allow --redis-url to pass through all tests (1700)
* Fix unit tests running against Redis 4.0.0 (1699)
* Search alias test fix (1695)
* Adding RediSearch/RedisJSON tests (1691)
* Updating codecov rules (1689)
* Tests to validate custom JSON decoders (1681)
* Added breaking icon to release drafter (1702)
* Removing dependency on six (1676)
* Re-enable pipeline support for JSON and TimeSeries (1674)
* Export Sentinel, and SSL like other classes (1671)
* Restore zrange functionality for older versions of Redis (1670)
* Fixed garbage collection deadlock (1578)
* Tests to validate built python packages (1678)
* Sleep for flaky search test (1680)
* Test function renames, to match standards (1679)
* Docstring improvements for Redis class (1675)
* Fix georadius tests (1672)
* Improvements to JSON coverage (1666)
* Add python_requires setuptools check for python > 3.6 (1656)
* SMISMEMBER support (1667)
* Exposing the module version in loaded_modules (1648)
* RedisTimeSeries support (1652)
* Support for json multipath ($) (1663)
* Added boolean parsing to PEXPIRE and PEXPIREAT (1665)
* Add python_requires setuptools check for python > 3.6 (1656)
* Adding vulture for static analysis (1655)
* Starting to clean the docs (1657)
* Update README.md (1654)
* Adding description format for package (1651)
* Publish to pypi as releases are generated with the release drafter (1647)
* Restore actions to prs (1653)
* Fixing the package to include commands (1649)
* Re-enabling codecov as part of CI process (1646)
* Adding support for redisearch (1640) Thanks chayim
* redisjson support (1636) Thanks chayim
* Sentinel: Add SentinelManagedSSLConnection (1419) Thanks AbdealiJK
* Enable floating parameters in SET (ex and px) (1635) Thanks AvitalFineRedis
* Add warning when hiredis not installed. Recommend installation. (1621) Thanks adiamzn
* Raising NotImplementedError for SCRIPT DEBUG and DEBUG SEGFAULT (1624) Thanks chayim
* CLIENT REDIR command support (1623) Thanks chayim
* REPLICAOF command implementation (1622) Thanks chayim
* Add support to NX XX and CH to GEOADD (1605) Thanks AvitalFineRedis
* Add support to ZRANGE and ZRANGESTORE parameters (1603) Thanks AvitalFineRedis
* Pre 6.2 redis should default to None for script flush (1641) Thanks chayim
* Add FULL option to XINFO SUMMARY (1638) Thanks agusdmb
* Geosearch test should use any=True (1594) Thanks Andrew-Chen-Wang
* Removing packaging dependency (1626) Thanks chayim
* Fix client_kill_filter docs for skimpy (1596) Thanks Andrew-Chen-Wang
* Normalize minid and maxlen docs (1593) Thanks Andrew-Chen-Wang
* Update docs for multiple usernames for ACL DELUSER (1595) Thanks Andrew-Chen-Wang
* Fix grammar of get param in set command (1588) Thanks Andrew-Chen-Wang
* Fix docs for client_kill_filter (1584) Thanks Andrew-Chen-Wang
* Convert README & CONTRIBUTING from rst to md (1633) Thanks davidylee
* Test BYLEX param in zrangestore (1634) Thanks AvitalFineRedis
* Tox integrations with invoke and docker (1632) Thanks chayim
* Adding the release drafter to help simplify release notes (1618). Thanks chayim
* BACKWARDS INCOMPATIBLE: Removed support for end of life Python 2.7. 1318
* BACKWARDS INCOMPATIBLE: All values within Redis URLs are unquoted via
urllib.parse.unquote. Prior versions of redis-py supported this by
specifying the ``decode_components`` flag to the ``from_url`` functions.
This is now done by default and cannot be disabled. 589
* POTENTIALLY INCOMPATIBLE: Redis commands were moved into a mixin
(see commands.py). Anyone importing ``redis.client`` to access commands
directly should import ``redis.commands``. 1534, 1550
* Removed technical debt on REDIS_6_VERSION placeholder. Thanks chayim 1582.
* Various docus fixes. Thanks Andrew-Chen-Wang 1585, 1586.
* Support for LOLWUT command, available since Redis 5.0.0.
Thanks brainix 1568.
* Added support for CLIENT REPLY, available in Redis 3.2.0.
Thanks chayim 1581.
* Support for Auto-reconnect PubSub on get_message. Thanks luhn 1574.
* Fix RST syntax error in README/ Thanks JanCBrammer 1451.
* IDLETIME and FREQ support for RESTORE. Thanks chayim 1580.
* Supporting args with MODULE LOAD. Thanks chayim 1579.
* Updating RedisLabs with Redis. Thanks gkorland 1575.
* Added support for ASYNC to SCRIPT FLUSH available in Redis 6.2.0.
Thanks chayim. 1567
* Added CLIENT LIST fix to support multiple client ids available in
Redis 2.8.12. Thanks chayim 1563.
* Added DISCARD support for pipelines available in Redis 2.0.0.
Thanks chayim 1565.
* Added ACL DELUSER support for deleting lists of users available in
Redis 6.2.0. Thanks chayim. 1562
* Added CLIENT TRACKINFO support available in Redis 6.2.0.
Thanks chayim. 1560
* Added GEOSEARCH and GEOSEARCHSTORE support available in Redis 6.2.0.
Thanks AvitalFine Redis. 1526
* Added LPUSHX support for lists available in Redis 4.0.0.
Thanks chayim. 1559
* Added support for QUIT available in Redis 1.0.0.
Thanks chayim. 1558
* Added support for COMMAND COUNT available in Redis 2.8.13.
Thanks chayim. 1554.
* Added CREATECONSUMER support for XGROUP available in Redis 6.2.0.
Thanks AvitalFineRedis. 1553
* Including slowly complexity in INFO if available.
Thanks ian28223 1489.
* Added support for STRALGO available in Redis 6.0.0.
Thanks AvitalFineRedis. 1528
* Addes support for ZMSCORE available in Redis 6.2.0.
Thanks 2014BDuck and jiekun.zhu. 1437
* Support MINID and LIMIT on XADD available in Redis 6.2.0.
Thanks AvitalFineRedis. 1548
* Added sentinel commands FLUSHCONFIG, CKQUORUM, FAILOVER, and RESET
available in Redis 2.8.12.
Thanks otherpirate. 834
* Migrated Version instead of StrictVersion for Python 3.10.
Thanks tirkarthi. 1552
* Added retry mechanism with backoff. Thanks nbraun-amazon. 1494
* Migrated commands to a mixin. Thanks chayim. 1534
* Added support for ZUNION, available in Redis 6.2.0. Thanks
AvitalFineRedis. 1522
* Added support for CLIENT LIST with ID, available in Redis 6.2.0.
Thanks chayim. 1505
* Added support for MINID and LIMIT with xtrim, available in Reds 6.2.0.
Thanks chayim. 1508
* Implemented LMOVE and BLMOVE commands, available in Redis 6.2.0.
Thanks chayim. 1504
* Added GET argument to SET command, available in Redis 6.2.0.
Thanks 2014BDuck. 1412
* Documentation fixes. Thanks enjoy-binbin jonher937. 1496 1532
* Added support for XAUTOCLAIM, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1529
* Added IDLE support for XPENDING, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1523
* Add a count parameter to lpop/rpop, available in Redis 6.2.0.
Thanks wavenator. 1487
* Added a (pypy) trove classifier for Python 3.9.
Thanks D3X. 1535
* Added ZINTER support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1520
* Added ZINTER support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1520
* Added ZDIFF and ZDIFFSTORE support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1518
* Added ZRANGESTORE support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1521
* Added LT and GT support for ZADD, available in Redis 6.2.0.
Thanks chayim. 1509
* Added ZRANDMEMBER support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1519
* Added GETDEL support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1514
* Added CLIENT KILL laddr filter, available in Redis 6.2.0.
Thanks chayim. 1506
* Added CLIENT UNPAUSE, available in Redis 6.2.0.
Thanks chayim. 1512
* Added NOMKSTREAM support for XADD, available in Redis 6.2.0.
Thanks chayim. 1507
* Added HRANDFIELD support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1513
* Added CLIENT INFO support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1517
* Added GETEX support, available in Redis 6.2.0.
Thanks AvitalFineRedis. 1515
* Added support for COPY command, available in Redis 6.2.0.
Thanks malinaa96. 1492
* Provide a development and testing environment via docker. Thanks
abrookins. 1365
* Added support for the LPOS command available in Redis 6.0.6. Thanks
aparcar 1353/1354
* Added support for the ACL LOG command available in Redis 6. Thanks
2014BDuck. 1307
* Added support for ABSTTL option of the RESTORE command available in
Redis 5.0. Thanks charettes. 1423

3.5.3

* Restore try/except clauses to __del__ methods. These will be removed
in 4.0 when more explicit resource management if enforced. 1339
* Update the master_address when Sentinels promote a new master. 847
* Update SentinelConnectionPool to not forcefully disconnect other in-use
connections which can negatively affect threaded applications. 1345

3.5.2

* Tune the locking in ConnectionPool.get_connection so that the lock is
not held while waiting for the socket to establish and validate the
TCP connection.

3.5.1

* Fix for HSET argument validation to allow any non-None key. Thanks
AleksMat, 1337, 1341

3.5.0

* Removed exception trapping from __del__ methods. redis-py objects that
hold various resources implement __del__ cleanup methods to release
those resources when the object goes out of scope. This provides a
fallback for when these objects aren't explicitly closed by user code.
Prior to this change any errors encountered in closing these resources
would be hidden from the user. Thanks jdufresne. 1281
* Expanded support for connection strings specifying a username connecting
to pre-v6 servers. 1274
* Optimized Lock's blocking_timeout and sleep. If the lock cannot be
acquired and the sleep value would cause the loop to sleep beyond
blocking_timeout, fail immediately. Thanks clslgrnc. 1263
* Added support for passing Python memoryviews to Redis command args that
expect strings or bytes. The memoryview instance is sent directly to
the socket such that there are zero copies made of the underlying data
during command packing. Thanks Cody-G. 1265, 1285
* HSET command now can accept multiple pairs. HMSET has been marked as
deprecated now. Thanks to laixintao 1271
* Don't manually DISCARD when encountering an ExecAbortError.
Thanks nickgaya, 1300/1301
* Reset the watched state of pipelines after calling exec. This saves
a roundtrip to the server by not having to call UNWATCH within
Pipeline.reset(). Thanks nickgaya, 1299/1302
* Added the KEEPTTL option for the SET command. Thanks
laixintao 1304/1280
* Added the MEMORY STATS command. 1268
* Lock.extend() now has a new option, `replace_ttl`. When False (the
default), Lock.extend() adds the `additional_time` to the lock's existing
TTL. When replace_ttl=True, the lock's existing TTL is replaced with
the value of `additional_time`.
* Add testing and support for PyPy.

3.4.1

* Move the username argument in the Redis and Connection classes to the
end of the argument list. This helps those poor souls that specify all
their connection options as non-keyword arguments. 1276
* Prior to ACL support, redis-py ignored the username component of
Connection URLs. With ACL support, usernames are no longer ignored and
are used to authenticate against an ACL rule. Some cloud vendors with
managed Redis instances (like Heroku) provide connection URLs with a
username component pre-ACL that is not intended to be used. Sending that
username to Redis servers < 6.0.0 results in an error. Attempt to detect
this condition and retry the AUTH command with only the password such
that authentication continues to work for these users. 1274
* Removed the __eq__ hooks to Redis and ConnectionPool that were added
in 3.4.0. This ended up being a bad idea as two separate connection
pools be considered equal yet manage a completely separate set of
connections.

Page 2 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.