Address: http://blog.jquery.com/2011/02/24/jquery-151-released/
From: http://www.cnblogs.com/sanshi/archive/2011/02/25/1964441.html
Jquery 1.5.1 released! This is the first minor version update since jquery1.5 was released, and many bugs have been solved.
We are very grateful to the following contributors (contributors) for providing many patches for this release: ~kovalyov, csnover, danheberden, David Murdoch, dmethvin, gnarf37, jaubourg, jeresig, jitter, jrburke, lrbabe, mathiasbynens, rwldrn, slexaxton, and voxwerk.
We are also very grateful to our bug classification team for their help in fixing some major bugs in this version update.
Download
As in general, we provide two copies of jquery. One compressed version and one non-compressed version (for debugging and reading ).
Jquery minified (29kb gzipped)
Jquery regular (212kb)
You can reference the above link in your website to get a faster download speed.
Of course, you can also reference jquery on the CDN Acceleration Server of Microsoft or Google. They are:
Microsoft CDN: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js
Google CDN: https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js
1.6 roadmap MEETING)
The core development team of jquery is discussing the changes to be made in jquery1.6. Currently, we plan to release jquery1.6 on July 6, or jquery1.6. We will discuss these proposals to be added to the new version at noon on July 15, (UTC ).
You can submit your suggestions by using this form before the March 7 meeting.
Jquery 1.5.1 Update log
API documentation: jquery 1.5.1 API documentation
This is a minor version update for bug fixes, so no new features are added. The only change is as follows:
Jquery currently supports ie9 as an important browser. All known bugs have been fixed or submitted to the development team of IE to be resolved in the final version. (All known bugs have been fixed and/or been reported to the IE team for resolution in the final release .)
Three new parameters are added to jquery. Ajax ():
Islocal: allows the current execution environment to be recognized as "local" (such as a file system). jquery does not recognize this environment by default. The following protocols are recognized as local environments: file, *-entension, widget. If you need to modify islocal, we recommend that you use the $. ajaxsetup () method.
Mimetype: it can be used to overwrite the MIME type of xhr.
Xhrfields: a key-Value Pair (fieldname-fieldvalue) that can be added to a native xhr object ). For example, you can set withcredentials to true in a cross-origin call.
Corrected bug list
This version fixes the following BUG:
- #2551 make sure. Val () works after form. Reset () in IE
- #4537 make sure. Clone (true) correctly clones namespaced events
- #4966 don't add "PX" to unit-less properties when animating them
- #6774 make sure we only access parentnode if it's available. fixes an issue where after an option tag has been detached, an ELEM. parentnode error wocould be thrown.
- #6911 prevent action on disabled elements, both triggering and bound via. Live ()
- #7531 fix again for ie9rc. enhances ajaxsetup so that it can take an optional target option, in which case target will be updated instead of ajaxsettings. that way, fields that shouldn't be deep extended can be listed and dealt with in one place. jquery. ajax now makes use of ajaxsetup with target to create its internal settings object
- #7568 follow-up fix for #5862. objects with a length property weren't serialized properly by jquery. Param
- #7653 changes Regexp to detect local protocol so that it will accept any protocol finishing by-Extension
- #7668 sizzle and jquery qunit tests are out of sync
- #7912 this change makes. cur () more. csshooks friendly .. cur () Now returns the unmodified value. CSS () If it isn' t a number, number-alike or a value that needs a fallback to 0.
- #7922 fixed an issue where live ('click') doesn' t fire when live ('submit ') is bound first in IE
- #7945 make jquery. Param () serialize plain objects with a property named jquery correctly
- #8033 jquery 1.4.4 + fails to load on pages with old prototype (
- #8039 selectors with HTML5 input types not work in IE6/7
- #8052 update jquery. Support. nocloneevent test to function properly in ie9
- #8095 properly handles the case where browser cache needs to be bypassed while server-side logic still delivers proper 304 responses. unit test added
- #8098 use the fast document. Head when available
- #8099 always restore to correct display value based on element's expected default display
- #8107 fix Argument Handling for $. Ajax for multiple method signatues and add Test Case
- #8108 temporary fix for jquery metadata being exposed on plain JS objects when serializing with JSON. stringify to avoid compatibility-breaking changes. A proper fix for this will be landed in 1.6
- #8115 renames all references to jxhr with jqxhr in the Code (like was done in the DOC)
- #8123 the default for. Clone () is to not clone any events
- #8125 status is set to 200 for requests with status 0 when location. Protocol if "file:". Added test/localfile.html to control it works
- #8129 fix cloning multiple selected options in IE8
- #8135 makes sure any exception thrown by Firefox when trying to access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior
- #8138 access to document. location is made only once at load time and if it fails (throwing an exception in IE when document. domain is already set), we use the href of an A element instead
- #8145 added readywait tests
- #8146 introducing the xhrfields option with is a map of fieldname/fieldvalue to set on the native xhr. can be used to set withcredentials to true for cross-domain requests if needed
- #8152 applying the same special cases for protocol "Chrome-Extension:" As were for "file:" (needs tests ). re-organizes and fixes the handling of special cases for HTTP status code in the xhr transport
- #8177 xhr transport now considers 304 not modified responses as 200 OK if no conditional request header was provided (as per the XMLHttpRequest Specification)
- #8193 fixes abort in prefilter. No global event will be fired in that case even if the global option is set to true. unit test added
- #8198 remove unnecessary "script. type = text/JavaScript ;"
- #8200 unexpose $. Support. _ scripteval as it's not needed. Use a private var instead
- #8209 make sure that Mousing over chrome "internal Div" doesn't trigger a mouseleave
- #8219 introduces the mimetype option to override Content-Type header in conversion (and in native xhr when possible). Adds companion overridemimetype Method on jqxhr object (it simply sets the option)
- #8220 remove backslashes from Tag Name Filter
- #8245 Ajax now ensures header names are capitalized so that non-compliant xhr implementations don't override them
- #8250 Ajax does not work in opera 10 Widgets
- #8277 sets data to undefined rather than null when it is not provided in Ajax Helpers so that it won't revent data set in ajaxsettings from being used.
- #8297 make sure response headers with empty values are handled properly and do not prevent proper parsing of the entire Response Headers string.
- #8353 adds a Catch Block in resolvewith so that the Finally block gets executed in IE7 and ie6.
- #8365 make sure that IE 9 still clones attributes.
This article uses b3log solo for Synchronous publishing from Vanessa. Original address: http://vanessa.b3log.org/jquery-1.5.1