Releases: jrxFive/python-nomad
python-nomad-1.0.1
Update requests to 2.20.0
Vulnerable versions: <= 2.19.1
Patched version: 2.20.0
The Requests package through 2.19.1 before 2018-09-14 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.
python-nomad-1.0.0
Restructure base Requester class, inherit from class instead of passing object to each instantiation. Removes all helpers _get, _post, _no_post, _put, _delete in each endpoint. Additional exceptions for status_codes. Should address:
Additional endpoints for client:
read_at
stream_file
stream_logs
gc_allocate
gc_all
Fixes:
Diff parameter for jobs plan endpoint, thanks @jeteon!
This change is a breaking change along with some methods in the init being removed:
Exceptions that occur from communication with the Nomad API should now be following based on the status codes from, and inherit from BaseNomadException:
https://www.nomadproject.io/api/index.html#http-response-codes
set_namespace
set_token
python-nomad-0.9.0
- Parse endpoint support, thanks to @Tethik!
- Region support, thanks to @tzahimizrahi
python-nomad-0.8.0
Add support for:
- node drain with drainspec
- node eligibility
- node prune
python-nomad-0.7.0
Metrics and Stats Endpoints thanks to @gokhansengun
Environment Variable lookups and matching to other tools thanks to @vladshub
python-nomad-0.6.1
Exception handling fix to obtain nomad_resp
object for all custom exceptions raised. Thanks to @etrabelsi
python-nomad-0.6.0
Huge thanks to @i4s-pserrano who added functionality for:
Tokens
Policies
Namespaces (Enterprise only)
Sentinel policies (Enterprise only)
As well as documenting examples for all the properties available currently!
python-nomad-0.5.0
Add optional cert file parameter for cert tuple (cert,key)
python-nomad-0.4.0
Added calls for features new to nomad 0.6.0:
- deployments
- deployment
- validate
python-nomad-0.3.0
CA certfile option to request session thanks to @marcjay