2021-06-24 15:50:59 +03:00
2022-01-26 13:46:20 +03:00
Previous change logs can be found at [CHANGELOG-3.5 ](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md ).
2021-06-24 15:50:59 +03:00
< hr >
## v3.6.0 (TBD)
See [code changes ](https://github.com/etcd-io/etcd/compare/v3.5.0...v3.6.0 ).
2021-08-18 18:43:58 +03:00
### Breaking Changes
- `etcd` will no longer start on data dir created by newer versions (for example etcd v3.6 will not run on v3.7+ data dir). To downgrade data dir please check out `etcdutl migrate` command.
2021-12-28 11:54:14 +03:00
- `etcd` doesn't support serving client requests on the peer listen endpoints (--listen-peer-urls). See [pull/13565 ](https://github.com/etcd-io/etcd/pull/13565 ).
2022-04-12 17:41:50 +03:00
- `etcdctl` will sleep(2s) in case of range delete without `--range` flag.See [pull/13747 ](https://github.com/etcd-io/etcd/pull/13747 )
2021-08-18 18:43:58 +03:00
2022-01-22 03:35:36 +03:00
### Deprecations
- Deprecated [V2 discovery ](https://etcd.io/docs/v3.5/dev-internal/discovery_protocol/ ).
2022-08-17 10:45:40 +03:00
- Deprecated [SetKeepAlive and SetKeepAlivePeriod in limitListenerConn ](https://github.com/etcd-io/etcd/pull/14356 ).
2022-03-23 06:05:52 +03:00
- Removed [etcdctl defrag --data-dir ](https://github.com/etcd-io/etcd/pull/13793 ).
- Removed [etcdctl snapshot status ](https://github.com/etcd-io/etcd/pull/13809 ).
- Removed [etcdctl snapshot restore ](https://github.com/etcd-io/etcd/pull/13809 ).
- Removed [etcdutl snapshot save ](https://github.com/etcd-io/etcd/pull/13809 ).
2022-01-22 03:35:36 +03:00
2021-06-24 15:50:59 +03:00
### etcdctl v3
- Add command to generate [shell completion ](https://github.com/etcd-io/etcd/pull/13133 ).
2022-01-30 06:01:45 +03:00
- When print endpoint status, [show db size in use ](https://github.com/etcd-io/etcd/pull/13639 )
2022-02-18 01:47:59 +03:00
- [Always print the raft_term in decimal ](https://github.com/etcd-io/etcd/pull/13711 ) when displaying member list in json.
2022-03-10 09:37:45 +03:00
- [Add one more field `storageVersion` ](https://github.com/etcd-io/etcd/pull/13773 ) into the response of command `etcdctl endpoint status` .
2022-08-12 11:35:36 +03:00
- Add [`--max-txn-ops` ](https://github.com/etcd-io/etcd/pull/14340 ) flag to make-mirror command.
2021-06-24 15:50:59 +03:00
### etcdutl v3
- Add command to generate [shell completion ](https://github.com/etcd-io/etcd/pull/13142 ).
2021-07-16 16:02:31 +03:00
- Add `migrate` command for downgrading/upgrading etcd data dir files.
2021-07-15 13:46:43 +03:00
2022-06-18 02:11:50 +03:00
### Package `clientv3`
- Fix [do not overwrite authTokenBundle on dial ](https://github.com/etcd-io/etcd/pull/12992 ).
2021-07-15 13:46:43 +03:00
### Package `server`
- Package `mvcc` was moved to `storage/mvcc`
- Package `mvcc/backend` was moved to `storage/backend`
- Package `mvcc/buckets` was moved to `storage/schema`
2021-07-21 11:23:04 +03:00
- Package `wal` was moved to `storage/wal`
- Package `datadir` was moved to `storage/datadir`
2021-09-10 11:47:13 +03:00
### etcd server
2021-10-08 11:00:57 +03:00
- Add [`etcd --log-format` ](https://github.com/etcd-io/etcd/pull/13339 ) flag to support log format.
2021-11-16 01:18:14 +03:00
- Add [`etcd --experimental-max-learners` ](https://github.com/etcd-io/etcd/pull/13377 ) flag to allow configuration of learner max membership.
2021-12-01 18:40:54 +03:00
- Add [`etcd --experimental-enable-lease-checkpoint-persist` ](https://github.com/etcd-io/etcd/pull/13508 ) flag to handle upgrade from v3.5.2 clusters with this feature enabled.
2021-12-07 05:57:10 +03:00
- Add [`etcdctl make-mirror --rev` ](https://github.com/etcd-io/etcd/pull/13519 ) flag to support incremental mirror.
2021-12-09 01:20:34 +03:00
- Add [`etcd --experimental-wait-cluster-ready-timeout` ](https://github.com/etcd-io/etcd/pull/13525 ) flag to wait for cluster to be ready before serving client requests.
2022-01-22 03:35:36 +03:00
- Add [v3 discovery ](https://github.com/etcd-io/etcd/pull/13635 ) to bootstrap a new etcd cluster.
2022-03-10 01:55:18 +03:00
- Add [field `storage` ](https://github.com/etcd-io/etcd/pull/13772 ) into the response body of endpoint `/version` .
2022-07-13 09:58:29 +03:00
- Add [`etcd --max-concurrent-streams` ](https://github.com/etcd-io/etcd/pull/14169 ) flag to configure the max concurrent streams each client can open at a time, and defaults to math.MaxUint32.
2022-08-10 11:24:27 +03:00
- Add [`etcd grpc-proxy --experimental-enable-grpc-logging` ](https://github.com/etcd-io/etcd/pull/14266 ) flag to logging all grpc requests and responses.
2021-10-23 02:36:59 +03:00
- Fix [non mutating requests pass through quotaKVServer when NOSPACE ](https://github.com/etcd-io/etcd/pull/13435 )
2021-11-13 01:34:33 +03:00
- Fix [exclude the same alarm type activated by multiple peers ](https://github.com/etcd-io/etcd/pull/13467 ).
2021-10-07 09:35:54 +03:00
- Fix [Provide a better liveness probe for when etcd runs as a Kubernetes pod ](https://github.com/etcd-io/etcd/pull/13399 )
2021-12-01 18:40:54 +03:00
- Fix [Lease checkpoints don't prevent to reset ttl on leader change ](https://github.com/etcd-io/etcd/pull/13508 ).
2021-11-25 00:16:50 +03:00
- Fix [assertion failed due to tx closed when recovering v3 backend from a snapshot db ](https://github.com/etcd-io/etcd/pull/13500 )
2021-12-26 19:26:33 +03:00
- Fix [A client can panic etcd by passing invalid utf-8 in the client-api-version header ](https://github.com/etcd-io/etcd/pull/13560 )
2021-12-22 06:07:08 +03:00
- Fix [etcd gateway doesn't format the endpoint of IPv6 address correctly ](https://github.com/etcd-io/etcd/pull/13551 )
2021-12-23 00:42:26 +03:00
- Fix [A client can cause a nil dereference in etcd by passing an invalid SortTarget ](https://github.com/etcd-io/etcd/pull/13555 )
2022-02-14 07:35:51 +03:00
- Fix [Grant lease with negative ID can possibly cause db out of sync ](https://github.com/etcd-io/etcd/pull/13676 )
2022-03-23 09:22:37 +03:00
- Fix [segmentation violation(SIGSEGV) error due to premature unlocking of watchableStore ](https://github.com/etcd-io/etcd/pull/13505 )
2022-03-31 21:23:45 +03:00
- Fix [inconsistent log format ](https://github.com/etcd-io/etcd/pull/13864 )
2022-04-09 00:34:24 +03:00
- Fix [Inconsistent revision and data occurs ](https://github.com/etcd-io/etcd/pull/13854 )
2022-02-12 03:13:48 +03:00
- Fix [Etcdserver is still in progress of processing LeaseGrantRequest when it receives a LeaseKeepAliveRequest on the same leaseID ](https://github.com/etcd-io/etcd/pull/13690 )
2022-04-12 11:31:26 +03:00
- Fix [consistent_index coming from snapshot is overwritten by the old local value ](https://github.com/etcd-io/etcd/pull/13930 )
2022-04-22 01:17:14 +03:00
- Fix [etcd panic on startup (auth enabled) ](https://github.com/etcd-io/etcd/pull/13942 )
2022-05-07 09:27:29 +03:00
- Fix [Defrag unsets backend options ](https://github.com/etcd-io/etcd/pull/13679 ).
2022-06-17 05:16:50 +03:00
- Fix [Restrict the max size of each WAL entry to the remaining size of the WAL file ](https://github.com/etcd-io/etcd/pull/14122 ).
2022-07-25 14:27:53 +03:00
- Fix [memberID equals zero in corruption alarm ](https://github.com/etcd-io/etcd/pull/14272 )
2021-10-23 02:36:59 +03:00
### tools/benchmark
- [Add etcd client autoSync flag ](https://github.com/etcd-io/etcd/pull/13416 )
2021-10-04 22:52:20 +03:00
### Metrics, Monitoring
See [List of metrics ](https://etcd.io/docs/latest/metrics/ ) for all metrics per release.
2021-11-16 01:18:14 +03:00
- Add [`etcd_disk_defrag_inflight` ](https://github.com/etcd-io/etcd/pull/13371 ).
2022-07-26 11:26:40 +03:00
- Add [`etcd_debugging_server_alarms` ](https://github.com/etcd-io/etcd/pull/14276 ).
2021-11-16 01:18:14 +03:00
2022-03-24 11:58:05 +03:00
### Go
- Compile with [Go 1.17+ ](https://golang.org/doc/devel/release.html#go1.17 )
2021-12-23 16:33:20 +03:00
### Other
- Use Distroless as base image to make the image less vulnerable and reduce image size.
2022-05-07 09:27:29 +03:00
- [Bump golang.org/x/crypto to latest version ](https://github.com/etcd-io/etcd/pull/13969 ) to address [CVE-2022-27191 ](https://github.com/advisories/GHSA-8c26-wmh5-6g9v ).
2021-12-23 16:33:20 +03:00
2021-11-16 01:18:14 +03:00
< hr >