summaryrefslogtreecommitdiff
path: root/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
...
* version 3.3.5, handle socket.timeout errors correctly in Python 2.73.3.5Andy McCurdy2019-08-021-0/+3
| | | | | Fix an issue where socket.timeout errors could be handled by the wrong exception handler in Python 2.7.
* version 3.3.4, more specifically identify nonblocking read errorsAndy McCurdy2019-07-301-0/+4
| | | | | | | versions 3.3.1, 3.3.2 and 3.3.3 could potentially hide ConnectionErrors on Python 2.7. This change accurately identifies errors by both exception class and errno to determine whether a nonblocking socket can be read
* fixed some misspellings in the changes fileAndy McCurdy2019-07-301-22/+22
|
* Version 3.3.3. Accomodate Python 2.7.x versions < 2.7.9.3.3.3Andy McCurdy2019-07-301-0/+3
| | | | | | | | The SSL module includes in Python versions < 2.7.9 does not include the SSLWantReadError or SSLWantWriteError exceptions. As such we can't assume they are present just because the ssl module happens to be installed. Fixes #1197
* Version 3.3.2, SSL Blocking Exceptions don't use errno.EWOULDBLOCK3.3.2Andy McCurdy2019-07-291-1/+4
| | | | Ref #1197
* version 3.3.1, fixed a regression involving SSL and non-blocking sockets3.3.1Andy McCurdy2019-07-291-0/+3
| | | | Fixes #1197
* version 3.3.0Andy McCurdy2019-07-281-1/+1
|
* Pipelines shouldn't retry ConnectionErrors implicitlyAndy McCurdy2019-07-281-0/+5
|
* PING/PONG health checksAndy McCurdy2019-07-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | The `Redis` class and the `ConnectionPool` class now support the "health_check_interval=N" option. By default N=0, which turns off health checks. `N` should be an integer, and when greater than 0, ensures that a health check is performed just before command execution anytime the underlying connection has been idle for more than N seconds. A health check is a full PING/PONG round trip to the Redis server. If a health check encounters a ConnectionError or TimeoutError, the connection is disconnected and reconnected and the health check is retried exactly once. Any error during the retry is raised to the caller. Health check retries are not governed by any other options such as `retry_on_timeout`. In systems where idle times are common, these health checks are the intended way to reconnect to the Redis server without harming any user data. When this option is enabled for PubSub connections, calling `get_message()` or `listen()` will send a health check anytime a message has not been read on the PubSub connection for `health_check_interval` seconds. Users should call `get_message()` or `listen()` at least every `health_check_interval` seconds in order to keep the connection open.
* Ability to create a client that uses a single connectionAndy McCurdy2019-07-231-0/+4
| | | | | | | | | | | | | This has multiple uses: * Single connection clients will not be considered threadsafe. This means certain settings could temporarily be adjusted. For example, a context manager could temporarily modify the encoding behavior for a set of commands. * We can introduce more thorough health checks that only happen when a connection is handed out from the connection pool. * Workloads that issue many commands to Redis should be slightly faster. Prior to this change, the client must retrieve a connection from the pool for each command.
* Fix typo in README and CHANGELOG (#1133)Jani Korhonen2019-07-181-1/+1
|
* Handle removed claimed messages without an exceptionThomas Daskalakis2019-07-171-0/+2
| | | | Fixes #1191
* Use nonblocking sockets instead of selectors for healthy connectionsAndy McCurdy2019-07-091-1/+4
| | | | | | | This replaces the work in 3.2.0 to use nonblocking sockets instead of selectors. Selectors proved to be problematic for some environments including eventlet and gevent. Nonblocking sockets should be available in all environments.
* Add READONLY and READWRITE commandsTheo Despoudis2019-07-091-0/+1
|
* changelogAndy McCurdy2019-06-031-0/+4
|
* changelogAndy McCurdy2019-05-291-0/+3
|
* changelogAndy McCurdy2019-05-281-0/+3
|
* changelogAndy McCurdy2019-05-281-0/+2
|
* cleanup MONITOR docsAndy McCurdy2019-05-281-0/+2
|
* changelogAndy McCurdy2019-04-191-0/+2
|
* make sure the selector is instantiated prior to cleaning it upAndy McCurdy2019-03-181-0/+2
|
* 3.2.13.2.1Andy McCurdy2019-03-151-0/+2
|
* 3.2.0Andy McCurdy2019-02-171-1/+14
|
* changelogAndy McCurdy2019-01-311-1/+1
|
* changelogAndy McCurdy2019-01-311-0/+7
|
* 3.1.03.1.0Andy McCurdy2019-01-281-1/+1
|
* Connection URLs must have a valid scheme.Andy McCurdy2019-01-271-0/+2
| | | | | Fixes #969 Fixes #961
* the fix to TimeoutErrors had a side affect on test teardownsAndy McCurdy2019-01-271-2/+2
|
* changelogAndy McCurdy2019-01-271-0/+2
|
* changelogAndy McCurdy2019-01-271-0/+3
|
* Added a test for #1126Andy McCurdy2019-01-271-0/+2
|
* Fixes #1116Andy McCurdy2019-01-271-0/+3
|
* Lock objects now support specifying token values and ownership checkingAndy McCurdy2019-01-021-0/+6
| | | | | | | | Lock.acquire() can now be provided a token. If provided, this value will be used as the value stored in Redis to hold the lock. Lock.owned() returns a boolean indicating whether the lock is owned by the current instance.
* typoAndy McCurdy2018-12-291-1/+1
|
* changelogAndy McCurdy2018-12-281-0/+3
|
* Encode Stream message names within XREAD and XREADGROUP responses correctlyAndy McCurdy2018-12-271-1/+3
| | | | Stream message now respect the decode_responses flag.
* changelogAndy McCurdy2018-12-271-0/+3
|
* ZADD correctly returns None in certain edge cases when incr=TrueAndy McCurdy2018-12-271-0/+3
| | | | | | | When incr=True and xx=True and an element is specified that doesn't exist the Redis server returns None. redis-py now does this as well. Fixes #1084
* changelogAndy McCurdy2018-12-171-2/+7
|
* rename new LockErrorNotOwned to LockNotOwnedErrorAndy McCurdy2018-12-031-0/+7
|
* moved ssl_cert_reqs note to backwards incompatible section of changelogAndy McCurdy2018-11-291-3/+3
|
* redis-py 3.0.13.0.13.0Andy McCurdy2018-11-151-0/+8
|
* redis-py 3.0.0Andy McCurdy2018-11-151-2/+85
|
* Remove support and testing for EOL Python 3.3Jon Dufresne2018-11-031-1/+1
| | | | | | | | Python 3.3 is EOL. It is no longer receiving bug fixes, including for security issues. It has been EOL since 2017-09-29. For additional details of the status of Python versions, see: https://devguide.python.org/#status-of-python-branches
* Remove support and testing for EOL Python 2.6Jon Dufresne2018-11-031-0/+2
| | | | | | | | | | | | | | Python 2.6 is EOL. It is no longer receiving bug fixes, including for security issues. It has been EOL since 2013-10-29. For additional details of the status of Python versions, see: https://devguide.python.org/#status-of-python-branches For discussions on why removing Python 2.6 benefits the entire community, please see: https://snarky.ca/stop-using-python-2-6/ http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html
* Merge pull request #990 from jstern/patch-1Andy McCurdy2018-11-021-1/+2
|\ | | | | fix description for srandmember bugfix
| * fix description for srandmember bugfixJonathan Stern2018-06-021-1/+2
| | | | | | Reading through the changelog I noticed that one of the items seemed to trail off mid-sentence. I assume this was meant to refer to https://github.com/andymccurdy/redis-py/issues/881 and https://github.com/andymccurdy/redis-py/pull/882
* | Prefer https:// for URLs when availableJon Dufresne2018-11-011-3/+3
|/
* changelogAndy McCurdy2017-08-161-1/+29
|
* changelogAndy McCurdy2015-11-091-0/+3
|