Skip to content

Releases: criteo/py-consul

Release v1.2.1

21 Dec 15:08
Compare
Choose a tag to compare
  • features:
    • Add support for /v1/agent/service/:service_id API via .agent.service_definition
    • Add support for (async or sync) context-managers. This is especially useful for aiohttp, and usable this way:
async with aio.Consul(...) as consul:
      svcs = await consul.agent.services()
      # Implicit close of the HTTP client

for svc in svcs:
  (...)
  • bugfixes:
    • rename internal connect method - this can lead to troubles since base.Consul class method and attribute names are conflicting since the connect integration performed in 1.2.0.

Release v1.2.0

18 Dec 09:18
Compare
Choose a tag to compare
  • features:
    • Consul-Connect methods are now supported (Connect endpoints, but also additional ones on Service, Health and Agent).
    • The token support was missing on multiple methods (for example when deregistering from an agent, adding a maintenance, etc.)
    • deregister field is now supported for the "script" health-checks
    • Multiple tags are now allowed as filters when performing Service or Health queries (thanks @andreasnanko)
  • bugfixes:
    • aio: the timeout argument type was changed from an aiohttp.ClientTimeout to a simple int

v1.1.5-2: fix README rendering

06 Nov 11:07
Compare
Choose a tag to compare
This breaks twine upload as macros are no more defined.
As a consequence, remove sections with dead macros.

v1.1.5-1

06 Nov 09:31
Compare
Choose a tag to compare
Bump to v1.1.5

v1.1.4: aio: fix timeout support

06 Nov 09:06
Compare
Choose a tag to compare
There was an impossible test, so timeout was ignored.

Release v1.1.3

13 Oct 16:19
Compare
Choose a tag to compare

Bugfix release, fix 1.1.2 features.

Release v1.1.2

13 Oct 15:48
Compare
Choose a tag to compare
Bump to v1.1.2

Release v1.1.1

01 Jun 15:57
Compare
Choose a tag to compare
Bump version: 1.1.0-dev -> 1.1.1

Also update setup.py with information regarding the team handing the releases