2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-10 10:12:25 +03:00
Files
vue-native-websocket/CHANGELOG.md
T
2017-07-24 14:46:54 -07:00

788 B

Changelog

This package is semantic versioned

2.0.2

  • [bugfix]: handle json responses that do not include a .mutation value

2.0.1

  • [bugfix]: call new WebSocket constructor without an empty sub-protocol string (throws on Chrome w/o this fix)
  • [docs]: update action json action documentation

2.0.0

  • [api change]: move store and protocol options from arguments to the opts` hash

e.g. for an instantiation in 1.0.0 like:

Vue.use(VueNativeSock, 'ws://localhost:9090', 'my-protocol', store, { format: 'json' })

is now, in 2.0.0:

Vue.use(VueNativeSock, 'ws://localhost:9090', { protocol: 'my-protocol', store: store, format: 'json' })
  • [bugfix]: allow json message passing without a namespace

1.0.0

First release