Skip to content

Latest commit

 

History

History
80 lines (45 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

80 lines (45 loc) · 2.21 KB

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.