{"action":"closed","number":177,"pull_request":{"url":"https://api.github.com/repos/rackt/history/pulls/177","id":52839905,"html_url":"https://github.com/rackt/history/pull/177","diff_url":"https://github.com/rackt/history/pull/177.diff","patch_url":"https://github.com/rackt/history/pull/177.patch","issue_url":"https://api.github.com/repos/rackt/history/issues/177","number":177,"state":"closed","locked":false,"title":"Reduce saveState data in sessionStorage","user":{"login":"koba04","id":250407,"avatar_url":"https://avatars.githubusercontent.com/u/250407?v=3","gravatar_id":"","url":"https://api.github.com/users/koba04","html_url":"https://github.com/koba04","followers_url":"https://api.github.com/users/koba04/followers","following_url":"https://api.github.com/users/koba04/following{/other_user}","gists_url":"https://api.github.com/users/koba04/gists{/gist_id}","starred_url":"https://api.github.com/users/koba04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koba04/subscriptions","organizations_url":"https://api.github.com/users/koba04/orgs","repos_url":"https://api.github.com/users/koba04/repos","events_url":"https://api.github.com/users/koba04/events{/privacy}","received_events_url":"https://api.github.com/users/koba04/received_events","type":"User","site_admin":false},"body":"I'm using history with react-router. Thank you for your great work!\r\n\r\nI'm using Session Storage wth my app.\r\nSo I often confirm the developer console for debugging app data in Session Storage.\r\n\r\nhistory is adding a state to sessionStorage every history changes.\r\nAs a result, my Session Storage is filled by history's state regardless of using it.\r\nThis behavior makes my debugging hard.\r\n\r\n![screen shot 2015-12-07 at 14 01 21](https://cloud.githubusercontent.com/assets/250407/11626667/f051fca6-9d27-11e5-8b47-142c984db6b6.png)\r\n\r\nMy PR is for that it saves history's state in Session Storage only when history's state is not empty.\r\n\r\nThanks!","created_at":"2015-12-07T12:42:54Z","updated_at":"2016-01-01T21:56:37Z","closed_at":"2016-01-01T21:56:37Z","merged_at":"2016-01-01T21:56:37Z","merge_commit_sha":"736725434d8e028e32cba790cd4ce6d2c808cf8e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rackt/history/pulls/177/commits","review_comments_url":"https://api.github.com/repos/rackt/history/pulls/177/comments","review_comment_url":"https://api.github.com/repos/rackt/history/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackt/history/issues/177/comments","statuses_url":"https://api.github.com/repos/rackt/history/statuses/009cbc37ddd96ce91a72bebbeb03d828ae3cb490","head":{"label":"koba04:reduce-savestate-data-in-session-storage","ref":"reduce-savestate-data-in-session-storage","sha":"009cbc37ddd96ce91a72bebbeb03d828ae3cb490","user":{"login":"koba04","id":250407,"avatar_url":"https://avatars.githubusercontent.com/u/250407?v=3","gravatar_id":"","url":"https://api.github.com/users/koba04","html_url":"https://github.com/koba04","followers_url":"https://api.github.com/users/koba04/followers","following_url":"https://api.github.com/users/koba04/following{/other_user}","gists_url":"https://api.github.com/users/koba04/gists{/gist_id}","starred_url":"https://api.github.com/users/koba04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koba04/subscriptions","organizations_url":"https://api.github.com/users/koba04/orgs","repos_url":"https://api.github.com/users/koba04/repos","events_url":"https://api.github.com/users/koba04/events{/privacy}","received_events_url":"https://api.github.com/users/koba04/received_events","type":"User","site_admin":false},"repo":{"id":47396254,"name":"history","full_name":"koba04/history","owner":{"login":"koba04","id":250407,"avatar_url":"https://avatars.githubusercontent.com/u/250407?v=3","gravatar_id":"","url":"https://api.github.com/users/koba04","html_url":"https://github.com/koba04","followers_url":"https://api.github.com/users/koba04/followers","following_url":"https://api.github.com/users/koba04/following{/other_user}","gists_url":"https://api.github.com/users/koba04/gists{/gist_id}","starred_url":"https://api.github.com/users/koba04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koba04/subscriptions","organizations_url":"https://api.github.com/users/koba04/orgs","repos_url":"https://api.github.com/users/koba04/repos","events_url":"https://api.github.com/users/koba04/events{/privacy}","received_events_url":"https://api.github.com/users/koba04/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/koba04/history","description":"A minimal, functional history library for JavaScript","fork":true,"url":"https://api.github.com/repos/koba04/history","forks_url":"https://api.github.com/repos/koba04/history/forks","keys_url":"https://api.github.com/repos/koba04/history/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koba04/history/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koba04/history/teams","hooks_url":"https://api.github.com/repos/koba04/history/hooks","issue_events_url":"https://api.github.com/repos/koba04/history/issues/events{/number}","events_url":"https://api.github.com/repos/koba04/history/events","assignees_url":"https://api.github.com/repos/koba04/history/assignees{/user}","branches_url":"https://api.github.com/repos/koba04/history/branches{/branch}","tags_url":"https://api.github.com/repos/koba04/history/tags","blobs_url":"https://api.github.com/repos/koba04/history/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koba04/history/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koba04/history/git/refs{/sha}","trees_url":"https://api.github.com/repos/koba04/history/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koba04/history/statuses/{sha}","languages_url":"https://api.github.com/repos/koba04/history/languages","stargazers_url":"https://api.github.com/repos/koba04/history/stargazers","contributors_url":"https://api.github.com/repos/koba04/history/contributors","subscribers_url":"https://api.github.com/repos/koba04/history/subscribers","subscription_url":"https://api.github.com/repos/koba04/history/subscription","commits_url":"https://api.github.com/repos/koba04/history/commits{/sha}","git_commits_url":"https://api.github.com/repos/koba04/history/git/commits{/sha}","comments_url":"https://api.github.com/repos/koba04/history/comments{/number}","issue_comment_url":"https://api.github.com/repos/koba04/history/issues/comments{/number}","contents_url":"https://api.github.com/repos/koba04/history/contents/{+path}","compare_url":"https://api.github.com/repos/koba04/history/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koba04/history/merges","archive_url":"https://api.github.com/repos/koba04/history/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koba04/history/downloads","issues_url":"https://api.github.com/repos/koba04/history/issues{/number}","pulls_url":"https://api.github.com/repos/koba04/history/pulls{/number}","milestones_url":"https://api.github.com/repos/koba04/history/milestones{/number}","notifications_url":"https://api.github.com/repos/koba04/history/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koba04/history/labels{/name}","releases_url":"https://api.github.com/repos/koba04/history/releases{/id}","created_at":"2015-12-04T10:04:21Z","updated_at":"2015-12-04T10:04:21Z","pushed_at":"2015-12-09T08:06:05Z","git_url":"git://github.com/koba04/history.git","ssh_url":"git@github.com:koba04/history.git","clone_url":"https://github.com/koba04/history.git","svn_url":"https://github.com/koba04/history","homepage":"","size":2108,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rackt:master","ref":"master","sha":"37bb527194bfa0153490e1fdfe1eedb6588f0045","user":{"login":"rackt","id":8261421,"avatar_url":"https://avatars.githubusercontent.com/u/8261421?v=3","gravatar_id":"","url":"https://api.github.com/users/rackt","html_url":"https://github.com/rackt","followers_url":"https://api.github.com/users/rackt/followers","following_url":"https://api.github.com/users/rackt/following{/other_user}","gists_url":"https://api.github.com/users/rackt/gists{/gist_id}","starred_url":"https://api.github.com/users/rackt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackt/subscriptions","organizations_url":"https://api.github.com/users/rackt/orgs","repos_url":"https://api.github.com/users/rackt/repos","events_url":"https://api.github.com/users/rackt/events{/privacy}","received_events_url":"https://api.github.com/users/rackt/received_events","type":"Organization","site_admin":false},"repo":{"id":39316027,"name":"history","full_name":"rackt/history","owner":{"login":"rackt","id":8261421,"avatar_url":"https://avatars.githubusercontent.com/u/8261421?v=3","gravatar_id":"","url":"https://api.github.com/users/rackt","html_url":"https://github.com/rackt","followers_url":"https://api.github.com/users/rackt/followers","following_url":"https://api.github.com/users/rackt/following{/other_user}","gists_url":"https://api.github.com/users/rackt/gists{/gist_id}","starred_url":"https://api.github.com/users/rackt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackt/subscriptions","organizations_url":"https://api.github.com/users/rackt/orgs","repos_url":"https://api.github.com/users/rackt/repos","events_url":"https://api.github.com/users/rackt/events{/privacy}","received_events_url":"https://api.github.com/users/rackt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackt/history","description":"A minimal, functional history library for JavaScript","fork":false,"url":"https://api.github.com/repos/rackt/history","forks_url":"https://api.github.com/repos/rackt/history/forks","keys_url":"https://api.github.com/repos/rackt/history/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackt/history/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackt/history/teams","hooks_url":"https://api.github.com/repos/rackt/history/hooks","issue_events_url":"https://api.github.com/repos/rackt/history/issues/events{/number}","events_url":"https://api.github.com/repos/rackt/history/events","assignees_url":"https://api.github.com/repos/rackt/history/assignees{/user}","branches_url":"https://api.github.com/repos/rackt/history/branches{/branch}","tags_url":"https://api.github.com/repos/rackt/history/tags","blobs_url":"https://api.github.com/repos/rackt/history/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackt/history/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackt/history/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackt/history/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackt/history/statuses/{sha}","languages_url":"https://api.github.com/repos/rackt/history/languages","stargazers_url":"https://api.github.com/repos/rackt/history/stargazers","contributors_url":"https://api.github.com/repos/rackt/history/contributors","subscribers_url":"https://api.github.com/repos/rackt/history/subscribers","subscription_url":"https://api.github.com/repos/rackt/history/subscription","commits_url":"https://api.github.com/repos/rackt/history/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackt/history/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackt/history/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackt/history/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackt/history/contents/{+path}","compare_url":"https://api.github.com/repos/rackt/history/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackt/history/merges","archive_url":"https://api.github.com/repos/rackt/history/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackt/history/downloads","issues_url":"https://api.github.com/repos/rackt/history/issues{/number}","pulls_url":"https://api.github.com/repos/rackt/history/pulls{/number}","milestones_url":"https://api.github.com/repos/rackt/history/milestones{/number}","notifications_url":"https://api.github.com/repos/rackt/history/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackt/history/labels{/name}","releases_url":"https://api.github.com/repos/rackt/history/releases{/id}","created_at":"2015-07-18T23:31:47Z","updated_at":"2016-01-01T21:14:02Z","pushed_at":"2016-01-01T21:56:37Z","git_url":"git://github.com/rackt/history.git","ssh_url":"git@github.com:rackt/history.git","clone_url":"https://github.com/rackt/history.git","svn_url":"https://github.com/rackt/history","homepage":"","size":2172,"stargazers_count":830,"watchers_count":830,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":81,"mirror_url":null,"open_issues_count":19,"forks":81,"open_issues":19,"watchers":830,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackt/history/pulls/177"},"html":{"href":"https://github.com/rackt/history/pull/177"},"issue":{"href":"https://api.github.com/repos/rackt/history/issues/177"},"comments":{"href":"https://api.github.com/repos/rackt/history/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/rackt/history/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/rackt/history/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackt/history/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/rackt/history/statuses/009cbc37ddd96ce91a72bebbeb03d828ae3cb490"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":22,"deletions":1,"changed_files":2}}