jQuery 1.7.1 Released

Posted on by

Here in the United States, we’re celebrating Thanksgiving this week. For those of you living elsewhere in the world, it’s a time when we install and test new versions of Javascript libraries while feasting on Mom’s homemade goodies. Kind of like a code sprint, but with better food. We invite everyone worldwide to join us in these traditions.

To kick off the festivities, the jQuery Team is quite thankful to be releasing version 1.7.1! In this go-round we made Pilgrim’s progress on a cornucopia of bugs, listed below. We are serving up our delicious copies on the jQuery CDN, fresh and warm from the oven:

These latest files should also be up on the major CDNs shortly, but please be patient since this is a holiday week for them as well.

Please install and test this latest slice of jQuery with your code. We hope you’ll find it tasty. If we forgot to fry some turkey of a bug, we want to hear about it. Just put together a specific test case for the problems you’ve found (we love jsFiddle.net for that) and create a bug report at bugs.jquery.com.

Also, please welcome new jQuery Core team member Mike Sherov! We’re thankful to have his help for all the great things we have planned for upcoming versions. Mike has a full-time job at SNAP Interactive in New York City, but contributes to the project in his spare time. Please Be Like Mike and pitch in to help the project any way you can. It doesn’t have to be coding. We can always use help in answering questions on the forum or just reproducing and identifying the source of obscure bugs reported on the bug tracker. See our Getting Involved page for information.

We’ll be opening the call for 1.8 suggestions in just a day or two. Take a look at the 1.7.1 release and think about what kind of awesome sauce we can put on top of it for the next big one!

jQuery 1.7.1 Change Log

The change log of the 1.7.1 release.

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`

Support

  • #10629: IE is much too sensitive concerning the fake body. Explore cleaning up support.js to avoid any future crashes.
  • #10807: Non-ascii apostrophe in comment

42 thoughts on “jQuery 1.7.1 Released

  1. max4ever on said:

    It breaks draggable/droppable, they only work once out of 10 tries,
    with every major release something breaks

    1.6 broke .live that worked fine in 1.5
    1.7 breaks draggable/droppable that worked fine with 1.6

    nobody says this, STOP BREAKING THINGS

  2. I try use $(element).bind(“dragover, …..) and want to get mouse position with pageY but It can’t works with 1.7+, it works with jquery 1.6.4 – lower. Why?

  3. I do not see the fix for error method not found error on abort() in jqXHR. (Ticket #10723)

    Was this fixed in this release or we have to wait for the next release?

    Thanks

  4. Josh Ellington on said:

    1.7.1 breaks in IE6-9 out of the box. No dom.ready or anything. Had to switch back to 1.6.4 for now.

  5. Davide Losito on said:

    I had an issue on IE with jQuery returning an error for a missing argument.
    It was caused by a call $(element).show() after a $(‘document’).ready().

    I fear IE completely misses to pass some element feature (width? display status? visibility status?), or in some way those features are not readable to IE, or become available slight AFTER the .ready() is called.

    Anyway, removing that .show() solved the whole thing.

  6. ljelinek on said:

    I think for 1.8 there is coming the time of no more support for IE6. What do you think about it?

  7. Yes, jQuery 1.7 and 1.7.1 breaks all Internet Explorers. Looks like a problem with absolute elements. All absolute divs are lowered after document-ready.

  8. ken Rogers on said:

    you make this to difficult to use it would be nice to just go to a page and click on a button and download what I want there is no need to go through all the other stuff and still not find what I am looking for.

  9. ERROR:”event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.”

    thank you so much jquery developer… the same thing that error i received from previews version jquery-1.4.2 in Chrome, i thought the error occur is from my own program code… so i try to fixed but still the same, then i quit! :D

    thanks God I found the solution…
    I’m using jquery to provide perfect animation effects,
    it made my works easier and understandable..

  10. More Testing Please on said:

    @stc – The reason you prefer 1.2.6 is because it was the stable release for so long. I actually prefer 1.3.2 for the same reason.

    Now it seems like my favorite software products are releasing updates every few weeks instead of letting stuff simmer for a bit. This seems to be the result of the GitHub mentality/craze – too much churn, not enough testing. “Let the guinea pigs report issues to the issue tracker and push fixes to me…there is no need to actually test what I release.” GitHub is the ultimate tool for lazy software developers.

    Several people are saying IE is broken with this release. IE still powers half of the browsers out there. Most web developers I encounter view those users as unenlightened. Whatever. You target the largest common denominator and test the heck out of it regardless of your personal feelings and preferences. That might mean, shock of all shocks, actually using IE to develop software!

    Wanted: A single webpage where I can go and get a changelog of what has changed in every release for jQuery.

  11. my chained dropdown don’t want to work with 1.7, it was work perfect with .delegate(), but now can’t work with .on(), i did follow the instruction but fails. :(

  12. Haneefa on said:

    wow.. it is great to see 1.7. I couldn’t see the ticket number #10531 fixed here. could you please confirm?

    Thanks
    Haneefa

  13. Stefan on said:

    1.7 + nodejs + jsdom + highcharts works well
    1.7.1 + nodejs + jsdom + highcharts hangs
    Didn’t find out why, yet.

  14. I have some instructions like:

    $(“#”+this.divname).draggable();

    Works fine in 1.7, now in 1.7.1 DOESNT WORK!!!!!!

    PLEASE STOOOOOOPP BREAKING THINGS!!!!!!!!!!!

    Coming back to 1.7. :P

  15. I would like to know whether I can make jquery 1.7.1 work with jquery 1.5.2 tried replacing the 1.5.2 with 1.7.1 didn’t work at all. Looking forward to some of your suggestions on how to make it work without affecting the site functionality. Thanks

  16. Neha sharma on said:

    Hai,
    If any one help me i am creating login page and try to do in when we click the login page its comes to very like smoothly with fading using jquery but its not working like that plz help me?

    Thanks.

  17. whyupgrade on said:

    Why do you guys keep breaking old code???????
    WTF????????

    backwards compatibility PLEASE!!!

    Otherwise don’t make new jQueries.

    Sheeesh…

  18. whyupgrade on said:

    BTW, I LOVE jQuery.
    Just don’t understand why everything breaks with each release.
    1.6 -> 1.7.1

    Please Please Please
    think before you release…

    Thank you for jQuery though. It is greatness.

  19. swamy on said:

    hi guys,

    can anybody guide how to download jquery 1.7.1 version.it is giving some error i.e the publisher is not verified

  20. Which is the stable version of the jQuery? Many times I’ve seen people most used 1.6.4 version.