{"push_id":1088135996,"size":2,"distinct_size":1,"ref":"refs/heads/develop","head":"885e4d8310ab4d14d14e4361eb330867ee29b55b","before":"20fc4aad70854baaa076bcf11cc673261867a1b1","commits":[{"sha":"01ecdaa6b77ea4f41010db5eeb9642b76ae4cf4d","author":{"email":"b0afb942d9fb3361e7757f25b2772b9d2cd06866@algolia.com","name":"vvo"},"message":"fix(rootpath): remember rootpath option on 'back' button\n\nBefore this commit, when using the rootpath option and clicking on\nbackbutton after switching a page would result in the rootpath option\nseeming \"forgotten\"\n\nThis was triggered because rootpath is a \"magical\" (BAD!!) option that\nis triggering a refinement internally in the helper's SearchParameters\nconstructor.\n\nThus, in the urlSync widget, to determine the \"original configuration\"\n(= all widgets getConfiguration before url sync) we need to go through\nthe SearchParameters constructor.\n\nAlso note that we originally wanted to understand the url sync\n\"original config\" as being widget's getConfiguration + widget's init\nbut that's no doable because the way we implemented url sync. Indeed\nthere's no way to differentiate the state of the url from the state of\nthe widget's init action after all widget.init are called.\n\nThus when clicking back, we are not able to tell what are the\nparameters we want to go back to.\n\nIn a V2 of instantsearch.js we should be able to have init({helper,\nstate, urlState}).\n\nOr maybe there's another way. I will need to discuss this with\n@bobylito :)","distinct":false,"url":"https://api.github.com/repos/algolia/instantsearch.js/commits/01ecdaa6b77ea4f41010db5eeb9642b76ae4cf4d"},{"sha":"885e4d8310ab4d14d14e4361eb330867ee29b55b","author":{"email":"b0afb942d9fb3361e7757f25b2772b9d2cd06866@algolia.com","name":"Vincent Voyer"},"message":"Merge pull request #998 from algolia/fix/rootpath-hierarchical-facet\n\nfix(rootpath): remember rootpath option on 'back' button","distinct":true,"url":"https://api.github.com/repos/algolia/instantsearch.js/commits/885e4d8310ab4d14d14e4361eb330867ee29b55b"}]}