Skip to content

Tags: sooids/aioredis-py

Tags

v2.0.1

Toggle v2.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release version 2.0.1 (aio-libs-abandoned#1247)

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request aio-libs-abandoned#1075 from aio-libs/release-2.0

Bump the version for 2.0.0 release

v2.0.0b1

Toggle v2.0.0b1's commit message
Bump version: release 2.0.0 beta 1

v2.0.0a1

Toggle v2.0.0a1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request aio-libs-abandoned#934 from aio-libs/bump-version

Bump version to 2.0.0a1 for an alpha release

v1.3.1

Toggle v1.3.1's commit message
Version v1.3.1

Bugfixes
~~~~~~~~

- Fix transaction data decoding
  (see `aio-libs-abandoned#657 <https://github.com/aio-libs/aioredis/issues/657>`_);
- Fix duplicate calls to ``pool.wait_closed()`` upon ``create_pool()`` exception.
  (see `aio-libs-abandoned#671 <https://github.com/aio-libs/aioredis/issues/671>`_);

Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~

- Drop explicit loop requirement in API.
  Deprecate ``loop`` argument.
  Throw warning in Python 3.8+ if explicit ``loop`` is passed to methods.
  (see `aio-libs-abandoned#666 <https://github.com/aio-libs/aioredis/issues/666>`_);

Misc
~~~~

- `aio-libs-abandoned#643 <https://github.com/aio-libs/aioredis/issues/643>`_,
  `aio-libs-abandoned#646 <https://github.com/aio-libs/aioredis/issues/646>`_,
  `aio-libs-abandoned#648 <https://github.com/aio-libs/aioredis/issues/648>`_;

v1.3.0

Toggle v1.3.0's commit message
Version v1.3.0

Features
~~~~~~~~

- Added ``xdel`` and ``xtrim`` method which missed in ``commands/streams.py`` & also added unit test code for them
  (see `aio-libs-abandoned#438 <https://github.com/aio-libs/aioredis/issues/438>`_);
- Add ``count`` argument to ``spop`` command
  (see `aio-libs-abandoned#485 <https://github.com/aio-libs/aioredis/issues/485>`_);
- Add support for ``zpopmax`` and ``zpopmin`` redis commands
  (see `aio-libs-abandoned#550 <https://github.com/aio-libs/aioredis/issues/550>`_);
- Add ``towncrier``: change notes are now stored in ``CHANGES.txt``
  (see `aio-libs-abandoned#576 <https://github.com/aio-libs/aioredis/issues/576>`_);
- Type hints for the library
  (see `aio-libs-abandoned#584 <https://github.com/aio-libs/aioredis/issues/584>`_);
- A few additions to the sorted set commands:

  - the blocking pop commands: ``BZPOPMAX`` and ``BZPOPMIN``

  - the ``CH`` and ``INCR`` options of the ``ZADD`` command

    (see `aio-libs-abandoned#618 <https://github.com/aio-libs/aioredis/issues/618>`_);
- Added ``no_ack`` parameter to ``xread_group`` streams method in ``commands/streams.py``
  (see `aio-libs-abandoned#625 <https://github.com/aio-libs/aioredis/issues/625>`_);

Bugfixes
~~~~~~~~

- Fix for sensitive logging
  (see `aio-libs-abandoned#459 <https://github.com/aio-libs/aioredis/issues/459>`_);
- Fix slow memory leak in ``wait_closed`` implementation
  (see `aio-libs-abandoned#498 <https://github.com/aio-libs/aioredis/issues/498>`_);
- Fix handling of instances were Redis returns null fields for a stream message
  (see `aio-libs-abandoned#605 <https://github.com/aio-libs/aioredis/issues/605>`_);

Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Rewrite "Getting started" documentation.
  (see `aio-libs-abandoned#641 <https://github.com/aio-libs/aioredis/issues/641>`_);

Misc
~~~~

- `aio-libs-abandoned#585 <https://github.com/aio-libs/aioredis/issues/585>`_,
  `aio-libs-abandoned#611 <https://github.com/aio-libs/aioredis/issues/611>`_,
  `aio-libs-abandoned#612 <https://github.com/aio-libs/aioredis/issues/612>`_,
  `aio-libs-abandoned#619 <https://github.com/aio-libs/aioredis/issues/619>`_,
  `aio-libs-abandoned#620 <https://github.com/aio-libs/aioredis/issues/620>`_,
  `aio-libs-abandoned#642 <https://github.com/aio-libs/aioredis/issues/642>`_;

v1.2.0

Toggle v1.2.0's commit message
Release v1.2.0

**NEW**:

* Implemented new Stream command support
  (see `aio-libs-abandoned#299 <https://github.com/aio-libs/aioredis/pull/299>`_);

* Reduce ``encode_command()`` cost about 60%
  (see `aio-libs-abandoned#397 <https://github.com/aio-libs/aioredis/pull/397>`_);

**FIX**:

* Fix pipeline commands buffering was causing multiple ``sendto`` syscalls
  (see `aio-libs-abandoned#464 <https://github.com/aio-libs/aioredis/pull/464>`_
  and  `aio-libs-abandoned#473 <https://github.com/aio-libs/aioredis/pull/473>`_);

* Python 3.7 compatibility fixes
  (see `aio-libs-abandoned#426 <https://github.com/aio-libs/aioredis/pull/426>`_);

* Fix typos in documentation
  (see `aio-libs-abandoned#400 <https://github.com/aio-libs/aioredis/pull/400>`_);

* Fix ``INFO`` command result parsing
  (see `aio-libs-abandoned#405 <https://github.com/aio-libs/aioredis/pull/405>`_);

* Fix bug in ``ConnectionsPool._drop_closed`` method
  (see `aio-libs-abandoned#461 <https://github.com/aio-libs/aioredis/pull/461>`_);

**MISC**:

* Update dependencies versions;

* Multiple tests improvements;

v1.1.0

Toggle v1.1.0's commit message
Version v1.1.0

**NEW**:

* Implement new commands: ``wait``, ``touch``, ``swapdb``, ``unlink``
  (see `aio-libs-abandoned#376 <https://github.com/aio-libs/aioredis/pull/376>`_);

* Add ``async_op`` argument to ``flushall`` and ``flushdb`` commands
  (see `aio-libs-abandoned#364 <https://github.com/aio-libs/aioredis/pull/364>`_,
  and `aio-libs-abandoned#370 <https://github.com/aio-libs/aioredis/pull/370>`_);

**FIX**:

* **Important!** Fix Sentinel sentinel client with pool ``minsize``
  greater than 1
  (see `aio-libs-abandoned#380 <https://github.com/aio-libs/aioredis/pull/380>`_);

* Fix ``SentinelPool.discover_timeout`` usage
  (see `aio-libs-abandoned#379 <https://github.com/aio-libs/aioredis/pull/379>`_);

* Fix ``Receiver`` hang on disconnect
  (see `aio-libs-abandoned#354 <https://github.com/aio-libs/aioredis/pull/354>`_,
  and `aio-libs-abandoned#366 <https://github.com/aio-libs/aioredis/pull/366>`_);

* Fix an issue with ``subscribe``/``psubscribe`` with empty pool
  (see `aio-libs-abandoned#351 <https://github.com/aio-libs/aioredis/pull/351>`_,
  and `aio-libs-abandoned#355 <https://github.com/aio-libs/aioredis/pull/355>`_);

* Fix an issue when ``StreamReader``'s feed_data is called before set_parser
  (see `aio-libs-abandoned#347 <https://github.com/aio-libs/aioredis/pull/347>`_);

**MISC**:

* Update dependencies versions;

* Multiple test fixes;

v1.0.0

Toggle v1.0.0's commit message
Aioredis version v1.0

**NEW**:

* **Important!** Drop Python 3.3, 3.4 support;
  (see `aio-libs-abandoned#321 <https://github.com/aio-libs/aioredis/pull/321>`_,
  `aio-libs-abandoned#323 <https://github.com/aio-libs/aioredis/pull/323>`_
  and `aio-libs-abandoned#326 <https://github.com/aio-libs/aioredis/pull/326>`_);

* **Important!** Connections pool has been refactored; now ``create_redis``
  function will yield ``Redis`` instance instead of ``RedisPool``
  (see `aio-libs-abandoned#129 <https://github.com/aio-libs/aioredis/pull/129>`_);

* **Important!** Change sorted set commands reply format:
  return list of tuples instead of plain list for commands
  accepting ``withscores`` argument
  (see `aio-libs-abandoned#334 <https://github.com/aio-libs/aioredis/pull/334>`_);

* **Important!** Change ``hscan`` command reply format:
  return list of tuples instead of mixed key-value list
  (see `aio-libs-abandoned#335 <https://github.com/aio-libs/aioredis/pull/335>`_);

* Implement Redis URI support as supported ``address`` argument value
  (see `aio-libs-abandoned#322 <https://github.com/aio-libs/aioredis/pull/322>`_);

* Dropped ``create_reconnecting_redis``, ``create_redis_pool`` should be
  used instead;

* Implement custom ``StreamReader``
  (see `aio-libs-abandoned#273 <https://github.com/aio-libs/aioredis/pull/273>`_);

* Implement Sentinel support
  (see `aio-libs-abandoned#181 <https://github.com/aio-libs/aioredis/pull/181>`_);

* Implement pure-python parser
  (see `aio-libs-abandoned#212 <https://github.com/aio-libs/aioredis/pull/212>`_);

* Add ``migrate_keys`` command
  (see `aio-libs-abandoned#187 <https://github.com/aio-libs/aioredis/pull/187>`_);

* Add ``zrevrangebylex`` command
  (see `aio-libs-abandoned#201 <https://github.com/aio-libs/aioredis/pull/201>`_);

* Add ``command``, ``command_count``, ``command_getkeys`` and
  ``command_info`` commands
  (see `aio-libs-abandoned#229 <https://github.com/aio-libs/aioredis/pull/229>`_);

* Add ``ping`` support in pubsub connection
  (see `aio-libs-abandoned#264 <https://github.com/aio-libs/aioredis/pull/264>`_);

* Add ``exist`` parameter to ``zadd`` command
  (see `aio-libs-abandoned#288 <https://github.com/aio-libs/aioredis/pull/288>`_);

* Add ``MaxClientsError`` and implement ``ReplyError`` specialization
  (see `aio-libs-abandoned#325 <https://github.com/aio-libs/aioredis/pull/325>`_);

* Add ``encoding`` parameter to sorted set commands
  (see `aio-libs-abandoned#289 <https://github.com/aio-libs/aioredis/pull/289>`_);

**FIX**:

* Fix ``CancelledError`` in ``conn._reader_task``
  (see `aio-libs-abandoned#301 <https://github.com/aio-libs/aioredis/pull/301>`_);

* Fix pending commands cancellation with ``CancelledError``,
  use explicit exception instead of calling ``cancel()`` method
  (see `aio-libs-abandoned#316 <https://github.com/aio-libs/aioredis/pull/316>`_);

* Correct error message on Sentinel discovery of master/slave with password
  (see `aio-libs-abandoned#327 <https://github.com/aio-libs/aioredis/pull/327>`_);

* Fix ``bytearray`` support as command argument
  (see `aio-libs-abandoned#329 <https://github.com/aio-libs/aioredis/pull/329>`_);

* Fix critical bug in patched asyncio.Lock
  (see `aio-libs-abandoned#256 <https://github.com/aio-libs/aioredis/pull/256>`_);

* Fix Multi/Exec transaction canceled error
  (see `aio-libs-abandoned#225 <https://github.com/aio-libs/aioredis/pull/225>`_);

* Add missing arguments to ``create_redis`` and ``create_redis_pool``;

* Fix deprecation warning
  (see `aio-libs-abandoned#191 <https://github.com/aio-libs/aioredis/pull/191>`_);

* Make correct ``__aiter__()``
  (see `aio-libs-abandoned#192 <https://github.com/aio-libs/aioredis/pull/192>`_);

* Backward compatibility fix for ``with (yield from pool) as conn:``
  (see `aio-libs-abandoned#205 <https://github.com/aio-libs/aioredis/pull/205>`_);

* Fixed pubsub receiver stop()
  (see `aio-libs-abandoned#211 <https://github.com/aio-libs/aioredis/pull/211>`_);

**MISC**:

* Multiple test fixes;

* Add PyPy3 to build matrix;

* Update dependencies versions;

* Add missing Python 3.6 classifier;

v0.3.5

Toggle v0.3.5's commit message
Bugfix release.

* backported from master fix for indistinguishable command futures
  cancellation (aio-libs-abandoned#316)