Skip to content

v1.7.0

Latest
Compare
Choose a tag to compare
@dmarcos dmarcos released this 20 Feb 23:07
· 5 commits to master since this release

1.7.0 (Feb 20, 2025)

Post-processing, ES modules and importmap, WebGPU and TSL support, Logitech MX Ink integration and more.

Major Changes

Bug fixes

  • Remove unused width and height properties from flat and standard shaders (#5647) (@mrxz)
  • Relax the clientWidth constraint in the controls tests. Fix tests on Ubuntu (#5641) (@vincentfretin)
  • Check if XRSession exists before attaching inputsourcechange listener (#5631) (@mrxz)
  • Don't apply anchor scale (only position and rotation) to an anchored entity (#5633) (@mrxz)
  • Wait until referenceSpace is available befor initializing compositor layers (#5626) (@vincentfretin)
  • Remove raycaster-closest-entity-changed listener when removing the cursor component (#5625) (@vincentfretin)
  • Handle cursor rayOrigin updates and rayOrigin: mouse when component attached to an entity and not a-scene (fix #4759) (#4760) (@kylebakerio)
  • Fix light shadow frustum visualization via CameraHelper (fix #5098) (#5099) (@IanSweeneyAC, @dmarcos)
  • Prevent loading cubemap for a probe light when envMap is not set (fix #5610) (#5611) (@mrxz)
  • Prevent redundant pinchstarted events on a hand tracking pinch gesture (#5609) (@mrxz)
  • Improve cursor component xrselect logic. Handle rayOrigin property changes and account for camera rigs when calculating the raycaster direction (#5606) (@mrxz, @vincentfretin)
  • Fix Apple Vision Pro detection logic to prevent false positives on iPad and iPhone (fix #5605) (#5607) (@vincentfretin)
  • Remove fullscreen CSS styles from the document element when a-scene is disconnected (#5602) (@gunhaxxor)
  • Adjust light intensity defaults and examples to account for WebGLRenderer.useLegacyLights deprecation in THREE r165 (#8813d3d2) (@dmarcos)
  • Fix model visibility logic of tracked hands and controllers when there are input switches (e.g hands to controllers) (#fa0cc748) (@dmarcos)
  • Prevent a-loader-title div (A-Frame created HTML element) to be serialized (#5574) (@vincentfretin)
  • Disable magic window mode in Vision Pro that is only suitable for handheld mobile devices (#5560) (@dmarcos)
  • Don't bubble <a-asset-item> error event that was preventing some tests to execute (#5548) (@mrxz)
  • Don't stringify properties with undefined values to prevent flushToDOM to produce properties with the undefined string (#5549) (@mrxz)
  • Fix serialization / stringification of asset type properties. When an HTML element they got exported incorrectly as e.g [object HTMLImageElement] (#5544) (@mrxz, @vincentfretin)
  • Refresh raycasted objects only when the objects raycaster component property changes. Prevent unnecessary costly updates (#5542) (@vincentfretin)
  • Fix issue when using <a-cubemap> as texture component envMap (@Omegahed, @mrxz)
  • Fix incorrect texture reference counting, potentially leading to exceptions upon disposal of the texture (#5529) (@mrxz)
  • Eliminate incorrect "unknown property" warnings from dynamic schema components (#5526) (@mrxz)

Enhancements

Deprecations

  • Remove physicallyCorrectLights since useLegacyLights is no longer supported by THREE.WebGLRenderer since THREE r165 (#0123f53749) (@dmarcos)
  • Rename oculus-touch-controls to meta-touch-controls to reflect current branding. oculus-touch-controls kept around for backwards compatibility (#d3be3d2f) (@dmarcos)
  • Remove the now obsolete WebVR support in favor of WebXR (#5451) (@mrxz)
  • Deprecate isGearVR and isOculusGo functions (#5635) (@vincentfretin)