= Cobra 0.9.0 Release Notes = Since the last release there are almost too many improvements to list. You can browse [http://cobra-language.com/trac/cobra/log/ the revision log] online if you care too. Some highlights just from the last few months include: == Language == * Support multiple `test` sections in methods and properties. * Added new `try...catch...get` expression. * Throw an UnpackException for multi-target assignment (target1, target2 = source) if there is a mismatch in the number of source items and targets * Support unpacking the new Pair classes in assignments and for loops. * Enhance the treatment of == and <> between objects to fall back to a strongly type .equals method if a strongly typed .compareTo method is not available. * Added support for namespace doc strings. * Improved error checking and improved error messages. * Bug fixes. == Library == * Renamed "Cobra.Lang" to "Cobra.Core" * New MultiList class. * New Pair and Pair clasess. * Improved the default formatting of the `trace` statement (which is also configurable). * Added `CobraCore.operatingSystemDescription as String`. * Added extension methods: * interface IList * def addRange(items as System.Collections.IEnumerable) * interface IList * def addRange(items as IEnumerable) * def pop as T * class Stack: def clone as Stack * class String * def before(sep as String) as String * def after(sep as String) as String * def count(substring as String) as int * def limitLength(maxLength as int, suffix as String?) as String * def repeat(times as int) as String * Added `GtkSourceView` sample program. * Added `CobraCore.htmlDecode`, `.urlEncode` and `.urlDecode`. * A Cobra.Compiler library is now always provided during installation. * Bug fixes. == Command Line == * Command line: -native-compiler: The absolute path to the native compiler is no longer required. A simple "csc.exe" or "dmcs" will suffice if it is in the system PATH. * Added -clr-platform option (like C#'s -platform option). * For "cobra -about", show the path that cobra.exe comes from. == Learning == * Added new How To: Customize Object Equality. * Kickstarted [wiki:Koans Cobra Koans]. * Expanded the wiki. * Continued discussion and support in the forums. == Other == * Improved the output of the @help directive. * Improved the installer in numerous ways. * Expanded the test suite. * Advanced the JVM back-end (could still use open source volunteers). * Bumped the Mono requirement from 2.4 to 2.6 based on a survey about VM versions. == See Also == * [http://cobra-language.com/downloads/ Downloads] * [http://cobra-language.com/forums/viewtopic.php?f=4&t=585 Cobra 2010-04-02 Release Notes] * [http://cobra-language.com/docs/release-notes/ More Release Notes] * LanguageTopics * LibraryTopics