Wednesday, May 2nd, 2007

Prototype 1.5.1 Released

Category: Announcements, JavaScript, Library, Prototype

The full release of Prototype 1.5.1 has been released, and if you are on the 1.5 branch you should upgrade.

Features

For more info view the Change Log, or Download away.

Posted by Dion Almaer at 6:22 am
7 Comments

+++--
3.9 rating from 94 votes

7 Comments »

Comments feed TrackBack URI

Compressed and Gzipped versions can be found at:
http://groups.google.com/group/prototype-core/files

ProtoPacked v2.12.zip

Comment by didyouknow — May 2, 2007

I just looked at a project I’ve been working on, and it’s using 1.5.0 rc1. O_O

What will break if I upgrade now? Is 1.5.1 backwards compatible with code written for 1.5.0 rc1? I know I can read the change log but I’m hoping someone else has already done this and might save me the trouble by relating their experiences.

Thanks!

Comment by Trevor — May 2, 2007

the use of $continue is no longer recommended and you will get an error msg telling you to use “return” instead.

Other than that, you should be fine, all the probs I have found have been worked out in the RC releases.

You no longer need json.js because Prototype has all the JSON methods you need.

Comment by didyouknow — May 2, 2007

http://www.prototypejs.org/learn/json
supports JSON security measures too.

Comment by didyouknow — May 2, 2007

Ohh, one thing I did find is that Element.toggle( el1, el2, el3):
no longer works.

From their site:
In previous versions of Prototype, you could pass an arbitrary number of elements to Element.toggle, Element.show, and Element.hide, for consistency, this is no longer possible in version 1.5!

You can use:
$(‘content’, ‘navigation’, ‘footer’).invoke(‘hide’);

Comment by didyouknow — May 2, 2007

Great, thanks. Looks like I’ll have no problem at all migrating. :)

Comment by Trevor — May 2, 2007

Great news. Prototype is great library

Comment by neoline — May 2, 2007

Leave a comment

You must be logged in to post a comment.