Request: Versioned client API package #12300
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/api
HTTP API and SDK issues
theme/ci
type/enhancement
Currently Nomad release tags cover only the server module at
github.com/hashicorp/nomad
. The submodule containing client APIgithub.com/hashicorp/nomad/api
is not versioned, which leads to applications consuming the latest frommain
directly via pseudo-version. Example of this can be seen in Vaultgo.mod
.Problem:
v0.0.0-20211006193434-215bf04bc650
can be flagged with all historical vulnerabilities.main
could theoretically end up using non-working version that was never inteded to be consumed by public.Proposal:
Add versioning also to
github.com/hashicorp/nomad/api
submodule. This can be done by adding a second release tag which is prefixed with the submodule path.v1.2.6
becomesapi/v1.2.6
. Tagging submodules is described in go documentation.The text was updated successfully, but these errors were encountered: