Skip to content

Commit 73dabc5

Browse files
authored
Merge pull request #20539 from ahrtr/20250822_go
Clarify the policy on how to bump go version for libraries
2 parents 3d3cb7f + 1195849 commit 73dabc5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Documentation/contributor-guide/dependency_management.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,13 @@ execute it for 3.4.
125125
126126
## Golang versions
127127
128-
The etcd project aims to maintain a development branch that is on the latest [Go version](https://go.dev/dl), ideally, this will align with the Go version in use for Kubernetes project development. For an example of how to update etcd to a new minor release of Go refer to issue <https://github.com/etcd-io/etcd/issues/16393> and the linked pull requests.
128+
For all libraries that exist as independent subprojects (e.g., bbolt, raft, gofail), we should always stick
129+
to the oldest supported Go minor version for all branches, including main. It's up to the users of these
130+
libraries to choose which [Go version](https://go.dev/dl) they want to use in their own projects.
131+
132+
For other subprojects that produce binaries or images (e.g. etcd, etcd-operator, auger), the main
133+
branches should use the latest Go minor version for development, while stable releases should use the
134+
latest patch of the previous supported Go minor version to ensure stability.
129135
130136
Suggested steps for performing a minor version upgrade for the etcd development branch:
131137

0 commit comments

Comments
 (0)