{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/enzyme/issues/332","repository_url":"https://api.github.com/repos/airbnb/enzyme","labels_url":"https://api.github.com/repos/airbnb/enzyme/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/enzyme/issues/332/comments","events_url":"https://api.github.com/repos/airbnb/enzyme/issues/332/events","html_url":"https://github.com/airbnb/enzyme/pull/332","id":149319439,"number":332,"title":"prioritize `displayName` over `name`","user":{"login":"toddw","id":140000,"avatar_url":"https://avatars.githubusercontent.com/u/140000?v=3","gravatar_id":"","url":"https://api.github.com/users/toddw","html_url":"https://github.com/toddw","followers_url":"https://api.github.com/users/toddw/followers","following_url":"https://api.github.com/users/toddw/following{/other_user}","gists_url":"https://api.github.com/users/toddw/gists{/gist_id}","starred_url":"https://api.github.com/users/toddw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddw/subscriptions","organizations_url":"https://api.github.com/users/toddw/orgs","repos_url":"https://api.github.com/users/toddw/repos","events_url":"https://api.github.com/users/toddw/events{/privacy}","received_events_url":"https://api.github.com/users/toddw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/airbnb/enzyme/labels/BREAKING%20CHANGE","name":"BREAKING CHANGE","color":"e11d21"},{"url":"https://api.github.com/repos/airbnb/enzyme/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/airbnb/enzyme/labels/PATCH","name":"PATCH","color":"bfe5bf"},{"url":"https://api.github.com/repos/airbnb/enzyme/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-19T01:22:45Z","updated_at":"2016-04-21T16:04:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/airbnb/enzyme/pulls/332","html_url":"https://github.com/airbnb/enzyme/pull/332","diff_url":"https://github.com/airbnb/enzyme/pull/332.diff","patch_url":"https://github.com/airbnb/enzyme/pull/332.patch"},"body":"React provides the ability to override a component's display name by\r\nusing the `displayName` property. When `displayName` is provided it\r\nshould take precedence over `name`. Prior to this pull request,\r\n`displayName` would only ever be used if `name` is not present but it\r\nshould have been the other way around."},"comment":{"url":"https://api.github.com/repos/airbnb/enzyme/issues/comments/212988145","html_url":"https://github.com/airbnb/enzyme/pull/332#issuecomment-212988145","issue_url":"https://api.github.com/repos/airbnb/enzyme/issues/332","id":212988145,"user":{"login":"toddw","id":140000,"avatar_url":"https://avatars.githubusercontent.com/u/140000?v=3","gravatar_id":"","url":"https://api.github.com/users/toddw","html_url":"https://github.com/toddw","followers_url":"https://api.github.com/users/toddw/followers","following_url":"https://api.github.com/users/toddw/following{/other_user}","gists_url":"https://api.github.com/users/toddw/gists{/gist_id}","starred_url":"https://api.github.com/users/toddw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddw/subscriptions","organizations_url":"https://api.github.com/users/toddw/orgs","repos_url":"https://api.github.com/users/toddw/repos","events_url":"https://api.github.com/users/toddw/events{/privacy}","received_events_url":"https://api.github.com/users/toddw/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T16:04:37Z","updated_at":"2016-04-21T16:04:37Z","body":"Is there a separate release schedule for breaking changes vs non breaking bug fixes? If this is considered to be a breaking change, does that mean a longer wait before it is merged?\r\n\r\nIn my opinion, this is clearly a bug. If people have written tests to rely on the results of this bug, then it will break their tests. Updating their tests should be really easy but if their build environment is set up to get the latest minor or patch version of the library automatically, some people might get upset that their tests are now broken without them manually changing anything. As much as I want to get this in so I can fix my broken tests, I am sympathetic to the concern. When this bug was added, was that a major version change? I assume that would have broken tests in the same way.\r\n\r\nIf a major version change doesn't take any longer, then I think it is reasonable to bump the version."}}