Skip to content

Releases: foxxyz/ws-plus

v6.0.0

31 Dec 23:14
Compare
Choose a tag to compare

Breaking changes

  • ws-plus is now ESM-only. If you need CommonJS support, continue using 5.x.
  • Drop support for Vue 2 (EOL)

v5.0.0

13 Mar 04:31
Compare
Choose a tag to compare

Breaking changes

  • Drop support for Node v12.x

v4.1.0

27 Jun 00:49
Compare
Choose a tag to compare

Features

  • The Vue3 listen() hook now accepts a subscribe option to automatically subscribe to, and unsubscribe from, the passed actions on component creation and destruction.

v4.0.0

05 May 06:09
Compare
Choose a tag to compare

Breaking changes

  • Drop support for Node v10.x

v3.1.0

04 Dec 06:05
Compare
Choose a tag to compare

Features

  • Server now emits a disconnect event when a client disconnects from the server.

v3.0.0

05 Sep 02:06
Compare
Choose a tag to compare

Breaking changes

  • The rootObject argument for Server and Client has been removed. Instead, the included JSONObjSerializer can be passed to the new serializer argument to Server or Client to achieve the same behavior:
import { Server } from 'ws-plus'
import { JSONObjSerializer } from 'ws-plus/serializers'

const server = new Server({ port: 8088, serializer: JSONObjSerializer })

Other changes

  • The underlying ws version has been upgraded to version 8.