Releases: criteo/py-consul
Releases · criteo/py-consul
Release v1.2.1
- 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:
- Add support for /v1/agent/service/:service_id API via
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 sincebase.Consul
class method and attribute names are conflicting since the connect integration performed in 1.2.0.
- rename internal
Release v1.2.0
- 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 anaiohttp.ClientTimeout
to a simpleint
- aio: the
v1.1.5-2: fix README rendering
This breaks twine upload as macros are no more defined. As a consequence, remove sections with dead macros.
v1.1.5-1
v1.1.4: aio: fix timeout support
There was an impossible test, so timeout was ignored.
Release v1.1.3
Bugfix release, fix 1.1.2 features.
Release v1.1.2
Bump to v1.1.2
Release v1.1.1
Bump version: 1.1.0-dev -> 1.1.1 Also update setup.py with information regarding the team handing the releases