# [1.0.0](https://github.com/peers/peerjs-server/compare/v0.6.1...v1.0.0) (2023-03-07) ### Bug Fixes * **deps:** update dependency ws to v8 ([1ecc94b](1ecc94b887
)) * import from ESM only environments ([476299e](476299ed08
)) * more accurate types ([68f973a](68f973afb4
)), closes [#182](https://github.com/peers/peerjs-server/issues/182) * **npm audit:** Updates all dependencies that cause `npm audit` to issue a warning ([1aaafbc](1aaafbc450
)), closes [#287](https://github.com/peers/peerjs-server/issues/287) * the server could crash if a client sends invalid frames ([29394de](29394dea5e
)) ### Features * drop Node {10,11,12,13} support ([b70ed79](b70ed79d9a
)) * ESM support ([2b73b5c](2b73b5c97d
)) * remove deprecated XHR fallback ([d900145](d900145901
)) * set the PEERSERVER_PATH with an environment variable ([084fb8a](084fb8a4bd
)), closes [#213](https://github.com/peers/peerjs-server/issues/213) * set the PORT with an environment variable ([68a3398](68a3398f54
)), closes [#213](https://github.com/peers/peerjs-server/issues/213) * specify cors options via cli or js ([05f12cd](05f12cdc56
)), closes [#196](https://github.com/peers/peerjs-server/issues/196) [#221](https://github.com/peers/peerjs-server/issues/221) ### Performance Improvements * use the builtin UUID generator for Peer ids instead of the `uuid` module ([5d882dd](5d882dd0c6
)) ### BREAKING CHANGES * Requires PeerJS >= 1.0 * Node >= 14 required 14 is the oldest currently supported version. See https://github.com/nodejs/release#release-schedule
4.0 KiB
4.0 KiB
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
PeerServer Changelog
vNEXT
0.6.1
- New: PeerJS Server in Docker capture ^C signal and terminate gracefully. #205
- Fix: SSL options in default config. #230
0.6.0
- 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.
0.5.3
- PeerServer uses yargs instead of an outdated minimist. #190 Thanks @hobindar
0.5.2
- Fix: WebSocket server doesn't work on Windows #170 Thanks @lqdchrm
0.5.1
- Fix: WebSocket server doesn't work when use non "/" mount path with ExpressPeerServer #132
0.5.0
-
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"
0.4.0
- New: Allow passing in custom client ID generation function - #157 Thanks @ajmar
0.3.2
- Fixed: fix main field in package.json
0.3.1
- Fixed: no expire message in some cases
0.3.0
- 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.
0.2.6
- Ensure 16 character IDs.
0.2.5
- Takes a
path
option, which the peer server will append PeerJS routes to. - Add support for configurable server IP address.
0.2.1
- Added test suite.
- Locked node dependency for restify.