Skip to content

v0.2.0-rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
@philips philips released this 06 Dec 18:32

The major changes in this release are some adjustments to the v2 response format to improve usability for clients, a new lock module and the usual set of bug fixes.

etcd

  • etcd: mod/lock has been merged into the API, docs forthcoming
  • etcd: Based on feedback from a number of people we have a simpler response format in the v2 API on master. go-etcd and etcdctl master have been updated too.
$ curl -L http://127.0.0.1:4001/v2/keys/?recursive=true
{
    "action": "get",
    "node": {
        "dir": true,
        "key": "/",
        "nodes": [
            {
                "createdIndex": 2,
                "dir": true,
                "key": "/foo_dir",
                "modifiedIndex": 2,
                "nodes": [
                    {
                        "createdIndex": 2,
                        "key": "/foo_dir/foo",
                        "modifiedIndex": 2,
                        "value": "bar"
                    }
                ]
            }
        ]
    }
}

etcdctl

  • etcdctl: exec-watch tool added to exec a script whenever a key changes