A-Frame v0.8.0 Release Notes

Release Date: 2018-03-09 // about 6 years ago
  • 0.8.0 (March 9, 2018)

    ๐ŸŽ Performance improvements.

    Major Changes

    • โšก๏ธ Updated to three.js r90.
    • โšก๏ธ Ability to update three.js Object3D position, rotation, scale, and visible directly while being in sync with A-Frame. (#3245)
    • ๐Ÿšš Bubble object3dset and object3dremove events no longer bubble. (#3220)
    • Raycaster intersection and cleared events now emitted once per event, not on every frame. (#3126)
    • โœ‚ Remove VREffect / VRControls for three.js WebGLRenderer API. VR camera pose is managed by three.js. (#3152, #3327)
    • โœ‚ Removed geometry.mergeTo. (#3191)
    • โœ‚ Removed State mixins. addState and removeState event detail modified to be the state name, not object. (#3171)
    • โœ‚ Removed Scene.reload() (#2239)

    ๐Ÿ—„ Deprecations

    • Entity.getOrCreateObject3D. (#3222)

    ๐Ÿ›  Fixes

    • โšก๏ธ Clone object type properties into oldData to fix update method not called on referenced objects. (#3409)
    • ๐Ÿ›  Fix matrix composition when updating pose for controllers. (#3407)
    • ๐Ÿ›  Fix component update getting overridden by mixin due to not passing in the whole attrValue into buildData. (#3302)
    • โœ‚ Remove a-canvas z-index. (#3391)
    • ๐Ÿ›  Fix parameters passed to the onButtonEvent function for Windows MR. (#3372)
    • ๐Ÿ›  Fix black texture issue with a-sky and a-videosphere components with three r89. (#3370)
    • ๐Ÿ›  Fix material array handling in shadow component. (#3348)
    • Postpone the resize operation in iOS to ensure that the window size matches the viewport on orientation changes. (fix #3282) (#3306)
    • ๐Ÿ›  Fix utils.entity.getComponentPropertyPath if defaultLightsEnabled not defined
    • Look-controls don't read HMD position if no headset connected. (#3286)
    • ๐Ÿ›  Fix raycaster direction. (#3239)
    • ๐Ÿ›  Fix raycaster line update that wasn't triggered anymore. (#3124)
    • ๐Ÿ›  Fix data from dom not parsed if skipTypeChecking. (#3153)
    • 0๏ธโƒฃ Clone default array property type. (#3095)
    • ๐Ÿ›  Fix Gear VR buttons highlighting. (#3103)
    • Do not resize the canvas while presenting on mobile (#3080)
    • Flipped the sign on sampleUV.x in the portal shader used by the link component (#3079)

    โœจ Enhancements

    • โž• Add spectator camera mode and spectator scene component. (#3280)
    • ๐Ÿ‘Œ Support Pointer Lock API. (#3341)
    • ๐Ÿ‘ Allow mixin composition. (#3305)
    • โž• Add a background component for better performant plain color backgrounds than <a-sky>. (#2908)
    • ๐Ÿšš Use MutationObserver and object3dset and object3dremove events to refresh raycaster list. (#3070)
    • ๐Ÿ‘ Allow specify container for pool component. (#3392)
    • ๐Ÿ”ฆ Expose raycaster.intersections array. (#3289)
    • โœ‚ Remove cameraRig on setupDefaultCamera. (#3364)
    • โž• Add metalnessMap and roughnessMap. (#2722)
    • โž• Add spectator camera mode to the camera component and spectator scene component. (#3280)
    • โž• Add transparent flag to be able to define transparent backgrounds. (#3320)
    • ๐Ÿ‘Œ Improve function names in debugger call stacks. (#3310)
    • ๐Ÿ‘ Allow removal of mixed-in components. (#3275)
    • โž• Add xOffset option to allow text padding. (#3269)
    • ๐Ÿ‘ Allow disable shadow map auto update, fix shadow system init. (#3214)
    • ๐Ÿ‘‰ Use component event handlers insted of bound a-scene methods. (#3213)
    • ๐Ÿ‘Œ Support sources in video. (#3176)
    • ๐Ÿ‘‰ Make camera system aware of mixins. (#3196)
    • โœ‚ Remove everGotGamepadEvent flag and gamepadconnected / gamepaddisconnected. (#3189)
    • Register cursor event listeners on canvas, not window. (#3179)
    • ๐Ÿ’… Do not update style.width and style.height on renderer resize to not override styles applied externally. (#3184)
    • Factor out onButtonEvent method from controllers. (#3169)
    • โž• Add raycaster.enabled property to toggle tick handler. (#3148)
    • Have camera call enter VR handler if scene already entered VR with display activate. (#3149)
    • String-trim primitive attribute values. (#3145)
    • โž• Add customizeable colors to link portal and title. (#3106)
    • ๐Ÿšš Adapt cursor onMouseMove to also accept touchmove events. (#3143)

    ๐ŸŽ Performance

    • ๐Ÿ’พ Save array creations on each raycaster update. (#3317)
    • โšก๏ธ Optimize event emit. (#3308)
    • โšก๏ธ Throttle updateControllerList while keeping getGamepads call. (#3112)
    • Get rid of some string split operations. (#3316)
    • 0๏ธโƒฃ Default the raycaster interval/throttle to 0. (#3293)
    • Have getAttribute(visible) return object3D.visible directly. (#3283)
    • โšก๏ธ Optimize aframe.utils.diff. (#3271)
    • ๐ŸŽ Raycaster fixes and performance improvements. (#3250)
    • โœ‚ Remove garbage for addBehavior/removeBehavior. (#3217)
    • โฌ‡๏ธ Reduce garbage in axismove in tracked-controls. (#3185)
    • โšก๏ธ Prevent component leakage in updateComponents (#3212)
    • Cache font image textures for text component (#3158)
    • โœ‚ Remove two array allocations per deepEqual call (#3115)
    • โฌ‡๏ธ Reduce Object.keys usage in core/schema (#3117)
    • ๐Ÿ’พ Save object allocation on look-controls.calculateDeltaRotation (#3116)