Skip to content

Latest commit

 

History

History
139 lines (83 loc) · 5.91 KB

CHANGELOG.md

File metadata and controls

139 lines (83 loc) · 5.91 KB

1.0.2 (2023-12-05)

Bug Fixes

  • deps: update dependency @types/express to v4.17.18 (f4bcc16)
  • deps: update dependency @types/express to v4.17.19 (ebec5b0)
  • deps: update dependency @types/express to v4.17.20 (a6c01fd)
  • deps: update dependency @types/express to v4.17.21 (80df87f)
  • reduce unnecessary timeouts (638af56), closes #431

1.0.1 (2023-08-25)

Bug Fixes

  • deps: update dependency node-fetch to v3.3.1 (2275ce3)
  • deps: update dependency node-fetch to v3.3.2 (05a1833)
  • deps: update dependency yargs to v17.7.2 (23b4e47)
  • remove confusing version number (f6314df)

Reverts

  • Revert "build: deploy to fly.io" (c3de627)
  • Revert "chore: Configure Mend Bolt for GitHub (#349)" (fd00aef), closes #349

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.