1.0.0 (2023-03-07)
- 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)
- 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
- use the builtin UUID generator for Peer ids instead of the
uuid
module (5d882dd)
- Requires PeerJS >= 1.0
- Node >= 14 required
14 is the oldest currently supported version. See https://github.com/nodejs/release#release-schedule
- New: PeerJS Server in Docker capture ^C signal and terminate gracefully. #205
- Fix: SSL options in default config. #230
- New:
host
option (--host
,-H
). #197 Thanks @millette - Fix: Allows SNICallback instead of hardcoded key/cert. #225 Thanks @brunobg
- Change: Upgrade TypeScript version to 4.1.2.
- PeerServer uses yargs instead of an outdated minimist. #190 Thanks @hobindar
- Fix: WebSocket server doesn't work on Windows #170 Thanks @lqdchrm
- Fix: WebSocket server doesn't work when use non "/" mount path with ExpressPeerServer #132
-
Fix: http api not working - #163 Thanks riscoss63
-
Change: use "/" instead of "/myapp" as a default value for config's
path
option -
New: typescript declaration file
-
Update deps:
- "cors": "2.8.4",
+ "cors": "^2.8.5",
- "uuid": "3.3.3",
+ "uuid": "^3.4.0",
- "ws": "7.1.2",
+ "ws": "^7.2.3"
- New: Allow passing in custom client ID generation function - #157 Thanks @ajmar
- Fixed: fix main field in package.json
- Fixed: no expire message in some cases
- Convert project to TypeScript 3.7.3.
- Use UUID when generate client id - #152
- Refactoring (add ESLint, split code into small unit) Thanks to @d07RiV @zhou-yg
- Update deps.
- Ensure 16 character IDs.
- Takes a
path
option, which the peer server will append PeerJS routes to. - Add support for configurable server IP address.
- Added test suite.
- Locked node dependency for restify.