All Versions
26
Latest Version
Avg Release Cycle
103 days
Latest Release
805 days ago

Changelog History
Page 2

  • v0.9.0 Changes

    February 07, 2019

    ๐ŸŽ Performance improvements, WebXR support, Inspector updates!

    โœ… We continued to battle test A-Frame to produce native-like VR experiences and
    ๐ŸŽ continue to add large performance gains. We have also introduced initial WebXR
    ๐Ÿ‘Œ support! Although the spec is heavily in flux and yet to have feature parity
    โœ… with WebVR 1.1, we had A-Frame get a head start to help test it out and smooth
    out the changes.

    Major Changes

    • โฌ†๏ธ Bump to three.js r101 on a branch with a few extra patches for WebXR support (f9f314).
    • ๐Ÿ‘ WebXR support (#3875).
    • โœ‚ Remove <a-animation> in favor of new animation component (#3678).
    • โœ‚ Remove collada-model component (#3866).
    • โž• Add renderer.colorManagement property (disabled by default) to accurately match colors against modeling tools, but may changes in scene colors when flipped on. renderer.gammaFactor will be set to 2.2. Call scene.renderer.systems.applyColorCorrection on THREE.Colors and THREE.Textures to normalize changes (#3757).
    • ๐Ÿšš Have raycasters only intersect against objects defined via .setObject3D. raycaster.objects should be specified (e.g., objects: [data-raycastable] or objects: .raycastable) because raycasting is expensive. raycaster.recursive property removed (#3980) but will default to be recursive only under objects defined via .setObject3D (#3652).
    • โž• Add renderer component (#3757).
    • ๐Ÿšš antialias attribute moved to renderer.antialias.
    • Raycaster events such as raycaster-intersected no longer directly contain intersection data. Use .getIntersection function supplied in event detail or el.components.raycaster.getIntersection(el) to retrieve intersection data. Done to reduce garbage (a87e3b).
    • 0๏ธโƒฃ Disable link portal appearance by default (link.visualAspectEnabled), link component defaults to purely to listening to an event to trigger navigation (#3743).

    ๐Ÿ›  Fixes

    • Frame-independent easing for wasd-controls to prevent judders during framedrops (#3830).
    • โšก๏ธ Enable matrix auto updates for tracked-controls to fix children of camera and controllers not following parent (#3867).
    • ๐Ÿ›  Fix removing mixins not removing components (#3982).
    • ๐Ÿ›  Fix timing issues with mixins on still-initializing entities (#3859).
    • setPoseTarget to underlying object3D to fix issues with entities as child of camera (#3820).
    • โšก๏ธ Don't disable matrixAutoUpdate for tracked-controls outside VR (643fdc).
    • Render spectator view after VR submit frame (#3577).
    • ๐Ÿ›  Fix mouse cursor events not being re-enabled on resume (#3904).
    • ๐Ÿ‘ Allow components to write to camera Z rotation when look-controls enabled (9a78a)
    • Clear raycaster intersections when toggling disabled (#3594).
    • Postpone renderer until scene is appended to DOM (#3574).
    • ๐Ÿ›  Fix canvas textures (b47f20).
    • ๐Ÿ›  Fix faces and vertices numbers on stats panel (#3573).
    • ๐Ÿ›  Fix magic window mode on Chrome (aaa3bf).
    • ๐Ÿ›  Fix audio asset preloading (2a899c).
    • ๐Ÿ›  Fix raycaster flatten to only include objects part of el.object3DMap versus arbitrary children (8809e7).
    • ๐Ÿ›  Fix canvas getting squished on orientation change on mobile (64ed3d).
    • โšก๏ธ Update position, rotation, scale components when calling .setAttribute on them (#3738).
    • โšก๏ธ Update canvas bounds for mouse cursor on renderer resize (a4cf08).
    • ๐Ÿ›  Fix controller reconnecting on Oculus Go and GearVR (dc8662).
    • ๐Ÿ›  Fix playing sound on event with sound.on (#3844).
    • ๐Ÿ›  Fix Chrome WebView (#3852).
    • ๐Ÿ›  Fix raycaster not grabbing all entities when raycaster.objects is not set. But you should always set it (#3840).
    • ๐Ÿ›  Fix WebVR polyfill buffer scale override (#3863).
    • ๐Ÿ›  Fix text when used with other geometry types (#3909).
    • ๐Ÿ›  Fix daydream-controls trigger not working with cursor by default (#3916).
    • ๐Ÿ›  Fix accessing Inspector in pointer lock mode (#3947).
    • ๐Ÿ›  Fix mouse cursor not emitting click when fuse is set (#4000).
    • ๐Ÿ›  Fix screenshots (#3998).
    • ๐Ÿ›  Fix camera offset getting applied when entering 2D fullscreen (#3902).

    โœจ Enhancements

    • โž• Add oculus-go-controls, thanks Oculus! (cbbe75)
    • โž• Add vive-focus-controls (#3876).
    • โž• Add loading-screen component (#3760).
    • โž• Add ?inspector={selector} and Entity.inspect() to automatically launch Inspector and focus on entity (#3894).
    • โž• Add renderer.highRefreshRate to enable 72hz mode on Oculus Browser (#3967).
    • โž• Add tracked-controls.autoHide property to configure whether controllers automatically hide when connected or disconnected (#3912).
    • Enable multiple raycasters on an entity (fc18cd).
    • ๐Ÿ‘Œ Support custom enter VR buttons through vr-mode-ui (#3606).
    • โž• Add material.blending property (#3543).
    • โž• Add light.shadowRadius property (21b38).
    • โž• Add ability to cap canvas size to pixel value (92b2f9).
    • โฌ‡๏ธ Reduce npm bundle (53f58f).
    • Allow double underscores in component IDs (e.g., animation __foo__ bar) (030023).
    • โž• Add renderer.logarithmicDepthBuffer option (d210a2).
    • โž• Add look-controls.reverseTouchDrag property (#3761).
    • Switch to jsdelivr with rawgit going away.
    • ๐Ÿ‘Œ Support preprocessing of sound in sound.playSound() (2b2819).
    • ๐Ÿ’… Consolidate fullscreen styles under single CSS class (html.a-fullscreen) (#3828).
    • Emit displayconnected event when headset connected (#3918).
    • 0๏ธโƒฃ Enable antialias by default on Oculus Go (#3942).
    • โšก๏ธ Update to webvr-polyfill v0.10.10 (#3993).

    ๐ŸŽ Performance

    • ๐Ÿ”จ Large refactor of core component update path, reducing memory allocation and using object pooling (#3772).
    • โšก๏ธ Skip buildData if updating component directly. 2x speed boost on .setAttribute (#3835).
    • โœ‚ Remove spamming navigator.getGamepad calls in tracked-controls (#3816).
    • โšก๏ธ Optimize coordinates / vector utilities (#3908).
    • โœ‚ Remove object allocation in .setAttribute(component, propertyName, value) (#3812).
    • Simplify text shader hacks and make text alpha look prettier (#3557).
    • โœ‚ Remove garbage and bubbling from tracked-controls (#3589).
    • โœ‚ Remove redundant matrix world update in raycaster (ae7eba).
    • Replace Oculus OBJ model with a glTF one (#3539).
    • โšก๏ธ Optimize coordinate parse (bf66ba).
    • Simply wasd-controls tick (#3763).
    • โšก๏ธ Optimize text component (#3768).
    • โœ‚ Remove memory allocations in material code (#3789).
    • โœ‚ Remove garbage in sound component (2b2819).
    • ๐Ÿ‘Œ Improve grabbing class cursor performance in 2D look-controls (#3790).
    • โœ‚ Remove unused and redundant mixin observers (#3831).
    • โž• Add warning to developers to specify raycaster.objects (#3839).
    • Cache asset property type regex (#3854).

    Inspector

    Kevin spent some time getting the Inspector into ship shape.

    Major Changes

    • โšก๏ธ Introducing the A-Frame Watcher to sync updates of entities with IDs from Inspector to HTML files.
    • โœ‚ Remove HTML exporter.
    • โœ‚ Remove old A-Frame Registry code.
    • โœ‚ Remove broken Uploadcare uploader.
    • โœ‚ Remove motion capture tools.

    โœจ Enhancements

    • Orthographic cameras.
    • ๐Ÿ‘Œ Improve raycasting to picking entities.
    • Syntax highlighting of entities.
    • Highlight and describe entities on viewport bar when hovering.
    • โž• Added ?inspector={selector} to automatically launch Inspector and focus on entity.
    • ๐Ÿ‘‰ Show bounding box of selected entities.
    • ๐Ÿ‘‰ Show with icon what entities contain text in scenegraph.
    • Sort component properties alphabetically.
    • Display class names on entity panel.
    • Only show camera and light helpers when respective entity is selected.
    • ๐Ÿ‘Œ Improve position when focusing on entity.
    • ๐Ÿ’… Polish components panel.
    • Center editor controls to the scene camera position.
    • ๐Ÿ‘Œ Support arrow keys for number widgets.
    • .glb export.
    • โž• Add o shortcut to toggle transform widget.
    • โž• Add esc shortcut to unselect entity.
    • ๐Ÿ”จ Refactor most everything (modularize, data flow, Stylus, Prettier).
    • ๐Ÿ‘‰ Tweak grid colors.
    • Bigger checkboxes.
    • ๐Ÿ›  Fix color picker in components panel.
    • ๐Ÿ›  Fix display of mixins.

    ๐ŸŽ Performance

    • Don't load 50 images when opening the Inspector.
    • โšก๏ธ Optimize and fix helpers for position, rotation, scale.
    • Speed up scene graph search.
    • โœ‚ Remove global mutation observer.
  • v0.8.2 Changes

    April 15, 2018

    ๐Ÿ› Bug fixes after 0.8.0 release.

    ๐Ÿ› Bug Fixes

    • Place touch model to match real physical position of the controller. Apply correctly the pivot offset for Oculus Touch Controls. (#3537)
    • โœ‚ Remove unused rotationOffset attribute in favor of orientationOffset. (#3537)
    • ๐Ÿ‘‰ Use both touchpad and trigger events in laser-controls to fire click events on GearVR. (#3530) (fix #3519) 4879f0601 Fix reverse mouse drag for look-controls. (#3482) (fix #3459)
    • ๐Ÿ‘‰ Use most recent intersection from raycaster when entity is intersected. (#3475) (fix #3467, #3485, #3445)
    • ๐Ÿ›  Fix minification issues due to ES6 features. Use forEach instead of for...of (#3495) (fix #3449)
    • ๐Ÿ’ป Stop click event from propagation in vr-mode-ui. Prevent taps on the screen to propagate to the scene on Cardboard v2. (#3527)
    • Init position/rotation/scale first if defined on the entity (#3517) (fix #3516)
    • ๐Ÿ”„ Change default value of vec4 component property type to match THREE.Vector4 default value.
    • ๐Ÿ—„ Deprecate antialias component in favor of renderer component. (#3424)
    • ๐Ÿ›  Fix post processing. Use scene.onAfterRender() for tock. (#3468)
    • ๐Ÿ›  Fix ignored controller events if several button preses happen on same tick. (#3472)
    • ๐Ÿ›  Fix animations triggered by state change. (#3470) (fix #3436)
    • Delay setting pose target for VRManager until camera is ready to prevent vrdisplayactivate trigger vr mode prematurely. (#3448)
    • ๐Ÿ›  Fix video sphere not rendering due to missing back material flag. (fix #3444)
    • ๐Ÿ›  Fixes pointerlock mode camera movement jank. (#3434)

    ๐ŸŽ Performance

    • โœ‚ Remove default components to 4 component initializations per entity. (#3490)
    • ๐Ÿ’พ Save one array initialization per tick and raycaster. (#3438) (fix #3437)
    • โช Use Object3D directly to save/restore pose in look-controls skipping radToDeg. (#3439)

    โœจ Enhancements

    • โž• Add component to a-scene to configure renderer. (#3424) (fix #666)
    • โž• Add component reference to sound-loaded and sound-ended (#3514) (fix #3505)
    • ๐Ÿ‘Œ Improve testing coverage for controllers (#3474)
  • v0.8.0 Changes

    March 09, 2018

    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)
  • v0.7.1 Changes

    October 18, 2017

    ๐Ÿš€ This release contains the same functionality as 0.7.0. This is a version bump ๐Ÿ“ฆ to fix the npm package that shipped by mistake with an outdated THREE r86 ๐Ÿ”– version. (#3177)

  • v0.7.0 Changes

    ๐Ÿš€ This release features:

    • ๐Ÿ‘Œ Support for Windows Mixed Reality Headsets and Microsoft Edge.
    • ๐Ÿ‘Œ Support for glTF 2.0.
    • ๐ŸŽ Performance improvements to reduce garbage collection cycles.

    Major Changes

    • โž• Add support for Windows Mixed Reality motion controllers. (#3013)
    • โž• Add glTF 2.0 support through upgrading three.js. glTF 1.0 is no longer supported. (#2986)
    • โฌ†๏ธ Bump THREE to r87. (#2994)

    ๐Ÿ›  Fixes

    • Do not resize the canvas in VR which leads to resolution drop (#3031).
    • ๐Ÿ›  Fix component build data when previousData is object and a property has a null default value. (#3021)
    • ๐Ÿ›  Fix calculating mouse position for embedded scenes. (#2942)
    • ๐Ÿ›  Fix missing detail property in a-scene onVRPresentChange. (#2920)
    • ๐Ÿ›  Fix updates for the line component. (#2906)

    โœจ Enhancements

    • ๐Ÿ– Handle vrdisplayconnect and vrdisplaydisconnect events in VREffect and VRControls. (#3019)
    • ๐Ÿ‘ Allow text component to take a number value. (6cbdac)
    • ๐Ÿ– Handle vrdisplaypointerrestricted event in a-scene. (#3014)
    • ๐Ÿ‘ Allow decoupling of touch events in look-contols. (#3012)
    • โž• Add support for VR headsets that do not provide stageParameters. (#3000)
    • ๐Ÿšš Moves canvas initialization logic from a component to the scene. (#2985)
    • Listen to vrdisplayconnect and vrdisplaydisconnect to enter and exit VR when headset is plugged or unplugged. (#2900)
    • โž• Add title info to Enter VR button. (#2905)
    • Cursor example improvements. (#2916)
    • โž• Add vertexColors property to base material component. (#2901)
    • โž• Add emissive and emissiveIntensity properties to base material component. (#2896)

    ๐ŸŽ Performance

    • โšก๏ธ Optimize tracked controls tick, discovery, and utilities. (#2943)
    • ๐Ÿ‘ฏ Do not clone attrValue attributes into data anymore to reduce cloning. (#2939)
    • โšก๏ธ Optimize a-entity code. (#2959)
    • โšก๏ธ Optimize wasd-controls with early returns and skipping of type checking. (#2945)
    • โšก๏ธ Optimize vec3 parse utility. (#2947)
    • โšก๏ธ Optimize component change/initialize events. (#2950)
    • โšก๏ธ Optimize look-controls by reducing object allocations and skipping of type checking. (#2944)
    • โšก๏ธ Optimize emit method by removing split/map/callback calls and allocations. (#2941)
    • ๐Ÿ’พ Save a couple of function callbacks and array creations on each frame. (#2937)
    • โœ‚ Remove inline functions for critical code paths in tracked-controls/raycaster/component for garbage collection. (#2936)
    • โšก๏ธ Do not update component when data not changed even if skipping type checking. (#2917)
  • v0.6.1 Changes

    July 18, 2017

    ๐Ÿ› Bug fixes, support for Firefox on Android, mouse-based cursor, enable motion capture developer tools in the Inspector.

    โœจ Enhancements

    • โž• Add a mouse-based cursor / raycaster, apply to the link traversal example. (#2861)
    • Replace BlendCharacter dependency with ObjectLoader for hand-controls component. (#2876)

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix component updates when reusing same object by storing oldData after building component data. Pass undefined as oldData on component initialization for single-prop components. (#2840, #2871)
    • More reliable entity loading order by checking against list of registered elements. (#2873)
    • โฌ†๏ธ Bump polyfill that fixes Firefox for Android tracking issue. (#2865)
    • ๐Ÿ‘‰ Use attribute for animation color as from if from is not defined. (#2855)
    • Re-add controller events after unpausing scene. (#2879)
    • ๐Ÿ›  Fix line component being applied in raycaster when disabled.
  • v0.6.0 Changes

    June 29, 2017
    • ๐Ÿ”— 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)
  • v0.5.0 Changes

    February 09, 2017

    ๐Ÿ‘ 0.5.0 contains text, glTF support, patches to enable WebVR record-and-replay โšก๏ธ tools, WebVR polyfill updates, enhancements, and bug fixes.

    Major Changes

    • โฌ†๏ธ Bumped three.js to r83. (#2214)

    ๐Ÿ—„ Deprecations

    • N/A.

    โœจ Enhancements

    • โž• Added text component for SDF and MSDF text. (#2289)
    • โž• Added gltf-model component for loading glTF 3D models. (#2333)
    • โž• Added new hand poses for Oculus Touch controls. (#2191)
    • Attach tracked-controls event listeners even if no physical controllers are present. (#2314)
    • ๐Ÿšš Made Entity.removeAttribute(component, property) reset a property value to its default. (#2353)
    • โž• Added AFRAME.utils.throttleTick and AFRAME.utils.throttle utils. (#2189)
    • ๐Ÿ”„ Changed hand-controls to check for "not Oculus Touch" rather than "is Vive" to make hand-controls be compatible with community control components (e.g., GearVR). (#2192)
    • ๐Ÿ”€ Don't cache geometry if merging. (#2255)
    • ๐Ÿ‘ Allow unsetting of mixins with setAttribute(mixinId, ''). (#2291)
    • ๐Ÿ‘ Allow access to the screenshot component canvas (#2316).
    • ๐Ÿ’ป Made stats component UI more readable. (#2313)
    • โž• Added warning of registered components contain uppercase characters. (#2233)
    • โž• Added warning if entity is appended outside of a scene. (#2240)
    • โž• Added warning if geometry merge target is not an entity. (#2243)
    • โœ‚ Removed unneeded object equality check getting called on component initialization. (#2322)
    • โšก๏ธ Updated VREffect to allow player scaling. (#2328)
    • Added guides to documentation for Using JavaScript and DOM APIs, Using with three.js, and Writing a Component (58555a, 982f66, 09a606).

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed low iOS resolution and blur issues. (#2352)
    • ๐Ÿ›  Fixed mobile resolution and canvas sizing issues by using WebVR polyfill with updated device database. (#2345)
    • ๐Ÿ›  Fixed potential Vive controller issues across browsers by loosening the Gamepad ID check to only check for prefix. (#2370)
    • ๐Ÿ›  Fixed raycaster.interval not being applied. (#2363)
    • ๐Ÿ›  Fixed system initialization affecting component updates. (#2367)
    • ๐Ÿ›  Fixed unstable version of Inspector being injected on shortcut. (#2364)
    • ๐Ÿ›  Fixed vive-controls not tracking. (#2194)
    • ๐Ÿ›  Fixed component updates getting called even if data did not change. (#2322)
    • ๐Ÿ›  Fixed envify causing issues when installing from npm with a bundler. (c62690)
    • ๐Ÿ›  Fixed component updates with setAttribute using data instead of attrValue. (#2184)
    • ๐Ÿ›  Fixed coordinate parser when passed null and when trying to override. (#2209)
    • ๐Ÿ›  Fixed error when vr-mode-ui is disabled and embedded is enabled. (4607e2)
    • ๐Ÿ›  Fixed array property type updates through AFRAME.utils.deepEqual. (#2229)
    • ๐Ÿ›  Fixed init and update handlers being called when doing flushToDOM on non-loaded entity. (#2250).
    • ๐Ÿ›  Fixed disabling of fog. (#2251)
    • ๐Ÿ›  Fixed texture offset and repeats. (#2253)
    • ๐Ÿ›  Fixed fullscreen not exiting when exiting VR. (#2264)
    • ๐Ÿ›  Fixed component pause and remove handlers not getting called on scene detach. (#2302)
    • ๐Ÿ›  Fixed multiple look-controls instances colliding. (#2335)
    • ๐Ÿ›  Fixed several component properties missing property types. (#2357)
  • v0.4.0 Changes

    December 16, 2016

    ๐Ÿ‘ 0.4.0 contains Oculus Touch controller support, integration with the Registry ๐Ÿ’… by means of the Inspector, API polish, and bug fixes.

    Major Changes

    • getAttribute returns full computed rather than just defined component data set. (#1925)
    • setAttribute when passed an object (i.e., setAttribute('material', {color: 'red'})) no longer clobbers existing component data, it will instead extend existing component data. Pass a true flag as the third argument to clobber existing data.
    • Asset property type will directly pass the video element to a component if the value is a selector. (#2129)
    • ๐Ÿ”จ Refactored primitives to fix component dependencies and initialization ordering. (#2106)
    • โœ‚ Removed transforms feature from the registerPrimitive API. (#2045)
    • โœ‚ Removed deprecated look-at component. (#1913)
    • โœ‚ Removed deprecated Declarative Events API (<a-event>). (#1914)

    ๐Ÿ—„ Deprecations

    • ๐Ÿ—„ getComputedAttribute deprecated in favor of getAttribute. getDOMAttribute does what getAttribute used to do. (#1925)
    • ๐Ÿ—„ src schema property type deprecated in favor of asset, audio, map, model schema property types. (#2003)
    • ๐Ÿšš AFRAME.utils.isMobile, AFRAME.utils.isGearVR, AFRAME.utils.checkHeadsetConnected, and AFRAME.utils.isIOS have all moved to the AFRAME.utils.device namespace.

    โœจ Enhancements

    • โฌ†๏ธ Bumped three.js to r82. (#2081)
    • ๐Ÿ”จ Oculus Touch controller support and controller refactor. (#2132)
    • Inspector is pulled from unpkg.com CDN to be able to reference a fuzzy version. (e664fe6)
    • โž• Added reverseDrag property to look-controls component to reverse mouse drag (ideal for static 360° content). (#2024)
    • ๐Ÿ’ป auto-enter-vr component for Carmel browser support, may be replaced once link traversal lands. (ae69e1d)
    • โž• Added standard material map properties for ambient occlusion, displacements, normals, and spherical environments. (#1826, #2078)
    • ๐Ÿ“œ Asset parser no longer strictly demands URLs be wrapped with url(). (#2045)
    • โž• Added ability to take equirectangular and projection screenshots with a keyboard shortcut. (#1984)
    • โž• Added asset, map, model, audio schema property types. (#2054)
    • โž• Added wireframe properties to the standard and flat materials. (#1971)
    • Have raycaster component refresh its list of intersection targets when entities are attached or detached from the scene. (#1887)
    • โž• Added pool component for performant object pooling and reuse. (#1954)
    • โž• Added support for tracked-controls component to change its origin position (e.g., for teleportation). (#2002)
    • โž• Added pooling to the sound component. (#1924)
    • โž• Added intersection data to cursor component events. (#1920)
    • โž• Added events to entity setObject3D and removeObject3D. (#2075)
    • โž• Added pauseSound() method to the sound component. (#1996)
    • โž• Added loading feedback while A-Frame Inspector is being injected over the network. (#2006)
    • โž• Added console warning message if A-Frame script tag is included in the <body>. (#2000)
    • โž• Added support for non-QWERTY keyboard layouts in wasd-controls component. (#1832)
    • Automatically set playsinline and webkit-playsinline on video elements in asset system. (#2076)
    • ๐Ÿ‘‰ Used slightly faster function binding. (#1782)
    • Made stats component alert text more readable. (#1885)
    • ๐Ÿ‘ Allowed inspector component to be opened via postMessage. (#1997)
    • ๐Ÿ‘ Allowed stats component to be disabled via querystring. (#1836)
    • ๐Ÿ”ฆ Exposed component prototype. (#2062)
    • ๐Ÿ”ฆ Exposed XHRLoader in <a-assets>. (#2023)
    • โž• Added local Markdown documentation server npm run docs. (48ff50)
    • โž• Added documentation test and lint script for checking links, fix links. (#2080)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed component dependencies where bugs manifested in the obj-model and raycaster components. (#2036)
    • ๐Ÿ›  Fixed int property type with empty data being turned to NaN. (#2063)
    • ๐Ÿ›  Fixed GearVR VR mode height by only removing camera.userHeight if positional tracking exists and the device is not a GearVR or smartphone. (#2044)
    • ๐Ÿ›  Fixed mixins not working with multiple-instanced components. (#1699)
    • ๐Ÿ›  Fixed default components (i.e., position, rotation, scale, visible) not being flushed to DOM in debug mode. (#2064)
    • ๐Ÿ›  Fixed cursor mouseleave event not being reliable with multiple close objects. (#1882)
    • ๐Ÿ›  Fixed cursor component intersecting itself. (#1936)
    • ๐Ÿ›  Fixed entity not being able to re-attach after being detached. (#1928)
    • ๐Ÿ›  Fixed typos for requestFullscreen calls. (#1963)
    • ๐Ÿ›  Fixed tracked-controls component if a mesh was not applied. (#1875)
    • ๐Ÿ›  Fixed raycaster component passing its actual intersection objects through events. (#1978)
    • ๐Ÿ›  Fixed stats component for Safari. (#1865)
    • ๐Ÿ’… Normalized Git-tracked files to Unix-style line feeds. (#1825)
    • ๐Ÿ›  Fixed stringifying default null values for object property types. (#2138)
    • ๐Ÿ›  Fixed material update referencing sceneEl when the scene has not yet loaded. (#2137)
    • ๐Ÿ›  Fixed default values of a schema property getting changed to weird values. (#2140)

    Known Issues

    • A regression in the October 29th version of Chromium passes microsecond-based timestamp into requestAnimationFrame instead of milliseconds, breaking animations.
  • v0.3.2 Changes

    October 12, 2016
    • ๐Ÿ‘ WebVR 1.1 API support (#1931)