{"action":"opened","number":420,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk_elements/pulls/420","id":111056845,"html_url":"https://github.com/alphagov/govuk_elements/pull/420","diff_url":"https://github.com/alphagov/govuk_elements/pull/420.diff","patch_url":"https://github.com/alphagov/govuk_elements/pull/420.patch","issue_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/420","number":420,"state":"open","locked":false,"title":"v3.0.0","user":{"login":"robinwhittleton","id":7414,"avatar_url":"https://avatars1.githubusercontent.com/u/7414?v=3","gravatar_id":"","url":"https://api.github.com/users/robinwhittleton","html_url":"https://github.com/robinwhittleton","followers_url":"https://api.github.com/users/robinwhittleton/followers","following_url":"https://api.github.com/users/robinwhittleton/following{/other_user}","gists_url":"https://api.github.com/users/robinwhittleton/gists{/gist_id}","starred_url":"https://api.github.com/users/robinwhittleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinwhittleton/subscriptions","organizations_url":"https://api.github.com/users/robinwhittleton/orgs","repos_url":"https://api.github.com/users/robinwhittleton/repos","events_url":"https://api.github.com/users/robinwhittleton/events{/privacy}","received_events_url":"https://api.github.com/users/robinwhittleton/received_events","type":"User","site_admin":false},"body":"- Breaking changes to form validation ([#PR 405](https://github.com/alphagov/govuk_elements/pull/405))\r\n\r\nThis adds two new classes: `.form-group-error` and `.form-control-error`, and removes the old `.error` class. This lets specific controls within a group be accurately marked as having errors. For example, this allows parts of a date entry to be marked rather than the whole section.\r\n\r\nTo upgrade, you’ll need to change any occurences of `.error` that were applied to form groups to be `.form-group-error`, and then add `.form-control-error` to the failing input inside.\r\n\r\n- Radio buttons and checkboxes have new markup that doesn’t need JavaScript ([PR #406](https://github.com/alphagov/govuk_elements/pull/406))\r\n\r\nPreviously the radio buttons and checkboxes relied on selection-buttons.js (from [govuk_frontend_toolkit](https://github.com/alphagov/govuk_frontend_toolkit)) to work. By reworking the markup (see [examples](govuk-elements.herokuapp.com/form-elements/#form-radio-buttons)) we’ve been able remove this requirement.\r\n\r\nTo upgrade, you’ll need to change your markup to match the new pattern. Once that has been done you’ll be able to stop including selection-buttons.js and remove [the `GOVUK.SelectionButtons` constructor](https://github.com/alphagov/govuk_frontend_toolkit/blob/master/docs/javascript.md#selection-buttons) from your JavaScript. The look and feel remains the same barring some tweaks to the focus weight. Accessibility and device compatibility remains the same as the previous version.\r\n\r\n- Add examples of phase tags used outside of phase banners ([PR #366](https://github.com/alphagov/govuk_elements/pull/366))\r\n- Fix invisible input content when changing colours ([PR #397](https://github.com/alphagov/govuk_elements/pull/397))\r\n- Recommend the use of `aria-current=\"page\"` for the last breadcrumb ([PR #418](https://github.com/alphagov/govuk_elements/pull/418))","created_at":"2017-03-16T12:30:17Z","updated_at":"2017-03-16T12:30:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk_elements/pulls/420/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk_elements/pulls/420/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk_elements/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/420/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk_elements/statuses/6db82c8b257c16146f0e26655697c08851580f63","head":{"label":"alphagov:version_bump","ref":"version_bump","sha":"6db82c8b257c16146f0e26655697c08851580f63","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":17901778,"name":"govuk_elements","full_name":"alphagov/govuk_elements","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk_elements","description":"GOV.UK Elements form the building blocks from which all pages are made.","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_elements","forks_url":"https://api.github.com/repos/alphagov/govuk_elements/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_elements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_elements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_elements/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_elements/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_elements/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_elements/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_elements/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_elements/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_elements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_elements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_elements/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_elements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_elements/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_elements/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_elements/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_elements/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_elements/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_elements/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_elements/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_elements/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_elements/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_elements/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_elements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_elements/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_elements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_elements/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_elements/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_elements/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_elements/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_elements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_elements/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_elements/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk_elements/deployments","created_at":"2014-03-19T11:29:16Z","updated_at":"2017-03-15T11:49:16Z","pushed_at":"2017-03-16T12:29:47Z","git_url":"git://github.com/alphagov/govuk_elements.git","ssh_url":"git@github.com:alphagov/govuk_elements.git","clone_url":"https://github.com/alphagov/govuk_elements.git","svn_url":"https://github.com/alphagov/govuk_elements","homepage":"https://govuk-elements.herokuapp.com/","size":16862,"stargazers_count":158,"watchers_count":158,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":35,"forks":64,"open_issues":35,"watchers":158,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"a8d9f7e6778e6bd31f73bab97fecb5cc69db000f","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":17901778,"name":"govuk_elements","full_name":"alphagov/govuk_elements","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk_elements","description":"GOV.UK Elements form the building blocks from which all pages are made.","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_elements","forks_url":"https://api.github.com/repos/alphagov/govuk_elements/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_elements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_elements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_elements/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_elements/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_elements/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_elements/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_elements/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_elements/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_elements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_elements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_elements/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_elements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_elements/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_elements/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_elements/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_elements/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_elements/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_elements/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_elements/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_elements/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_elements/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_elements/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_elements/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_elements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_elements/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_elements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_elements/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_elements/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_elements/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_elements/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_elements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_elements/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_elements/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk_elements/deployments","created_at":"2014-03-19T11:29:16Z","updated_at":"2017-03-15T11:49:16Z","pushed_at":"2017-03-16T12:29:47Z","git_url":"git://github.com/alphagov/govuk_elements.git","ssh_url":"git@github.com:alphagov/govuk_elements.git","clone_url":"https://github.com/alphagov/govuk_elements.git","svn_url":"https://github.com/alphagov/govuk_elements","homepage":"https://govuk-elements.herokuapp.com/","size":16862,"stargazers_count":158,"watchers_count":158,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":35,"forks":64,"open_issues":35,"watchers":158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk_elements/pulls/420"},"html":{"href":"https://github.com/alphagov/govuk_elements/pull/420"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk_elements/issues/420"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk_elements/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk_elements/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk_elements/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk_elements/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk_elements/statuses/6db82c8b257c16146f0e26655697c08851580f63"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":20,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"robinwhittleton"}}