Skip to content

Releases: aframevr/aframe

v1.6.0

23 May 10:35
Compare
Choose a tag to compare

1.6.0 (May 23, 2024)

Tons of bug fixes. Memory management and performance improvements. API to control tick / tock execution order.

Bug fixes

  • Update wrist object position and rotation only when joint poses are available (#5438) (@mrxz)
  • Fix issue when checking schema properties when a schema changes (#5426) (@mrxz)
  • Set correct default value for scene.background when the background component is removed (#5417) (@mrxz)
  • Fix fog removal from scene (#5418) (@mrxz)
  • Fix Chrome non-passive violation warnings for touchmove and touchstart event handlers (#5511) (@mrxz, @mitchallen)
  • Fix bug when loading models on child entities of controllers (#5415) (@mrxz)
  • Fix bug in handling processSound callback when sound hadn't loaded yet (#5414) (@mrxz)
  • Fix misspelled variable names after using a spell checker (#5462) (@mrxz)
  • Fix problem when a shader that declares itself as glsl3 has its version ignored (bbe74f5) (@dmarcos)
  • Fix problem when checking for duplicate names of property types (#5475) (@mrxz)
  • Fix problem when adding children entities to a hand-tracking-controls entity before the hand model has loaded (12d550c) (@dmarcos)
  • Hide hand-tracking-controls entity when there's no hand tracking available (dbdb9da) (@dmarcos)
  • Fix issues when applying mixins to primitives (#5483) (@mrxz)
  • Fix issue when a component is not removed from the DOM via mixin removal / update (#5492) (@mrxz)
  • Fix timing issue when initializing XR Layers (#5489) (@zjm-meta)
  • Fix problem where scene doesn't wait / timeout on a-asset-items (#5491) (@mrxz)
  • Fix bug when using setAttribute on a-scene if a system has not yet initialized (#5482) (@mrxz)
  • Fix broken parser cache of getComponentPropertyPath (#5467) (@mrxz)
  • Fix issue when shadowMaps are always enabled. Make sure it's only enabled when there's a shadow component present (#5399) (@mrxz)
  • Fix issue when children of an entity with hand-tracking-controls don't follow the hand (874fced) (@dmarcos)
  • Fix ES modules support on node (#5522) (@vincentfretin)
  • Make rotation axis order is consistent when using setAttribute and modifying object3D directly (#5513) (@mrxz)
  • Fix issue when calculating the size of the bounding box of an obb-collider (5da7166) (@dmarcos)
  • Fix issue when the el.hasLoaded flag can be true but not all components have initialized (924dc00) (@dmarcos)
  • Fix issue when trying to remove a mesh before model was loaded in obj-model component (#5499) (@Elettrotecnica)
  • Use renderer.useLegacyLights instead of the deprecated renderer.physicallyCorrectLights in THREE (#5389) (@vincentfretin)
  • Set correct default value for glslVersion for non-raw shaders (#5388) (@mrxz)
  • Remove "skinning: true" option when instanciating a THREE.MeshStandardMaterial object. Property deprecated in THREE (#5386) (@avdynut)
  • Fix issue when tracking an unexisting AR Hitest anchor (@hi-liang, @dmarcos) (bcc4bc2) (fix #5314)
  • Fix issue when layers are not initialized in AR mode (bb1e7a4) (@dmarcos)
  • Fix issue when removing unexisting light probe after exiting vr mode (#5429) (fix #5384) (@Elettrotecnica)
  • Fix issue when removing an obb-collider (957237d) (fix #5385)
  • Fix typo when requesting layers on the WebXR requiredFeatures list (f7e56a8) (@dmarcos)
  • Fix issue when trying to animate a non existing button on the controller (da8dc14) (@dmarcos)

Performance

  • Improve unit tests execution time (#5477) (@mrxz)
  • Recycle nextData and previousOldData objects when a component is destroyed preventing memory leaks (#5458) (@mrxz)
  • Improve pooling and recycling of internal component objects. Better memory management (#5459) (@mrxz)
  • Reduce memory allocations on component update logic (#5474) (@mrxz)
  • Improve throttleLeadingAndTrailing implementation to prevent unnecessary allocations (#5476) (@mrxz)

Enhancements

  • Introduce before/after component API to control tick / tock execution order (#5478) (@mrxz)
  • Bump to THREE r164 (@dmarcos)
  • Remove maximum canvas size (#5440) (@mrxz)
  • Cache THREE.Source instead of THREE.Textures (#5449) (@mrxz)
  • Introduce a sceneOnly flag for components that only apply to the a-scene element (#5465) (@mrxz)
  • Switch unit tests from WebVR to WebXR (#5452) (@mrxz)
  • Move back debug dependency from fork to upstream (#5508) (@arpu)
  • Introduce stencil property in the renderer system (#5509) (@mrxz)
  • Improve iPad detection logic to include iPad Pro (#5502) (@Drkjr92)
  • Remove unnecessary attribute properties and special handling of is: "attribute" in shader component (#5310) (@mrxz)
  • Improve async loading of aframe library and interoperation with ES module (#5481) (@mrxz)
  • Improve system warning messages when setting an unknown property (#5463) (@mrxz)
  • Use native bind method instead of custom implementation. Performance benefits of custom one no longer exist (#5461) (@mrxz)
  • Add Pico4 controllers support to laser-controls component (#5435) (@IamTonio)
  • Add hand model opacity to hand-tracking-controls (#5431) (@ehammons11)
  • Postpone screenshot component offscreen canvas setup until a screenshot is taken (#5442) (@arpu)
  • Update GitHub CI to use node 20.x (#5479) (@vincentfretin)
  • Use window.isSecureContext instead of manually checking URL for http/localhost/127.0.0.1 (#5487) (@mrxz)
  • Remove deprecated getComputedAttribut method (#5466) (@mrxz)
  • Remove unnecessary crossOrigin configuration for THREE loaders (#5416) (@mrxz)
  • Add support for navigator.xr.offerSession WebXR spec (#5410) (@cabanier)
  • Add support for fog, toneMapping, colorSpace conversion and logarithmicDepthBuffer to the msdf shader used in the text component (#5409) (@mrxz)
  • Remove minimum scale value. THREE handles zero scale gracefully (#5404) (@mrxz)
  • Add hide-on-enter-vr component analog to hide-on-enter-ar (9e644de) (@dmarcos)
  • Remove iOS 10 specific HLS workaround (#5450) (@mrxz)
  • Remove outdated polyfills that were needed just for IE11 (#5448) (@mrxz)
  • Docs improvements (@diarmidmackenzie, @Samu01Tech, @thepelkus-too, @Omegahed, stefanhuber, @ctrlw, @vincentfretin, @jgbarah)

v1.5.0

14 Nov 18:38
Compare
Choose a tag to compare

Multiview extension, Spatial computing UIs, Mixed Reality features, Quest 3 support and much more!

Check out the new examples: Anchors, World Meshing and Hand Grab Controls

If you find A-Frame valuable consider sponsoring on github. A-Frame is 100% maintained by volunteers and any help is super appreciated.

Bug fixes

  • Use renderer.useLegacyLights instead of the deprecated renderer.physicallyCorrectLights in three r150, but keep the physicallyCorrectLights property name for the renderer system for backward compatibility (fix #5293)
  • Fix hand-controls animations (#5300)
  • Fix outdated link in error message (#5313) (fix #5275) (@kolson25)
  • Fix visibility of controller in model-viewer example (#5317) (@DougReeder)
  • Fix typo in phong shader properties (#5334) (@nightgryphon)
  • Adapt shaders to new THREE API (#5328) (@nightgryphon)
  • Traverse meshes instead of using a hardcoded index (#5340) (@diarmidmackenzie)
  • Fix examples miscellaneous errors (#5343) (@mrxz)
  • Fix back plane resizing when text component changes (#5357) (fix #2764) (@brycethomas)
  • Fix switching back and forth from hands to controller input (fix #5373) (@floe, @dmarcos)

Enhancements

Deprecations

1.4.2

22 Apr 17:32
Compare
Choose a tag to compare

Bug fixes

  • Fix issue when Quest 2 touch buttons are pressed before model has loaded (#5212, #5220) (@vincentfretin @mikemainguy)
  • Fix orientation of hand tracking models (fix #4848) (@DougReeder)
  • Fix problem with where image load quickly before the onload listener is attached. Manifests in particular for browser cached images (fix #5251) (@tomfelder94)
  • Fix loading order when A-Frame is used along defer and modules script tags (fix #5228) (@wmurphyrd)
  • Fix raycaster visual appearance when origin is not 0,0,0 (fix #4882) (#4884) (@Clicky02)
  • Fix problem when adding a single property component via mixin (#5273) (@kfarr @dmarcos)
  • Fix exception when trying to reference this pointer inside callback. (#5221) (@diarmidmackenzie)
  • Change vertexColors property name to vertexColorsEnabled and make it a boolean to match THREE API (#5250) (@diarmidmackenzie)

Enhancements

v1.4.1

06 Jan 11:35
Compare
Choose a tag to compare

Bug fixes

v1.4.0

26 Dec 23:15
Compare
Choose a tag to compare

A-Frame moved to custom elements V1, Oculus Quest Pro support, and tons of fixes and improvements in both A-Frame core and inspector 👏

28 A-Framers contributed to this one! You're awesome 🙇

Sponsor A-Frame to help us move the 3D Web forward.

You can also buy a cool t-shirt 👕

Major Changes

Deprecations

  • Cardboard mode is now disabled by default as a first step towards deprecation. Magic window is now the fallback on mobile when native WebXR API is not available (fix #4814) (@dmarcos)

Enhancements

Bug fixes

v1.3.0

04 Feb 04:23
Compare
Choose a tag to compare

WebXR immersive session and hand tracking fixes!

Sponsor A-Frame to help us move the 3D Web forward.

You can also buy a cool t-shirt 👕

Major Changes

Fixes

Enhancements

v1.2.0

05 Feb 01:40
Compare
Choose a tag to compare

WebXR immersive session and hand tracking fixes!

Sponsor A-Frame to help us move the 3D Web forward.

You can also buy a cool t-shirt 👕

Major Changes

Fixes

  • Fix hand tracking (97be815) (@dmarcos)
  • Fix immersive mode in Chrome for Android and Microsoft Edge. (THREE r125)
  • Don't initialize text mesh until the font has loaded. This prevents the raycaster to intersect prematurely and emit spurious events (#4742) (@quantumalchemy @dmarcos)
  • Fix raycaster overriding line default color (#4743) (@GMartigny @dmarcos)
  • Make sure enter-vr / exit-vr events are emitted when entering fullscreen (#4740) (@stefanhuber @dmarcos)
  • Fix problem with wasd-controls when opening a contextual menu with right click while pressing WASD simultaneously. Camera movement doesn't stop when releasing keys (#4766) (@djoksimo @dmarcos)
  • Fix inspector toggle on US international keyboards (#4516) (@svenkonings @dmarcos)
  • Make sure generic controls have the lowest precedence when vendor specific ones are also defined (#4784) (@fordacious @dmarcos)
  • Fix tests (@dmarcos)

Deprecations

  • THREE r125 deprecates THREE.Geometry

Enhancements

v1.1.0

03 Dec 03:21
Compare
Choose a tag to compare

5 years of A-Frame! 🥳

40 amazing A-Framers participated in this release. Thank you 👏

AR, hand tracking, compositor layers, immersive navigation (Quest only), Quest 2 support and much more.

Buy a t-shirt 👕 and support A-Frame developmet

Major Changes

Fixes

Enhancements

v1.0.4

05 Feb 02:18
Compare
Choose a tag to compare

Bug fixes

Subscribe to the newsletter to continue to support A-Frame!

Fixes

Enhancements

v1.0.3

29 Dec 07:44
Compare
Choose a tag to compare

Bug fixes

Subscribe to the newsletter to continue to support A-Frame!

Fixes

  • Add support for Gear VR controller over WebXR (@Artyom17, @dmarcos)
  • Add support for Oculus Go controller over WebXR (@Artyom17, @arpu, @dmarcos)
  • Fallback to a generic controller when a WebXR gamepad is not recognized (#4376) (@Artyom17, @dmarcos)
  • Match physical and virtual position of Quest and Rift S controllers (fix #4374) (@Artyom17, @dmarcos)
  • Consider initial device orientation for magic window tracking. Fix problem when experience loads in landscape orientation on Android devices (@dmarcos)
  • Listen to DOMContentLoaded if scene is not defined before updating the enter VR UI (#4373) (@mkungla, @dmarcos)