Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Update #1

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open

Initial Update #1

wants to merge 60 commits into from

Conversation

pyup-bot
Copy link

This PR sets up pyup.io on this repo and updates all dependencies at once, in a single branch.

Subsequent pull requests will update one dependency at a time, each in their own branch. If you want to start with that right away, simply close this PR.

Update Flask-Migrate from 2.5 to 2.5.2.

Changelog

2.5.2

- add python 3.7 builds, remove 3.4 ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/1af28ba273de6c88544623b8dc02dd539340294b))
- auto-generate change log during release ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/250a3110ad84ba331ffc7cb871e5a12fddc55f2d))
- Nicer change log ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/829edefe09dff82b6c91203dd0f5b5795bf9c8d1))

2.5.1

- Fix `__version__` file not found in sdist [267](https://github.com/miguelgrinberg/flask-migrate/issues/267) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/8ba8d7dca6cb233280d4644fc8d81cbba123a5ad)) (thanks **Christoph Gohlke**!)

2.5.0

- helper release script ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/fb041b9b9221e7125e5ee27dd9eb7514cf143181))
- support % character in database URLs [59](https://github.com/miguelgrinberg/flask-migrate/issues/59) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/4663819b416dfb5a450fe948e84111af3712078d))
- log command output in unit tests ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/506f3541c04dd0b2c020dbafc60a93fb541ca324))
- add a section on why use this extension to the docs [101](https://github.com/miguelgrinberg/flask-migrate/issues/101) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/5467b295f7912d195333482325052eae81d30f7a))

2.4.0

- updates to env.py ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/2a1ae1b9aa62c246fca2b2f1566284de8d4b940b))
- Link to binds is unreachable [244](https://github.com/miguelgrinberg/flask-migrate/issues/244) The original link redirects to flask-sqlalchemy.pocoo.org Addressing it directly works and redirects to the latest version of flask-sqlalchemy ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/eb2ab8f797a179d807b6560947f4498bb543def0)) (thanks **FaBrand**!)

2.3.1

- Don't swallow transaction errors [236](https://github.com/miguelgrinberg/flask-migrate/issues/236) A change proposed by kjohnsen from [216](https://github.com/miguelgrinberg/flask-migrate/issues/216). You can read more starting with [this comment](https://github.com/miguelgrinberg/Flask-Migrate/issues/216issuecomment-408159125). ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/87b40ec9b2113ab87f1dc41c4eb517e8ff0f5dd8)) (thanks **Nikolay Shebanov**!)

2.3.0

- use the root logger for alembic error messages ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/fa3b45ea6ecd16f436bbdee210745335128bf514))
- Add indicate-current option into history command [192](https://github.com/miguelgrinberg/flask-migrate/issues/192) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/1fa1936375bf609e9dab401e26f46f715f5b272b)) (thanks **misebox**!)

2.2.1

- dependency updates ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/5d61c191d7d8853f81e4fe71609b5ae315604c52))
- add pypy3 to test matrix ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/1cc819e9f2a17435429c16531043d0a874f76288))

2.2.0

- suppress stack traces on command errors [204](https://github.com/miguelgrinberg/flask-migrate/issues/204) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/2dd45d0037cb62bc7a8a981f0de70071b891a2ff))
- Fix typo in docs [207](https://github.com/miguelgrinberg/flask-migrate/issues/207) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/817893fe16eb5361469af671c52d8276b69efeab)) (thanks **Grey Li**!)
- Update documentation link [206](https://github.com/miguelgrinberg/flask-migrate/issues/206) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/98374a6ac1006fe37ef6f09674ebaa094214ff3e)) (thanks **Grey Li**!)
- [182](https://github.com/miguelgrinberg/flask-migrate/issues/182): clear executable permission [183](https://github.com/miguelgrinberg/flask-migrate/issues/183) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/ee0b47ede1e88340c390fca9d0c27a9c8a7e3a9c)) (thanks **Christopher Yeleighton**!)

2.1.1

- Make directory as optional parameter ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/7e6f511b050a023c9388868b97d7905b7571c16f)) (thanks **Diego Oliveira**!)
- Update CHANGELOG.md ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/dcffe1e91f9f5cfc29c5cf5f285ef9a4169113bb))
- updated README.md to use flask cli in examples ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/349826ef53f607fd5e866919f40b16315a2127cc))

2.1.0

- Remove the Flask-Script dependency in setup.py ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/7bd5ef80016257ea56a1d10f917a361a13b6aad9))

2.0.4

- Change an Alembic doc link to http from https The SSL certificate is not valid for the alembic subdomain. ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/00e8192f56f778939fd819a799a9b26010b46e2e)) (thanks **bovarysme**!)
- Update links pointing to the old Alembic doc [152](https://github.com/miguelgrinberg/flask-migrate/issues/152) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/81367408c46ecd96b2352f6e309dcb02dfc359e9)) (thanks **bovarysme**!)
- allow -x argument for migrate command [148](https://github.com/miguelgrinberg/flask-migrate/issues/148) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/3293d835811924822cf0e8d321760ddc482ea5f2)) (thanks **Tim Mundt**!)
- stop building python 2.6 ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/5f34c5cd9610f2e3194672a350f57c55cb7edd25))

2.0.3

- remove py33 builds, add py36 ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/c25ef622efc4dc28452124f56fc9bfa550ce858e))
- Support multiple -x arguments in Flask-Script interface [103](https://github.com/miguelgrinberg/flask-migrate/issues/103) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/d2947338d673041b6198b909a9f9381b73f6bf99))
- Fix autogenerate typos. ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/19af3191d8245c110860f01bb48b02b0e2d9351a)) (thanks **Sorin Muntean**!)

2.0.2

- Merge branch 'briancappello-application_factory_kwargs' ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/4ab45f60bea8227f94adbf5de1e8509ef79afa66))
- support passing alembic context kwargs from constructor into init_app ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/57c82f35366ea9122908e3b0cbdcf536d430c2de)) (thanks **Brian Cappello**!)
- fix link for alembics command reference page ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/bfbfcb24abf3ede22104211157f05d3f370ed467)) (thanks **Brian Cappello**!)
- update autogenerate capabilities ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/118b84d384106ebfde767931119204b80fcbbac5)) (thanks **Brian Cappello**!)

2.0.1

- Imports at top of file as specified by Flake8 and added branch label. Moving the imports to the top of the file will prevent an error: 'E402 module level import not at top of file'. ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/c95c20134655cbe8f771a7e47f6d3fd4ed3e8cb6)) (thanks **Maico Timmerman**!)
- Fix typo [126](https://github.com/miguelgrinberg/flask-migrate/issues/126) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/109f42fc1752422c0e3899942abe10020641edf6)) (thanks **Wells Lucas Santo**!)
- Fix typo [123](https://github.com/miguelgrinberg/flask-migrate/issues/123) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/f37bdb70529e5f984b9008eace59244a293ea3db)) (thanks **Jeff Widman**!)
- flask cli documentation updates ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/254b88bc4bdafd8fb9210b37f772a72035a12cff))

2.0.0

- add travis builds for python 3.5 ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/080b7100e2f8077d95deb7c5dcdd5adb792f528c))
- Support the new flask cli based on click [114](https://github.com/miguelgrinberg/flask-migrate/issues/114) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/8c208b54837ccbf65eee8d95fc623057e2753b4e))

1.8.1

- Allow to init_app correctly without specifying db. [118](https://github.com/miguelgrinberg/flask-migrate/issues/118) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/e339f27b8ee3e932d74fff91344b615fe6170333)) (thanks **Victor Akimov**!)

1.8.0

- Allow db to be provided separately from the app ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/d612c10c05ceab7e1131839ab8a7eadcc4a71beb))
- Added missing Python 2 version classifier to package ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/6f321543fec6c04b445c34c312092c45deaf2d29))
- Fix the link for flask-sqlalchemy binds [99](https://github.com/miguelgrinberg/flask-migrate/issues/99) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/6bf0452b084f14d06e56784465240e0258b710cb)) (thanks **lord63**!)
- Update the way to import the flask extension [98](https://github.com/miguelgrinberg/flask-migrate/issues/98) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/c27cfea43d923b991b5f609a94a58efcdca4fe3b)) (thanks **lord63**!)

1.7.0

- configuration callbacks ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/835d3e4b33bfbd7dae2166b88c49aee8f5fbeac0))
- Update __init__.py Update description of edit command. ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/3a657dcb683ff3b91cb9e2393fbdaaa11ea33b8a)) (thanks **Kostyantyn Leschenko**!)
- fixed link in documentation ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/738d33cd76185455063d9499f7752b846193889a))

1.6.0

- Add edit command [76](https://github.com/miguelgrinberg/flask-migrate/issues/76) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/e9c855ca8a935bc55e830481073e377d09cdf66d)) (thanks **Jelte Fennema**!)
- Updates so that directory doesn't get overridden [78](https://github.com/miguelgrinberg/flask-migrate/issues/78) where directory gets overridden if it is not explicitly specified in init_app.  This fix allows it to be set when the `Migrate` object is initialized and not automatically get overridden when the `init_app` is called.  This is a non-breaking change. ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/0c9a2cbe35953cdabca571f402883c202ddfa09f)) (thanks **Tim Martin**!)

1.5.1

- Do not generate a migration if no schema changes are found ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/626c83feb49f571c2a4468a8fc9f81a44eecc451))
- Fix the merge command by allowing more than one argument. [74](https://github.com/miguelgrinberg/flask-migrate/issues/74) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/9c62c963c0e142a40233dd6dde17925cdc34ea9d)) (thanks **Kevin Dwyer**!)

**Relese 1.5.0** - 2015-08-01

- Make the multi-database configuration fully automatic ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/ed1606c02dd3e57580d853db6ebe66804a5f0ceb))
- Add sane default for `db downgrade --sql` [71](https://github.com/miguelgrinberg/flask-migrate/issues/71) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/01a2e701259e7792c82b2173587750efe5523877)) (thanks **Anthony Miyaguchi**!)
- Add support for multiple databases migration [70](https://github.com/miguelgrinberg/flask-migrate/issues/70) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/07737da36faf103987a9aa1df1e39ab8259b5181)) (thanks **Nan Jiang**!)
- Added support for -x option ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/a2ff9d668393e4d2da555dc145ee80c065ac932a)) (thanks **jesse**!)

1.4.0

- Pass custom Alembic configuration options, such as compare_type. Also the tests have been restructured for clarity. ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/ee32ae4db5f406508dac0b93f1dacb2b8d05a5f9))

1.3.1

- Update __init__.py alembic version now includes parts that are not integers (e.g., 0.7.5.post1). This change will prevent the code from trying to convert non-integer values to integers. ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/49d4d99897a8756c0fa732d879b29900e6adcef4)) (thanks **pjryan126**!)
- Added syntax highlighting to README [44](https://github.com/miguelgrinberg/flask-migrate/issues/44) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/8cef3eb124c4df443b32cc33ddfeb97a3a810c05)) (thanks **Bulat Bochkariov**!)

1.3.0

- new commands and options introduced with Alembic 0.7 ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/d848cb43da247259948270cb0745a99c2e118866))
- pep8 changes ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/71ff1d717be124d5a1c6c930dc911a5635e323e0))
- Updated docs: add installation [37](https://github.com/miguelgrinberg/flask-migrate/issues/37) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/aca0ce8381fbb083a3eae9b0e1d60a3de43a0be2)) (thanks **Mozillazg**!)
- travis CI builds ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/8e8a4d018f9a0a148adef712b9227dab6c990d1b))
- travis configuration ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/5241108fdb1797a883bd1844f525e35081ceb199))
- Added Python 3 programming language support to setup.py ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/d13b42bdce60db64ad56f43350f3cb15f5f7bbe7)) (thanks **Fotis Gimian**!)
- Added travis configuration ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/917b2577e58c35b03acca0fcf8f2f09e7686975f)) (thanks **Fotis Gimian**!)
- Added test-related temp_folder to gitignore list ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/ccc87167c68759b4eded529ca2335f2743f7bb4f)) (thanks **Fotis Gimian**!)
- Repaired tests to correctly run under Python 3.3 ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/d4451fddddd951cdb144320e98162ba8616f1109)) (thanks **Fotis Gimian**!)

1.2.0

- Added the branches command [15](https://github.com/miguelgrinberg/flask-migrate/issues/15) ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/b9913c6458adba1e511ee86fd5a7291214f2eb9f)) (thanks **Bogdan Gaza**!)
- added tests directory to tarball ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/9896e370f98bb62d9a363fea564d6758d2566263))

1.1.0

- [12](https://github.com/miguelgrinberg/flask-migrate/issues/12): pass a default migrations directory in the Migrate constructor ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/189dbb5600c164147751453e72a1c8bb8e4229c3))
- Merge branch 'master' of github.com:miguelgrinberg/Flask-Migrate ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/3d364a81edacda81ccee60a33616ba15d47b5c27))
- pass revision range to history command ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/790442da2f9fa8168c6c0aa837ed4a1505980059)) (thanks **David Lord**!)
- scripting interface ([commit](https://github.com/miguelgrinberg/flask-migrate/commit/ba6a0904616b701cc48f066fe3fca18a432b7f10))

1.0.0

- First official release!
Links

Update Flask-Login from 0.4 to 0.4.1.

Changelog

0.4.1

-------------

Released on December 2nd, 2017

- New config option USE_SESSION_FOR_NEXT to enable storing next url in session
instead of url. 330
- Accept int seconds along with timedelta for REMEMBER_COOKIE_DURATION. 370
- New config option FORCE_HOST_FOR_REDIRECTS to force host for redirects. 371

0.4.0

-------------

Released on October 26th, 2016

- Fixes OPTIONS exemption from login. 244
- Fixes use of MD5 by replacing with SHA512. 264
- BREAKING: The `login_manager.token_handler` function, `get_auth_token` method
on the User class, and the `utils.make_secure_token` utility function have
been removed to prevent users from creating insecure auth implementations.
Use the `Alternative Tokens` example from the docs instead. 291

0.3.2

-------------

Released on October 8th, 2015

- Fixes Python 2.6 compatibility.
- Updates SESSION_KEYS to include "remember".

0.3.1

-------------

Released on September 30th, 2015

- Fixes removal of non-Flask-Login keys from session object when using 'strong'
protection.

0.3.0

-------------

Released on September 10th, 2015

- Fixes handling of X-Forward-For header.
- Update to use SHA512 instead of MD5 for session identifier creation.
- Fixes session creation for every view.
- BREAKING: UTC used to set cookie duration.
- BREAKING: Non-fresh logins now returns HTTP 401.
- Support unicode user IDs in cookie.
- Fixes user_logged_out signal invocation.
- Support for per-Blueprint login views.
- BREAKING: The `is_authenticated`, `is_active`, and `is_anonymous` members of
the user class are now properties, not methods. Applications should update
their user classes accordingly.
- Various other improvements including documentation and code clean up.

0.2.11

--------------

Released on May 19th, 2014

- Fixes missing request loader invocation when authorization header exists.

0.2.10

--------------

Released on March 9th, 2014

- Generalized `request_loader` introduced; ability to log users in via
customized callback over request.
- Fixes request context dependency by explicitly checking `has_request_context`.
- Fixes remember me issues since lazy user loading changes.

0.2.9

-------------

Released on December 28th, 2013

- Fixes anonymous user assignment.
- Fixes localization in Python 3.

0.2.8

-------------

Released on December 21st 2013

- Support login via authorization header. This allows login via Basic Auth, for
example. Useful in an API presentation context.
- Ability to override user ID method name. This is useful if the ID getter is
named differently than the default.
- Session data is now only read when the user is requested. This can be
beneficial for cookie and caching control when differenting between
requests that use user information for rendering and ones where all users
(including anonymous) get the same result (e.g. static pages)
- BREAKING: User *must* always be accessed through the ``current_user``
local. This breaks any previous direct access to ``_request_ctx.top.user``.
This is because user is not loaded until current_user is accessed.
- Fixes unnecessary access to the session when the user is anonymous
and session protection is active.
see https://github.com/maxcountryman/flask-login/issues/120
- Fixes issue where order dependency of applying the login manager
before dependent applications was required.
see https://github.com/mattupstate/flask-principal/issues/22
- Fixes Python 3 ``UserMixin`` hashing.
- Fixes incorrect documentation.


Previous Versions
=================

Prior to 0.2.8, no proper changelog was kept.
Links

Update Flask-Scrypt from 0.1.3 to 0.1.3.6.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update flask-celeryext from 0.3 to 0.3.2.

Changelog

0.3.2

- Uses correct Celery version for Python 3.7.
- Prevents multiple creation and pushing of Flask application contexts.

0.3.1

- Accounts for non-strict Celery versions.

0.3.0

- Adds support for Celery v4.

0.2.2

- Forces celery version to v3.1-4.0 due to problem with 4.x.

0.2.1

Improved features

- Improves documentation structure and its automatic generation.

0.2.0

Incompatible changes

- Changes celery application creation to use the default current
celery application instead creating a new celery application. This
addresses an issue with tasks using the shared_task decorator and
having Flask-CeleryExt initialized multiple times.

0.1.0

- Initial public release
Links

Update redis from 3.3 to 3.3.8.

Changelog

3.3.8

* Fixed MONITOR parsing to properly parse IPv6 client addresses, unix
   socket connections and commands issued from Lua. Thanks kukey. 1201

3.3.7

* Fixed a regression introduced in 3.3.0 where socket.error exceptions
   (or subclasses) could potentially be raised instead of
   redis.exceptions.ConnectionError. 1202

3.3.6

* Fixed a regression in 3.3.5 that caused PubSub.get_message() to raise
   a socket.timeout exception when passing a timeout value. 1200

3.3.5

* Fix an issue where socket.timeout errors could be handled by the wrong
   exception handler in Python 2.7.

3.3.4

* More specifically identify nonblocking read errors for both SSL and
   non-SSL connections. 3.3.1, 3.3.2 and 3.3.3 on Python 2.7 could
   potentially mask a ConnectionError. 1197

3.3.3

* The SSL module in Python < 2.7.9 handles non-blocking sockets
   differently than 2.7.9+. This patch accommodates older versions. 1197

3.3.2

* Further fixed a regression introduced in 3.3.0 involving SSL and
   non-blocking sockets. 1197

3.3.1

* Fixed a regression introduced in 3.3.0 involving SSL and non-blocking
   sockets. 1197

3.3.0

* Resolve a race condition with the PubSubWorkerThread. 1150
 * Cleanup socket read error messages. Thanks Vic Yu. 1159
 * Cleanup the Connection's selector correctly. Thanks Bruce Merry. 1153
 * Added a Monitor object to make working with MONITOR output easy.
   Thanks Roey Prat 1033
 * Internal cleanup: Removed the legacy Token class which was necessary
   with older version of Python that are no longer supported. 1066
 * Response callbacks are now case insensitive. This allows users that
   call Redis.execute_command() directly to pass lower-case command
   names and still get reasonable responses. 1168
 * Added support for hiredis-py 1.0.0 encoding error support. This should
   make the PythonParser and the HiredisParser behave identically
   when encountering encoding errors. Thanks Brian Candler. 1161/1162
 * All authentication errors now properly raise AuthenticationError.
   AuthenticationError is now a subclass of ConnectionError, which will
   cause the connection to be disconnected and cleaned up appropriately.
   923
 * Add READONLY and READWRITE commands. Thanks theodesp. 1114
 * Remove selectors in favor of nonblocking sockets. Selectors had
   issues in some environments including eventlet and gevent. This should
   resolve those issues with no other side effects.
 * Fixed an issue with XCLAIM and previously claimed but not removed
   messages. Thanks thomdask. 1192/1191
 * Allow for single connection client instances. These instances
   are not thread safe but offer other benefits including a subtle
   performance increase.
 * Added extensive health checks that keep the connections lively.
   Passing the "health_check_interval=N" option to the Redis client class
   or to a ConnectionPool ensures that a round trip PING/PONG is successful
   before any command if the underlying connection has been idle for more
   than N seconds. ConnectionErrors and TimeoutErrors are automatically
   retried once for health checks.
 * Changed the PubSubWorkerThread to use a threading.Event object rather
   than a boolean to control the thread's life cycle. Thanks Timothy
   Rule. 1194/1195.
 * Fixed a bug in Pipeline error handling that would incorrectly retry
   ConnectionErrors.

3.2.1

* Fix SentinelConnectionPool to work in multiprocess/forked environments.

3.2.0

* Added support for `select.poll` to test whether data can be read
   on a socket. This should allow for significantly more connections to
   be used with pubsub. Fixes 486/1115
 * Attempt to guarantee that the ConnectionPool hands out healthy
   connections. Healthy connections are those that have an established
   socket connection to the Redis server, are ready to accept a command
   and have no data available to read. Fixes 1127/886
 * Use the socket.IPPROTO_TCP constant instead of socket.SOL_TCP.
   IPPROTO_TCP is available on more interpreters (Jython for instance).
   Thanks Junnplus. 1130
 * Fixed a regression introduced in 3.0 that mishandles exceptions not
   derived from the base Exception class. KeyboardInterrupt and
   gevent.timeout notable. Thanks Christian Fersch. 1128/1129
 * Significant improvements to handing connections with forked processes.
   Parent and child processes no longer trample on each others' connections.
   Thanks to Jay Rolette for the patch and highlighting this issue.
   504/732/784/863
 * PythonParser no longer closes the associated connection's socket. The
   connection itself will close the socket. 1108/1085

3.1.0

* Connection URLs must have one of the following schemes:
   redis://, rediss://, unix://. Thanks jdupl123. 961/969
 * Fixed an issue with retry_on_timeout logic that caused some TimeoutErrors
   to be retried. Thanks Aaron Yang. 1022/1023
 * Added support for SNI for SSL. Thanks oridistor and Roey Prat. 1087
 * Fixed ConnectionPool repr for pools with no connections. Thanks
   Cody Scott. 1043/995
 * Fixed GEOHASH to return a None value when specifying a place that
   doesn't exist on the server. Thanks guybe7. 1126
 * Fixed XREADGROUP to return an empty dictionary for messages that
   have been deleted but still exist in the unacknowledged queue. Thanks
   xeizmendi. 1116
 * Added an owned method to Lock objects. owned returns a boolean
   indicating whether the current lock instance still owns the lock.
   Thanks Dave Johansen. 1112
 * Allow lock.acquire() to accept an optional token argument. If
   provided, the token argument is used as the unique value used to claim
   the lock. Thankd Dave Johansen. 1112
 * Added a reacquire method to Lock objects. reacquire attempts to renew
   the lock such that the timeout is extended to the same value that the
   lock was initially acquired with. Thanks Ihor Kalnytskyi. 1014
 * Stream names found within XREAD and XREADGROUP responses now properly
   respect the decode_responses flag.
 * XPENDING_RANGE now requires the user the specify the min, max and
   count arguments. Newer versions of Redis prevent count from being
   infinite so it's left to the user to specify these values explicitly.
 * ZADD now returns None when xx=True and incr=True and an element
   is specified that doesn't exist in the sorted set. This matches
   what the server returns in this case. 1084
 * Added client_kill_filter that accepts various filters to identify
   and kill clients. Thanks Theofanis Despoudis. 1098
 * Fixed a race condition that occurred when unsubscribing and
   resubscribing to the same channel or pattern in rapid succession.
   Thanks Marcin Raczyński. 764
 * Added a LockNotOwnedError that is raised when trying to extend or
   release a lock that is no longer owned. This is a subclass of LockError
   so previous code should continue to work as expected. Thanks Joshua
   Harlow. 1095
 * Fixed a bug in GEORADIUS that forced decoding of places without
   respecting the decode_responses option. Thanks Bo Bayles. 1082

3.0.1

* Fixed regression with UnixDomainSocketConnection caused by 3.0.0.
   Thanks Jyrki Muukkonen
 * Fixed an issue with the new asynchronous flag on flushdb and flushall.
   Thanks rogeryen
 * Updated Lock.locked() method to indicate whether *any* process has
   acquired the lock, not just the current one. This is in line with
   the behavior of threading.Lock. Thanks Alan Justino da Silva

3.0.0

BACKWARDS INCOMPATIBLE CHANGES
 * When using a Lock as a context manager and the lock fails to be acquired
   a LockError is now raised. This prevents the code block inside the
   context manager from being executed if the lock could not be acquired.
 * Renamed LuaLock to Lock.
 * Removed the pipeline based Lock implementation in favor of the LuaLock
   implementation.
 * Only bytes, strings and numbers (ints, longs and floats) are acceptable
   for keys and values. Previously redis-py attempted to cast other types
   to str() and store the result. This caused must confusion and frustration
   when passing boolean values (cast to 'True' and 'False') or None values
   (cast to 'None'). It is now the user's responsibility to cast all
   key names and values to bytes, strings or numbers before passing the
   value to redis-py.
 * The StrictRedis class has been renamed to Redis. StrictRedis will
   continue to exist as an alias of Redis for the foreseeable future.
 * The legacy Redis client class has been removed. It caused much confusion
   to users.
 * ZINCRBY arguments 'value' and 'amount' have swapped order to match the
   the Redis server. The new argument order is: keyname, amount, value.
 * MGET no longer raises an error if zero keys are passed in. Instead an
   empty list is returned.
 * MSET and MSETNX now require all keys/values to be specified in a single
   dictionary argument named mapping. This was changed to allow for future
   options to these commands in the future.
 * ZADD now requires all element names/scores be specified in a single
   dictionary argument named mapping. This was required to allow the NX,
   XX, CH and INCR options to be specified.
 * ssl_cert_reqs now has a default value of 'required' by default. This
   should make connecting to a remote Redis server over SSL more secure.
   Thanks u2mejc
 * Removed support for EOL Python 2.6 and 3.3. Thanks jdufresne
OTHER CHANGES
 * Added missing DECRBY command. Thanks derek-dchu
 * CLUSTER INFO and CLUSTER NODES responses are now properly decoded to
   strings.
 * Added a 'locked()' method to Lock objects. This method returns True
   if the lock has been acquired and owned by the current process,
   otherwise False.
 * EXISTS now supports multiple keys. It's return value is now the number
   of keys in the list that exist.
 * Ensure all commands can accept key names as bytes. This fixes issues
   with BLPOP, BRPOP and SORT.
 * All errors resulting from bad user input are raised as DataError
   exceptions. DataError is a subclass of RedisError so this should be
   transparent to anyone previously catching these.
 * Added support for NX, XX, CH and INCR options to ZADD
 * Added support for the MIGRATE command
 * Added support for the MEMORY USAGE and MEMORY PURGE commands. Thanks
   Itamar Haber
 * Added support for the 'asynchronous' argument to FLUSHDB and FLUSHALL
   commands. Thanks Itamar Haber
 * Added support for the BITFIELD command. Thanks Charles Leifer and
   Itamar Haber
 * Improved performance on pipeline requests with large chunks of data.
   Thanks tzickel
 * Fixed test suite to not fail if another client is connected to the
   server the tests are running against.
 * Added support for SWAPDB. Thanks Itamar Haber
 * Added support for all STREAM commands. Thanks Roey Prat and Itamar Haber
 * SHUTDOWN now accepts the 'save' and 'nosave' arguments. Thanks
   dwilliams-kenzan
 * Added support for ZPOPMAX, ZPOPMIN, BZPOPMAX, BZPOPMIN. Thanks
   Itamar Haber
 * Added support for the 'type' argument in CLIENT LIST. Thanks Roey Prat
 * Added support for CLIENT PAUSE. Thanks Roey Prat
 * Added support for CLIENT ID and CLIENT UNBLOCK. Thanks Itamar Haber
 * GEODIST now returns a None value when referencing a place that does
   not exist. Thanks qingping209
 * Added a ping() method to pubsub objects. Thanks krishan-carbon
 * Fixed a bug with keys in the INFO dict that contained ':' symbols.
   Thanks mzalimeni
 * Fixed the select system call retry compatibility with Python 2.x.
   Thanks lddubeau
 * max_connections is now a valid querystring argument for creating
   connection pools from URLs. Thanks mmaslowskicc
 * Added the UNLINK command. Thanks yozel
 * Added socket_type option to Connection for configurability.
   Thanks garlicnation
 * Lock.do_acquire now atomically sets acquires the lock and sets the
   expire value via set(nx=True, px=timeout). Thanks 23doors
 * Added 'count' argument to SPOP. Thanks AlirezaSadeghi
 * Fixed an issue parsing client_list responses that contained an '='.
   Thanks swilly22

2.10.6

* Various performance improvements. Thanks cjsimpson
 * Fixed a bug with SRANDMEMBER where the behavior for `number=0` did
   not match the spec. Thanks Alex Wang
 * Added HSTRLEN command. Thanks Alexander Putilin
 * Added the TOUCH command. Thanks Anis Jonischkeit
 * Remove unnecessary calls to the server when registering Lua scripts.
   Thanks Ben Greenberg
 * SET's EX and PX arguments now allow values of zero. Thanks huangqiyin
 * Added PUBSUB {CHANNELS, NUMPAT, NUMSUB} commands. Thanks Angus Pearson
 * PubSub connections that encounter `InterruptedError`s now
   retry automatically. Thanks Carlton Gibson and Seth M. Larson
 * LPUSH and RPUSH commands run on PyPy now correctly returns the number
   of items of the list. Thanks Jeong YunWon
 * Added support to automatically retry socket EINTR errors. Thanks
   Thomas Steinacher
 * PubSubWorker threads started with `run_in_thread` are now daemonized
   so the thread shuts down when the running process goes away. Thanks
   Keith Ainsworth
 * Added support for GEO commands. Thanks Pau Freixes, Alex DeBrie and
   Abraham Toriz
 * Made client construction from URLs smarter. Thanks Tim Savage
 * Added support for CLUSTER * commands. Thanks Andy Huang
 * The RESTORE command now accepts an optional `replace` boolean.
   Thanks Yoshinari Takaoka
 * Attempt to connect to a new Sentinel if a TimeoutError occurs. Thanks
   Bo Lopker
 * Fixed a bug in the client's `__getitem__` where a KeyError would be
   raised if the value returned by the server is an empty string.
   Thanks Javier Candeira.
 * Socket timeouts when connecting to a server are now properly raised
   as TimeoutErrors.

2.10.5

* Allow URL encoded parameters in Redis URLs. Characters like a "/" can
   now be URL encoded and redis-py will correctly decode them. Thanks
   Paul Keene.
 * Added support for the WAIT command. Thanks https://github.com/eshizhan
 * Better shutdown support for the PubSub Worker Thread. It now properly
   cleans up the connection, unsubscribes from any channels and patterns
   previously subscribed to and consumes any waiting messages on the socket.
 * Added the ability to sleep for a brief period in the event of a
   WatchError occurring. Thanks Joshua Harlow.
 * Fixed a bug with pipeline error reporting when dealing with characters
   in error messages that could not be encoded to the connection's
   character set. Thanks Hendrik Muhs.
 * Fixed a bug in Sentinel connections that would inadvertently connect
   to the master when the connection pool resets. Thanks
   https://github.com/df3n5
 * Better timeout support in Pubsub get_message. Thanks Andy Isaacson.
 * Fixed a bug with the HiredisParser that would cause the parser to
   get stuck in an endless loop if a specific number of bytes were
   delivered from the socket. This fix also increases performance of
   parsing large responses from the Redis server.
 * Added support for ZREVRANGEBYLEX.
 * ConnectionErrors are now raised if Redis refuses a connection due to
   the maxclients limit being exceeded. Thanks Roman Karpovich.
 * max_connections can now be set when instantiating client instances.
   Thanks Ohad Perry.

2.10.4

(skipped due to a PyPI snafu)

2.10.3

* Fixed a bug with the bytearray support introduced in 2.10.2. Thanks
   Josh Owen.

2.10.2

* Added support for Hiredis's new bytearray support. Thanks
   https://github.com/tzickel
 * POSSIBLE BACKWARDS INCOMPATBLE CHANGE: Fixed a possible race condition
   when multiple threads share the same Lock instance with a timeout. Lock
   tokens are now stored in thread local storage by default. If you have
   code that acquires a lock in one thread and passes that lock instance to
   another thread to release it, you need to disable thread local storage.
   Refer to the doc strings on the Lock class about the thread_local
   argument information.
 * Fixed a regression in from_url where "charset" and "errors" weren't
   valid options. "encoding" and "encoding_errors" are still accepted
   and preferred.
 * The "charset" and "errors" options have been deprecated. Passing
   either to StrictRedis.__init__ or from_url will still work but will
   also emit a DeprecationWarning. Instead use the "encoding" and
   "encoding_errors" options.
 * Fixed a compatibility bug with Python 3 when the server closes a
   connection.
 * Added BITPOS command. Thanks https://github.com/jettify.
 * Fixed a bug when attempting to send large values to Redis in a Pipeline.

2.10.1

* Fixed a bug where Sentinel connections to a server that's no longer a
   master and receives a READONLY error will disconnect and reconnect to
   the master.

2.10.0

* Discontinued support for Python 2.5. Upgrade. You'll be happier.
 * The HiRedis parser will now properly raise ConnectionErrors.
 * Completely refactored PubSub support. Fixes all known PubSub bugs and
   adds a bunch of new features. Docs can be found in the README under the
   new "Publish / Subscribe" section.
 * Added the new HyperLogLog commands (PFADD, PFCOUNT, PFMERGE). Thanks
   Pepijn de Vos and Vincent Ohprecio.
 * Updated TTL and PTTL commands with Redis 2.8+ semantics. Thanks Markus
   Kaiserswerth.
 * *SCAN commands now return a long (int on Python3) cursor value rather
   than the string representation. This might be slightly backwards
   incompatible in code using *SCAN commands loops such as
   "while cursor != '0':".
 * Added extra *SCAN commands that return iterators instead of the normal
   [cursor, data] type. Use scan_iter, hscan_iter, sscan_iter, and
   zscan_iter for iterators. Thanks Mathieu Longtin.
 * Added support for SLOWLOG commands. Thanks Rick van Hattem.
 * Added lexicographical commands ZRANGEBYLEX, ZREMRANGEBYLEX, and ZLEXCOUNT
   for sorted sets.
 * Connection objects now support an optional argument, socket_read_size,
   indicating how much data to read during each socket.recv() call. After
   benchmarking, increased the default size to 64k, which dramatically
   improves performance when fetching large values, such as many results
   in a pipeline or a large (>1MB) string value.
 * Improved the pack_command and send_packed_command functions to increase
   performance when sending large (>1MB) values.
 * Sentinel Connections to master servers now detect when a READONLY error
   is encountered and disconnect themselves and all other active connections
   to the same master so that the new master can be discovered.
 * Fixed Sentinel state parsing on Python 3.
 * Added support for SENTINEL MONITOR, SENTINEL REMOVE, and SENTINEL SET
   commands. Thanks Greg Murphy.
 * INFO ouput that doesn't follow the "key:value" format will now be
   appended to a key named "__raw__" in the INFO dictionary. Thanks Pedro
   Larroy.
 * The "vagrant" directory contains a complete vagrant environment for
   redis-py developers. The environment runs a Redis master, a Redis slave,
   and 3 Sentinels. Future iterations of the test sutie will incorporate
   more integration style tests, ensuring things like failover happen
   correctly.
 * It's now possible to create connection pool instances from a URL.
   StrictRedis.from_url() now uses this feature to create a connection pool
   instance and use that when creating a new client instance. Thanks
   https://github.com/chillipino
 * When creating client instances or connection pool instances from an URL,
   it's now possible to pass additional options to the connection pool with
   querystring arguments.
 * Fixed a bug where some encodings (like utf-16) were unusable on Python 3
   as command names and literals would get encoded.
 * Added an SSLConnection class that allows for secure connections through
   stunnel or other means. Construct and SSL connection with the sll=True
   option on client classes, using the rediss:// scheme from an URL, or
   by passing the SSLConnection class to a connection pool's
   connection_class argument. Thanks https://github.com/oranagra.
 * Added a socket_connect_timeout option to control how long to wait while
   establishing a TCP connection before timing out. This lets the client
   fail fast when attempting to connect to a downed server while keeping
   a more lenient timeout for all other socket operations.
 * Added TCP Keep-alive support by passing use the socket_keepalive=True
   option. Finer grain control can be achieved using the
   socket_keepalive_options option which expects a dictionary with any of
   the keys (socket.TCP_KEEPIDLE, socket.TCP_KEEPCNT, socket.TCP_KEEPINTVL)
   and integers for values. Thanks Yossi Gottlieb.
 * Added a `retry_on_timeout` option that controls how socket.timeout errors
   are handled. By default it is set to False and will cause the client to
   raise a TimeoutError anytime a socket.timeout is encountered. If
   `retry_on_timeout` is set to True, the client will retry a command that
   timed out once like other `socket.error`s.
 * Completely refactored the Lock system. There is now a LuaLock class
   that's used when the Redis server is capable of running Lua scripts along
   with a fallback class for Redis servers < 2.6. The new locks fix several
   subtle race consider that the old lock could face. In additional, a
   new method, "extend" is available on lock instances that all a lock
   owner to extend the amount of time they have the lock for. Thanks to
   Eli Finkelshteyn and https://github.com/chillipino for contributions.

2.9.1

* IPv6 support. Thanks https://github.com/amashinchi

2.9.0

* Performance improvement for packing commands when using the PythonParser.
   Thanks Guillaume Viot.
 * Executing an empty pipeline transaction no longer sends MULTI/EXEC to
   the server. Thanks EliFinkelshteyn.
 * Errors when authenticating (incorrect password) and selecting a database
   now close the socket.
 * Full Sentinel support thanks to Vitja Makarov. Thanks!
 * Better repr support for client and connection pool instances. Thanks
   Mark Roberts.
 * Error messages that the server sends to the client are now included
   in the client error message. Thanks Sangjin Lim.
 * Added the SCAN, SSCAN, HSCAN, and ZSCAN commands. Thanks Jingchao Hu.
 * ResponseErrors generated by pipeline execution provide addition context
   including the position of the command in the pipeline and the actual
   command text generated the error.
 * ConnectionPools now play nicer in threaded environments that fork. Thanks
   Christian Joergensen.

2.8.0

* redis-py should play better with gevent when a gevent Timeout is raised.
   Thanks leifkb.
 * Added SENTINEL command. Thanks Anna Janackova.
 * Fixed a bug where pipelines could potentially corrupt a connection
   if the MULTI command generated a ResponseError. Thanks EliFinkelshteyn
   for the report.
 * Connections now call socket.shutdown() prior to socket.close() to
   ensure communication ends immediately per the note at
   https://docs.python.org/2/library/socket.htmlsocket.socket.close
   Thanks to David Martin for pointing this out.
 * Lock checks are now based on floats rather than ints. Thanks
   Vitja Makarov.

2.7.6

* Added CONFIG RESETSTAT command. Thanks Yossi Gottlieb.
 * Fixed a bug introduced in 2.7.3 that caused issues with script objects
   and pipelines. Thanks Carpentier Pierre-Francois.
 * Converted redis-py's test suite to use the awesome py.test library.
 * Fixed a bug introduced in 2.7.5 that prevented a ConnectionError from
   being raised when the Redis server is LOADING data.
 * Added a BusyLoadingError exception that's raised when the Redis server
   is starting up and not accepting commands yet. BusyLoadingError
   subclasses ConnectionError, which this state previously returned.
   Thanks Yossi Gottlieb.

2.7.5

* DEL, HDEL and ZREM commands now return the numbers of keys deleted
   instead of just True/False.
 * from_url now supports URIs with a port number. Thanks Aaron Westendorf.

2.7.4

* Added missing INCRBY method. Thanks Krzysztof Dorosz.
 * SET now accepts the EX, PX, NX and XX options from Redis 2.6.12. These
   options will generate errors if these options are used when connected
   to a Redis server < 2.6.12. Thanks George Yoshida.

2.7.3

* Fixed a bug with BRPOPLPUSH and lists with empty strings.
 * All empty except: clauses have been replaced to only catch Exception
   subclasses. This prevents a KeyboardInterrupt from triggering exception
   handlers. Thanks Lucian Branescu Mihaila.
 * All exceptions that are the result of redis server errors now share a
   command Exception subclass, ServerError. Thanks Matt Robenolt.
 * Prevent DISCARD from being called if MULTI wasn't also called. Thanks
   Pete Aykroyd.
 * SREM now returns an integer indicating the number of items removed from
   the set. Thanks https://github.com/ronniekk.
 * Fixed a bug with BGSAVE and BGREWRITEAOF response callbacks with Python3.
   Thanks Nathan Wan.
 * Added CLIENT GETNAME and CLIENT SETNAME commands.
   Thanks https://github.com/bitterb.
 * It's now possible to use len() on a pipeline instance to determine the
   number of commands that will be executed. Thanks Jon Parise.
 * Fixed a bug in INFO's parse routine with floating point numbers. Thanks
   Ali Onur Uyar.
 * Fixed a bug with BITCOUNT to allow `start` and `end` to both be zero.
   Thanks Tim Bart.
 * The transaction() method now accepts a boolean keyword argument,
   value_from_callable. By default, or if False is passes, the transaction()
   method will return the value of the pipelines execution. Otherwise, it
   will return whatever func() returns.
 * Python3 compatibility fix ensuring we're not already bytes(). Thanks
   Salimane Adjao Moustapha.
 * Added PSETEX. Thanks YAMAMOTO Takashi.
 * Added a BlockingConnectionPool to limit the number of connections that
   can be created. Thanks James Arthur.
 * SORT now accepts a `groups` option that if specified, will return
   tuples of n-length, where n is the number of keys specified in the GET
   argument. This allows for convenient row-based iteration. Thanks
   Ionuț Arțăriși.

2.7.2

* Parse errors are now *always* raised on multi/exec pipelines, regardless
   of the `raise_on_error` flag. See
   https://groups.google.com/forum/?hl=en&fromgroups=!topic/redis-db/VUiEFT8U8U0
   for more info.

2.7.1

* Packaged tests with source code

2.7.0

* Added BITOP and BITCOUNT commands. Thanks Mark Tozzi.
 * Added the TIME command. Thanks Jason Knight.
 * Added support for LUA scripting. Thanks to Angus Peart, Drew Smathers,
   Issac Kelly, Louis-Philippe Perron, Sean Bleier, Jeffrey Kaditz, and
   Dvir Volk for various patches and contributions to this feature.
 * Changed the default error handling in pipelines. By default, the first
   error in a pipeline will now be raised. A new parameter to the
   pipeline's execute, `raise_on_error`, can be set to False to keep the
   old behavior of embeedding the exception instances in the result.
 * Fixed a bug with pipelines where parse errors won't corrupt the
   socket.
 * Added the optional `number` argument to SRANDMEMBER for use with
   Redis 2.6+ servers.
 * Added PEXPIRE/PEXPIREAT/PTTL commands. Thanks Luper Rouch.
 * Added INCRBYFLOAT/HINCRBYFLOAT commands. Thanks Nikita Uvarov.
 * High precision floating point values won't lose their precision when
   being sent to the Redis server. Thanks Jason Oster and Oleg Pudeyev.
 * Added CLIENT LIST/CLIENT KILL commands

2.6.2

* `from_url` is now available as a classmethod on client classes. Thanks
   Jon Parise for the patch.
 * Fixed several encoding errors resulting from the Python 3.x support.

2.6.1

* Python 3.x support! Big thanks to Alex Grönholm.
 * Fixed a bug in the PythonParser's read_response that could hide an error
   from the client (251).

2.6.0

* Changed (p)subscribe and (p)unsubscribe to no longer return messages
   indicating the channel was subscribed/unsubscribed to. These messages
   are available in the listen() loop instead. This is to prevent the
   following scenario:
     * Client A is subscribed to "foo"
     * Client B publishes message to "foo"
     * Client A subscribes to channel "bar" at the same time.
   Prior to this change, the subscribe() call would return the published
   messages on "foo" rather than the subscription confirmation to "bar".
 * Added support for GETRANGE, thanks Jean-Philippe Caruana
 * A new setting "decode_responses" specifies whether return values from
   Redis commands get decoded automatically using the client's charset
   value. Thanks to Frankie Dintino for the patch.

2.4.13

* redis.from_url() can take an URL representing a Redis connection string
   and return a client object. Thanks Kenneth Reitz for the patch.

2.4.12

* ConnectionPool is now fork-safe. Thanks Josiah Carson for the patch.

2.4.11

* AuthenticationError will now be correctly raised if an invalid password
   is supplied.
 * If Hiredis is unavailable, the HiredisParser will raise a RedisError
   if selected manually.
 * Made the INFO command more tolerant of Redis changes formatting. Fix
   for 217.

2.4.10

* Buffer reads from socket in the PythonParser. Fix for a Windows-specific
   bug (205).
 * Added the OBJECT and DEBUG OBJECT commands.
 * Added __del__ methods for classes that hold on to resources that need to
   be cleaned up. This should prevent resource leakage when these objects
   leave scope due to misuse or unhandled exceptions. Thanks David Wolever
   for the suggestion.
 * Added the ECHO command for completeness.
 * Fixed a bug where attempting to subscribe to a PubSub channel of a Redis
   server that's down would blow out the stack. Fixes 179 and 195. Thanks
   Ovidiu Predescu for the test case.
 * StrictRedis's TTL command now returns a -1 when querying a key with no
   expiration. The Redis class continues to return None.
 * ZADD and SADD now return integer values indicating the number of items
   added. Thanks Homer Strong.
 * Renamed the base client class to StrictRedis, replacing ZADD and LREM in
   favor of their official argument order. The Redis class is now a subclass
   of StrictRedis, implementing the legacy redis-py implementations of ZADD
   and LREM. Docs have been updated to suggesting the use of StrictRedis.
 * SETEX in StrictRedis is now compliant with official Redis SETEX command.
   the name, value, time implementation moved to "Redis" for backwards
   compatibility.

2.4.9

* Removed socket retry logic in Connection. This is the responsibility of
   the caller to determine if the command is safe and can be retried. Thanks
   David Wolver.
 * Added some extra guards around various types of exceptions being raised
   when sending or parsing data. Thanks David Wolver and Denis Bilenko.

2.4.8

* Imported with_statement from __future__ for Python 2.5 compatibility.

2.4.7

* Fixed a bug where some connections were not getting released back to the
   connection pool after pipeline execution.
 * Pipelines can now be used as context managers. This is the preferred way
   of use to ensure that connections get cleaned up properly. Thanks
   David Wolever.
 * Added a convenience method called transaction() on the base Redis class.
   This method eliminates much of the boilerplate used when using pipelines
   to watch Redis keys. See the documentation for details on usage.

2.4.6

* Variadic arguments for SADD, SREM, ZREN, HDEL, LPUSH, and RPUSH. Thanks
   Raphaël Vinot.
 * (CRITICAL) Fixed an error in the Hiredis parser that occasionally caused
   the socket connection to become corrupted and unusable. This became
   noticeable once connection pools started to be used.
 * ZRANGE, ZREVRANGE, ZRANGEBYSCORE, and ZREVRANGEBYSCORE now take an
   additional optional argument, score_cast_func, which is a callable used
   to cast the score value in the return type. The default is float.
 * Removed the PUBLISH method from the PubSub class. Connections that are
   [P]SUBSCRIBEd cannot issue PUBLISH commands, so it doesn't make sense
   to have it here.
 * Pipelines now contain WATCH and UNWATCH. Calling WATCH or UNWATCH from
   the base client class will result in a deprecation warning. After
   WATCHing one or more keys, the pipeline will be placed in immediate
   execution mode until UNWATCH or MULTI are called. Refer to the new
   pipeline docs in the README for more information. Thanks to David Wolever
   and Randall Leeds for greatly helping with this.

2.4.5

* The PythonParser now works better when reading zero length strings.

2.4.4

* Fixed a typo introduced in 2.4.3

2.4.3

* Fixed a bug in the UnixDomainSocketConnection caused when trying to
   form an error message after a socket error.

2.4.2

* Fixed a bug in pipeline that caused an exception while trying to
   reconnect after a connection timeout.

2.4.1

* Fixed a bug in the PythonParser if disconnect is called before connect.

2.4.0

* WARNING: 2.4 contains several backwards incompatible changes.
 * Completely refactored Connection objects. Moved much of the Redis
   protocol packing for requests here, and eliminated the nasty dependencies
   it had on the client to do AUTH and SELECT commands on connect.
 * Connection objects now have a parser attribute. Parsers are responsible
   for reading data Redis sends. Two parsers ship with redis-py: a
   PythonParser and the HiRedis parser. redis-py will automatically use the
   HiRedis parser if you have the Python hiredis module installed, otherwise
   it will fall back to the PythonParser. You can force or the other, or even
   an external one by passing the `parser_class` argument to ConnectionPool.
 * Added a UnixDomainSocketConnection for users wanting to talk to the Redis
   instance running on a local machine only. You can use this connection
   by passing it to the `connection_class` argument of the ConnectionPool.
 * Connections no longer derive from threading.local. See threading.local
   note below.
 * ConnectionPool has been completely refactored. The ConnectionPool now
   maintains a list of connections. The redis-py client only hangs on to
   a ConnectionPool instance, calling get_connection() anytime it needs to
   send a command. When get_connection() is called, the command name and
   any keys involved in the command are passed as arguments. Subclasses of
   ConnectionPool could use this information to identify the shard the keys
   belong to and return a connection to it. ConnectionPool also implements
   disconnect() to force all connections in the pool to disconnect from
   the Redis server.
 * redis-py no longer support the SELECT command. You can still connect to
   a specific database by specifying it when instantiating a client instance
   or by creating a connection pool. If you need to talk to multiple
   databases within your application, you should use a separate client
   instance for each database you want to talk to.
 * Completely refactored Publish/Subscribe support. The subscribe and listen
   commands are no longer available on the redis-py Client class. Instead,
   the `pubsub` method returns an instance of the PubSub class which contains
   all publish/subscribe support. Note, you can still PUBLISH from the
   redis-py client class if you desire.
 * Removed support for all previously deprecated commands or options.
 * redis-py no longer uses threading.local in any way. Since the Client
   class no longer holds on to a connection, it's no longer needed. You can
   now pass client instances between threads, and commands run on those
   threads will retrieve an available connection from the pool, use it and
   release it. It should now be trivial to use redis-py with eventlet or
   greenlet.
 * ZADD now accepts pairs of value=score keyword arguments. This should help
   resolve the long standing 72. The older value and score arguments have
   been deprecated in favor of the keyword argument style.
 * Client instances now get their own copy of RESPONSE_CALLBACKS. The new
   set_response_callback method adds a user defined callback to the instance.
 * Support Jython, fixing 97. Thanks to Adam Vandenberg for the patch.
 * Using __getitem__ now properly raises a KeyError when the key is not
   found. Thanks Ionuț Arțăriși for the patch.
 * Newer Redis versions return a LOADING message for some commands while
   the database is loading from disk during server start. This could cause
   problems with SELECT. We now force a socket disconnection prior to
   raising a ResponseError so subsequent connections have to reconnect and
   re-select the appropriate database. Thanks to Benjamin Anderson for
   finding this and fixing.

2.2.4

* WARNING: Potential backwards incompatible change - Changed order of
   parameters of ZREVRANGEBYSCORE to match those of the actual Redis command.
   This is only backwards-incompatible if you were passing max and min via
   keyword args. If passing by normal args, nothing in user code should have
   to change. Thanks Stéphane Angel for the fix.
 * Fixed INFO to properly parse the Redis data correctly for both 2.2.x and
   2.3+. Thanks Stéphane Angel for the fix.
 * Lock objects now store their timeout value as a float. This allows floats
   to be used as timeout values. No changes to existing code required.
 * WATCH now supports multiple keys. Thanks Rich Schumacher.
 * Broke out some code that was Python 2.4 incompatible. redis-py should
   now be usable on 2.4, but this hasn't actually been tested. Thanks
   Dan Colish for the patch.
 * Optimized some code using izip and islice. Should have a pretty good
   speed up on larger data sets. Thanks Dan Colish.
 * Better error handling when submitting an empty mapping to HMSET. Thanks
   Dan Colish.
 * Subscription status is now reset after every (re)connection.

2.2.3

* Added support for Hiredis. To use, simply "pip install hiredis" or
   "easy_install hiredis". Thanks for Pieter Noordhuis for the hiredis-py
   bindings and the patch to redis-py.
 * The connection class is chosen based on whether hiredis is installed
   or not. To force the use of the PythonConnection, simply create
   your own ConnectionPool instance with the connection_class argument
   assigned to to PythonConnection class.
 * Added missing command ZREVRANGEBYSCORE. Thanks Jay Baird for the patch.
 * The INFO command should be parsed correctly on 2.2.x server versions
   and is backwards compatible with older versions. Thanks Brett Hoerner.

2.2.2

* Fixed a bug in ZREVRANK where retrieving the rank of a value not in
   the zset would raise an error.
 * Fixed a bug in Connection.send where the errno import was getting
   overwritten by a local variable.
 * Fixed a bug in SLAVEOF when promoting an existing slave to a master.
 * Reverted change of download URL back to redis-VERSION.tar.gz. 2.2.1's
   change of this actually broke Pypi for Pip installs. Sorry!

2.2.1

* Chan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant