Thursday, December 28th, 2006p>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.
Posted by Dion Almaer at 9:50 am