{"action":"closed","number":8557,"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/8557","id":69423686,"html_url":"https://github.com/angular/angular/pull/8557","diff_url":"https://github.com/angular/angular/pull/8557.diff","patch_url":"https://github.com/angular/angular/pull/8557.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/8557","number":8557,"state":"closed","locked":false,"title":"feat(core/linker): add SimpleChanges interface to lifecycle_hooks","user":{"login":"wardbell","id":129061,"avatar_url":"https://avatars.githubusercontent.com/u/129061?v=3","gravatar_id":"","url":"https://api.github.com/users/wardbell","html_url":"https://github.com/wardbell","followers_url":"https://api.github.com/users/wardbell/followers","following_url":"https://api.github.com/users/wardbell/following{/other_user}","gists_url":"https://api.github.com/users/wardbell/gists{/gist_id}","starred_url":"https://api.github.com/users/wardbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardbell/subscriptions","organizations_url":"https://api.github.com/users/wardbell/orgs","repos_url":"https://api.github.com/users/wardbell/repos","events_url":"https://api.github.com/users/wardbell/events{/privacy}","received_events_url":"https://api.github.com/users/wardbell/received_events","type":"User","site_admin":false},"body":"* **Please check if the PR fulfills these requirements**\r\n- [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit-message-format\r\n- [ ] Tests for the changes have been added (for bug fixes / features) - _none needed?_\r\n- [ ] Docs have been added / updated (for bug fixes / features) - _api docs should autoupdate; regular docs await approval of this change._\r\n\r\n\r\n* **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)\r\nAdds the clarifying TypeScript interface, `SimpleChanges`\r\n\r\n\r\n* **What is the current behavior?** (You can also link to an open issue here)\r\nMany people, especially those new to TypeScript, are confused by the current type of the `changes` parameter - `{[propName: string]: SimpleChange}`. It's annoying to type and read even if you know immediately what it means. The `SimpleChanges` interface makes for a more compact and easy to understand syntax.\r\n\r\n\r\n* **What is the new behavior (if this is a feature change)?**\r\n\r\n\r\n\r\n* **Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?)\r\nNot a breaking change. Emits no code. \r\n\r\n\r\n* **Other information**:\r\n\r\n","created_at":"2016-05-09T22:48:08Z","updated_at":"2016-05-23T23:16:54Z","closed_at":"2016-05-23T23:16:54Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/8557/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/8557/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/8557/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/c4b6c45891dfac7a4ab09f6e9b1bd1656434b064","head":{"label":"wardbell:add-simplechanges-type","ref":"add-simplechanges-type","sha":"c4b6c45891dfac7a4ab09f6e9b1bd1656434b064","user":{"login":"wardbell","id":129061,"avatar_url":"https://avatars.githubusercontent.com/u/129061?v=3","gravatar_id":"","url":"https://api.github.com/users/wardbell","html_url":"https://github.com/wardbell","followers_url":"https://api.github.com/users/wardbell/followers","following_url":"https://api.github.com/users/wardbell/following{/other_user}","gists_url":"https://api.github.com/users/wardbell/gists{/gist_id}","starred_url":"https://api.github.com/users/wardbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardbell/subscriptions","organizations_url":"https://api.github.com/users/wardbell/orgs","repos_url":"https://api.github.com/users/wardbell/repos","events_url":"https://api.github.com/users/wardbell/events{/privacy}","received_events_url":"https://api.github.com/users/wardbell/received_events","type":"User","site_admin":false},"repo":{"id":47753963,"name":"angular","full_name":"wardbell/angular","owner":{"login":"wardbell","id":129061,"avatar_url":"https://avatars.githubusercontent.com/u/129061?v=3","gravatar_id":"","url":"https://api.github.com/users/wardbell","html_url":"https://github.com/wardbell","followers_url":"https://api.github.com/users/wardbell/followers","following_url":"https://api.github.com/users/wardbell/following{/other_user}","gists_url":"https://api.github.com/users/wardbell/gists{/gist_id}","starred_url":"https://api.github.com/users/wardbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardbell/subscriptions","organizations_url":"https://api.github.com/users/wardbell/orgs","repos_url":"https://api.github.com/users/wardbell/repos","events_url":"https://api.github.com/users/wardbell/events{/privacy}","received_events_url":"https://api.github.com/users/wardbell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wardbell/angular","description":"","fork":true,"url":"https://api.github.com/repos/wardbell/angular","forks_url":"https://api.github.com/repos/wardbell/angular/forks","keys_url":"https://api.github.com/repos/wardbell/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wardbell/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wardbell/angular/teams","hooks_url":"https://api.github.com/repos/wardbell/angular/hooks","issue_events_url":"https://api.github.com/repos/wardbell/angular/issues/events{/number}","events_url":"https://api.github.com/repos/wardbell/angular/events","assignees_url":"https://api.github.com/repos/wardbell/angular/assignees{/user}","branches_url":"https://api.github.com/repos/wardbell/angular/branches{/branch}","tags_url":"https://api.github.com/repos/wardbell/angular/tags","blobs_url":"https://api.github.com/repos/wardbell/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wardbell/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wardbell/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/wardbell/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wardbell/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/wardbell/angular/languages","stargazers_url":"https://api.github.com/repos/wardbell/angular/stargazers","contributors_url":"https://api.github.com/repos/wardbell/angular/contributors","subscribers_url":"https://api.github.com/repos/wardbell/angular/subscribers","subscription_url":"https://api.github.com/repos/wardbell/angular/subscription","commits_url":"https://api.github.com/repos/wardbell/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/wardbell/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/wardbell/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/wardbell/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/wardbell/angular/contents/{+path}","compare_url":"https://api.github.com/repos/wardbell/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wardbell/angular/merges","archive_url":"https://api.github.com/repos/wardbell/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wardbell/angular/downloads","issues_url":"https://api.github.com/repos/wardbell/angular/issues{/number}","pulls_url":"https://api.github.com/repos/wardbell/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/wardbell/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/wardbell/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wardbell/angular/labels{/name}","releases_url":"https://api.github.com/repos/wardbell/angular/releases{/id}","deployments_url":"https://api.github.com/repos/wardbell/angular/deployments","created_at":"2015-12-10T10:12:02Z","updated_at":"2015-12-10T10:12:07Z","pushed_at":"2016-05-09T22:47:14Z","git_url":"git://github.com/wardbell/angular.git","ssh_url":"git@github.com:wardbell/angular.git","clone_url":"https://github.com/wardbell/angular.git","svn_url":"https://github.com/wardbell/angular","homepage":"https://angular.io","size":63195,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"9fbafba993207cba3e23f050f4740fe9a0647d49","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular/deployments","created_at":"2014-09-18T16:12:01Z","updated_at":"2016-05-23T22:36:55Z","pushed_at":"2016-05-23T23:16:43Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":"https://angular.io","size":602158,"stargazers_count":12159,"watchers_count":12159,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3171,"mirror_url":null,"open_issues_count":1605,"forks":3171,"open_issues":1605,"watchers":12159,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/8557"},"html":{"href":"https://github.com/angular/angular/pull/8557"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/8557"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/8557/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/8557/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/8557/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/c4b6c45891dfac7a4ab09f6e9b1bd1656434b064"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":17,"changed_files":9}}
{"actor":{"display_login":"mhevery"}}