See https://github.com/balderdashy/sails.io.js/commits/master
Want to help fill out the missing pieces in the changeog? Please submit a pull request!
- [BUGFIX] Handle server status code of zero correctly, and fix error messages for other non-200 responses.
- [ENHANCEMENT] Add 'PATCH' support e458031
- [INTERNAL] Don't do npm test on prepublish 5009778
- [BUGFIX] Fix issue where you get an error if you don't provide a
method
arg torequest
c8cb943 - [ENHANCEMENT] Add "reconnection" to list of settings that can be change via HTML attribute b68872a
- [BUGFIX] Fix incorrect use of dependencies/devDependencies 8047bf7
- [INTERNAL] Update links, add README to sails.io.js-dist, and converted some TODOs into FUTUREs a7fb853 and cde8a90
- [INTERNAL] Upgraded dev dependency to Sails v1 and sails-hook-sockets standalone. 485f3cd
- [INTERNAL] Reorganized README.md, add version string to compiled SDK in dist d17c1ef and 9ddd74c
- [INTERNAL] Update boilerplate files [appveyor.yml, travis.yml now checks node 6 and 7, updated .npmignore, .editorconfig and .gitignore, added .jshintrc] and get rid of no-longer-in-use checkGitStatus script c7cd55e
- [ENHANCEMENT] Caution: Possible breaking change. Make
reconnection
option false by default. Can be switched back following the Advanced usage reference 7f8c7a2
- [BUGFIX] Fix issue where properties were overriding
isConnecting
andmightBeAboutToAutoConnect
methods d78d94e - [INTERNAL] Make
jwr.error
always truthy (even if response data is empty string or 0 orfalse
ornull
) by always ensuring it is an Error instance. 8393d87
- [ENHANCEMENT] Caution: Possible breaking change. Make transport defaults to be only
websocket
. More information on how to configure sails.io library transports adfa16e - [ENHANCEMENT] Exposed
isConnecting
andmightBeAboutToAutoConnect
as public methods fd962bb
- [ENHANCEMENT] Add flag to indicate that the autoConnect timer has started. Helps in better handling possible race conditions on queueing socket requests 6e1f349
- [ENHANCEMENT] Updated socket.io-client to 1.4.8 d7e06ad and later downgraded to 1.4.5 so Travis stops failing 25ae952
- [ENHANCEMENT] Add rejectUnauthorized to the settable options for socket connections. (thanks @ksylvan) 33508b1
- [FIX] Fix #92 - 'Uncaught TypeError: Cannot read property 'removeChild' of null'" being thrown by sails.io.js on line 200 (thanks @kpturner) 58cc190
- [ENHANCEMENT] Update dependency to latest sails (thanks @granteagon) be15e92
- [ENHANCEMENT] Added tests for sharing a session between sockets eeff078
- [ENHANCEMENT] Removed unused "request" call a23cc5b
- [ENHANCEMENT] Allow specifying some
io.sails
properties via HTML attributes (autoConnect
,url
,headers and
environment`)
- [BUGFIX] Fixed replaying of request queue on disconnect/reconnect d8fb158
- [ENHANCEMENT] Added new connection options
path
,reconnection
,reconnectionAttempts
,reconnectionDelay
,reconnectionDelayMax
,randomizationFactor
,timeout
535d5a3 - [ENHANCEMENT] Allow both
data
andparams
to be used in calls tosocket.request()
6f28ec
- [ENHANCEMENT] Don't allow certain SailsSocket properties to be changed while the socket is connected. This ensures that the properties always reflect the correct state of a connected socket.
- [BUGFIX] Made URL argument to
io.socket.connect
optional, as documented - [ENHANCEMENT] Added public
.reconnect()
method to SailsSocket
- [UPGRADE] Use socket.io-client version 1.4.4
- These versions were experimental for use while finishing development of Sails 0.12, and should not be used.
- [BUGFIX] Revert change where sails.io.js SDK info was sent in handshake via headers instead of querystring--handshake headers only work in Node.js implementations, not in the browser.
- [ENHANCEMENT] Allow passing
initialConnectionHeaders
option (or settingio.sails.initialConnectionHeaders
) to set headers to be sent with socket handshake 0a251df
- [BUGFIX] Make global headers work for queued requests 36a4828
- [ENHANCEMENT] Allow passing
headers
option (or settingio.sails.headers
) to set global headers that will be sent with every request made by a socket 6376e04
- [UPGRADE] Use socket.io-client version 1.4.3
- [UPGRADE] Use socket.io-client version 1.4.0
- [UPGRADE] Use socket.io-client version 1.3.7
- [ENHANCEMENT] Allow passing
query
option (or settingio.sails.query
) for use in socket handshake #51