The IronRuby team is pleased to announce the release of IronRuby 1.1!
Download IronRuby 1.1 now:
http://ironruby.net/download
Direct download links:
http://ironruby.codeplex.com/releases/view/43540
Online release notes:
http://ironruby.codeplex.com/releases/view/43540#ReleaseNotes
IronRuby 1.1* is the first release after IronRuby 1.0, the first stable
version of the Ruby 1.8.6 http://ruby-lang.org/ compiler for the .NET
framework. IronRuby 1.1 is NOT fully backwards compatible with
IronRuby
1.0; most notably that IronRuby 1.1 no longer supports .NET 2.0 SP1.
.NET
3.5 is the minimum requirement for IronRuby 1.1, though using .NET 4.0
is
strongly advised. Also, though this release is primarily bug-fixes for
1.0,
consider any new features “Alpha” quality.
This release adds support for .NET extension
methodshttp://msdn.microsoft.com/en-us/library/bb383977.aspx in
IronRuby. This works by calling the using_clr_extensions method, which
activates all extension methods defined on classes defined in a given
namespace, regardless of the assembly they are defined in; assemblies
loaded
in the future that define extension methods in the activated namespace
will
automatically appear on the correct types. Here’s a simple example of
using
LINQ http://msdn.microsoft.com/en-us/netframework/aa904594.aspx
extension
methods:
load_assembly “System.Core”
using_clr_extensions System::Linq
…
products.
where(lambda { |p| p.units_in_stock == 0 }).
each { |x| puts x.product_name }
For more information see the LINQ 101 sampes ported to
IronRubyhttp://github.com/ironruby/ironruby/blob/master/Languages/Ruby/Samples/Linq/101samples.rb
IronRuby 1.1 is now licensed under the Apache License (Version
2)http://ironruby.codeplex.com/license,
rather than the Microsoft Public License. This decision is based upon
continual feedback and questions from the community, as well as for
consistency between IronPython http://ironpython.codeplex.com/ and
the Dynamic
Language Runtime http://dlr.codeplex.com/, which are now also licensed
under the Apache License.
Other fixes in IronRuby 1.1:
- 1754 http://ironruby.codeplex.com/workitem/1754 CLR method
enumeration
returns invisible members - 1462 http://ironruby.codeplex.com/workitem/1462 eval’ing a heredoc
and
defining a method causes an ArgumentError - 4363 http://ironruby.codeplex.com/workitem/4363 Dir.glob should
support
more than one argument - 4003 http://ironruby.codeplex.com/workitem/4003
“”.rindex(“somestring”)
raises RangeError - 4204 http://ironruby.codeplex.com/workitem/4204 require and $"
issue.
MRI difference - 4448 http://ironruby.codeplex.com/workitem/4448 IO.readline does not
take account of the optional separator - 4446 http://ironruby.codeplex.com/workitem/4446 enumerator#each_cons
- 4089 http://ironruby.codeplex.com/workitem/4089 “Start and End must
be
well ordered” using Heredoc in console. - 4128 http://ironruby.codeplex.com/workitem/4128 Can’t send SIGINT to
autospec - 4031 http://ironruby.codeplex.com/workitem/4031 Rubygems are very
slow
after including Windows forms - 3392 http://ironruby.codeplex.com/workitem/3392 overriding indexer
- 3279 http://ironruby.codeplex.com/workitem/3279 Python-Ruby interop
issues - 2609 http://ironruby.codeplex.com/workitem/2609 Splatting COM out
params - 2243 http://ironruby.codeplex.com/workitem/2243 C# constructor with
internal visibility inaccessible when using -X:PrivateBinding - 772 http://ironruby.codeplex.com/workitem/772
System::TypeLoadException
when including C**/CLI interface with modopts
For more detailed list of changes and bugfixes please see the
CHANGELOG.txt
in the release.
As always, if you find any bugs or have a feature request, please open
an
issue on CodePlex http://ironruby.codeplex.com/WorkItem/Create.aspx.
Sincerely,
The IronRuby Core Team
Jim D. http://blog.jredville.com/, Tomas
Matousekhttp://blog.tomasm.net/,
and Jimmy S. http://blog.jimmy.schementi.com/