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 of utils.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 setting isPlaying 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).