A-Frame v0.9.1 Release Notes
Release Date: 2019-04-17 // about 5 years ago-
๐ Follow-up fixes and improvements to 0.9.0.
๐ Released Hot Module Replacement loader for A-Frame: https://github.com/supermedium/aframe-super-hot-loader
Major Changes
- Detaching entity from scene will preserve component data. Add
Entity.destroy()
method to clear components and return their memory to the
pool (#4121). - ๐ Use controller index to determine left / right controllers which may impact
cases like Vive Trackers. Will look to make this more robust soon (#4013).
๐ Deprecations
- ๐ Deprecate
utils.device.isOculusGo
in favor ofutils.device.isMobileVR
(#4032).
๐ Fixes
- ๐ Updated documentation guides for 0.9.0.
- ๐ Fix text antialiasing from distance (#4039).
- ๐ Improve
vrdisplayactivate
path for more robust navigation (#4093, 3c2f68e). - Clean up object requested from pool by component to prevent pollution of old keys from other schemas (#4016).
- ๐ Fix initial camera position, rotation, scale potentially not getting applied (#4020).
- ๐ Fix
utils.coordinates.stringify
for zeroed vectors (#4017). - ๐ Handle if both WebVR and both WebXR APIs are available (#4022).
- ๐ Handle null device from WebXR (#4030).
- Catch
navigator.xr.requestDevice
error (#4035). - ๐ Fix animation for custom vec3 properties (#4051).
- ๐ Fix sound
onEnded
not settingisPlaying
to false (#4061, #4097, #4101). - ๐ Fix new materials not getting applied to
obj-model
recursively (#4062). - ๐ Fix boolean values in
.flushToDOM
(#4069). - Hide navigation buttons on Android (#4090).
- ๐ Fix Chrome gamepads by checking
getGamepads
on every tick for Chrome (#4116).
โจ Enhancements
- โ Add
Component.events
API to define event handlers that are automatically attached and detached depending on entity lifecycle (#4114). - ๐ Improve animation error message when passing invalid
animation.property
(#4122). - ๐ Have
Entity.remove
detach entity to match HTML element behavior (#4082). - Migrate
hand-controls
model to glTF (#3932). - โ Add
shadow.enabled
property to shadow system (#4040). - โ Add
renderer.alpha
property to renderer system (#4040). - โ Add
AFRAME.coreComponents
for a list of the core components (#4064).
๐ Performance
- ๐ Use a fork of anime.js that has memory improvements from Kevin (#4028).
- Detaching entity from scene will preserve component data. Add