v6.8.0
- Removed all remaining traces of domains in SC.
- Removed custom sc-emitter in favor of component-emitter for the client and server SCSocket objects.
Possible breaking change:
- SC no longer uses domains internally to capture errors (Node.js has deprecated them); instead, SC now listens to 'error' events directly on the server and sockets which is creates. This means that you should never use the
removeAllListeners('error')
on objects created by SC as this will destroy SC's internal error handling. Note that the Node.js documentation explicitly recommends against removing listeners in this way. See https://nodejs.org/api/events.html#events_emitter_removealllisteners_eventname