mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
3.3 KiB
3.3 KiB
Previous change logs can be found at CHANGELOG-3.4.
v3.5.0 (TBD 2018-12)
See code changes and v3.5 upgrade guide for any breaking changes. Again, before running upgrades from any previous release, please make sure to read change logs below and v3.5 upgrade guide.
Breaking Changes
- gRPC gateway only supports
/v3endpoint.- Deprecated
/v3beta. curl -L http://localhost:2379/v3beta/kv/put -X POST -d '{"key": "Zm9v", "value": "YmFy"}'does work in v3.5. Usecurl -L http://localhost:2379/v3/kv/put -X POST -d '{"key": "Zm9v", "value": "YmFy"}'instead.
- Deprecated
etcd --log-outputflag has been deprecated. Useetcd --log-outputsinstead.etcd --logger=zap --log-outputs=stderris now the default.etcd --logger=capnslogflag has been deprecated.etcd --logger=zap --log-outputs=defaultflag value is not supported..- Instead, use
etcd --logger=zap --log-outputs=stderr. - Or, use
etcd --logger=zap --log-outputs=systemd/journalto send logs to the local systemd journal. - Previously, if etcd parent process ID (PPID) is 1 (e.g. run with systemd),
etcd --logger=capnslog --log-outputs=defaultredirects server logs to local systemd journal. And if write to journald fails, it writes toos.Stderras a fallback. - However, even with PPID 1, it can fail to dial systemd journal (e.g. run embedded etcd with Docker container). Then, every single log write will fail and fall back to
os.Stderr, which is inefficient. - To avoid this problem, systemd journal logging must be configured manually.
- Instead, use
etcd --log-outputs=stderris now the default.etcd --log-package-levelsflag forcapnsloghas been deprecated. Now,etcd --logger=zap --log-outputs=stderris the default.[CLIENT-URL]/config/local/logendpoint has been deprecated, as isetcd --log-package-levelsflag.curl http://127.0.0.1:2379/config/local/log -XPUT -d '{"Level":"DEBUG"}'won't work.- Please use
etcd --logger=zap --log-outputs=stderrinstead.
- Deprecated
etcd_debugging_mvcc_db_total_size_in_bytesPrometheus metric. Instead, useetcd_mvcc_db_total_size_in_bytes.
Metrics, Monitoring
See List of metrics for all metrics per release.
Note that any etcd_debugging_* metrics are experimental and subject to change.
- Deprecated
etcd_debugging_mvcc_db_total_size_in_bytesPrometheus metric. Instead, useetcd_mvcc_db_total_size_in_bytes.
gRPC gateway
- gRPC gateway only supports
/v3endpoint.- Deprecated
/v3beta. curl -L http://localhost:2379/v3beta/kv/put -X POST -d '{"key": "Zm9v", "value": "YmFy"}'does work in v3.5. Usecurl -L http://localhost:2379/v3/kv/put -X POST -d '{"key": "Zm9v", "value": "YmFy"}'instead.
- Deprecated