Nachdem ich gestern bereits über das neue jQuery Mobile 1.0 berichtet habe, ist heute die finale Version von jQuery 1.71 erschienen. Zum größten Teil wurden in dieser Version kleinere Fehler korrigiert, z.B. das $(document).text() bei jeder Abfrage einen leeren String zurück gegeben hat.
Weitere Korrekturen gab es hauptsächlich im Core und Events-Bereich von jQuery. Zum Download der Minified-Version gelangt ihr hier: jQuery 1.7.1 Minified und die unkomprimierte Version von jQuery 1.7.1 findet ihr hier.
Die neue Version von jQuery soll auch direkt in dem in Kürze erscheinenden WordPress 3.3 verwendet werden.
jQuery 1.7.1 Changelog
Ajax
- #10723: jqXHR.always() returns a Promise instead of a jqXHR object
Attributes
- #10724: $(document).text() always returns an empty string
- #10773: removeAttr is fragile for edge cases
Build
- #10630: Fix focus-related test failures to resolve Swarm failures
Core
- #10616: Type coersion not done for -1 in .eq
- #10646: Have jQuery.error throw instanceof Error object
- #10682: Creating DOM elements with $(‘ ‘) leaks memory and skips the fragment cache
- #10687: jQuery calls the AMD define() global function too early
- #10690: isNumeric
Css
- #10733: remove uses of jQuery.each in css module in favor of a for loop
Data
- #10675: Use internalKey shortcut instead of jQuery.expando
Effects
- #10669: .animate() no longer animates percentage(%) width
- #10750: A “null” in the data object can cause an error in stop
Event
- #10676: wheelDelta not added to mousewheel event anymore
- #10701: Problems with submit forms using submit function
- #10704: special.handle method should fire under origType name
- #10705: off bug event name parser
- #10712: Triggering blur with live bind broken
- #10717: A triggered load bubbles up to window
- #10791: Delegated Events fail on SVG elements
- #10794: .triggerHandler should not .preventDefault()
- #10798: live(“submit”) and .submit() would cause unobtrusive ajax live to fire twice
- #10844: .delegate() on submit doesn’t work when form contains input with name “id”
Manipulation
- #10177: index of callback function in .wrap is always 0
- #10667: HTML5 Support in .wrapAll() does add a “:” to element
- #10670: rnoshimcache probably not constructed correctly
- #10812: passing empty object to .before() or .after() throws exception in IE7
Misc
- #10691: remove all occurrences of the “equals” and “same” function in the unit tests`