{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/24","id":58416304,"html_url":"https://github.com/AndrewKeig/express-validation/pull/24","diff_url":"https://github.com/AndrewKeig/express-validation/pull/24.diff","patch_url":"https://github.com/AndrewKeig/express-validation/pull/24.patch","issue_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/24","number":24,"state":"open","locked":false,"title":"0.5 release","user":{"login":"colthreepv","id":2657230,"avatar_url":"https://avatars.githubusercontent.com/u/2657230?v=3","gravatar_id":"","url":"https://api.github.com/users/colthreepv","html_url":"https://github.com/colthreepv","followers_url":"https://api.github.com/users/colthreepv/followers","following_url":"https://api.github.com/users/colthreepv/following{/other_user}","gists_url":"https://api.github.com/users/colthreepv/gists{/gist_id}","starred_url":"https://api.github.com/users/colthreepv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colthreepv/subscriptions","organizations_url":"https://api.github.com/users/colthreepv/orgs","repos_url":"https://api.github.com/users/colthreepv/repos","events_url":"https://api.github.com/users/colthreepv/events{/privacy}","received_events_url":"https://api.github.com/users/colthreepv/received_events","type":"User","site_admin":false},"body":"This is a complete review of the library, that's why it's in form of PR.\r\n\r\nThere are not many breaking changes in functionality, except for the fact that Joi parses the `req.<body|params|etc>` and returns an Object.\r\nI read the library again, updated lodash and many other things, some of those are subjective to my opinion, so I am here submitting it for an approval :)\r\n\r\nTests are fine, but I have:\r\n  - migrated from jshint to eslint\r\n  - split `ValidationError` to its own file\r\n  - rewrote parts of the library for better readability (subjective)\r\n  - streamlined some tests, they might be done without `supertest` in the future\r\n\r\nThe changelog in the README is missing, but it can be added, after the PR or while it's pending as well.","created_at":"2016-02-05T11:17:00Z","updated_at":"2016-02-05T11:17:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/24/commits","review_comments_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/24/comments","review_comment_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/24/comments","statuses_url":"https://api.github.com/repos/AndrewKeig/express-validation/statuses/f503684b8c8c17293f9f53fb84b7ec760783b8d6","head":{"label":"colthreepv:0.5.x","ref":"0.5.x","sha":"f503684b8c8c17293f9f53fb84b7ec760783b8d6","user":{"login":"colthreepv","id":2657230,"avatar_url":"https://avatars.githubusercontent.com/u/2657230?v=3","gravatar_id":"","url":"https://api.github.com/users/colthreepv","html_url":"https://github.com/colthreepv","followers_url":"https://api.github.com/users/colthreepv/followers","following_url":"https://api.github.com/users/colthreepv/following{/other_user}","gists_url":"https://api.github.com/users/colthreepv/gists{/gist_id}","starred_url":"https://api.github.com/users/colthreepv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colthreepv/subscriptions","organizations_url":"https://api.github.com/users/colthreepv/orgs","repos_url":"https://api.github.com/users/colthreepv/repos","events_url":"https://api.github.com/users/colthreepv/events{/privacy}","received_events_url":"https://api.github.com/users/colthreepv/received_events","type":"User","site_admin":false},"repo":{"id":33859481,"name":"express-validation","full_name":"colthreepv/express-validation","owner":{"login":"colthreepv","id":2657230,"avatar_url":"https://avatars.githubusercontent.com/u/2657230?v=3","gravatar_id":"","url":"https://api.github.com/users/colthreepv","html_url":"https://github.com/colthreepv","followers_url":"https://api.github.com/users/colthreepv/followers","following_url":"https://api.github.com/users/colthreepv/following{/other_user}","gists_url":"https://api.github.com/users/colthreepv/gists{/gist_id}","starred_url":"https://api.github.com/users/colthreepv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colthreepv/subscriptions","organizations_url":"https://api.github.com/users/colthreepv/orgs","repos_url":"https://api.github.com/users/colthreepv/repos","events_url":"https://api.github.com/users/colthreepv/events{/privacy}","received_events_url":"https://api.github.com/users/colthreepv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colthreepv/express-validation","description":"express-validation a middleware that validates the body, params, query, headers of a request and returns a 400 Bad request response if the validation fails.","fork":true,"url":"https://api.github.com/repos/colthreepv/express-validation","forks_url":"https://api.github.com/repos/colthreepv/express-validation/forks","keys_url":"https://api.github.com/repos/colthreepv/express-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colthreepv/express-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colthreepv/express-validation/teams","hooks_url":"https://api.github.com/repos/colthreepv/express-validation/hooks","issue_events_url":"https://api.github.com/repos/colthreepv/express-validation/issues/events{/number}","events_url":"https://api.github.com/repos/colthreepv/express-validation/events","assignees_url":"https://api.github.com/repos/colthreepv/express-validation/assignees{/user}","branches_url":"https://api.github.com/repos/colthreepv/express-validation/branches{/branch}","tags_url":"https://api.github.com/repos/colthreepv/express-validation/tags","blobs_url":"https://api.github.com/repos/colthreepv/express-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colthreepv/express-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colthreepv/express-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/colthreepv/express-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colthreepv/express-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/colthreepv/express-validation/languages","stargazers_url":"https://api.github.com/repos/colthreepv/express-validation/stargazers","contributors_url":"https://api.github.com/repos/colthreepv/express-validation/contributors","subscribers_url":"https://api.github.com/repos/colthreepv/express-validation/subscribers","subscription_url":"https://api.github.com/repos/colthreepv/express-validation/subscription","commits_url":"https://api.github.com/repos/colthreepv/express-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/colthreepv/express-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/colthreepv/express-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/colthreepv/express-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/colthreepv/express-validation/contents/{+path}","compare_url":"https://api.github.com/repos/colthreepv/express-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colthreepv/express-validation/merges","archive_url":"https://api.github.com/repos/colthreepv/express-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colthreepv/express-validation/downloads","issues_url":"https://api.github.com/repos/colthreepv/express-validation/issues{/number}","pulls_url":"https://api.github.com/repos/colthreepv/express-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/colthreepv/express-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/colthreepv/express-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colthreepv/express-validation/labels{/name}","releases_url":"https://api.github.com/repos/colthreepv/express-validation/releases{/id}","deployments_url":"https://api.github.com/repos/colthreepv/express-validation/deployments","created_at":"2015-04-13T09:24:12Z","updated_at":"2015-04-23T14:55:58Z","pushed_at":"2016-01-27T15:10:26Z","git_url":"git://github.com/colthreepv/express-validation.git","ssh_url":"git@github.com:colthreepv/express-validation.git","clone_url":"https://github.com/colthreepv/express-validation.git","svn_url":"https://github.com/colthreepv/express-validation","homepage":"","size":73,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"AndrewKeig:master","ref":"master","sha":"fb6335a17febc819be9ce5314b5e4287e92210f6","user":{"login":"AndrewKeig","id":62837,"avatar_url":"https://avatars.githubusercontent.com/u/62837?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewKeig","html_url":"https://github.com/AndrewKeig","followers_url":"https://api.github.com/users/AndrewKeig/followers","following_url":"https://api.github.com/users/AndrewKeig/following{/other_user}","gists_url":"https://api.github.com/users/AndrewKeig/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewKeig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewKeig/subscriptions","organizations_url":"https://api.github.com/users/AndrewKeig/orgs","repos_url":"https://api.github.com/users/AndrewKeig/repos","events_url":"https://api.github.com/users/AndrewKeig/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewKeig/received_events","type":"User","site_admin":false},"repo":{"id":16455030,"name":"express-validation","full_name":"AndrewKeig/express-validation","owner":{"login":"AndrewKeig","id":62837,"avatar_url":"https://avatars.githubusercontent.com/u/62837?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewKeig","html_url":"https://github.com/AndrewKeig","followers_url":"https://api.github.com/users/AndrewKeig/followers","following_url":"https://api.github.com/users/AndrewKeig/following{/other_user}","gists_url":"https://api.github.com/users/AndrewKeig/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewKeig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewKeig/subscriptions","organizations_url":"https://api.github.com/users/AndrewKeig/orgs","repos_url":"https://api.github.com/users/AndrewKeig/repos","events_url":"https://api.github.com/users/AndrewKeig/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewKeig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndrewKeig/express-validation","description":"express-validation a middleware that validates the body, params, query, headers of a request and returns a 400 Bad request response if the validation fails.","fork":false,"url":"https://api.github.com/repos/AndrewKeig/express-validation","forks_url":"https://api.github.com/repos/AndrewKeig/express-validation/forks","keys_url":"https://api.github.com/repos/AndrewKeig/express-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewKeig/express-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewKeig/express-validation/teams","hooks_url":"https://api.github.com/repos/AndrewKeig/express-validation/hooks","issue_events_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewKeig/express-validation/events","assignees_url":"https://api.github.com/repos/AndrewKeig/express-validation/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewKeig/express-validation/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewKeig/express-validation/tags","blobs_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewKeig/express-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewKeig/express-validation/languages","stargazers_url":"https://api.github.com/repos/AndrewKeig/express-validation/stargazers","contributors_url":"https://api.github.com/repos/AndrewKeig/express-validation/contributors","subscribers_url":"https://api.github.com/repos/AndrewKeig/express-validation/subscribers","subscription_url":"https://api.github.com/repos/AndrewKeig/express-validation/subscription","commits_url":"https://api.github.com/repos/AndrewKeig/express-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewKeig/express-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewKeig/express-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewKeig/express-validation/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewKeig/express-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewKeig/express-validation/merges","archive_url":"https://api.github.com/repos/AndrewKeig/express-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewKeig/express-validation/downloads","issues_url":"https://api.github.com/repos/AndrewKeig/express-validation/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewKeig/express-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewKeig/express-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewKeig/express-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewKeig/express-validation/labels{/name}","releases_url":"https://api.github.com/repos/AndrewKeig/express-validation/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewKeig/express-validation/deployments","created_at":"2014-02-02T13:30:09Z","updated_at":"2016-02-05T02:49:46Z","pushed_at":"2015-09-17T17:48:37Z","git_url":"git://github.com/AndrewKeig/express-validation.git","ssh_url":"git@github.com:AndrewKeig/express-validation.git","clone_url":"https://github.com/AndrewKeig/express-validation.git","svn_url":"https://github.com/AndrewKeig/express-validation","homepage":"","size":388,"stargazers_count":48,"watchers_count":48,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/24"},"html":{"href":"https://github.com/AndrewKeig/express-validation/pull/24"},"issue":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/issues/24"},"comments":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/AndrewKeig/express-validation/statuses/f503684b8c8c17293f9f53fb84b7ec760783b8d6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":317,"deletions":342,"changed_files":26}}