Python Nomad Versions Save

Client library Hashicorp Nomad

2.0.1

3 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/jrxFive/python-nomad/compare/2.0.0...2.0.1

2.0.0

11 months ago

BREAKING CHANGES:

  • Drop Python 2 and Python 3.6 support
  • Rename id arguments to id_ across of code base
  • Rename type arguments to type_ across of code base

Other changes:

  • Add more missing parameters to allocations.get_allocations()
  • Up requests lib version to 2.23.1
  • Add missing parameters to allocations.get_allocations and jobs.get_jobs (#144). Thanks @Kamilcuk
  • Add option for custom user agent (#150)
  • Add missing parameters to nodes.get_nodes (#152).

New Contributors

Full Changelog: https://github.com/jrxFive/python-nomad/compare/1.5.0...2.0.0

1.5.0

1 year ago
  • Add namespace agrument support for get_allocations and get_deployments endpoints (#133)
  • Add Python 3.10 support (#133)
  • Add support for pre-populated Sessions (#132)
  • Add scaling policy endpoint (#136)
  • Drop Python 3.5 support
  • Up requests lib version
  • Add support for /var and /vars endpoints (#141)
  • Add support for /search endpoint (#134)

1.4.1

2 years ago

Fix import error on events. Python2.7 queue import is with capital 'Q'

1.4.0

2 years ago

Add support for Event Stream, #122

1.3.0

2 years ago

Fixes:

  • #118 (in #120, #121), add namespace override for job.get_job jobs.get_jobs thanks @rndmh3ro!

1.2.1

4 years ago

##Bug Fix

  • #107, str for BaseNomadException causing exception to be raised when nomad_resp is not a requests.Response object.

1.2.0

4 years ago

Improvements

  • dunder str support for Exceptions, thanks @SlipJ!
  • Environment Variable support for NOMAD_CLIENT_CERT and NOMAD_CLIENT_KEY, thanks @erhlee-bird!
  • additional namespace checks for (acl, client, node), thanks @sherrman!

Bug Fixes

  • Pass exception error to nomad.api.exceptions.BaseNomadException, thanks @damoxc!

Documentation

  • ACL thanks @automaticgiant!
  • Drain missing parameter, thanks @commarla!
  • Proper routing to allocations, thanks @rvilim!
  • Job API documentation, thanks @atillamas!

1.1.0

5 years ago

Add prefix support for:

  • jobs
  • nodes
  • allocations
  • evaluations
  • namespaces

1.0.2

5 years ago

Fixes #81 - Thanks to @i4s-pserrano for reporting and fixing!