BT

Your opinion matters! Please fill in the InfoQ Survey!

Ruby 1.8.7 Preview released, includes some backports from 1.9

| by Werner Schuster Follow 4 Followers on Apr 15, 2008. Estimated reading time: less than one minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

While Ruby 1.8.x is referred to as the stable branch, it's still being developed. The next version is coming up, and the first preview of Ruby 1.8.7 has just been announced by  Akinori Musha. You can see a quick overview of the new features in Ruby 1.8.7 or take a look at a comprehensive list of the changes.

A look at the new features shows a few API changes that were introduced in Ruby 1.9, but have been backported to Ruby 1.8.7:
  • Enumerable::Enumerator is a feature of Ruby 1.9 to bring external iterators to Ruby (these come in addition to the internal iteration methods in the Enumerable mixin). Some of the methods in Enumerable have also been updated to behave more like in Ruby 1.9, e.g. returning Enumerators if no blocks are given.
  • Object#tap
  • Symbol#to_proc
  • Process.exec
  • etc.
Download the Ruby 1.8.7 Preview.

For everyone testing multiple Ruby versions, we reported about using Multiruby to test Ruby applications on different Ruby versions.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Forced Upgrade by Daniel Berger

The moment the Rails teams decides to use any of the new 1.8.7 features this becomes a forced upgrade. Awful, awful decision, but just what I've come to expect from the Ruby core team.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT