{"push_id":1170731584,"size":23,"distinct_size":3,"ref":"refs/heads/presence-wait-for-sync","head":"4955b0c7c995b0243afbb6a3871159560bf52a8a","before":"9dded55e52d887a87da8d24568a6197c6f2c8f91","commits":[{"sha":"2354cb0bf5c227927e5da9fee31d0cc3322bd6f9","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Only reset msgSerial if a genuinely different connection\n\nFixes https://github.com/ably/realtime/issues/557","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/2354cb0bf5c227927e5da9fee31d0cc3322bd6f9"},{"sha":"e2d101dbfb82ed9b33afb5cb8d0c5f1872757b60","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Generalise SessionStorage to WebStorage (Session + Local)","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/e2d101dbfb82ed9b33afb5cb8d0c5f1872757b60"},{"sha":"f9e1ad78efbac145cc307743afbdddb5ce36ae8c","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Connectionmanager transport fallback sequence rewrite\n\nBasic idea is that there are now three stages in connecting:\n- preference: if there is a cached transport preference, we try to\n  connect on that. If that fails we remove the preference and fall back\n  to base.\n- base: we try to connect with the best transport that we think will\n  never fail for this browser (usually this is xhr_polling; for very old\n  browsers will be jsonp, for node will be comet). If it doesn't work, we\n  try fallback hosts.\n- upgrade: once connected, we see if there are any better transports,\n  and if so, try to upgrade to them.\n\nWhich stage you're at can expressed as a function just of the current\nconnection state (and whether there are any stored preferences), so this\ncommit moves to a flow where connectImpl works this out and dispatches\naccordingly (and after a transport has been set pending, tryATransport\njust calls connectImpl again).\n\nWe also give connection states a bit more bite. Eg previously, going\ninto the 'disconnected' state did not affect transport attempts: pending\ntransports could still be activated, and proposed transports could still\nbecome pending (and connectionManager didn't even have a reference to\nthe latter). This caused various pathologies, eg comet transports that\nfroze  on connecting to stick around for 90s, with new ones accumulating\nevery time the transport went into 'connecting'. It also meant that eg\nthe websocket transport had to implement its own connection state\nwatchers to guard against state changes that happened before\nconnectionManager got a reference to them.  With this commit,\nconnectionManager can track transports from their inception, and pending\nand unviable transports are aborted on expiration of the connecting\ntimeout.","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/f9e1ad78efbac145cc307743afbdddb5ce36ae8c"},{"sha":"3aa0ba00cc104e8ae25fa0f29f866ac3a1605483","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Make jshint more useful","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/3aa0ba00cc104e8ae25fa0f29f866ac3a1605483"},{"sha":"56c1cb645be329f430db00b693e07153a913079d","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Realtime has stopped sending data for presence leaves","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/56c1cb645be329f430db00b693e07153a913079d"},{"sha":"58021cee34830ace4fd2b8e376fe78c7b6f0b91f","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Presence history simple test: better logging\n\nto debug\n  Assertion Message: Verify correct number of messages found\n  AssertionError: 12 == 6\nin https://ci.ably.io/job/ably-js/707/consoleText","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/58021cee34830ace4fd2b8e376fe78c7b6f0b91f"},{"sha":"3c6edb9c20b890fc4510ed7e6fb88656c498ac2d","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Merge PR #279 'fallback-sequence'","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/3c6edb9c20b890fc4510ed7e6fb88656c498ac2d"},{"sha":"3744c005494862165a87d6be931fb9b1e0a15752","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Clear presence set on detach","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/3744c005494862165a87d6be931fb9b1e0a15752"},{"sha":"44d97404dd4332213a0c82e76931417602306386","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Merge PR #287 'members-map-on-detach'","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/44d97404dd4332213a0c82e76931417602306386"},{"sha":"995a64755a15bcf49392b1902318b149f895819d","author":{"name":"Toni Cárdenas","email":"fa4425aec0fb5e79e0f16078b2a165a0a9fe11a6@tcardenas.me"},"message":"Disable JSONP transport if document is undefined.\n\nThis makes the library compatible with React Native. Fixes #280.","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/995a64755a15bcf49392b1902318b149f895819d"},{"sha":"79f93f0e92ae01ec18ba5d40be0bbaa248850524","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Merge PR #283 'jsonp-optional'","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/79f93f0e92ae01ec18ba5d40be0bbaa248850524"},{"sha":"37e0097d3d9d317a5113485d4289117875cdf5d2","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"IE8/9 fix: CryptoJS wordarrays expect signed ints","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/37e0097d3d9d317a5113485d4289117875cdf5d2"},{"sha":"f4c5ef8553b75bc9f8c0b8b94f0fe4c251990937","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Merge PR #282 'randombin'","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/f4c5ef8553b75bc9f8c0b8b94f0fe4c251990937"},{"sha":"372b62e02d6e3740c8a42f1f56504cfbdb6e1c62","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Regenerate and release version 0.8.20","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/372b62e02d6e3740c8a42f1f56504cfbdb6e1c62"},{"sha":"1aedd83a3bdf96b711411da18e4ac5186a080a9d","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Comet: pop pending items synchronously with sending them\n\nFixes issue with lots of publishes in quick succession on comet\ntransports, see https://github.com/ably/realtime/issues/555\nWith test","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/1aedd83a3bdf96b711411da18e4ac5186a080a9d"},{"sha":"bfeb0bbbef172f943b8d9d3b4932d3e5d81452d9","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Merge PR #290 'pending-comet'","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/bfeb0bbbef172f943b8d9d3b4932d3e5d81452d9"},{"sha":"d84236b9513d3b4349388c593c52aae0f5256b7d","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Grunt bump: replace all occurances of version number in files","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/d84236b9513d3b4349388c593c52aae0f5256b7d"},{"sha":"ad9fa9e1f28b7cb414bf8c01a8396351e1c6bda2","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Get changelog up to date","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/ad9fa9e1f28b7cb414bf8c01a8396351e1c6bda2"},{"sha":"0da8a82d0a1d269799e70f9d7899f867b521fa0e","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Regenerate and release version 0.8.21","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/0da8a82d0a1d269799e70f9d7899f867b521fa0e"},{"sha":"2f77174bbeef05a34cf916c754a9cd30bf49b3bf","author":{"name":"Simon Woolf","email":"3a69a7dd305e9c7705028afae27095688d25197a@ably.io"},"message":"Changelog: fix dates","distinct":false,"url":"https://api.github.com/repos/ably/ably-js/commits/2f77174bbeef05a34cf916c754a9cd30bf49b3bf"}]}
{"actor":{"display_login":"SimonWoolf"}}