I read that jQuery 1.5 has just been released.
Do you think that replacing version 1.4.2 with this new release is worth in terms of pure performance (on the admin side because my current theme does not use jQuery a lot)? Any side effects or compatibility problems?
Well, as for performance release post says:
On other hand replacing jQuery on admin side is rarely good idea, because it is getting merged into concatenated bunch of scripts and it’s a mess to deal with.
Unless you are suffering from considerable JS performance issues in admin, my personal opinion is that it isn’t worth the trouble.
PS WP 3.1 will have newer 1.4.4 jQuery version, don’t know if they will bother to bring it up to 1.5 by final release.
Update
So issues t31os desribed are definitely caused by jQuery 1.5 and it is definitely not recommended to use in admin area at moment.
Ticket linked to by hakre in comment to Rarst’s answer would indicate 3.2 should see the inclusion of jQuery 1.5, so you could simply wait until 3.2.
Alternatively, i did find a way to load 1.5 into the admin..
This works with or without concatenation on(just note the issues further down).
There are some side-effects, and i’m not sure if that’s the result of caching or whether other jQuery scripts have to also be updated inline with the new jQuery version(ie. ui-core), or whether it simply won’t work correctly in WordPress at present.
Known Issues:
I’ll add any additional issues i see to the above.
For now, i’m going to keep testing 1.5 and see how i get on, it should be interesting to see if it makes a difference(seems a little faster, but it could just be me imagining it).
UPDATE: Feb 2nd 2011
As far as i can tell there’s nothing special that’s done to intergrate jquery into WordPress, having looked at the WP changesets, it looks as if jquery is simply updated as and when needed.
I currently assuming that the problems i’ve experienced are a natural result of changes in the new version of jquery or that i’m getting served up a cached version of the previous copy(or that ui needs updating inline with jquery to). I needed to get other things done, so i’ve switched back to 1.4(whatever is included in WP) for now and it doesn’t appear there was particular interest in my observations anyway(but happy to share my thoughts if anyone wants to hear them).