jQuery Migrate 1.1.1 Released
To magnify your jQuery migration pleasure, version 1.1.1 of the jQuery Migrate plugin is now available. This plugin can greatly simplify the process of moving older jQuery code to version 1.9.0 or higher of jQuery by identifying deprecated features. It can also restore those features so that older code can run without needing any changes at all. We strongly recommend that you use this plugin in your initial jQuery 1.9 upgrade — make it easy on yourself, that’s why we wrote this plugin!
Using the plugin is easy; just include it immediately after the script tag for jQuery, for example.
For more information, see the jQuery Migrate documentation.
Here are the items we’ve polished for this version; you can see the complete list at Github. Many thanks to jQuery team member Richard Gibson for his help on this release.
arguments.callerand with form processing in ASP.NET.
- $.parseJSON in $.ajax: In 1.9 when an
$.ajax()call specifies a
dataType: "json"the returned value MUST be valid JSON. Older versions treated an empty string as a success even though it was not valid JSON. The Migrate plugin will now warn about this, treat the result as success and return null as older versions did.
- Preserve custom $.browser: If the
$.browserobject has been changed or augmented by code that loaded before jQuery Migrate, those changes will now be preserved. However, we still advise the Migrate plugin be loaded immediately after the jQuery core file.