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.12.0b2

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

Chores

  • Handle external warnings in tests
  • Improve docstrings & annotations for ensure_persistence
  • Add reruns for test failures in CI
  • Add python 3.12 to CI
coredis - 4.12.0b1

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

Features

  • Expose retry_policy to client constructors
  • Expose noevict in client constructors
  • Add initial support for redis 7.2
    • Expose notouch in client constructors
    • Add support for client_no_touch
    • Add support for `client_setinfo``
    • Add support for waitaof
    • Add new withscore argument for zrank & zrevrank
    • Add new context manager ensure_persistence

Bug Fix

  • Fix leaked connections when using ensure_replication
  • Improve handling of cancellation errors
  • Improve handling of timeout errors
  • Ensure cluster commands routed to random nodes use
    primaries by default
coredis - 4.11.3

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

Chores

  • Update cibuildwheels action
  • Update versioneer
  • Migrate setup.cfg to pyproject
  • Parallelize CI wheel build
  • Reintroduce ruff for linting
coredis - 4.11.2

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

Chores

  • Add changelog link to pypi
coredis - 4.11.1

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

Bug Fix

  • Ensure prebuilt wheels contain compiled extensions
coredis - 4.11.0

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

Features

  • Add retries to pubsub subscribers
  • Generate prebuilt wheel for aarch64 + Linux

Bug Fix

  • Use random nodes with cluster pubsub
  • Trigger a refresh of cluster topology on connection errors
  • Raise ConnectionError on timeout errors when establishing a connection

Chores

  • Update pyright
coredis - 4.10.3

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

Bug Fix

  • Ensure extension compilation goes through without
    beartype available

Chores

  • Update dependencies
  • Update github actions
  • Use ruff for linting
coredis - 4.10.2

Published by github-actions[bot] almost 2 years ago

Chores

  • Update test certificates
  • Update development dependencies
coredis - 4.10.1

Published by github-actions[bot] almost 2 years ago

Compatibility

  • Upgrade documentation dependencies
  • Relax version contraint for packaging dependency
coredis - 4.10.0

Published by github-actions[bot] almost 2 years ago

Feature

  • Allow using async functions as callbacks for pubsub message
    handlers
coredis - 4.9.0

Published by github-actions[bot] almost 2 years ago

Feature

  • Update implementation of transactional pipeline and the
    behavior of the transaction method exposed by they cluster
    client to be consistent with the standalone client.

Breaking changes

  • Pipeline instances passed into the callable func parameter
    of the cluster transaction method will no longer automatically
    queue commands until a call to multi is issued to be consistent
    with the implementation in the standalone client.
coredis - 4.8.3

Published by github-actions[bot] almost 2 years ago

Bug Fix

  • Ensure pipeline commands are written to the socket in one
    shot

Chore

  • Reduce package size by removing test folder
  • Add a post wheel packaging import test
coredis - 4.8.2

Published by github-actions[bot] almost 2 years ago

Bug Fix

  • Fix wheels for macos
coredis - 4.7.1

Published by github-actions[bot] almost 2 years ago

Bug Fix

  • Fix wheels for macos
coredis - 4.8.1

Published by github-actions[bot] almost 2 years ago

Feature

  • Extend decoding context manager to selecting codec overrides
coredis - 4.8.0

Published by github-actions[bot] almost 2 years ago

Feature

  • Add a decoding context manager to control decoding behavior

Performance

  • Remove validation code paths at decoration time in optimized mode
coredis - 4.7.0

Published by github-actions[bot] about 2 years ago

Feature

  • Add optimized mode to allow skipping validation code paths
  • Add lastid parameter to xclaim method

Bug Fix

  • Ensure LuaLock context manager throws an exception when a
    lock cannot be acquired

Compatibility

  • Add final python 3.11 wheels
coredis - 4.6.0

Published by github-actions[bot] about 2 years ago

Feature

  • Implement early release back to connection pool to allow multiple concurrent commands to use the some connection
    thus significantly reducing the need to expand the connection pool when using blocking connection pools

Bug Fix

  • Add a lock when initializing the cluster client to ensure concurrent "first access" does not result in corruption of the
    cluster node layout or a thundering herd to initialize the layout

Compatibility

  • Enable wheel build for python 3.11

Chores

  • Improve stability of test suite
  • Enable recursive response types for mypy & pyright
coredis - 4.5.6

Published by github-actions[bot] about 2 years ago

Bug Fix

  • Remove duplicated initialization calls to connection pool & cache
coredis - 4.5.5

Published by github-actions[bot] about 2 years ago

Compatibility

  • Add test coverage for PyPy version 3.7 & 3.9

Bug Fix

  • Ensure methods expecting iterables for an argument raise a TypeError
    when a single string or byte sequence is used incorrectly.