{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2334","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2334/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2334/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2334/events","html_url":"https://github.com/rust-lang/cargo/pull/2334","id":129922381,"number":2334,"title":"Metadata: Add changelog field","user":{"login":"dbrgn","id":105168,"avatar_url":"https://avatars.githubusercontent.com/u/105168?v=3","gravatar_id":"","url":"https://api.github.com/users/dbrgn","html_url":"https://github.com/dbrgn","followers_url":"https://api.github.com/users/dbrgn/followers","following_url":"https://api.github.com/users/dbrgn/following{/other_user}","gists_url":"https://api.github.com/users/dbrgn/gists{/gist_id}","starred_url":"https://api.github.com/users/dbrgn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbrgn/subscriptions","organizations_url":"https://api.github.com/users/dbrgn/orgs","repos_url":"https://api.github.com/users/dbrgn/repos","events_url":"https://api.github.com/users/dbrgn/events{/privacy}","received_events_url":"https://api.github.com/users/dbrgn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/cargo/labels/relnotes","name":"relnotes","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-30T01:02:26Z","updated_at":"2016-02-07T04:37:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/2334","html_url":"https://github.com/rust-lang/cargo/pull/2334","diff_url":"https://github.com/rust-lang/cargo/pull/2334.diff","patch_url":"https://github.com/rust-lang/cargo/pull/2334.patch"},"body":"Fix #2188.\r\n\r\nThis PR adds a \"changelog\" field to the crate metadata.\r\n\r\nThere are two ways this field could be used: With a file path (like the README) or with an URL (like the documentation).\r\n\r\nI think a changelog is more like documentation than like a README. It contains historic information about the crate. The changelog can be updated later on, if we send the file contents to crates.io these changes won't be integrated. Using an URL would show that it's a \"living document\".\r\n\r\nSending the file contents to crates.io might be interesting in the future, but it can still be added if there's a need for it."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/180945375","html_url":"https://github.com/rust-lang/cargo/pull/2334#issuecomment-180945375","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2334","id":180945375,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T04:37:46Z","updated_at":"2016-02-07T04:37:46Z","body":"Unfortunately we don't really have a URL to show. The field, if officially supported, probably wants to look like `changelog = \"CHANGELOG.md\"` except that means that Cargo will have to reconstruct a URL to find the changelog at (or render it on the server), both of which are relatively difficult"}}