Upcoming changes to Mootools: version 1.0 to 1.1 changelog

Valerio posted over on the Mootools forums today a list of changes in the upcoming 1.1 version of mootools. We’ve been hard at work on a lot of this stuff and I’m excited to see it come out. After this version, we anticipate working less on the core framework and more on plugins and widgets.

————————————————————————————————————
#Additions
————————————————————————————————————

  • CUSTOM EVENTS!
  • $each also iterates objects
  • added Element::getStyles
  • added Element::hasChild
  • added Array::include
  • added Array::merge
  • added $merge, to merge objects
  • Dom.js uses XPATH in supporting browsers
  • the use of +’px’ in setStyle is not required anymore.
  • added XHR::cancel

————————————————————————————————————
#Changes
————————————————————————————————————

  • Object.extend is now $extend, still compatible
  • Object.native is now $native, still compatible
  • Element has been splitted in Element.Events, Element.Form, Element.Dimensions

————————————————————————————————————
#Elements Creation
————————————————————————————————————

  • elements creation is easier: new Element accepts second param
  • elements creation for elements with name/type is easier, just use second argument.
  • setProperty for name/type are is supported anymore.

————————————————————————————————————
#Notable Fixes
————————————————————————————————————

  • dom logic is highly optimized and its blazing fast
  • better sortables, no more flickering, removed Drag dependency
  • Fx.Slide now accepts borders and margins. Positioning is now possible.
  • Element::toQueryString in ajax now works as intended with all Form elements, including multiple selects.
  • Element::setStyle supports float
  • Element::setProperty and Element::getProperty now supports “for”

————————————————————————————————————
#Obvious Things
————————————————————————————————————

  • code cleanup and optimization
  • bugs and incompatbilities fixed
  • mootools is faster, FASTER, FAAASTEEERRR

————————————————————————————————————
#TODO
————————————————————————————————————

  • some bugs left
  • testing
  • css3 selectors (?)
  • ???

One Response to “Upcoming changes to Mootools: version 1.0 to 1.1 changelog”

  1. Visitenkarte Says:

    nice additions… thanks for this

Leave a Reply

You must be logged in to post a comment.