{"action":"created","issue":{"url":"https://api.github.com/repos/square/wire/issues/302","labels_url":"https://api.github.com/repos/square/wire/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/square/wire/issues/302/comments","events_url":"https://api.github.com/repos/square/wire/issues/302/events","html_url":"https://github.com/square/wire/issues/302","id":99746901,"number":302,"title":"Incompatible public classes without major version change","user":{"login":"gvaish","id":266251,"avatar_url":"https://avatars.githubusercontent.com/u/266251?v=3","gravatar_id":"","url":"https://api.github.com/users/gvaish","html_url":"https://github.com/gvaish","followers_url":"https://api.github.com/users/gvaish/followers","following_url":"https://api.github.com/users/gvaish/following{/other_user}","gists_url":"https://api.github.com/users/gvaish/gists{/gist_id}","starred_url":"https://api.github.com/users/gvaish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvaish/subscriptions","organizations_url":"https://api.github.com/users/gvaish/orgs","repos_url":"https://api.github.com/users/gvaish/repos","events_url":"https://api.github.com/users/gvaish/events{/privacy}","received_events_url":"https://api.github.com/users/gvaish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-07T23:25:05Z","updated_at":"2015-08-07T23:28:27Z","closed_at":null,"body":"This breaks the definition of the version number.\r\n\r\n#### Problem\r\n\r\nThe major version has remained the same but public interface has changed such that it is incompatible.\r\n\r\nv1.3.1: https://github.com/square/wire/blob/wire-1.3.1/wire-runtime/src/main/java/com/squareup/wire/Message.java#L151-L155\r\nv1.8.0: https://github.com/square/wire/blob/wire-1.8.0/wire-runtime/src/main/java/com/squareup/wire/Message.java#L154-L164\r\n\r\n#### Questions\r\n\r\n* Can we bring back the `Message(Builder)` ctor?\r\n\r\n#### Suggestion:\r\n\r\n* Introduce the old constructor\r\n\r\n```java\r\nprotected Message(Builder b) {\r\n   this();\r\n   setBuilder(b);\r\n}\r\n```\r\n\r\nThis makes `1.8.1` (or whatever) compatible with all the older versions `1.x`\r\n"},"comment":{"url":"https://api.github.com/repos/square/wire/issues/comments/128858319","html_url":"https://github.com/square/wire/issues/302#issuecomment-128858319","issue_url":"https://api.github.com/repos/square/wire/issues/302","id":128858319,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T23:28:27Z","updated_at":"2015-08-07T23:28:27Z","body":"What were you using it for?"}}