v1.0.0
1.0.0 (2023-03-07)
Bug Fixes
- deps: update dependency ws to v8 (1ecc94b)
- import from ESM only environments (476299e)
- more accurate types (68f973a), closes #182
- npm audit: Updates all dependencies that cause
npm audit
to issue a warning (1aaafbc), closes #287 - the server could crash if a client sends invalid frames (29394de)
Features
- drop Node {10,11,12,13} support (b70ed79)
- ESM support (2b73b5c)
- remove deprecated XHR fallback (d900145)
- set the PEERSERVER_PATH with an environment variable (084fb8a), closes #213
- set the PORT with an environment variable (68a3398), closes #213
- specify cors options via cli or js (05f12cd), closes #196 #221
Performance Improvements
- use the builtin UUID generator for Peer ids instead of the
uuid
module (5d882dd)
BREAKING CHANGES
- Requires PeerJS >= 1.0
- Node >= 14 required
14 is the oldest currently supported version. See https://github.com/nodejs/release#release-schedule