Prototype 1.6.0 and script.aculo.us 1.8.0 released

Posted by sam November 07, 2007 @ 08:07 PM

New versions of the JavaScript libraries that ship with Rails, Prototype 1.6.0 and script.aculo.us 1.8.0, have been released. You can find out about the numerous changes on the Prototype blog and on mir.aculo.us. If you’re running Edge Rails, just svn up and run rake rails:update:javascripts to install the latest versions into your application automatically.

Also of note: Christophe Porteneuve’s Prototype & script.aculo.us book is now out of beta and available for purchase from the Pragmatic Programmers. It’s up-to-date with all of the new features in both libraries, so be sure to check it out if you’re using Prototype and script.aculo.us in your applications.

Posted in Documentation, Releases | 12 comments

Comments

  1. Ned Collyer on 08 Nov 05:32:

    I really hope unobtrusive JQuery gets embraced at some point by the core.

    If only I had the talent and the time ;)

  2. Doodles on 08 Nov 05:50:

    Yea, our new projects have started moving to jQuery now too.

  3. Aleksandr on 08 Nov 10:06:

    There’s nothing that jQuery can do and Prototype can’t.

  4. JohnR on 08 Nov 12:53:

    @Aleksandr

    jQuery is well documented and has a smaller footprint.

  5. weepy on 08 Nov 13:03:

    I’ve find that jQuery afford’s better organized development.

    Also I’ve found that you can use jQuery straight off the bat with vanilla Rails. You can’t use RJS, but that’s overated anyway.

    So no real need for anything to be done by rails cor AFAIK

    *...(

  6. DHH on 08 Nov 15:54:

    You guys sure are a cherry bunch. You’re of course free to use whatever JS library you want with Rails. Just like you can use any templating engine or any ORM system. But just like ERb/Builder is the default for templating and Active Record is the default for ORM, so is Prototype/Scriptaculous the default for JS and we take great advantage of that with things like remote_form_for and so forth.

    I’d like to congratulate the teams for all their great work!

  7. jeroen on 08 Nov 19:22:

    Nice work. Will this be in Rails 2.0 ?

    You can use jquery with minusMor. It’s a very nice fit. Not as nice as rails/prototype/rjs out of the box, but if you need unobtrusive JS or if you’re really good at jquery/js en general, than check oout minusMor.

    http://mad.ly/2007/05/17/jquery-ajax-rails/

  8. Andrew Dupont on 08 Nov 19:59:

    @jeroen: Yes, Prototype 1.6.0 and script.aculo.us 1.8.0 have been checked into Rails trunk and will be included with Rails 2.0.

  9. weepy on 08 Nov 21:07:

    jeroen .. in Rails 2.0 you don’t even need the plugin, just use the fromat .js.erb

    More here : http://mad.ly/2007/11/02/javascript-embedded-ruby-templates-with-rails-out-of-the-box/

  10. jeroen on 08 Nov 21:13:

    Yeah just discovered that myself too. sounds a good

  11. Tim Harper on 10 Nov 17:03:

    Prototype and scriptaculous make me happy.

  12. Movies on 19 Nov 17:08:

    Scriptaculous is the best what could happen to the web!!!