Changelog
0.7.0 (Sept 12, 2017)
This release features:
previousData
is object and a property has a null
default value. (#3021)vrdisplayconnect
and vrdisplaydisconnect
events in VREffect and VRControls. (#3019)vrdisplaypointerrestricted
event in a-scene
. (#3014)stageParameters
. (#3000)vrdisplayconnect
and vrdisplaydisconnect
to enter and exit VR when headset is plugged or unplugged. (#2900)vertexColors
property to base material component. (#2901)emissive
and emissiveIntensity
properties to base material component. (#2896)attrValue
attributes into data anymore to reduce cloning. (#2939)Changelog
0.6.1 (July 18, 2017)
Bug fixes, support for Firefox on Android, mouse-based cursor, enable motion capture developer tools in the Inspector.
from
if from
is not defined. (#2855)Changelog
0.6.0 (June 29, 2017)
.getAttribute
and .setAttribute
.AFRAME.utils.coordinates.isCoordinate
to AFRAME.utils.coordinates.isCoordinates
. (af3f89)origin
and direction
properties to configure raycaster component. (#2678)thumbstickmoved
and axismoved
for oculus-touch-controls. (#2513).update
handler. (#2548, #2613)controllerconnected
and controllerdisconnected
events. (#2505)onvrdisplaypresentchange
events to enter and exit VR. (#2751)material.alphaTest
and material.depthWrite
properties. (#2516)Component.tock
handler called after scene render for future post-processing support. (#1564)trackpadmoved
event for vive-controls component. (#2415)response-type
attribute to <a-asset-item>
to support array buffer responses. (#2442)camera.userHeight
to controller when no stage parameters (e.g., Daydream). (#2448).setAttribute('mixin', '')
and .removeAttribute('mixin')
. (a173509)<a-scene light="defaultLightsEnabled: false">
. (#2376)THREE.Cache
for asset responses. (#2435)file://
protocol. (#2540)System.el
to the scene element. (#2566)isControllerPresent
utility rather than checking navigator.getGamepads
in order to fake oculus-touch-controls for motion capture. (#2604)getElementById
vs. querySelector
for asset property types to be more strict. (#2578).setAttribute
more than once to consider it a validated object. (#2679).getAttribute
not clone component data object. Now returns raw reference to component data (#2689)componentchanged
event on each update to every 200ms. We recommend polling if more critical updates are needed. (#2683)string.split()
in .setAttribute()
to reduce memory in array instantiations. (#2674)<img>
from <a-assets>
and by using crossorigin
from the start. (#2544)getElementById
. (#2820)<a-cursor>
segments. (#2821).init
handler calls .setAttribute
on itself. (#2454)requestAnimationFrame
timestamps by using THREE.Clock
in the render loop. (#2471)material.side
component. (#2528)AFRAME.utils.device.checkHeadsetConnected
to check VRDisplay.isConnected
(for Windows Mixed Reality Headsets). (#2427)playsinline
. (#2610)mouseup
event not being emitted if entity no longer intersecting. (#2678)AFRAME.utils.deepEqual
recursion when comparing object with itself. (#2406)AFRAME.utils.deepEqual
when comparing non-Object objects like HTML elements (#2502)AFRAME.utils.isMobile
. (#2309)AFRAME.utils.coordinates.isCoordinate
with scientific notation. (#2475)setAttribute
wiping out DOM-defined data on init. (#2727)Changelog
0.5.0 (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.
text
component for SDF and MSDF text. (#2289)gltf-model
component for loading glTF 3D models. (#2333)tracked-controls
event listeners even if no physical controllers are
present. (#2314)Entity.removeAttribute(component, property)
reset a property value to its default. (#2353)AFRAME.utils.throttleTick
and AFRAME.utils.throttle
utils. (#2189)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)setAttribute(mixinId, '')
. (#2291)screenshot
component canvas (#2316).stats
component UI more readable. (#2313)VREffect
to allow player scaling. (#2328)raycaster.interval
not being applied. (#2363)vive-controls
not tracking. (#2194)envify
causing issues when installing from npm with a bundler. (c62690)setAttribute
using data
instead of attrValue
. (#2184)null
and when trying to override. (#2209)vr-mode-ui
is disabled and embedded
is enabled. (4607e2)AFRAME.utils.deepEqual
. (#2229)init
and update
handlers being called when doing flushToDOM
on
non-loaded entity. (#2250).fog
. (#2251)pause
and remove
handlers not getting called on scene detach. (#2302)look-controls
instances colliding. (#2335)Changelog
0.4.0 (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.
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.transforms
feature from the registerPrimitive
API. (#2045)look-at
component. (#1913)<a-event>
). (#1914)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.unpkg.com
CDN to be able to reference a fuzzy version. (e664fe6)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)url()
. (#2045)asset
, map
, model
, audio
schema property types. (#2054)raycaster
component refresh its list of intersection targets when entities are attached or detached from the scene. (#1887)pool
component for performant object pooling and reuse. (#1954)tracked-controls
component to change its origin position (e.g., for teleportation). (#2002)sound
component. (#1924)cursor
component events. (#1920)setObject3D
and removeObject3D
. (#2075)pauseSound()
method to the sound
component. (#1996)<body>
. (#2000)wasd-controls
component. (#1832)playsinline
and webkit-playsinline
on video elements in asset system. (#2076)stats
component alert text more readable. (#1885)inspector
component to be opened via postMessage
. (#1997)stats
component to be disabled via querystring. (#1836)XHRLoader
in <a-assets>
. (#2023)npm run docs
. (48ff50)obj-model
and raycaster
components. (#2036)int
property type with empty data being turned to NaN
. (#2063)camera.userHeight
if positional tracking exists and the device is not a GearVR or smartphone. (#2044)position
, rotation
, scale
, visible
) not being flushed to DOM in debug mode. (#2064)cursor
mouseleave
event not being reliable with multiple close objects. (#1882)cursor
component intersecting itself. (#1936)requestFullscreen
calls. (#1963)tracked-controls
component if a mesh was not applied. (#1875)raycaster
component passing its actual intersection objects through events. (#1978)stats
component for Safari. (#1865)null
values for object property types. (#2138)sceneEl
when the scene has not yet loaded. (#2137)requestAnimationFrame
instead of milliseconds, breaking
animations.Changelog
0.3.0 (August 17, 2016)
0.3.0 improves performance, adds support for the WebVR 1.0 API, and adds tracked controllers (using experimental Gamepad APIs).
0, 1.6, 0
rather than 0, 1.8, -4
. In VR mode, the 1.6m
height offset as defined by camera.userHeight
is removed. (#1474, #1718)<canvas>
element. (#1474)geometry="buffer: false"
to disable. (#633) -- Geometry data is preserved in geometry.metadata
. (#1557).<a-cube>
. (29446e0)translate
property, added a pivot
component in extras/
. (#1339)defaultAttributes
to defaultComponents
in registerPrimitive
API. (#1460)sound.src
use the src
property type. Sound URLs must now either be wrapped in url()
or a selector to an <audio>
element. (#1629)BUFFER_SCALE
to 1 / window.devicePixelRatio
only for iOS versions under 10 as a workaround to a Webkit bug. This will cause decrease resolutions on iPhone VR mode temporarily. It can be overridden in window.WebVRConfig.BUFFER_SCALE
, but will cause canvas sizing issues upon entering stereo causing people to have to rotate their phones back and forth. (#1803)look-at
component deprecated and moved to ngokevin/aframe-look-at-component. (#1447)<a-model>
primitive deprecated in favor of <a-collada-model>
and <a-obj-model>
. (#1525)tracked-controls
, vive-controls
, and hand-controls
components. (#1584)sound__1
, sound__2
). (#1596)<a-asset-item>
s now truly cached and only fetched once. (#1700)<a-scene embedded>
. (#1474)AFRAME.registerGeometry
API such that each geometry type has its own distinct schema. (#1162)webvr-polyfill
to 0.9.15. (#1618)THREE.Geometry
and THREE.Material
objects when no longer in use to save memory. (#1287)<a-sky>
, <a-videosphere>
segments. (#1319, #1532)light.intensity
, light.target
properties. (#1270, #1728)camera.zoom
property. (#1453)<a-sound>
, <a-torus-knot>
primitives. (#1455, #1456)componentremoved
event for entities. (#1434)end
attribute for animations to stop on events. (#1481)delay
attribute for animations. (#1508)material.flatShading
, material.visible
properties. (#1503, #1690)geometry.primitive
to box
. (#1523)this.material
rather than return. (#1549)<canvas>
to be a source of texture for materials. (#1567)selectorAll
property type now converts NodeList
to Array
. (#1642)<a-scene>
, done to support an independent augmented reality (AR) initiative. (#1665)<ctrl> + <alt> + i
shortcut to inject the A-Frame Inspector tool. (#1599)Function.prototype.bind
call on each frame render (#1808)document.registerElement
wrapper. (#1689)material.repeat
not being able to be a float. (#1568)Changelog
0.2.0 (March 25, 2016)
0.2.0 improves extensibility:
<a-box>
).aframe-core
merged with aframe
. window.AFRAME
exposes what aframe-core
was exposing previously (e.g., AFRAME.registerComponent
vs. AFRAME.aframeCore.registerComponent
). (#368)<a-assets>
must be declared within <a-scene>
. (#910)<a-entity>.object3D
is now a THREE.Group
. Use <a-entity>.setObject3D
API to add new 3D objects from components. (#847)dist/aframe.js
.<canvas>
elements are now appended to the scene by default rather than to the document body. The scene can specify which <canvas>
to render to. (c0aa360)<a-sphere>
directly extend <a-entity>
rather than template them. They can be registered with AFRAME.registerPrimitive
. (#883)<a-template>
and HTML Imports logic have been removed. Use https://github.com/ngokevin/aframe-template-component in the meantime. (#883)<a-camera>
no longer creates a cursor on its own. Do <a-camera><a-cursor></a-cursor></a-camera>
instead. (#883)depth
, height
, width
property values changed from 2
to 1
. (#1245)<a-box>
changed to #FFF
to not interfere with textures. (#1245)loader
component deprecated in favor of collada-model
and obj-model
. (#913)<a-model>
deprecated in favor of <a-collada-model>
and <a-obj-model>
. (#883)<a-EVENTNAME>
elements such as <a-mouseenter>
deprecated in favor of <a-event name="EVENTNAME">
(unstable). (#883)<a-cube>
deprecated in favor of <a-box>
. (#883)array
, boolean
, color
, int
, number
, selector
, selectorAll
, string
, vec2
, vec3
, vec4
. (d35e56e).OBJ
and .MTL
assets. (#788)<a-sphere>
). (#883)AFRAME.registerSystem
. (#924)loaded
event. (a8a4f06)child-attach
when children are attached.<a-scene>
logic moved to configurable components and systems. (#776)segments*
property values increased for smoother meshes. (#1245)<a-torus>
primitive. (#1184)<a-animation>
when detached. (#727)<a-animation>
begin
attribute. (#885)