The Path to jQuery 1.1
Written by on December 28th, 2006 in Ajax News.
John Resig has posted on The Path to jQuery 1.1 which is not backwards compatible with 1.0. That being said, a compatibility plugin will be available to help the transition.
The planned changes are:
- Methods like .oneclick() and .unclick() will be going away in favor of .one(”click”) (new) and .unbind(”click”). We found that these methods weren’t used enough to warrant the 70+ API entries that they required.
- Selectors :nth-child(), :gt(), :lt(), and :eq() will all be starting count at 1 instead of 0, in line with the CSS specification. (This is a bug fix, but causes an incidental API change)
- Some CSS helper methods are going away, like: .color() and .background(). You should start moving over to using .css(”color”) and .css(”background”) instead.
- Some attribute helper methods like .title() and .rel() are going away. You should start using .attr(”title”) and .attr(”rel”) instead.
In other jQuery news, Rob Gonda has released AjaxCFC for jQuery which is a port of the client side.
Source: Ajaxian
Original Article: http://ajaxian.com/archives/the-path-to-jquery-11