1.2 KiB
1.2 KiB
See this more of breaking change wishlists.
v4.0.0 (TBD)
See code changes and v4.0 upgrade guide for any breaking changes.
Breaking Changes
- Secure etcd by default.
- Change
/health
endpoint output.- Previously,
{"health":"true"}
. - Now,
{"health":true}
. - Breaks Kubernetes
kubectl get componentstatuses
command.
- Previously,
- Deprecate v2 storage backend.
- v2 API is still supported via v2 emulation.
clientv3.Client.KeepAlive(ctx context.Context, id LeaseID) (<-chan *LeaseKeepAliveResponse, error)
is nowclientv4.Client.KeepAlive(ctx context.Context, id LeaseID) <-chan *LeaseKeepAliveResponse
.- Similar to
Watch
,KeepAlive
does not return errors. - If there's an unknown server error, kill all open channels and create a new stream on the next
KeepAlive
call.
- Similar to
- Rename
github.com/coreos/client
togithub.com/coreos/clientv2
.