Rails 2.0.4: Maintenance release

Posted by David September 03, 2008 @ 09:43 AM

Thanks to Git it’s been a lot easier to maintain older branches of the code base, so we’ve taken the opportunity to backport a bunch of bug fixes to the 2.0 branch and here’s the release for that.

The only major issue is that we’ve fixed the REXML DoS vulnerability with a monkey patch that ships in the box. So if you’re on 2.0 and haven’t dealt with the issue already, you can upgrade to 2.0.4 and get it fixed.

You can install with: gem install rails --version 2.0.4

See all the changes

UPDATE: The actual 2.0.4 gem didn’t get published yesterday due to a bug in the release script. It’s been fixed and 2.0.4 is actually available on the main gem repository. Sorry about that!

Posted in Releases | 14 comments

Comments

  1. 浩翔(Alex) on 03 Sep 11:02:

    Good Job

  2. Ariejan de Vroom on 03 Sep 11:25:

    Posted at 09:43 AM. Wasn’t I listening to your keynote then, or are you really a Ruby God who can give a keynote speech AND post a new Ruby on Rails release at the same time?

    But, without the joking, great job! I can’t wait for 2.2 to come out, though.

  3. Patrick on 03 Sep 14:20:

    This is great. I’ve been using REXML for a project and I recently heard about the DoS vulnerability. I wasn’t really concerned so I haven’t done anything about it yet… but this handles that problem for me anyway.

    Thanks.

  4. Tomasz Bak on 03 Sep 18:49:

    There are some “Ruby 1.9 compatibility” changes logs, does anyone know how comaptible with Ruby 1.9 Rails are atm? Is it stable enough to say deploy internal projects on it?

  5. Mark on 03 Sep 19:26:

    Will the non-gem source bundle be available for download at rubyforge? Right now the latest .tar.gz is 2.0.3

  6. Jerome on 03 Sep 20:56:

    Why not having included this patch http://rails.lighthouseapp.com/projects/8994/tickets/788-saving-only-changed-attributes-hurts-serialization-2 ? This behavior breaks pre-2.1 applications !!!

  7. Jeremy Kemper on 03 Sep 21:29:

    Tomasz, you can run Rails 2.1 and later on Ruby 1.9. I still have occasional segfaults, so I wouldn’t call it stable. With some form of process supervision, though, you could pull it off.

    Mark, not sure what’s up with the tarball but will investigate.

    Jerome, partial updates were introduced in 2.1 so the ticket isn’t relevant to 2.0.x.

  8. Eimantas on 04 Sep 10:08:

    i didn’t succeed to install 2.0.4 via gems. Where did it go?

  9. Mukund on 05 Sep 06:20:

    I assume Rails 2.1.1 addresses same issues for Rails 2.1?

  10. Van der Hoorn on 06 Sep 10:20:

    Doing a `gem install rails—version 2.0.4` complains about the activerecord 2.0.4 gem not being available. I tried to install in manually and got the same error. The same is valid for activeresource 2.0.4. The other gems are there.

  11. pxcfqb on 07 Sep 05:55:

    sprtuezlylvsdewwxsuvrlsnpobals

  12. Richard Lennox on 10 Sep 00:12:

    Same error as above:

    $ sudo gem install rails—version 2.0.4 ERROR: Error installing rails: rails requires activerecord (= 2.0.4, runtime)

    if trying to install activerecord 2.0.4 manually.

    $ sudo gem install activerecord—version 2.0.4 ERROR: could not find gem activerecord locally or in a repository

  13. jana4u on 12 Sep 16:43:

    gem install rails -v=2.0.4 ERROR: Error installing rails: rails requires activerecord (= 2.0.4, runtime)

    same problem again :-( it has already been ok couple days ago

  14. Buzzer on 26 Sep 09:00:

    Have this maintainence release made through to

    http://dev.rubyonrails.org/svn/rails/branches/2-0-stable/

    Stable seems to be at RAILS 2.0.2

    Is SVN stable branch supported anymore?