This package is semantic versioned
- [bugfix]: fixed context for events callback. thx @n5leon
- [feature]: namespace actions. thx @ThomasKlessen and double thx for tests / test updates!
- [feature]: reconnect. thx @weglov
- [bugfix]: handle json responses that do not include a
.mutation
value - note that the 2.0.2 npm publish did not include built library and is identical to 2.0.1, 2.0.3 fixes and includes the change above
- [bugfix]: call
new WebSocket
constructor without an empty sub-protocol string (throws on Chrome w/o this fix) - [docs]: update action
json
action
documentation
- [api change]: move
store
andprotocol
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
First release