{"action":"closed","number":460,"pull_request":{"url":"https://api.github.com/repos/koajs/koa/pulls/460","id":40102092,"html_url":"https://github.com/koajs/koa/pull/460","diff_url":"https://github.com/koajs/koa/pull/460.diff","patch_url":"https://github.com/koajs/koa/pull/460.patch","issue_url":"https://api.github.com/repos/koajs/koa/issues/460","number":460,"state":"closed","locked":false,"title":"Clarify precondition for freshness check","user":{"login":"mking","id":489866,"avatar_url":"https://avatars.githubusercontent.com/u/489866?v=3","gravatar_id":"","url":"https://api.github.com/users/mking","html_url":"https://github.com/mking","followers_url":"https://api.github.com/users/mking/followers","following_url":"https://api.github.com/users/mking/following{/other_user}","gists_url":"https://api.github.com/users/mking/gists{/gist_id}","starred_url":"https://api.github.com/users/mking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mking/subscriptions","organizations_url":"https://api.github.com/users/mking/orgs","repos_url":"https://api.github.com/users/mking/repos","events_url":"https://api.github.com/users/mking/events{/privacy}","received_events_url":"https://api.github.com/users/mking/received_events","type":"User","site_admin":false},"body":"I ran into the issue from #294 and thought it was a bug since fresh was always returning false. I think it's fair that, at the very least, the docs are not completely clear on how to use `this.fresh`.","created_at":"2015-07-16T07:37:54Z","updated_at":"2015-07-16T14:27:48Z","closed_at":"2015-07-16T14:27:48Z","merged_at":"2015-07-16T14:27:48Z","merge_commit_sha":"dc13aabb0ce138b74d7bd2b5533896d12977f070","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/koajs/koa/pulls/460/commits","review_comments_url":"https://api.github.com/repos/koajs/koa/pulls/460/comments","review_comment_url":"https://api.github.com/repos/koajs/koa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koajs/koa/issues/460/comments","statuses_url":"https://api.github.com/repos/koajs/koa/statuses/05b591291273f7f4da65616dddab59f42eaaf2a4","head":{"label":"mking:patch-1","ref":"patch-1","sha":"05b591291273f7f4da65616dddab59f42eaaf2a4","user":{"login":"mking","id":489866,"avatar_url":"https://avatars.githubusercontent.com/u/489866?v=3","gravatar_id":"","url":"https://api.github.com/users/mking","html_url":"https://github.com/mking","followers_url":"https://api.github.com/users/mking/followers","following_url":"https://api.github.com/users/mking/following{/other_user}","gists_url":"https://api.github.com/users/mking/gists{/gist_id}","starred_url":"https://api.github.com/users/mking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mking/subscriptions","organizations_url":"https://api.github.com/users/mking/orgs","repos_url":"https://api.github.com/users/mking/repos","events_url":"https://api.github.com/users/mking/events{/privacy}","received_events_url":"https://api.github.com/users/mking/received_events","type":"User","site_admin":false},"repo":{"id":39183340,"name":"koa","full_name":"mking/koa","owner":{"login":"mking","id":489866,"avatar_url":"https://avatars.githubusercontent.com/u/489866?v=3","gravatar_id":"","url":"https://api.github.com/users/mking","html_url":"https://github.com/mking","followers_url":"https://api.github.com/users/mking/followers","following_url":"https://api.github.com/users/mking/following{/other_user}","gists_url":"https://api.github.com/users/mking/gists{/gist_id}","starred_url":"https://api.github.com/users/mking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mking/subscriptions","organizations_url":"https://api.github.com/users/mking/orgs","repos_url":"https://api.github.com/users/mking/repos","events_url":"https://api.github.com/users/mking/events{/privacy}","received_events_url":"https://api.github.com/users/mking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mking/koa","description":"Expressive middleware for node.js using generators","fork":true,"url":"https://api.github.com/repos/mking/koa","forks_url":"https://api.github.com/repos/mking/koa/forks","keys_url":"https://api.github.com/repos/mking/koa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mking/koa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mking/koa/teams","hooks_url":"https://api.github.com/repos/mking/koa/hooks","issue_events_url":"https://api.github.com/repos/mking/koa/issues/events{/number}","events_url":"https://api.github.com/repos/mking/koa/events","assignees_url":"https://api.github.com/repos/mking/koa/assignees{/user}","branches_url":"https://api.github.com/repos/mking/koa/branches{/branch}","tags_url":"https://api.github.com/repos/mking/koa/tags","blobs_url":"https://api.github.com/repos/mking/koa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mking/koa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mking/koa/git/refs{/sha}","trees_url":"https://api.github.com/repos/mking/koa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mking/koa/statuses/{sha}","languages_url":"https://api.github.com/repos/mking/koa/languages","stargazers_url":"https://api.github.com/repos/mking/koa/stargazers","contributors_url":"https://api.github.com/repos/mking/koa/contributors","subscribers_url":"https://api.github.com/repos/mking/koa/subscribers","subscription_url":"https://api.github.com/repos/mking/koa/subscription","commits_url":"https://api.github.com/repos/mking/koa/commits{/sha}","git_commits_url":"https://api.github.com/repos/mking/koa/git/commits{/sha}","comments_url":"https://api.github.com/repos/mking/koa/comments{/number}","issue_comment_url":"https://api.github.com/repos/mking/koa/issues/comments{/number}","contents_url":"https://api.github.com/repos/mking/koa/contents/{+path}","compare_url":"https://api.github.com/repos/mking/koa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mking/koa/merges","archive_url":"https://api.github.com/repos/mking/koa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mking/koa/downloads","issues_url":"https://api.github.com/repos/mking/koa/issues{/number}","pulls_url":"https://api.github.com/repos/mking/koa/pulls{/number}","milestones_url":"https://api.github.com/repos/mking/koa/milestones{/number}","notifications_url":"https://api.github.com/repos/mking/koa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mking/koa/labels{/name}","releases_url":"https://api.github.com/repos/mking/koa/releases{/id}","created_at":"2015-07-16T07:35:21Z","updated_at":"2015-07-16T07:35:22Z","pushed_at":"2015-07-16T07:37:41Z","git_url":"git://github.com/mking/koa.git","ssh_url":"git@github.com:mking/koa.git","clone_url":"https://github.com/mking/koa.git","svn_url":"https://github.com/mking/koa","homepage":"http://koajs.com","size":4315,"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":"koajs:master","ref":"master","sha":"a8689e4e419e55b10495a57356e7bdda31787aad","user":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"repo":{"id":11551538,"name":"koa","full_name":"koajs/koa","owner":{"login":"koajs","id":5055057,"avatar_url":"https://avatars.githubusercontent.com/u/5055057?v=3","gravatar_id":"","url":"https://api.github.com/users/koajs","html_url":"https://github.com/koajs","followers_url":"https://api.github.com/users/koajs/followers","following_url":"https://api.github.com/users/koajs/following{/other_user}","gists_url":"https://api.github.com/users/koajs/gists{/gist_id}","starred_url":"https://api.github.com/users/koajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koajs/subscriptions","organizations_url":"https://api.github.com/users/koajs/orgs","repos_url":"https://api.github.com/users/koajs/repos","events_url":"https://api.github.com/users/koajs/events{/privacy}","received_events_url":"https://api.github.com/users/koajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koajs/koa","description":"Expressive middleware for node.js using generators","fork":false,"url":"https://api.github.com/repos/koajs/koa","forks_url":"https://api.github.com/repos/koajs/koa/forks","keys_url":"https://api.github.com/repos/koajs/koa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koajs/koa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koajs/koa/teams","hooks_url":"https://api.github.com/repos/koajs/koa/hooks","issue_events_url":"https://api.github.com/repos/koajs/koa/issues/events{/number}","events_url":"https://api.github.com/repos/koajs/koa/events","assignees_url":"https://api.github.com/repos/koajs/koa/assignees{/user}","branches_url":"https://api.github.com/repos/koajs/koa/branches{/branch}","tags_url":"https://api.github.com/repos/koajs/koa/tags","blobs_url":"https://api.github.com/repos/koajs/koa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koajs/koa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koajs/koa/git/refs{/sha}","trees_url":"https://api.github.com/repos/koajs/koa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koajs/koa/statuses/{sha}","languages_url":"https://api.github.com/repos/koajs/koa/languages","stargazers_url":"https://api.github.com/repos/koajs/koa/stargazers","contributors_url":"https://api.github.com/repos/koajs/koa/contributors","subscribers_url":"https://api.github.com/repos/koajs/koa/subscribers","subscription_url":"https://api.github.com/repos/koajs/koa/subscription","commits_url":"https://api.github.com/repos/koajs/koa/commits{/sha}","git_commits_url":"https://api.github.com/repos/koajs/koa/git/commits{/sha}","comments_url":"https://api.github.com/repos/koajs/koa/comments{/number}","issue_comment_url":"https://api.github.com/repos/koajs/koa/issues/comments{/number}","contents_url":"https://api.github.com/repos/koajs/koa/contents/{+path}","compare_url":"https://api.github.com/repos/koajs/koa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koajs/koa/merges","archive_url":"https://api.github.com/repos/koajs/koa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koajs/koa/downloads","issues_url":"https://api.github.com/repos/koajs/koa/issues{/number}","pulls_url":"https://api.github.com/repos/koajs/koa/pulls{/number}","milestones_url":"https://api.github.com/repos/koajs/koa/milestones{/number}","notifications_url":"https://api.github.com/repos/koajs/koa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koajs/koa/labels{/name}","releases_url":"https://api.github.com/repos/koajs/koa/releases{/id}","created_at":"2013-07-20T18:53:45Z","updated_at":"2015-07-16T12:59:35Z","pushed_at":"2015-07-16T14:27:48Z","git_url":"git://github.com/koajs/koa.git","ssh_url":"git@github.com:koajs/koa.git","clone_url":"https://github.com/koajs/koa.git","svn_url":"https://github.com/koajs/koa","homepage":"http://koajs.com","size":4315,"stargazers_count":6583,"watchers_count":6583,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":487,"mirror_url":null,"open_issues_count":12,"forks":487,"open_issues":12,"watchers":6583,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koajs/koa/pulls/460"},"html":{"href":"https://github.com/koajs/koa/pull/460"},"issue":{"href":"https://api.github.com/repos/koajs/koa/issues/460"},"comments":{"href":"https://api.github.com/repos/koajs/koa/issues/460/comments"},"review_comments":{"href":"https://api.github.com/repos/koajs/koa/pulls/460/comments"},"review_comment":{"href":"https://api.github.com/repos/koajs/koa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koajs/koa/pulls/460/commits"},"statuses":{"href":"https://api.github.com/repos/koajs/koa/statuses/05b591291273f7f4da65616dddab59f42eaaf2a4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jonathanong","id":643505,"avatar_url":"https://avatars.githubusercontent.com/u/643505?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanong","html_url":"https://github.com/jonathanong","followers_url":"https://api.github.com/users/jonathanong/followers","following_url":"https://api.github.com/users/jonathanong/following{/other_user}","gists_url":"https://api.github.com/users/jonathanong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanong/subscriptions","organizations_url":"https://api.github.com/users/jonathanong/orgs","repos_url":"https://api.github.com/users/jonathanong/repos","events_url":"https://api.github.com/users/jonathanong/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanong/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}