@xh/hoist 83.0.0 → 83.0.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 83.0.2 - 2026-03-30
4
+
5
+ ### ⚙️ Technical
6
+
7
+ * Updated `WebSocketService` to support same-origin `baseUrl` values (e.g. `/api/`). Previously
8
+ assumed a cross-origin `baseUrl` in dev mode. Required for compatibility with the new
9
+ webpack-dev-server proxy in `@xh/hoist-dev-utils` v12.
10
+
11
+ ## 83.0.1 - 2026-03-25
12
+
13
+ ### ⚙️ Technical
14
+
15
+ * Update upgrade notes skill to properly register upgrade note
16
+
3
17
  ## 83.0.0 - 2026-03-24
4
18
 
5
19
  ### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW)
@@ -442,6 +442,14 @@
442
442
  "viewerCategory": "upgrade",
443
443
  "description": "Upgrade guide from v81.x to v82.0.0. Low difficulty.",
444
444
  "keywords": ["upgrade", "migration", "breaking changes", "v82", "v81", "Picker", "DashCanvas", "MCP", "Filter"]
445
+ },
446
+ {
447
+ "id": "docs/upgrade-notes/v83-upgrade-notes.md",
448
+ "title": "v83 Upgrade Notes",
449
+ "mcpCategory": "devops",
450
+ "viewerCategory": "upgrade",
451
+ "description": "Upgrade guide from v82.x to v83.0.0. Low difficulty.",
452
+ "keywords": ["upgrade", "migration", "breaking changes", "v83", "v82", "TraceService", "tracing", "OTEL", "static defaults", "GridModel", "downloadBlob", "downloadViaUrl", "downloadjs", "SegmentedControl", "CheckboxButton"]
445
453
  }
446
454
  ]
447
455
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "83.0.0",
3
+ "version": "83.0.2",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -345,7 +345,7 @@ export class WebSocketService extends HoistService {
345
345
  private buildWebSocketUrl() {
346
346
  const protocol = window.location.protocol == 'https:' ? 'wss:' : 'ws:',
347
347
  endpoint = `xhWebSocket?${this.METADATA_FOR_HANDSHAKE.map(key => `${key}=${XH[key]}`).join('&')}`;
348
- return XH.isDevelopmentMode
348
+ return XH.baseUrl.includes('//')
349
349
  ? `${protocol}//${XH.baseUrl.split('//')[1]}${endpoint}`
350
350
  : `${protocol}//${window.location.host}${XH.baseUrl}${endpoint}`;
351
351
  }