Release Candidate 3 of Prototype 1.7 is now out. This long-delayed version includes full support for Internet Explorer 9.
It was five months ago that we released RC2, and it was true that we were planning to release 1.7 final soon after. Two problems intervened:
To minimize code duplication, we had redefined
Element#getDimensions (and the related methods
getHeight) to use the new and preferred
Element.Layout methods for measuring dimensions. This logic, while more robust, produced slightly different results in a few cases, so we decided to revert to the previous implementation of
If you're writing new code, we encourage you to use
Element.Layout — e.g.,
someNode.measure('border-box-width') instead of
someNode.getWidth(). You'll get more accurate results in general. But we're leaving
Element#getDimensions the way it is to ensure that people don't have to rewrite existing code.
Internet Explorer 9
The far more important reason for putting the brakes on 1.7 was the impending release of Internet Explorer 9. In short, we didn't want to put out something that would break in large ways when IE9 was released. That meant waiting for a preview release of IE9 that was stable enough (and representative enough of the final product) to test against.
The IE9 beta passes all but one of our unit tests. The one minor failure is the result of an issue on Microsoft's end; we hear it will be fixed before the final release of IE9.
To learn about new features in version 1.7, refer to the blog post about the 1.7 RC1 release.
As always, this release includes an assortment of bug fixes. Consult the CHANGELOG for further details, or see the full diff between this release and the previous release candidate (RC2 to RC3).
Now that we've got these two issues solved, we're eager to get the final release out the door. It'll free me up to lend more time to script.aculo.us 2.0 (which just saw a beta release) and its nascent UI components.
Download, report bugs, and get help
- Download Prototype 1.7 RC3
- View the API documentation
- Check out the Prototype source code on GitHub
- Submit bug reports to Lighthouse
- Get Prototype help on the mailing list or #prototype IRC channel
- Talk to the core team on the prototype-core mailing list
Thanks to the many contributors who made this release possible!