Skip to content

Release v1.2.1

Choose a tag to compare

@pierrecdn pierrecdn released this 21 Dec 15:08
· 88 commits to master since this release
  • 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.