{"action":"closed","number":29,"pull_request":{"url":"https://api.github.com/repos/mapbox/navigation.js/pulls/29","id":68782310,"html_url":"https://github.com/mapbox/navigation.js/pull/29","diff_url":"https://github.com/mapbox/navigation.js/pull/29.diff","patch_url":"https://github.com/mapbox/navigation.js/pull/29.patch","issue_url":"https://api.github.com/repos/mapbox/navigation.js/issues/29","number":29,"state":"closed","locked":false,"title":"Upgrade to v5","user":{"login":"bsudekum","id":1058624,"avatar_url":"https://avatars.githubusercontent.com/u/1058624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsudekum","html_url":"https://github.com/bsudekum","followers_url":"https://api.github.com/users/bsudekum/followers","following_url":"https://api.github.com/users/bsudekum/following{/other_user}","gists_url":"https://api.github.com/users/bsudekum/gists{/gist_id}","starred_url":"https://api.github.com/users/bsudekum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsudekum/subscriptions","organizations_url":"https://api.github.com/users/bsudekum/orgs","repos_url":"https://api.github.com/users/bsudekum/repos","events_url":"https://api.github.com/users/bsudekum/events{/privacy}","received_events_url":"https://api.github.com/users/bsudekum/received_events","type":"User","site_admin":false},"body":"This:\r\n\r\n* upgrades to mapbox directions v5 internally\r\n* allows for both geometries=polyline and geometries=geojson\r\n* changes `findNextStep` to `getCurrentStep` \r\n* adds a third optional argument `userBearing` which can be used to check that the user's bearing is within certain bounds of the steps exit bearing.\r\n* greatly simplifies the demo\r\n\r\n/cc @emilymdubois @1ec5 ","created_at":"2016-05-03T21:59:13Z","updated_at":"2016-05-04T17:38:39Z","closed_at":"2016-05-04T17:38:39Z","merged_at":"2016-05-04T17:38:39Z","merge_commit_sha":"a423ede1d0a0338dd235a3460211968e587c07ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/navigation.js/pulls/29/commits","review_comments_url":"https://api.github.com/repos/mapbox/navigation.js/pulls/29/comments","review_comment_url":"https://api.github.com/repos/mapbox/navigation.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/navigation.js/issues/29/comments","statuses_url":"https://api.github.com/repos/mapbox/navigation.js/statuses/22e33df8d8c2f08d0ac13bb06603a72605beb49a","head":{"label":"mapbox:v5","ref":"v5","sha":"22e33df8d8c2f08d0ac13bb06603a72605beb49a","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":50203499,"name":"navigation.js","full_name":"mapbox/navigation.js","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/navigation.js","description":"Utility for monitoring a user location in relation to a route","fork":false,"url":"https://api.github.com/repos/mapbox/navigation.js","forks_url":"https://api.github.com/repos/mapbox/navigation.js/forks","keys_url":"https://api.github.com/repos/mapbox/navigation.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/navigation.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/navigation.js/teams","hooks_url":"https://api.github.com/repos/mapbox/navigation.js/hooks","issue_events_url":"https://api.github.com/repos/mapbox/navigation.js/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/navigation.js/events","assignees_url":"https://api.github.com/repos/mapbox/navigation.js/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/navigation.js/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/navigation.js/tags","blobs_url":"https://api.github.com/repos/mapbox/navigation.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/navigation.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/navigation.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/navigation.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/navigation.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/navigation.js/languages","stargazers_url":"https://api.github.com/repos/mapbox/navigation.js/stargazers","contributors_url":"https://api.github.com/repos/mapbox/navigation.js/contributors","subscribers_url":"https://api.github.com/repos/mapbox/navigation.js/subscribers","subscription_url":"https://api.github.com/repos/mapbox/navigation.js/subscription","commits_url":"https://api.github.com/repos/mapbox/navigation.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/navigation.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/navigation.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/navigation.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/navigation.js/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/navigation.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/navigation.js/merges","archive_url":"https://api.github.com/repos/mapbox/navigation.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/navigation.js/downloads","issues_url":"https://api.github.com/repos/mapbox/navigation.js/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/navigation.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/navigation.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/navigation.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/navigation.js/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/navigation.js/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/navigation.js/deployments","created_at":"2016-01-22T19:40:31Z","updated_at":"2016-04-19T15:35:01Z","pushed_at":"2016-05-04T17:38:39Z","git_url":"git://github.com/mapbox/navigation.js.git","ssh_url":"git@github.com:mapbox/navigation.js.git","clone_url":"https://github.com/mapbox/navigation.js.git","svn_url":"https://github.com/mapbox/navigation.js","homepage":"","size":2909,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":25,"default_branch":"mb-pages"}},"base":{"label":"mapbox:mb-pages","ref":"mb-pages","sha":"569fc6a91b3795d4f7ce6462d5db732c2eb11967","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":50203499,"name":"navigation.js","full_name":"mapbox/navigation.js","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/navigation.js","description":"Utility for monitoring a user location in relation to a route","fork":false,"url":"https://api.github.com/repos/mapbox/navigation.js","forks_url":"https://api.github.com/repos/mapbox/navigation.js/forks","keys_url":"https://api.github.com/repos/mapbox/navigation.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/navigation.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/navigation.js/teams","hooks_url":"https://api.github.com/repos/mapbox/navigation.js/hooks","issue_events_url":"https://api.github.com/repos/mapbox/navigation.js/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/navigation.js/events","assignees_url":"https://api.github.com/repos/mapbox/navigation.js/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/navigation.js/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/navigation.js/tags","blobs_url":"https://api.github.com/repos/mapbox/navigation.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/navigation.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/navigation.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/navigation.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/navigation.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/navigation.js/languages","stargazers_url":"https://api.github.com/repos/mapbox/navigation.js/stargazers","contributors_url":"https://api.github.com/repos/mapbox/navigation.js/contributors","subscribers_url":"https://api.github.com/repos/mapbox/navigation.js/subscribers","subscription_url":"https://api.github.com/repos/mapbox/navigation.js/subscription","commits_url":"https://api.github.com/repos/mapbox/navigation.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/navigation.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/navigation.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/navigation.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/navigation.js/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/navigation.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/navigation.js/merges","archive_url":"https://api.github.com/repos/mapbox/navigation.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/navigation.js/downloads","issues_url":"https://api.github.com/repos/mapbox/navigation.js/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/navigation.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/navigation.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/navigation.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/navigation.js/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/navigation.js/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/navigation.js/deployments","created_at":"2016-01-22T19:40:31Z","updated_at":"2016-04-19T15:35:01Z","pushed_at":"2016-05-04T17:38:39Z","git_url":"git://github.com/mapbox/navigation.js.git","ssh_url":"git@github.com:mapbox/navigation.js.git","clone_url":"https://github.com/mapbox/navigation.js.git","svn_url":"https://github.com/mapbox/navigation.js","homepage":"","size":2909,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":25,"default_branch":"mb-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/navigation.js/pulls/29"},"html":{"href":"https://github.com/mapbox/navigation.js/pull/29"},"issue":{"href":"https://api.github.com/repos/mapbox/navigation.js/issues/29"},"comments":{"href":"https://api.github.com/repos/mapbox/navigation.js/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/navigation.js/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/navigation.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/navigation.js/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/navigation.js/statuses/22e33df8d8c2f08d0ac13bb06603a72605beb49a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bsudekum","id":1058624,"avatar_url":"https://avatars.githubusercontent.com/u/1058624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsudekum","html_url":"https://github.com/bsudekum","followers_url":"https://api.github.com/users/bsudekum/followers","following_url":"https://api.github.com/users/bsudekum/following{/other_user}","gists_url":"https://api.github.com/users/bsudekum/gists{/gist_id}","starred_url":"https://api.github.com/users/bsudekum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsudekum/subscriptions","organizations_url":"https://api.github.com/users/bsudekum/orgs","repos_url":"https://api.github.com/users/bsudekum/repos","events_url":"https://api.github.com/users/bsudekum/events{/privacy}","received_events_url":"https://api.github.com/users/bsudekum/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":225,"deletions":172,"changed_files":13}}