Skip to content

v0.12.1

Latest

Choose a tag to compare

@snonux snonux released this 17 Sep 05:43
· 501 commits to main since this release

Release v0.12.1

v0.12.1

Overview

This is a small documentation and terminology cleanup release. Following the earlier rename of the inventory concept from Fleet to Cluster (where a Fleet is now a collection of Clusters), a few stragglers in comments, help strings, and docs still referred to clusters as "fleets." This release sweeps those up so the terminology is consistent across the codebase, and bumps the reported version.

Improvements

  • Consistent "cluster" terminology. The ClusterInfo type, ClusterHosts() error messages, WithCluster documentation, and the helpers reference now uniformly say "cluster" instead of "fleet." If you read error output or API comments while writing cluster-driven recipes, the language now matches the names you actually use in your inventory declarations.

  • Simpler WithCluster docs. The comment on RegisterMethods(…, WithCluster(name)) no longer tells you to call fleet.Register (the old fleet API). It simply notes that the cluster must already be registered, reflecting how registration actually works now.

Migration

No behavior changes and no action required. This release only touches comments, one user-facing error string (which now correctly says "cluster"), and the version constant reported by gonf -version.

Changelog Details

  • api/cluster.go: ClusterInfo comment now reads "listing row for registered clusters."
  • api/cluster_hosts.go: ClusterHosts() and the task-cluster stack comments/error message use "cluster" wording.
  • api/methods.go: WithCluster doc comment updated to cluster terminology and registration guidance.
  • docs/helpers.md: the "Fleet hosts and per-host values" section is now "Cluster hosts and per-host values."
  • internal/version.go: version bumped from 0.12.0 to 0.12.1.