114 lines
3.0 KiB
Markdown
114 lines
3.0 KiB
Markdown
# 1.2.6 - 26 Oct. 2018
|
|
|
|
* Added missing type for Client onReceipt #78
|
|
|
|
|
|
# 1.2.5 - 10 Oct. 2018
|
|
|
|
* Use `client.debug` instead of `console.log` for a better control of deprecation warning #75
|
|
* Fallback on 1st STOMP protocol provide at `Client` creation when ws does not provide a protocol (too many edge cases, let responsability of wrong compatibility on user hands) #74 #75
|
|
* 2nd fallback after warning on 1.2 STOMP protocol #74 #75
|
|
|
|
|
|
# 1.2.4 - 13 Jul. 2018
|
|
|
|
* Fix some ts types for default export of webstomp
|
|
|
|
|
|
# 1.2.3 - 13 Jul. 2018
|
|
|
|
* Move from webpack to rollup & remove mixed export (named & default) to fix #73
|
|
|
|
|
|
# 1.2.2 - 03 Jul. 2018
|
|
|
|
* Fix STOMP CONNECT frame 'accept-version' to match websocket accepted protocol #66
|
|
|
|
|
|
# 1.2.1 - 03 Jul. 2018
|
|
|
|
* Fix: possible race condition with client#onopen callback
|
|
* Some doc
|
|
|
|
|
|
# 1.2.0 - 10 Oct. 2017
|
|
|
|
* Change: Add data object as 2nd parameter for debug #55
|
|
|
|
|
|
# 1.1.0 - 09 Oct. 2017
|
|
|
|
* Change: Default option protocol should not be in options object by default #57
|
|
* Fix: index.d.ts updates
|
|
* Update Frame typings #54
|
|
* These parameters have defaults so they are optional (#53)
|
|
* Connect returns Frame or CloseEvent on error (#51)
|
|
* Fix: Copy headers instead of updating it #43
|
|
* Fix: Stop using a counter and create a near unique id to avoid collision when using several Client instance 2aedaaa
|
|
|
|
|
|
# 1.0.8 - 18 Sep. 2017
|
|
|
|
* Fix TS definition: #49 Fix strictNullChecks incompatibility
|
|
|
|
|
|
# 1.0.7 - 07 Sep. 2017
|
|
|
|
* Fix TS definition: added custom headers to .connect()
|
|
|
|
|
|
# 1.0.6 - 15 Feb. 2016
|
|
|
|
* Fix missing TS definitions file in package.json
|
|
|
|
|
|
# 1.0.5 - 05 Feb. 2016
|
|
|
|
* Add TS definitions file
|
|
* Update all dependencies, especially webpack to 2.2
|
|
|
|
|
|
# 1.0.4 - 04 Aug. 2016
|
|
|
|
* Fixes default options value when an options object is already given with missing values
|
|
|
|
|
|
# 1.0.3 - 31 July 2016
|
|
|
|
* Add check to see if user has already included heart beat information in headers before adding default values (thanks @NathanGloyn)
|
|
* Replace jshint & jscs by eslint (thanks @yeyu456)
|
|
* Add *dist* folder to github so users without npm and ES6 support can fetch the lib
|
|
|
|
|
|
# 1.0.2 - 09 Apr. 2016
|
|
|
|
* Add an example using nodejs
|
|
* Update the documentation around nodejs and webstomp.over
|
|
|
|
|
|
# 1.0.1 - 06 Apr. 2016
|
|
|
|
* Fixes #2: better ES6 default options for Client
|
|
* Add an example using sockjs & webstomp.over
|
|
|
|
|
|
# 1.0.0 - 01 Apr. 2016
|
|
|
|
Initial fork from stomp.js
|
|
|
|
## Breaking changes
|
|
|
|
* `webstomp.client` second parameter is now an object containing `protocols`, `binary`, `heartbeat`. All are optionals.
|
|
* same for `webstomp.over`
|
|
* `client.send` parameters are now `destination, body, headers` instead of `destination, headers, body`. Easier to set `headers` optional.
|
|
* `onclose` error callback now receive the original event
|
|
|
|
## Improvement
|
|
|
|
* stomp 1.2 support
|
|
* binary support
|
|
* better unicode utf-8 support
|
|
* UMD compatible
|
|
* `client.unsubscribe()` can now take a second parameter `header` to be able to send specific header like `persistent: true`
|
|
* as a consequence `subscription.unsubscribe` can now take a `header` parameter.
|