coredis

coredis is an async redis client for python with support for redis cluster & sentinel.

MIT License

Downloads
92.2K
Stars
65
Committers
30

Bot releases are visible (Hide)

coredis - 4.17.0 Latest Release

Published by github-actions[bot] 6 months ago

Features

  • Add explicit exception types for locking recipe

Bug fix

  • Fix incorrect use of CLIENT SET-INFO for lib-name & lib-ver
    when redis version < 7.2
  • Fix various incorrect type annotations in return types

Compatibility

  • Update documentation dependencies
  • Update test dependencies (related to pytest)
coredis - 4.16.0

Published by github-actions[bot] about 1 year ago

Bug fix

  • Fix intermittent errors due to mismatched responses when multiple
    couroutines access a new connection pool.

Compatibility

  • Remove support for python 3.7
  • Remove Redis 6.0 from CI
  • Disable RedisGraph tests in CI as the module is now not part of Redis Stack
  • Fix RESP3 compatibility for RedisSearch
  • Mark json.resp as deprecated
coredis - 4.16.0rc1

Published by github-actions[bot] about 1 year ago

Bug fix

  • Fix intermittent errors due to mismatched responses when multiple
    couroutines access a new connection pool.
coredis - 4.15.1

Published by github-actions[bot] about 1 year ago

Bug fix

  • Handle edge case of clearing a closed socket buffer during
    object destruction.

Chores

  • Re-enable CI for dragonfly
coredis - 4.15.0

Published by github-actions[bot] about 1 year ago

Bug fix

  • Improve cleanup on socket disconnect by clearing
    internal response buffer

Chores

  • Add typing overload for lpop method
  • Remove python 3.7 from CI due to EOL.
  • Temporarily disable pre-release python 3.12 from CI
    due to dependency resolution issues.
  • Update development dependencies
coredis - 4.14.0

Published by github-actions[bot] over 1 year ago

Features

  • Improve parsing of TS.INFO response for
    rules section
  • Broaden input parameter type annotations when
    expecting a mapping to use Mapping instead of
    Dict

Compatibility

  • Update parsing of timeseries module responses
    to be compatible with RESP3 responses

Chores

  • Update CI to test against 7.2-rc2
  • Update mypy dependency
coredis - 4.13.3

Published by github-actions[bot] over 1 year ago

Feature

  • Add json.mset command

Bug Fix

  • Remove caching for json.mget
  • Ensure hint from moved errors are used on next attempt
coredis - 4.13.2

Published by github-actions[bot] over 1 year ago

Feature

  • Add json.merge command

Bug fix

  • Fix exception message for unsupported commands
coredis - 4.13.1

Published by github-actions[bot] over 1 year ago

Hack

  • Downgrade sphinx back to 6.x for theme compatibility
coredis - 4.13.0

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • Fix incorrect explicit command execution on cluster
    pipeline retries
  • Fix inconsistent reset api signatures for pipeline
    across standalone & cluster clients
  • Ensure pipeline requests respect explicit timeout
  • Fix incomplete xinfo_streams response for groups/consumers
    details
coredis - 4.12.4

Published by github-actions[bot] over 1 year ago

Chores

  • Expand coverage of modules tests to include RESP2
  • Allow failures for "next" versions of redis in CI
coredis - 4.12.3

Published by github-actions[bot] over 1 year ago

Feature

  • Add pure python wheel to release process

Chores

  • Improve redis module documentation
  • Update CI to use python 3.11 as default
  • Fix README formatting
coredis - 4.12.2

Published by github-actions[bot] over 1 year ago

Chore

  • Clean up changelog entries
coredis - 4.11.6

Published by github-actions[bot] over 1 year ago

Bug Fix

  • Ensure task cancellation results in proper cleanup
    of a connection that might be blocked
coredis - 4.12.1

Published by github-actions[bot] over 1 year ago

Bug Fix

  • Ensure task cancellation results in proper cleanup
    of a connection that might be blocked
coredis - 4.12.0

Published by github-actions[bot] over 1 year ago

Features

  • Add support for RedisBloom module

  • Add support for ReJSON module

  • Add support for RedisSearch module

  • Add support for RedisTimeSeries module

  • Add support for RedisGraph module

  • Check argument versions for compatibility and
    raise appropriate errors if an argument is used
    on an older server version which doesn't support it.

  • Expose ~coredis.Redis.retry_policy to client constructors

  • Expose ~coredis.Redis.noevict in client constructors

  • Add initial support for redis 7.2

    • Expose ~coredis.Redis.notouch in client constructors
    • Add support for ~coredis.Redis.client_no_touch
    • Add support for ~coredis.Redis.client_setinfo
    • Add support for ~coredis.Redis.waitaof
    • Add new withscore argument for ~coredis.Redis.zrevrank
    • Add new context manager ~coredis.Redis.ensure_persistence
  • Allow adding streams to stream consumers after initialization

  • Improve cluster routing for commands that act on multiple
    slots but are handled by the same node.

  • Allow overriding the default stream_timeout
    when using a pipeline

Bug Fix

  • Ensure multiple properties returned from info command
    are collapsed into an array
  • Fix leaked connections when using ~coredis.Redis.ensure_replication
  • Improve handling of cancellation errors
  • Improve handling of timeout errors
  • Ensure cluster commands routed to random nodes use
    primaries by default
  • Handle pause/resume callbacks from Transport
    and pause sending subsequent commands until
    the transport buffer is resumed.
  • Handle RESP3 response for ~coredis.Redis.command
  • Update ~coredis.ConnectionPool.from_url &
    ~coredis.ClusterConnectionPool.from_url to support
    all constructor arguments
coredis - 4.12.0rc1

Published by github-actions[bot] over 1 year ago

Features

  • Add support for RedisGraph module
  • Allow overriding the default stream_timeout
    when using a pipeline
  • Check argument versions for compatibility and
    raise appropriate errors if an argument is used
    on an older server version which doesn't support it.

Bug Fix

  • Handle pause/resume callbacks from Transport
    and pause sending subsequent commands until
    the transport buffer is resumed.
  • Handle RESP3 response for ~coredis.Redis.command
  • Update ~coredis.ConnectionPool.from_url &
    ~coredis.ClusterConnectionPool.from_url to support
    all constructor arguments

Chores

  • Add redis-stack@edge to compatibility matrix in CI
coredis - 4.12.0b4

Published by github-actions[bot] over 1 year ago

Features

  • Add support for RedisSearch module
  • Allow adding streams to stream consumers after initialization

Chores

  • Update mypy
coredis - 4.12.0b3

Published by github-actions[bot] over 1 year ago

Features

  • Add support for RedisBloom module
  • Add support for ReJSON module
  • Add support for RedisTimeSeries module
  • Improve cluster routing for commands that act on multiple
    slots but are handled by the same node.

Bug Fix

  • Ensure multiple properties returned from info command
    are collapsed into an array
coredis - 4.11.5

Published by github-actions[bot] over 1 year ago

Bug Fix

  • Ensure protocol_version is parsed as an int from url