A-Frame v0.6.0 Release Notes

Release Date: 2017-06-29 // almost 7 years ago
    • ๐Ÿ”— Link traversal for navigating from page to page while staying in VR. Support
    • for VR controllers across the board with the addition of Daydream and GearVR
    • ๐ŸŽ controller components as well as laser interactions. Large performance
    • ๐Ÿ‘Œ improvements around .getAttribute and .setAttribute.

    Major Changes

    • โฌ†๏ธ Bumped three.js to r84. (#2456)
    • โšก๏ธ Updated WebVR polyfill to 0.9.35. (#2700, #2818)
    • โœ‚ Removed auto-enter-vr component previously for Carmel debugging. (#2784)

    ๐Ÿ—„ Deprecations

    • ๐Ÿ“‡ Renamed AFRAME.utils.coordinates.isCoordinate to AFRAME.utils.coordinates.isCoordinates. (af3f89)
    • โœ‚ Removed reset sensor keyboard shortcut due to being removed from WebVR API. (#2531)

    โœจ Enhancements

    • โž• Added support for link traversal. (#1575)
    • โž• Added link component with default portal appearance. (#1575)
    • โž• Added link-controls component in the examples. (#1575)
    • ๐Ÿ‘ Daydream controller support with daydream-controls, 3DoF support to tracked-controls with head/arm model. (#2538)
    • ๐Ÿ‘ GearVR controller support with gearvr-controls. (#2545)
    • ๐Ÿ“ฑ laser-controls component for responsive controls across 6DoF and 3DoF. (#2678)
    • โž• Added support for cursor component to draw a visible ray or project a mesh onto the intersection point. (#2678)
    • โž• Added origin and direction properties to configure raycaster component. (#2678)
    • ๐Ÿ‘ Shadow support via shadow component and light properties. (#2350)
    • ๐Ÿšš Implement thumbstickmoved and axismoved for oculus-touch-controls. (#2513)
    • โšก๏ธ Implement system .update handler. (#2548, #2613)
    • โž• Added controllerconnected and controllerdisconnected events. (#2505)
    • ๐Ÿ– Handle onvrdisplaypresentchange events to enter and exit VR. (#2751)
    • ๐Ÿ”ฆ Exposed material.alphaTest and material.depthWrite properties. (#2516)
    • ๐Ÿ”ฆ Exposed glTF animations. (#2417)
    • ๐Ÿ‘ Implemented Component.tock handler called after scene render for future post-processing support. (#1564)
    • โž• Added support for A-Frame being required in a Node environment. (#2476, #2477, #2484, #2492, #2498)
    • ๐Ÿšš Implemented trackpadmoved event for vive-controls component. (#2415)
    • โž• Added response-type attribute to <a-asset-item> to support array buffer responses. (#2442)
    • Automatically set glTF response types to array buffer. (63d2f8)
    • Apply camera.userHeight to controller when no stage parameters (e.g., Daydream). (#2448)
    • ๐Ÿ‘ Allow unsetting of mixin with .setAttribute('mixin', '') and .removeAttribute('mixin'). (a173509)
    • ๐Ÿ‘ Allow default lights to be disabled with <a-scene light="defaultLightsEnabled: false">. (#2376)
    • โž• Added panner properties to sound component. (#2374)
    • โž• Added non-positional audio support to sound component. (#2490)
    • ๐Ÿ”จ Refactored and unit test tracked-controls component. (#2396)
    • โž• Added triangle geometry. (#2573)
    • ๐Ÿšš Cleaned up cursor component when removed. (#2391)
    • 0๏ธโƒฃ Normalized default component values to proper types rather than strings. (#2411)
    • โœ‚ Removed unnecessary touching of THREE.Cache for asset responses. (#2435)
    • Throw error for developer if HTML is opened with file:// protocol. (#2540)
    • Set System.el to the scene element. (#2566)
    • ๐Ÿ‘‰ Use isControllerPresent utility rather than checking navigator.getGamepads in order to fake oculus-touch-controls for motion capture. (#2604)
    • Check WebVR API rather than using a dolly to check for positional tracking capabilities. (#2602)
    • 0๏ธโƒฃ Made default cone geometry look like a cone. (#2506)
    • ๐Ÿ‘‰ Show error message when loading Inspector. (#2525)
    • โž• Added validation warnings for schema default values. (#2511)
    • โœ‚ Removed timestamps from debug and console messages to reduce noise. (#2550)
    • ๐Ÿ‘‰ Use getElementById vs. querySelector for asset property types to be more strict. (#2578)
    • โž• Added developer warnings for primitive mapping names. (#2631)
    • 0๏ธโƒฃ Anti-alias by default on 2D desktop. (#2455)
    • โž• Added support for iOS 10 HLS video streaming. (#2597)

    ๐ŸŽ Performance

    • Skipped schema type checking when object is passed through .setAttribute more than once to consider it a validated object. (#2679)
    • ๐Ÿ‘ฏ Made .getAttribute not clone component data object. Now returns raw reference to component data (#2689)
    • Disposed of unused texture objects from memory when no longer used by material component. (#2686)
    • ๐Ÿš‘ Throttled emitting of componentchanged event on each update to every 200ms. We recommend polling if more critical updates are needed. (#2683)
    • Avoided string.split() in .setAttribute() to reduce memory in array instantiations. (#2674)
    • โœ‚ Removed duplicate asset requests by passing down <img> from <a-assets> and by using crossorigin from the start. (#2544)
    • ๐Ÿ”„ Changed selector property types to support getElementById. (#2820)
    • โฌ‡๏ธ Reduced default <a-cursor> segments. (#2821)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed hand-controls blend-character animations between hand poses. (#2568)
    • ๐Ÿ›  Fixed infinite loop when component .init handler calls .setAttribute on itself. (#2454)
    • ๐Ÿ›  Fixed unreliable requestAnimationFrame timestamps by using THREE.Clock in the render loop. (#2471)
    • ๐Ÿ›  Fixed error when entity detached while trying to load and then trying to initialize. (#2521)
    • ๐Ÿ›  Fixed updating of material.side component. (#2528)
    • ๐Ÿ›  Fixed components sharing default array reference. (#2615)
    • ๐Ÿ›  Fixed non-recursive raycasters. (#2331)
    • ๐Ÿ›  Fixed various issues with sound component. (#2490)
    • ๐Ÿ›  Fixed AFRAME.utils.device.checkHeadsetConnected to check VRDisplay.isConnected (for Windows Mixed Reality Headsets). (#2427)
    • ๐Ÿ›  Fixed video materials not respecting autoplay and controls attributes, set playsinline. (#2610)
    • ๐Ÿ›  Fixed cursor component mouseup event not being emitted if entity no longer intersecting. (#2678)
    • ๐Ÿ›  Fixed resetting material texture to null. (#2388)
    • ๐Ÿ›  Fixed sound not playing when changing sound source. (#2457)
    • ๐Ÿ›  Fixed AFRAME.utils.deepEqual recursion when comparing object with itself. (#2406)
    • ๐Ÿ›  Fixed AFRAME.utils.deepEqual when comparing non-Object objects like HTML elements (#2502)
    • ๐Ÿ›  Fixed loading of glTF files that did not include a default scene. (#2462)
    • ๐Ÿ›  Fixed camera height when re-entering VR. (#2394)
    • ๐Ÿ›  Fixed CSS cursor stuck to grabbing in Firefox. (#2684)
    • ๐Ÿ›  Fixed tablets not being considered mobile devices in AFRAME.utils.isMobile. (#2309)
    • ๐Ÿ›  Fixed AFRAME.utils.coordinates.isCoordinate with scientific notation. (#2475)
    • ๐Ÿ›  Fixed pool component initializing twice. (#2407)
    • ๐Ÿ›  Fixed error when injecting Inspector. (#2380)
    • ๐Ÿ›  Fixed plane geometry segments. (#2499)
    • ๐Ÿ›  Fixed grab CSS being applied when look-controls disabled. (#2642)
    • ๐Ÿ›  Fixed look-controls enabling and disabling. (#2467)
    • ๐Ÿ›  Fixed light targets. (#2715)
    • ๐Ÿ›  Fixed setAttribute wiping out DOM-defined data on init. (#2727)
    • ๐Ÿ›  Fixed primitives mapping to non-default components. (#2767)
    • ๐Ÿ›  Fixed vive-controls component button colors. (#2772)
    • ๐Ÿ›  Fixed error if removing component before initialized. (#2713)
    • ๐Ÿ›  Fixed booleans when updating component. (#2796)
    • ๐Ÿ›  Fixed cursor component not waiting for canvas to load. (#2813)
    • ๐Ÿ›  Fixed text component not updating text while font is loading. (#2814)
    • ๐Ÿ›  Fixed WebVR polyfill being applied and user height not applied to GearVR browsers. (#2819)
    • ๐Ÿ›  Fixed single-property mixins not working with primitives. (#2810)