1
0
mirror of https://github.com/etcd-io/etcd.git synced 2026-02-05 06:46:49 +01:00

526 Commits

Author SHA1 Message Date
Benjamin Wang
b666323e11 Bump go version to 1.25.6
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-01-30 10:07:17 +00:00
Chun-Hung Tseng
5d4ef72c13 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.27.4 to 2.27.5 and bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.27.4 to 2.27.5
Reference:
- #21194
- #21192

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-27 14:17:27 +00:00
Sharath P J
0988325ed5 server: refactor btree usage to generics-based k8s.io/utils
Signed-off-by: Sharath P J <pjsharath28@gmail.com>
2026-01-21 23:01:24 +05:30
Chun-Hung Tseng
b485302c70 dependency: bump github.com/olekukonko/tablewriter from 1.1.2 to 1.1.3
Reference:
- https://github.com/etcd-io/etcd/pull/21170

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-21 10:35:53 +09:00
Benjamin Wang
25a5bb2875 Initialize confState from v3 store on bootstrap
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-01-16 19:01:40 +00:00
Chun-Hung Tseng
125173b33c dependency: bump golang.org/x/tools from 0.40.0 to 0.41.0, golang.org/x/text from 0.32.0 to 0.33.0, golang.org/x/net from v0.48.0 to v0.49.0, golang.org/x/crypto from v0.46.0 to v0.49.0, golang.org/x/mod from v0.31.0 to v0.32.0
Reference:
- https://github.com/etcd-io/etcd/pull/21118
- https://github.com/etcd-io/etcd/pull/21117
- https://github.com/etcd-io/etcd/pull/21113
- https://github.com/etcd-io/etcd/pull/21110

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-16 01:20:13 +09:00
Chun-Hung Tseng
f2bab39a4a dependency: bump golang.org/x/sys from 0.39.0 to 0.40.0
Reference:
- https://github.com/etcd-io/etcd/pull/21115

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-16 01:20:13 +09:00
Antonio Ojea
8b579374f7 verify grpc experimental apis
The GRPC community expressed their concern about a possible breakage on
the etcd project when they switch or remove some of the experimental
APIs. The GRPC community clearly express their contract around these
APIs, however the etcd project has some features that build on that.

As a norm we must not build on these kind of APIs, so we can set a
linter to avoid this to happen again and run in each presubmit.

Signed-off-by: Antonio Ojea <aojea@google.com>
2026-01-09 12:13:28 +00:00
Chun-Hung Tseng
0d48346677 dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.63.0 to 0.64.0
Reference:
- https://github.com/etcd-io/etcd/pull/21087

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-06 16:04:35 +09:00
Chun-Hung Tseng
f4839eeac2 dependency: bump github.com/prometheus/common from 0.67.4 to 0.67.5
Reference:
- https://github.com/etcd-io/etcd/pull/21088

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-06 16:04:35 +09:00
Chun-Hung Tseng
a030f7ec51 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.27.3 to 2.27.4
Also bumped automatically:
- google.golang.org/genproto/googleapis/rpc from v0.0.0-20251202230838-ff82c1b0f217 to v0.0.0-20251222181119-0a764e51fe1b
- google.golang.org/genproto/googleapis/api from v0.0.0-20251202230838-ff82c1b0f217 to v0.0.0-20251222181119-0a764e51fe1b
- google.golang.org/grpc from v1.77.0 to v1.78.0

Reference:
- https://github.com/etcd-io/etcd/pull/21059
- https://github.com/etcd-io/etcd/pull/21055

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-03 12:42:31 +09:00
Chun-Hung Tseng
36fe7f9cc4 dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.38.0 to 1.39.0
Also bumped automatically:
- google.golang.org/genproto/googleapis/api from v0.0.0-20251022142026-3a174f9686a8 to v0.0.0-20251202230838-ff82c1b0f217
- google.golang.org/genproto/googleapis/rpc from v0.0.0-20251022142026-3a174f9686a8 to v0.0.0-20251202230838-ff82c1b0f217
- go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.38.0 to 1.39.0

Reference:
- https://github.com/etcd-io/etcd/pull/21060
- https://github.com/etcd-io/etcd/pull/21057

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-03 12:42:31 +09:00
Chun-Hung Tseng
be7a2e4a68 dependency: bump google.golang.org/protobuf from 1.36.10 to 1.36.11
Reference:
- https://github.com/etcd-io/etcd/pull/21056

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-01-03 12:42:31 +09:00
Ivan Valdes
c6ead5fcc3 build(deps): bump golang.org/x/tools from 0.39.0 to 0.40.0 in /tools/mod
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Reference: https://github.com/etcd-io/etcd/pull/21018

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-12-22 22:45:00 -08:00
Ivan Valdes
8505dec782 build(deps): bump go.opentelemetry.io/otel/sdk from 1.38.0 to 1.39.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.38.0...v1.39.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.39.0
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Reference: https://github.com/etcd-io/etcd/pull/21002

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-12-22 22:44:56 -08:00
Ivan Valdes
4f99d2c03a build(deps): bump github.com/golangci/golangci-lint/v2 in /tools/mod
Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.6.2 to 2.7.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v2.6.2...v2.7.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.7.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Reference: https://github.com/etcd-io/etcd/pull/21001

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-12-22 22:44:48 -08:00
Ivan Valdes
94ca02160f build(deps): bump github.com/olekukonko/tablewriter from 1.1.1 to 1.1.2
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 1.1.1 to 1.1.2.
- [Commits](olekukonko/tablewriter@v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.1.2
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Reference: https://github.com/etcd-io/etcd/pull/20986

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-12-22 22:44:40 -08:00
boqishan
505f69dd11 build(deps): update go version to 1.25.5
Signed-off-by: boqishan <boqishan@126.com>
2025-12-04 00:32:54 +08:00
ArkaSaha30
7afc900659 dependency: bump google.golang.org/grpc from 1.76.0 to 1.77.0
This commit will bump google.golang.org/grpc from 1.76.0 to 1.77.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-11-28 23:01:30 +05:30
ArkaSaha30
7d6eb9616a dependency: bump github.com/prometheus/common from 0.67.2 to 0.67.4
This commit will bump github.com/prometheus/common from 0.67.2 to 0.67.4

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-11-28 22:43:39 +05:30
ArkaSaha30
5110a8c633 dependency: bump go.uber.org/zap from 1.27.0 to 1.27.1
This commit will bump go.uber.org/zap from 1.27.0 to 1.27.1

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-11-27 15:41:41 +05:30
Ivan Valdes
52a82c7fe9 build(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0.
- [Commits](golang/crypto@v0.44.0...v0.45.0)

Signed-off-by: Ivan Valdes <ivan@vald.es>

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: direct:production
...

Addresses CVE-2025-58181 and CVE-2025-47914.

Reference: https://github.com/etcd-io/etcd/pull/20956.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-11-19 15:19:44 -08:00
Ivan Valdes
a79b176fcd build(deps): bump github.com/grpc-ecosystem/go-grpc-middleware/v2
Bumps [github.com/grpc-ecosystem/go-grpc-middleware/v2](https://github.com/grpc-ecosystem/go-grpc-middleware) from 2.1.0 to 2.3.3.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Commits](grpc-ecosystem/go-grpc-middleware@v2.1.0...v2.3.3)

Signed-off-by: Ivan Valdes <ivan@vald.es>

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/go-grpc-middleware/v2
  dependency-version: 2.3.3
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Reference: https://github.com/etcd-io/etcd/pull/20911

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-11-19 15:11:54 -08:00
ArkaSaha30
153fd55c45 dependency: bump github.com/olekukonko/tablewriter from 1.1.0 to 1.1.1
This commit will bump github.com/olekukonko/tablewriter from 1.1.0 to 1.1.1wq

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-11-19 22:43:45 +05:30
ArkaSaha30
dcfb9fed86 dependency: bump golang.org/x/net from 0.46.0 to 0.47.0
This PR will bump golang.org/x/net from 0.46.0 to 0.47.0
Additioanlly also updates the following dependent modules:
- golang.org/x/sys v0.38.0
- golang.org/x/text v0.31.0
- golang.org/x/crypto v0.44.0
- golang.org/x/sync v0.18.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-11-19 20:40:33 +05:30
Ivan Valdes
f20a950d14 build(deps): bump github.com/prometheus/common from 0.67.1 to 0.67.2
Reference: https://github.com/etcd-io/etcd/pull/20883

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-11-08 20:50:57 -08:00
Ivan Valdes
430cd02b96 build(deps): bump go.opentelemetry.io/proto/otlp from 1.8.0 to 1.9.0
Reference: https://github.com/etcd-io/etcd/pull/20882

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-11-08 20:50:57 -08:00
Ivan Valdes
483c98fd86 build(deps): bump google.golang.org/grpc from 1.75.1 to 1.76.0
Reference: https://github.com/etcd-io/etcd/pull/20866

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-11-08 20:50:57 -08:00
ronaldngounou
013692c0f1 Bump Go from 1.25.3 to 1.25.4
Signed-off-by: ronaldngounou <ronald.ngounou@yahoo.com>
2025-11-06 21:01:19 -08:00
joshjms
a89a471643 dependency: bump golang.org/x/time from 0.13.0 to 0.14.0
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-23 00:49:02 +08:00
joshjms
53ce959dea dependency: bump github.com/prometheus/common from 0.66.1 to 0.67.1
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-23 00:47:31 +08:00
joshjms
4cbb086b1d dependency: bump golang.org/x/net from 0.44.0 to 0.46.0
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-23 00:46:07 +08:00
hwdef
d5c9e13d70 dependency: Bump Go from 1.25.1 to 1.25.3
Signed-off-by: hwdef <hwdefcom@outlook.com>
2025-10-15 10:16:46 +08:00
joshjms
a68b35c971 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.27.2 to 2.27.3
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-08 00:02:44 +08:00
Ivan Valdes
913a1e9667 Enable Go workspace
Introduce a new Go workspace that references all the current submodules.
To preserve the current behavior, point all of the current
FORBIDDEN_DEPENCENCY virtual dependencies to the same path.

Add scripts/update_go_workspace.sh that generates the Go workspace file
(go.work) based on the submodules found in the project (excluding the
tools) and creates the go.work.sum file after running go mod download.
Added this script to the fix Makefile target. Even though, the number of
modules in the etcd repository is small, by adding an automated way of
updating the go.work modules future proofs the project in case there are
new modules or removal of them.

Remove the workaround to forbid dependencies through the
FORBIDDEN_DEPENDENCY replace. This can be done through a linter rather
than at the go.mod level. Using the go.mod approach also brings issues
with the workspace, as all the dependencies (including replaces) need to
have a consistent version and point to the same place.

Co-authored-by: Tim Hockin <thockin@google.com>
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-10-03 15:54:54 -07:00
Chun-Hung Tseng
5d26c26cb4 dependency: bump github.com/golangci/golangci-lint/v2 from 2.4.0 to 2.5.0 and golang.org/x/net from 0.43.0 to 0.44.0
Reference:
- https://github.com/etcd-io/etcd/pull/20698
- https://github.com/etcd-io/etcd/pull/20697

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-26 06:46:02 +02:00
Chun-Hung Tseng
03b275cfdc dependency: bump google.golang.org/protobuf from 1.36.8 to 1.36.9
Reference:
- https://github.com/etcd-io/etcd/pull/20699

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-26 06:45:18 +02:00
Chun-Hung Tseng
81c1c8796c dependency: bump github.com/olekukonko/tablewriter from 1.0.9 to 1.1.0
Reference:
- https://github.com/etcd-io/etcd/pull/20702

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-26 06:44:15 +02:00
Chun-Hung Tseng
fb2c1d4e7c dependency: bump github.com/spf13/pflag from 1.0.9 to 1.0.10
Reference:
- https://github.com/etcd-io/etcd/pull/20672

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-16 17:13:50 +02:00
Chun-Hung Tseng
3e89c78386 dependency: bump go.opentelemetry.io/proto/otlp from 1.7.1 to 1.8.0
Reference:
- https://github.com/etcd-io/etcd/pull/20673

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-16 17:13:50 +02:00
Chun-Hung Tseng
9002c988ab dependency: bump google.golang.org/grpc from 1.75.0 to 1.75.1
Reference:
- https://github.com/etcd-io/etcd/pull/20674

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-16 17:13:50 +02:00
Chun-Hung Tseng
02a822081a dependency: bump github.com/prometheus/client_golang from 1.23.0 to 1.23.2 and github.com/prometheus/common from 0.65.0 to 0.66.1
Reference:
- https://github.com/etcd-io/etcd/pull/20675
- https://github.com/etcd-io/etcd/pull/20676

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-16 17:13:50 +02:00
Ivan Valdes
f89ae9a679 dependency: Bump Go from 1.24.6 to 1.25.1
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-09-15 10:06:49 -07:00
Chun-Hung Tseng
fd5f7a4096 dependency: bump golang.org/x/crypto from 0.41.0 to 0.42.0 and bump golang.org/x/sys from 0.35.0 to 0.36.0
Reference:
- https://github.com/etcd-io/etcd/pull/20627
- https://github.com/etcd-io/etcd/pull/20628

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-09 08:01:18 +02:00
Chun-Hung Tseng
d2879a7ad1 dependency: bump golang.org/x/text from 0.28.0 to 0.29.0 and golang.org/x/sync from 0.16.0 to 0.17.0
Reference:
- https://github.com/etcd-io/etcd/pull/20626

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-09 08:01:18 +02:00
Chun-Hung Tseng
3f60c33b1b dependency: bump golang.org/x/time from 0.12.0 to 0.13.0
Reference:
- https://github.com/etcd-io/etcd/pull/20629

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-09-09 08:01:18 +02:00
Benjamin Wang
1ac146cbe6 bump github.com/spf13/cobra from 1.9.1 to 1.10.1
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-09-07 10:45:10 +01:00
Benjamin Wang
400a1496aa bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.62.0 to 0.63.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-09-07 10:42:11 +01:00
Benjamin Wang
bbb9a71847 bump go.opentelemetry.io/otel from 1.37.0 to 1.38.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-09-07 10:39:36 +01:00
Chun-Hung Tseng
5ff3efebb8 dependency: bump google.golang.org/protobuf from 1.36.7 to 1.36.8
Reference:
- https://github.com/etcd-io/etcd/pull/20557

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-08-27 19:38:32 +00:00