{"action":"closed","issue":{"url":"https://api.github.com/repos/rackt/history/issues/63","labels_url":"https://api.github.com/repos/rackt/history/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/rackt/history/issues/63/comments","events_url":"https://api.github.com/repos/rackt/history/issues/63/events","html_url":"https://github.com/rackt/history/issues/63","id":107715122,"number":63,"title":"Only include query params that are not null","user":{"login":"torarnek","id":283192,"avatar_url":"https://avatars.githubusercontent.com/u/283192?v=3","gravatar_id":"","url":"https://api.github.com/users/torarnek","html_url":"https://github.com/torarnek","followers_url":"https://api.github.com/users/torarnek/followers","following_url":"https://api.github.com/users/torarnek/following{/other_user}","gists_url":"https://api.github.com/users/torarnek/gists{/gist_id}","starred_url":"https://api.github.com/users/torarnek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torarnek/subscriptions","organizations_url":"https://api.github.com/users/torarnek/orgs","repos_url":"https://api.github.com/users/torarnek/repos","events_url":"https://api.github.com/users/torarnek/events{/privacy}","received_events_url":"https://api.github.com/users/torarnek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-22T13:29:09Z","updated_at":"2015-09-27T02:56:35Z","closed_at":"2015-09-27T02:56:35Z","body":"This would greatly simplify setting queries.\r\n\r\nE.g.\r\nhistory.pushState(null, '/path', { thisQueryParam: 'yes', notThisQueryParam: null })\r\n->\r\n/path?thisQueryParam=yes\r\n\r\nIn other words, include params that are null. In cases an empty param is needed an empty string would be sufficient. I think this is a logical behavior that most developers will understand. "}}