More stable and well tested than ever
1.5 is a HUGE bug fix release with roughly 240 commits addressing new browsers that have entered the market as well as new features in the JavaScript language. The team spent a ton of time instrumenting the tests to run against Travis CI and Sauce Labs so that the source code would be easier to test. This will help to make new contributions, fixes and features to the framework and release much more rapidly.
It's easy to underestimate the value of all the work that went into the project over the past two months.
What's different in version 1.5
The main things in this release are:
Core:
- Swiff is gone from Core (now found in More)
- Many of the user agent properties on
Browser
are now deprecated and MooTools depends on feature detection instead - Added support for IE11 so that
Browser.ie
continues to work, but is undefined in compatibility mode. See this pull request for additional information - A tremendous amount of work done to overhaul the unit tests, the test runner and integration with Travis CI and SauceLabs. This new test suite can also run locally, opening and testing local browsers
- Speed improvements for managing Element classes (using the new classList API available in modern browsers)
appendHTML
method added to ElementFx.isPaused()
method added to FxString.contains
is now implemented according to the new ES6 standardgetComputedStyle
is now the default engine behind thegetStyle()
method- Build system now uses Grunt (http://gruntjs.com/)
More:
- Spinner now has WAI-ARIA support
- Form Validator now uses event delegation to watch inputs and whatnot
- New Array.Extras method:
Array.pluck
- New Event
move
in Slider.js - Numerous updates to language files
- Swiff moved to More, from Core
- Added support for
:keys(+)
in Element.Event.Pseudos.Keys - Dependency on Core's now deprecated
Browser
flags removed - New test infrastructure: Grunt-Karma-Jasmine, Travis CI and Saucelabs
Get 1.5 while it's hot
Use the web builder for core or more to download your copy, download core from the download page, or:
git clone https://github.com/mootools/mootools-core
cd mootools-core
grunt packager # see the Gruntfile.js and README for additional build and test options
comments powered byDisqus