Prototype 1.6.0.3: A long-awaited bugfix release
Yesterday we released Prototype 1.6.0.3, the result of some much-needed bug fixes, and a stopgap release on the road to 1.6.1.
It’s a backwards-compatible, drop-in replacement recommended for all users of Prototype 1.6. We’ve fixed 30 bugs and made 25 other improvements to our already-rock-solid library.
Developers who follow along in Git might’ve noticed that the repository has seen a lot of disruptive activity in the last few days as we reassessed many of the commits that had gone into the library since April. Rather than try to fit too many fixes into one release, we decided to scale back and release 1.6.0.3 with the set of improvements we were in complete agreement on.
Because of the way we handled this overhaul, those who try to update their Git working copies to the latest trunk will encounter conflicts, even if they hadn’t made local changes.
Here’s how we recommend bringing your working copy up to date:
- First, if you’ve made any local changes, please create a new branch so that those changes aren’t lost.
On your local master branch, run:
git fetch origin master git reset --hard 34ee207The first line fetches the new commits without trying to apply them to your local copy. The second line resets your master branch to be in sync with the latest revision.
- From there, you can cherry-pick from your branch any local commits you made (though you may have to do some manual merging).
Download, report bugs, and get help
- Download Prototype 1.6.0.3
- Submit bug reports to Lighthouse
- Get Prototype help on the Prototype & script.aculo.us mailing list or #prototype IRC channel
- Interact with the Core Team on the prototype-core mailing list
As always, thanks to the core team and the many users who contributed bug reports and well-tested patches for this release.
Sorry, comments are closed for this article.


Comments
I just came to download 1.6.0.2 and that was surprise! Thank you guys, Prototype rocks!
Nice to see some signs of live. In the last weeks jQuery and MooTool were heavily discussed as an alternative.
Thanks for all the hard work guys, Prototype is a joy to use.
Thanks for the new release, but any chance of a link to a changelog of what the bug fixes and changes were?
I can’t seem to find one on the website at all.
Thank you guys!
To be honest, you have been so quite lately that I started considering switching to another lib.
As a Prototypejs developer I would like to get news more often. I mean simple news to let us know that you are still there! Maybe some blog posts or something.
Anyway, its a great lib! Thank you very much.
Serioulsy guys, no matter how great of a job you are doing, don’t forget about the PR. Jquery is really starting to overtake prototype and we are losing ground here.. Prototype appeared dead for months and still does. Other communities are growing and we are losing out here. No matter how great of a library Prototype is, with the current strategy (is there one ?), this fantastic lib will not survive.
Also very important.. we need components, not a whole lot but atleast a few basic ones like jquery’s tabs, accordion ect..
Even the presence at the ajax experience is very low-key compared to jquery..
Please guys, do something about it.. because people are starting to get woried !
@Mark B – check out http://scripteka.com/
Is there a changelog available somewhere?
Changelog?
Good to see things are moving again. I miss the great parts from the trunk but understand the choice to stabilize those in 1.6.0.4, things got out of hand.
@Leif: http://github.com/sstephenson/prototype/tree/master/CHANGELOG
@Bernd, Jason, MarkB: Yeah, I’ve been thinking about that as well lately. Hopefully it’ll improve, more focus on the community with a site revamp would really help imo.
The community itself could also do more to push things forward. If anyone reading this wants to get involved join the mailing lists. There’s a lot of discussion going on there to improve things.
Gotta say I agree entirely with the sentiments of all above. As much as the massive jQuery love-in is becoming very tedious you cannot deny that as a community they are putting some good work together. The prototype community on the other hand is becoming increasingly quiet, has everyone jumped ship already? I know that Thomas is working on a new version of Scripaculous but i cant help thinking already that the fragmented nature of the prototype/scriptaculous combo is part of the problem we have here.
I brought this up a year and a half ago with Andrew Dupont and a few others. A year and a half later it is still the same.
Back then it was the lack of centralized documentation, roadmap and central location for plugins. Today the docs are better, but everything else is still sub par.
Like others, I much prefer Prototype, however the lack of a central official Prototype location for plugins, easy to find code examples, roadmap so people know the project is still alive and moving forward is a severe negative. At the time I even offered to help with it.
Some simple things like above would make a huge perceptual difference and is frankly, more professional. Mailing lists are fine, but I hate to say, a more central location to find things – like jQuery has – is superior for new developers looking to use it, as well as current ones. It is not unlike when there were no docs available.
It is disheartening that in the several years I have worked with, followed and asked for this, very little has changed other than docs being added.
Actually I meant to say Tobie, not Andrew.
I want to say thanks to the Prototype core team for this nice release!
Also a suggestion: It could be nice to have a reference list of Prototype-related resources(like scripteka.com, script.aculo.us, prototype-ui.com, livepipe.net, ...) on the official Prototype site(prototypejs.org).
Also, to follow Nick’s suggestion, let’s give our valuable ideas and opinions at the Prototype mailing list: http://groups-beta.google.com/group/prototype-scriptaculous
Changelog:
such a wonderful job! thank you guys!
Thanks for the changelog. Nice release!
I aggree it’s a relief to see something going on with Prototype. I’m back from the AjaxExperience conference, where I was expecting a lot from the Prototype team, and I was quite disapointed. Noy only it’s scaring to see 18 months with barely nothing new in the library, but I have been given absolutely nothing about the future of Prototype at the conference. Nothing… A lot about how to contribute, and I understand it’s necessary, but… A lot of people and I were expecting answers to “where is Prototype going ?” or “What will be Prototype 2 ?”, and I am quite frustrated today to come back from Boston with nothing.
Prototype is great library, and I don’t intend to switch to another, but be careful to the message you send to your community.
I just came back from the Ajax Experience conf. and after seeing the poor community support, and how few people attended the Prototype Dev Day (especially in comparison to jQuery and Dojo which were both packed full) I’ve spoken to Christophe and Andrew a little, and decided it is time for us, the Prototype community to start doing something about it. True, I can rant like most of us out there, that development is slow, no changes for over a year and so on… but my philosophy in that respect is “If you come, they will build it!”. Prototype is hardly supported financially nor backed up by any huge organization and yet it is the best framework out there period. And at this stage, if we would like to see it grow and expand, it is time that we, it’s users, coders, developers start to .invoke our talents and Extend our support and really show that we mean business. I’ve started charting out a few projects to support this effort, and would love to hear from anyone interested (in any way/form) to support. The Prototype Challenge is on, and your really vote matters!
Viva los Prototype. Absolutely jaw-dropping fucking amazing library. jQuery is good and John Resig’s processing.js looks fantastic and John is no doubt talented but jQuery certainly does not display the same level of texture and data structure awareness and sensitivity to semantics that Prototype does. Sam was an absolute monster to have written something so elegant as Prototype. It’s like the lunar lander or something.
Is there a definitive place to download the latest update helper javascript?
@Grant: as there are no API changes in such a minor update, you can use the 1.6 update helper to update from version < 1.6.
@whiteShadow: Thanks for your comment. Help is appreciated and much needed. I’d love to have more interviews and blog posts published on theis blog, see more activity on irc or in the mailing lists, etc. If you need any help of have suggestions you want to share, please feel free to start a thread in our mailing list.
I have to agree with Mark B Hopefully this conference in Boston will be the jolt that shocks us back in shape. Hopefully Scripty2 shines a little more light. We need people contributing to ajaxian.com
I’m hoping to see integration for sizzle.js (and/or equivalent native performance) for those of us that rely heavilly on selectors.
Thanks for the changelog. Nice release!
As always, another excellent release.
Just wondering why there is a document.write on line 4125, it barfs up my deferred loading of the file in IE (I load all of my JavaScript after the document has been closed by inserting the script tags into the head section). I just comment out the document.write and all is well.
I’m going to be working on integrating Prototype and ASP.NET together (I know, some of you are cringing) and it’s good that there is some life still left in Prototype, especially with the recent news of ASP.NET integrating jQuery with the new update of Visual Studio. I was getting worried you guys might not come back.
Some suggestions. Like some people said before, link up to some affiliates and partners, such as script.aculo.us and scripteka. Not only will it boost your SEO rankings to get you more popular, but it will make it a one-stop shop for people looking to see the power of Prototype.
I had been waiting for this. And as everybody else says, I were seriously thinking about other frameworks. You guys are the best! Keep on… A tip: In firefox 3, you can’t longer do like this…..
var elemArray = document.getElementsByClassName(‘elem’); elemArray.each(function(elem) {
}); The problem is that each does not work as an iterator for getElementsbyClassname();
Best regards from Norway
Nice release, particularity with regard to Google Chrome. A MAJOR part of my new app didn’t work at all with 1.6.0.2, and now it does. Well done!
That said, as far as other libraries, Zend Studio for PHP now comes with built in Dojo support, and yes, the ‘in crowd’ appeal of these other libraries is hard to resist.
But for me it’s all about results, and in that regard Prototype simply can’t be beat for it’s ease of use and feature set (including the lovely template engine, god bless it!)
I took a hard look at all the libraries out there when I started my project, and while there seemed to be more trinkets and gadgets with some of the other libraries, none of them gave me what I wanted, which was a simple to learn and easy to use framework that empowered me to create my dream app.
In short, all that other crap can get in the way if you ask me.
who is this error?
firebug -> dom:
Error: “throw $continue” is deprecated, use “return” instead
dan.
@dan: Please seek help from the mailing list. Thank you.