roster-server 2.3.10 → 2.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ id: ac8ba0ra21
3
+ type: decision
4
+ title: Roster default IPv6 bind
5
+ created: '2026-03-16 21:57:18'
6
+ ---
7
+ Changed Roster default bind hostname from 0.0.0.0 to :: in index.js constructor (`this.hostname = options.hostname ?? '::'`). This makes default listen IPv6-first. Existing explicit hostname option still overrides. Verified with full test suite: 74 passing.
package/index.js CHANGED
@@ -252,7 +252,7 @@ class Roster {
252
252
  this.portServers = {}; // Store servers by port
253
253
  this.domainPorts = {}; // Store domain → port mapping for local mode
254
254
  this.assignedPorts = new Set(); // Track ports assigned to domains (not OS availability)
255
- this.hostname = options.hostname || '0.0.0.0';
255
+ this.hostname = options.hostname ?? '::';
256
256
  this.filename = options.filename || 'index';
257
257
  this.minLocalPort = options.minLocalPort || 4000;
258
258
  this.maxLocalPort = options.maxLocalPort || 9999;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roster-server",
3
- "version": "2.3.10",
3
+ "version": "2.3.12",
4
4
  "description": "👾 RosterServer - A domain host router to host multiple HTTPS.",
5
5
  "main": "index.js",
6
6
  "scripts": {