Skip to content

Releases: python-zk/kazoo

2.10.0

28 Jan 20:07
Compare
Choose a tag to compare

PYTHON SUPPORTED VERSIONS CHANGE: Please note that Kazoo no longer tests on Python 3.7. Tested versions are Python 3.8, 3.9, 3.10, 3.11, 3.12 and latest PyPy 3.10.

Features

  • ci: remove codecov step from tox since performed in GA (#719) (ffa0ae9a)
  • testing:
    • add test for Windows platform (31fdca6b)
    • add more logging during test suite (2c36d699)

Test

  • update tested ZK versions (1a23100a)
  • remove Python 3.7, add Python 3.11 and Python 3.12 (e33a6e17)
  • bump pypy to latest available (383cdf8c)
  • add SSL test (be1b7723)
  • Don't throw when test fail while cluster is down (5851e406)

Doc

  • Include type hints in docs (e24e1200)
  • Use .readthedocs.yaml to configure the build (693cd487)
  • there are more than 50 contributors now (#703) (d7c44cd1)
  • Replace build badge from Travis to Actions (#675) (a43ef2bf)

Chore

  • add mypy to the build (#689) (8f608f84)
  • migrate to tox 4.x (0c564419)
  • Integrate flake8 & black in gh actions (644eeb74)
  • bump pyflake, fix new warnings (f3b7ff71)
  • add black dependencies to the build (951f7442)
  • backport changes from release/2.9 (#674) (cb2fe857)
  • deps:
    • bump actions/cache from 3 to 4 (a440c91d)
    • bump actions/setup-java from 3 to 4 (aa219898)
    • bump actions/setup-python from 4 to 5 (1a5205c8)
    • bump actions/checkout from 3 to 4 (d9830661)
    • bump actions/setup-python from 2 to 4 (#695) (491cab3f)
    • bump actions/cache from 2 to 3 (1c0c4535)
    • bump codecov/codecov-action from 2 to 3 (b3dcad2d)
    • bump actions/checkout from 2 to 3 (d2a08d48)
  • packaging: Remove redundant wheel dep from pyproject.toml (#671) (161c6877)

Refactor

  • no need to specify mock (#702) (92b071d3)
  • delete back of travis config (#705) (d224a520)
  • remove unecessary import guard for gevent.lock (74ecc0f2)
  • remove string interpolation in favour of exception chaining (e38b5c5f)
  • remove backport of 'atexit.unregister' (7ade392d)
  • Replace usage of six for their py3 implementations (e05b50a1)

Bug Fixes

  • core: no need to alway perform an os.stat(fd) (b06ffd71)
  • exceptions: Register exception for server-side QUOTAEXCEEDED(-125) (6054d822)
  • testing:
  • tests: test_read_only is not flaky anymore. (6b40a437)

2.9.0

08 Oct 04:34
Compare
Choose a tag to compare

LONG TIME NO SEE! Thanks a lot to everyone that contributed to this version, and to those that waited for this long due release.

Chore

  • migrate to setup.cfg (#666) (5f7ae483)
  • ci:
    • testing with Python3.10 and ZK 3.5.10, 3.6.3, 3.7.1 (#659) (bd627973)
    • better specify how to trigger Github Actions (#658) (1ea097d5)
    • Replace Travis with Github Actions (8eb462f2)

Doc

  • fix simple typo, untill -> until (85f1b5fc)

Features

  • core: make DNS resolution error retriable (#631) (e0810242)

Bug Fixes

  • core:
    • use selectors to poll connections instead of raw select in threading,gevent,eventlet (#656) (4042a850)
    • do not allow responses to choke request and ping processing (89e06603)
  • recipe:
    • fix deadlock in r/w lock recipe (#650) (9bb84994, closes #649)
    • fix deprecation warning from threading.Event (569c89cd)

2.8.0

11 Jul 16:23
Compare
Choose a tag to compare

PYTHON SUPPORTED VERSIONS CHANGE: Please note that Kazoo no longer tests
on Python 2.7, Python 3.6. Tested versions are 3.7, 3.8 and PyPy.

Features

  • chore: using Github templates for issues and PRs (#610) (eddc0976)
  • core:
    • Use strict regex to identify lock contenders. (cc8ce892)
    • Support additionaal lock contenter patterns (225eeecb)
  • tests:
    • Disable problematic hound-flake8-black integration. (75f62a0d)
    • Move to pytest (de97d74b)
    • add Python 3.8 and remove Python 3.6 from the testing suite (#611) (e4f808f7)

Performance

  • core: Use chain.from_iterable in threading.py (#614) (13c73ec5)

Bug Fixes

Chore

  • core: Update matrix: add pypy3, drop py27 (522189da)
  • tests: Add coverage report on codecov.io (bb475843)

2.7.0

13 Mar 23:07
Compare
Choose a tag to compare

PYTHON SUPPORTED VERSIONS CHANGE: Please note that Kazoo no longer tests
on Python 3.3, 3.4 and 3.5. Tested versions are 2.7, 3.6, 3.7 and PyPy.

Features

  • CI: Keep only Python 3.{6,7} to CI and bump ZK versions to latests (#574) (c293aabf)
  • core:
  • recipe: add support for curator SharedCount recipe (#559) (88b657a0, closes #558)
  • utils: extend create_tcp_connection utility (#568) (ab0cd00c)

Bug Fixes

  • CI: deploying only for 1 job (0ba3634d)
  • core:
    • allow requests to be queued in CONNECTING state (#374) (#588) (a636d7a6)
    • Implement proper retry backoff logic with jitter. (0bb0659c)
    • when connection fails, close the ConnectionHandler (#577) (#579) (c7e80503)
  • recipe: crash if None in znode (#569) (ded79467)
  • tests:
    • Disable JAAS isInitiator for Server (933b38b5)
    • deactivate TCP port that was enabled by default. (d7bed550)
    • capitalize the default_domain value (7fd22bfd)
    • weaker crypto when configuring Kerberos (844df87a)
    • prefix with toxinidir variable with a / to ensure path to ensure-zookeeper-env.sh is correct (c4d42ca7)
    • specify -Dfile.encoding=UTF-8 when starting the ZK JVM (5764da0b)

2.6.1

22 Jan 21:55
Compare
Choose a tag to compare

Bug Fixes

  • client: add missing paren (#550) (1452a48f)
  • core:
    • support deprecated KazooRetry argument (#545) (4242da80)
    • reduce timeout for the first Connect() request (#540) (2ae392e6)
  • handlers: make AsyncResult call all registered callbacks instantly if the handler has stopped running (#549) (d9e0e720)
  • recipe:
    • No more memory leak when ChildrenWatch was stopped (#543) (37bcda35)
    • No more memory leak once TreeCache was closed (#524) (c48f2733)

2.6.0

15 Nov 11:44
Compare
Choose a tag to compare

Features

  • core:
  • tests:
    • update Zookeeper 3.5.2-alpha to 3.5.4-beta (30330915, closes #477)
    • update Zookeeper version from 3.4.10 to 3.4.13 (287749b4)

Bug Fixes

  • core:
    • ensure timeout argument is positive (#534) (8c5ce118)
    • get_children with include_data=True uses GetChildren2 types (#514) (901cba7a)
    • allow authentification in RO and RW modes (2320ab39)
    • Use a copy of auth data when reconnecting (#509) (de20be91)
    • change KazooRetry to uniformly jitter over the whole backoff interval (#521) (60366d2c)
  • recipe: Delete lock node in queue recipe if entry already consumed (7a8167de)

Doc

  • make badges link to travis and pypi (#528) (367a1df3)
  • specify description type for pypi to render correctly (cc4006e6)
  • remove broken downloads badge (47e07a96)
  • core: fix broken zookeeper programmers guide link (8ecf8a50)

2.5.0

01 Jun 14:43
Compare
Choose a tag to compare

Performance

  • recipe: Give TreeCache standalone queue (4456f180)

Doc

Features

  • recipe: allow non ephemeral locking (6f7a603d)

Chore

Bug Fixes

  • Pass watch as keyword arg instead of positional arg (#495) (23850792)
  • need gevent >= 1.2, not > 1.1 (18f3531b)
  • Remove use of "async" as a variable (225d3369, closes #455)
  • core:
    • Fix gevent 1.3b1+ timeout import (257b5896)
    • Correctly fire multiple callbacks (0905c47b)
    • resolve race in IAsyncResult.wait() (#487) (4d268adf)
  • recipe:
    • conn hangs when TreeCache refreshing (11194137)
    • Unexpected exceptions break TreeCache (db0c2d4f)

Refactor

  • Unify queue factory in various handlers (cbd02f5c)

2.4.0

14 Jun 15:54
Compare
Choose a tag to compare

PYTHON SUPPORTED VERSIONS CHANGE: Please note that Kazoo no longer tests
on Python 2.6 or 3.3. Tested versions are 2.7, 3.4, 3.5, 3.6, and PyPy. The
multiple endpoint support for KazooClient may not work correctly on 2.6.

Bug Fixes

  • add missed parens to LockingQueue function call. (88cf4aa7)
  • core: revert PR #305 SetWatches which caused RuntimeError (a7b45390)

Features

  • pep8 all the things (92880342, closes #445)
  • drop Python 2.6/3.3 official support, add 3.5/3.6 testing (2faba9ff, closes #441)
  • core:
    • allow multiple endpoints in KazooClient hosts arg (72a8d96c, closes #411)
    • use epoll when available to support fds > 1023 (267e61b4, closes #171)
  • recipe: Add TreeCache recipe (ec8b337e)

2.3.1

01 Jun 18:11
Compare
Choose a tag to compare

Chore

  • update MANIFEST.in to reflect changes to filenames (c9a38c5d)
  • add travis deployment and update ZK versions (7d5d59cb, closes #436)

2.3.0

01 Jun 04:15
Compare
Choose a tag to compare

Please note, there have been a few dozen merges that failed to update the
changelog here. As such, the log here should not be considered conclusive as
to the changes that are arriving in 2.3.0.

Changes being made now to ensure more accuracy in the changelog will appear
in all future versions going forward. Read the commit history for a better
understanding of changes merged between 2.2.1 and 2.3.0.

All future commits must abide by the new CONTRIBUTING.md document describing
how to label commits so they can be automatically used to automatically
generate an accurate changelog.

WARNING: THIS IS THE LAST KAZOO RELEASE THAT SUPPORTS PYTHON 2.6. ALL FUTURE
VERSIONS WILL REQUIRE PYTHON 2.7 AND ABOVE.

Features

  • allow having observers and different sized clusters

Bug Handling

  • #372: fully resolve multiple records for hosts in the zookeeper
    connection string

Documentation

  • Fix the recipe examples, so they actually work by connecting to
    ZooKeeper. Without start() they just hang and can't be killed.