Releases: Bizboard/famous
Releases · Bizboard/famous
Release 0.4.0
Major version release
Breaking change: Made all HTML changes go through DOMBuffer to ensure that no reflows are caused
- Removed unnecessary checks of target.offsetWidth that Surface did too often for true sizing
- Added spec property “hide” that will set the transform matrix to 0, to prevent further propagation of manipulation. This will be set automatically for all renderable with opacity set to 0
- Made the ContainerSurface stop querying its context size
- Surface now uses textContent instead of innerHTML when applicable, for performance reasons
- Made all events go through a global event handler when possible to reduce the number of calls to addEventListener
- Made the Engine use performance.now() instead of Date.now() to gain greater accuracy in knowing when to skip frames
- Enabled touch move by default to spare the non-passive listener
- Added css property zIndex duplication of the z index of the matrix3d by default
- Added priority levels to indicate whether a certain property should animate
Release 0.3.12
- The element allocation now works for arbitrarily deep nest-levels of the DOM.
- We are now saving the nodes in cache even if the contents of one level in the hierarchy is entirely unused. In that way, the nodes are ready to be re-used fast. This fixes some bugs in corner cases of the previous allocation algorithm.
- EventHandler.once can now properly return a promise
- Removed a spread operator for better browser support