jQuery 1.4 Released!
Posted January 15th, 2010 in Developers by Łukasz GąsiorYesterday we had a great celebration – a new version of my favorite javascript library – jQuery 1.4 – was released!
Although the old version – 1.3.2 – works very well, the creators decided to improve some features.
The biggest enhancement in the new version 1.4 is providing better performance of many commonly used methods – especially the html () method. I recently had an opportunity to use this method to display large amounts of data and the results were not always satisfactory.
In the new version some new methods have also been added and some existing methods have been ‘extended’ – i.e. now, you can put a function which returns some text into html () method:
$ ( 'a'). html (function (i, html) ( return html.replace (/ & / gi, '<span> & </span>'); ));
The full list of changes and news is available at: http://jquery14.com/day-01/jquery-14.
People who want to upgrade version 1.3.2 to the new one 1.4 should especially read a section describing incompatible changes: http://jquery14.com/day-01/jquery-14#backwards.
That’s enough for today – now I’m going to test the new version of jQuery – I’ll write a more detailed post soon…
Tags: jquery
