InfoQ

News

Ruby 1.8.7 Preview released, includes some backports from 1.9

Posted by Werner Schuster on Apr 15, 2008 09:55 PM

Community
Ruby
Topics
Runtimes,
Language,
Dynamic Languages
Tags
Open Source Project Releases
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.

1 comment

Reply

Forced Upgrade by Daniel Berger Posted Apr 27, 2008 10:46 AM
  1. Back to top

    Forced Upgrade

    Apr 27, 2008 10:46 AM 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.

Exclusive Content

Intentional Software - Democratizing Software Creation

Business users doing programming? Simonyi and Kolk presents how Intentional Software offers a radical new software approach that separates business knowledge from software engineering knowledge.

Getting Started with Grails

Jason Rudolph discusses Java/Grails integration, Grails plugins, creating a Grails sample application, Grails app structure, data querying and persistence, validation, controllers and tag libraries.

Creating Product Owner Success

The Scrum Product Owner role is powerful, valuable and challenging to implement. It brings healthier relationships between customers and developers, and competitive advantage - if you do it right.

Book Excerpt and Interview: Effective Java, Second Edition

Effective Java, Second Edition by Joshua Bloch is an updated version of the classic first edition, which won a 2001 Jolt Award. InfoQ asked Bloch questions about the areas that the new edition covers.

Tapestry for Nonbelievers

A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.

Pete Lacey on REST and Web Services

In this interview, Burton Group consultant Pete Lacey talks to Stefan Tilkov about his disillusionment with SOAP, his opinion on REST, and addresses some of the perceived shortcomings REST vs. WS-*.

Business Natural Languages Development in Ruby

Jay Fields presents his concept of Business Natural Languages - a type of Domain Specific Languages geared towards being readable by domain experts.

Distributed Version Control Systems: A Not-So-Quick Guide Through

Adoption and interest for Distributed Version Control Systems is constantly rising. We will introduce the concept of DVCS and have a look at 3 actors in the area: git, Mercurial and Bazaar.