@realitycollective/xrblocks-uiextensions 0.1.1 → 0.1.2-preview.0

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
@@ -4,6 +4,22 @@ Change log for the Reality Collective WebXR UI Extensions packages. All five pac
4
4
 
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Preview builds are not listed separately. The entry for a version accumulates while its previews are published, and is dated when that version is released.
6
6
 
7
+ ## [0.1.2]
8
+
9
+ ### Changed
10
+
11
+ - Development, tests and demos run on one shared copy of Meta's `super-three` fork at 0.185.0 (root `overrides`, with `@types/three` 0.185.4), the version every WebXR repository now uses, and on `@iwsdk/core` 1.0.1. IWSDK 1.0.1 changes no runtime code from 1.0.0. XR Blocks needs three r182 or later and logged an error on the r181 copy the demos used before. Published peer ranges are unchanged.
12
+ - `@realitycollective/iwsdk-uiextensions` - `@pmndrs/handle` floor raised to `^6.6.31`, the current release.
13
+ - The showcase and the multiplatform lab choose their engine by asking the browser's WebXR runtime which immersive modes it can start (`probeXRSupport`, `chooseEngine(userAgent, search, xr)` in `demos/showcase/src/platform-detect.ts`). The user agent now only tells a Meta browser from any other. Before, a browser was taken for Android XR only if its user agent said so, and an XREAL Aura whose browser did not was offered the desktop pipeline.
14
+
15
+ ### Added
16
+
17
+ - Multiplatform lab diagnostics for framework testers (`demos/showcase/src/diagnostics.ts`), behind a hidden URL option. `?uix-log=1` records console output, errors, failed loads, WebGL context loss and every WebXR session from the first line, keeps the last three page loads on the device, and sends the log by itself 20 s after the page opens, when each session ends and when the page is left. `?uix-log=local` keeps it on the device. Without the option nothing is recorded. A Pages Function (`demos/webxr-multiplatform/functions/api/report.ts`) stores each report as one D1 row for at least 48 hours, capped per client, per day and by size; it answers 503 until a D1 database is bound. The lab README's "Diagnostics" section covers testers and maintainers.
18
+
19
+ ### Fixed
20
+
21
+ - Multiplatform lab, XR Blocks pipeline on a browser that can enter XR (Android XR, XREAL Aura): the page showed a near-empty dark view and no way in. XR Blocks skips its desktop simulator there, draws the page from its own camera at floor level, and appends an unstyled Enter XR button below the full-height canvas, off screen. The pipeline now pins the button at the bottom centre and raises the 2D view to 1.7 m, IWSDK's camera height (`demos/webxr-multiplatform/src/pipelines/xrblocks-page.ts`).
22
+
7
23
  ## [0.1.1] - 2026-10-01
8
24
 
9
25
  ### Added
package/README.md CHANGED
@@ -110,7 +110,7 @@ handle.onReady((panel) => wire(panel)); // fires straight away here
110
110
 
111
111
  ## Known constraint: three versions
112
112
 
113
- `xrblocks` declares a peer of `three@^0.184`, while IWSDK mandates the `super-three@0.181` fork used workspace-wide. Vite resolves a single `three` per bundle so the pairing works in practice, but npm's peer check cannot express it - this workspace uses `legacy-peer-deps` (see the root `.npmrc`). Revisit when IWSDK's three catches up.
113
+ `xrblocks` 0.21 declares a peer of `three@^0.184` and logs an error below r182, while IWSDK 1.0 pins the `super-three@0.181.0` fork. The Reality Collective workspaces override both to one shared copy of `super-three@0.185.0`, which meets XR Blocks' r182 floor and which IWSDK runs unchanged. npm's peer check cannot express that override, so the workspaces use `legacy-peer-deps` (see the root `.npmrc`). An app that installs this package picks its own `three`, and XR Blocks needs r182 or later.
114
114
 
115
115
  ## Testing
116
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realitycollective/xrblocks-uiextensions",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-preview.0",
4
4
  "description": "EXPERIMENTAL Google XR Blocks / plain three.js adapter for the Reality Collective UI Extensions - hosts the engine-free @realitycollective/webxr-uiextensions windowing core (UIKitML panels, window chrome, follow mode) in any three.js WebXR scene, including XR Blocks Scripts.",
5
5
  "keywords": [
6
6
  "realitycollective",
@@ -40,16 +40,16 @@
40
40
  "dependencies": {
41
41
  "@pmndrs/uikit": "^1.0.76",
42
42
  "@pmndrs/uikitml": "^0.1.12",
43
- "@realitycollective/threejs-uiextensions": "^0.1.1",
43
+ "@realitycollective/threejs-uiextensions": "^0.1.2-preview.0",
44
44
  "@realitycollective/webxr-input": "^0.1.8",
45
- "@realitycollective/webxr-uiextensions": "^0.1.1"
45
+ "@realitycollective/webxr-uiextensions": "^0.1.2-preview.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "three": ">=0.170.0"
49
49
  },
50
50
  "devDependencies": {
51
- "three": "npm:super-three@0.181.0",
52
- "@types/three": "0.184.0",
51
+ "three": "npm:super-three@0.185.0",
52
+ "@types/three": "0.185.4",
53
53
  "typescript": "^5.5.0"
54
54
  },
55
55
  "repository": {