- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scala Version History - Older versions
Created by admin on 2008-07-14.
Updated: 2009-02-19, 11:21
[ current | 2.4.0-final | 2.3.3 | 2.3.2 | 2.3.1 | 2.3.0 | 2.2.0 | 2.1.8 | 2.1.7 | 2.1.6 | 2.1.5 | 2.1.4 | 2.1.3 | 2.1.2 | 2.1.1 | 2.1.0 ]
The following list reflects changes made to older Scala distributions which have been archived offline:
Version 2.4.0-final (released on 21-Mar-2007)
This version of Scala introduces some minor language changes.- [fixed] - Fixed incorrectly reported error in interpreter. (#1006)
- [fixed] - Fixed
VerifyErrorwith synthetic methods. (#1009) - [fixed] - Fixed incorrectly reported type error. (#1008)
- [fixed] - Fixed compiler crash with boxed arrays. (#1004)
- [fixed] - Fixed compiler crash. (#1001)
- [fixed] - Fixed compiler crash with arrays. (#1000)
- [fixed] - Fixed incorrect matching of type patterns. (#995)
- [fixed] - Fixed compiler crash with boolean expression. (#993)
- [fixed] - Fixed interpreter crash with escaped identifier. (#990)
- [fixed] - Fixed interpreter crash with bad character literal. (#989)
- [fixed] - Fixed compiler crash in type checker. (#988)
- [fixed] - Fixed compiler crash in type checker. (#987)
- [fixed] - Fixed type error with sequence patterns. (#986)
- [fixed] - Fixed
VerifyErrorwith boxing. (#984) - [fixed] - Fixed stack overflow problem in type checker.
- [added] - Added support for futures to the
actorslibrary. - [added] - XML nodes can be
trimmed: this method in objectscala.xml.Utilityremoves superfluous Text nodes and whitespaces. - [added] - XML nodes can be
sorted, i.e. this method in objectscala.xml.Utilityrearranges attributes such that (pretty) printing them will follow alphabetical order (namespace prefixes are ignored, though, the order is then unspecified). - [added] - Patterns for
scala.xml.Nodeandscala.xml.QNodehave been added (via extractions). - [added] - Pattern matching supports matching prefixes now, e.g. for
node match { case <foo:bar /> => }will correctly check that the prefix is"foo"and the label is"bar". - [changed] -
scala.xml.Elempatterns now match anyscala.xml.Nodethat is not ascala.xml.SpecialNode. In practice, this means, the library routines that were designed forscala.xml.Elemwill now work for any implementations ofscala.xml.Node. - [changed] - Apostrophes in XML are no longer escaped. This is to support some old versions of Internet Explorer when generating XHTML.
- [changed] - Adding empty text nodes to
scala.xml.NodeBufferdoes not have any effect anymore (the text node is silently dropped). - [changed] - Symbol literals are now interned.
- [fixed] - Fixed performance issue when running Scala on IBM Java 2. (#974)
- [fixed] - Fixed compiler crash in backend. (#972)
- [fixed] - Fixed the
@BeanPropertyannotation. (#969) - [fixed] - Fixed compiler crash with local variables. (#968)
- [fixed] - Fixed compiler crash with protected methods. (#965)
- [fixed] - Fixed compiler crash with extractor objects. (#961)
- [fixed] - Fixed compiler crash with
unapplymethod. (#960) - [fixed] - Fixed runtime error with arrays. (#958)
- [fixed] - Fixed several errors in the reference documentation. (#956)
- [fixed] - Fixed compiler error with arrays. (#954)
- [fixed] - Fixed syntax of symbol literals. (#947)
- [fixed] - Fixed incorrectly reported warning with pattern matching. (#934)
- [fixed] - Fixed
sealedmodifier with separate compilation. (#932) - [fixed] - Fixed pattern matching on
nullvalues. (#930) - [fixed] - Fixed method
unapplyfor selects. (#927) - [fixed] - Fixed incorrectly reported type error. (#922)
- [fixed] - Fixed compiler crash with
unapplymethods. (#921) - [fixed] - Fixed
VerifyErrorwith unimplemented concrete methods. (#920) - [fixed] - Fixed compiler crash with
returnstatement. (#919) - [fixed] - Fixed views applied to function types. (#901)
- [fixed] - Fixed output directory for log files in the compile server. (#878)
- [fixed] - Fixed argument passing in presence of a
*_-parameter. (#875) - [fixed] - Fixed missing factory methods in case classes. (#874)
- [fixed] - Fixed incorrectly reported type error. (#873)
- [fixed] - Fixed multi-line definitions in the Scala interpreter. (#863)
- [fixed] - Fixed compiler crash with erroneous attribue use. (#686)
- [fixed] - Fixed debug attributes of local variables. (#656)
- [fixed] - Fixed runtime crash with
BeanPropertyannotations. (#579) - [fixed] - Fixed bugs in the
actorslibrary (e.g. race inTimerThread). - [fixed] - Fixed bugs in the
collectionlibrary (e.g.BitSet,HashSet,ListBuffer,ListMap).
Version 2.3.3 (released on 26-Jan-2007)
- [fixed] - Fixed compiler crash in type checker. (#911)
- [fixed] - Fixed message for reported type error with implicit methods. (#900)
- [fixed] - Fixed incorrectly reported type error with trait refinements. (#892)
- [fixed] - Fixed compiler crash with view bounds. (#886)
Version 2.3.2 (released on 23-Jan-2007)
This version of Scala introduces some minor language changes.- [added] - Added support multi-line expressions and definitions in the interpreter.
- [added] - The
jcllibrary (scala.collection.jcl) provides wrappers around the Java Collections Framework. - [changed] - Moved constants from
compat.Mathto their respective numeric value types (e.g.Int.MaxValueinstead ofcompat.Math.MAX_INT). - [changed] - The
collectionlibrary (scala.collection) has been extended with new methods to make it more consistent. - [fixed] - Fixed unreported type error for patterns. (#909)
- [fixed] - Fixed runtime crash with calls to virtual methods. (#908)
- [fixed] - Fixed object import shadowing a type. (#880)
- [fixed] - Fixed missing factory methods in case classes. (#874)
- [fixed] - Fixed compiler crash with traits. (#865)
- [fixed] - Fixed compiler crash with constant patterns. (#864)
- [fixed] - Fixed compiler crash with type mismatches in patterns. (#855)
- [fixed] - Fixed compiler crash in type checker. (#853)
- [fixed] - Fixed
andThencombinator in theactorslibrary. - [fixed] - Fixed bug in termination detection in the
actorslibrary.
Version 2.3.1 (released on 06-Dec-2006)
- [fixed] - Fixed runtime error with constructor parameters. (#856)
- [fixed] - Fixed compiler crash in type checker. (#852)
- [fixed] - Fixed incorrectly reported syntax error with multi-line strings. (#851)
- [fixed] - Fixed incorrect coercion of
null. (#846) - [fixed] - Fixed compiler crash. (#845)
- [fixed] - Fixed incorrect handling of
finallystatement in tail-call optimization. (#843) - [fixed] - Fixed runtime crash with missing type coercion. (#842)
- [fixed] - Fixed message for reported type error with refined types. (#839)
- [fixed] - Fixed compiler crash in type checker. (#838)
- [fixed] - Fixed compiler crash with explicit outer. (#837)
- [fixed] - Fixed message for reported type error with abstract types. (#836)
- [fixed] - Restricted usage of
_*in parameter lists. (#835) - [fixed] - Fixed compiler crash in type checker. (#834)
- [fixed] - Fixed incorrectly reported type error. (#833)
- [fixed] - Fixed compiler crash with malformed types. (#831)
- [fixed] - Fixed compiler crash in type checker. (#830)
- [fixed] - Fixed runtime crash with types declared in inner classes. (#695)
Version 2.3.0 (released on 23-Nov-2006)
This version introduces binary incompatibilities. By recompiling all of your code, you will guarantee smooth operation. If you cannot do that, be aware of the changes below.- [added] - Added
orElsecombinator to theactorslibrary. - [added] - Added procedure syntax as alternative to functions with type
Unitas return type. - [added] - Added sections for inherited members in generated API documentation.
- [changed] - Case classes now inherit from trait
scala.Product - [fixed] - Added identity test in generated
equalsoperations. (#828) - [fixed] - Fixed compiler crash in pattern matcher. (#825)
- [fixed] - Fixed runtime crash with unboxing of primitive types. (#819)
- [fixed] - Fixed compiler crash with mixin composition. (#817)
- [fixed] - Fixed compiler crash with overriden methods in mixins. (#816)
- [fixed] - Fixed very long type error messages slowing down compilation. (#815)
- [fixed] - Fixed error message for dependent constructor definitions. (#813)
- [fixed] - Fixed compiler crash in type checker with mixed-in traits. (#811)
- [fixed] - Fixed runtime crash with abstract methods. (#809)
- [fixed] - Fixed compiler crash in type checker. (#806)
- [fixed] - Fixed type error with overloading resolution of super calls. (#805)
- [fixed] - Fixed compiler crash with class inheritance and closures. (#803)
- [fixed] - Fixed missing inherited members in generated API documentation. (#801)
- [fixed] - Fixed compiler crash with abstract variable declarations. (#800)
- [fixed] - Fixed compiler crash with cyclic type parameters. (#798)
- [fixed] - Fixed compiler crash with super accessor of protected members. (#797)
- [fixed] - Fixed incorrectly reported type error with
unapplymethods. (#796) - [fixed] - Fixed compiler crash in type erasure. (#795)
- [fixed] - Fixed runtime exception with Java default constructors. (#793)
- [fixed] - Fixed access to static members in nested Java classes. (#792)
- [fixed] - Fixed class cast exception. (#789)
- [fixed] - Fixed incorrect type error with mixins. (#788)
- [fixed] - Fixed compiler crash in type checker. (#785)
- [fixed] - Fixed compiler crash in type erasure. (#784)
- [fixed] - Fixed pattern matching on
nullvalues. (#781) - [fixed] - Fixed compiler crash in type checker. (#780)
- [fixed] - Fixed compiler crash in type checker. (#779)
- [fixed] - Fixed
scalapcrash with JAR files in class path. (#778) - [fixed] - Fixed two methods in class
scala.io.Source. (#777) - [fixed] - Compiler now issues a warning when annotations are not emitted in the classfile. (#775)
- [fixed] - Fixed missing substitution in pattern matching transformation. (#774)
- [fixed] - Fixed compiler crash in XML expressions. (#768)
- [fixed] - Fixed incorrectly reported type error with refined types. (#762)
- [fixed] - Fixed incorrectly reported type error with singleton types. (#758)
- [fixed] - Fixed incorrectly reported parser error with multiple packages. (#757)
- [fixed] - Fixed parser error on type expression. (#756)
- [fixed] - Fixed runtime crash with incorrectly handled abstract methods. (#754)
- [fixed] - Fixed wrong error message with mismatched function types. (#752)
- [fixed] - Fixed confusing error message with implicit views. (#729)
- [fixed] - Fixed broken case objects as patterns. (#694)
- [fixed] - Fixed incorrectly reported type error. (#599)
- [fixed] - Fixed the classfile parser to find classes in the empty package. (#580)
- [fixed] - Fixed compiler crash in type erasure. (#582)
- [fixed] - Fixed compiler crash in XML expressions with unmatched tags. (#542)
- [fixed] - Fixed uncaught type error with regular patterns. (#421)
- [fixed] - Fixed uncaught type error with intersection types. (#412)
- [fixed] - Fixed incorrectly reported type error. (#397)
- [fixed] - Fixed runtime crash with missing accessors for protected fields. (#281)
- [fixed] - Fixed incorrect type error for inner classes. (#54)
- [fixed] - Fixed several nasty bugs in the
actorslibrary.
Version 2.2.0 (released on 11-Oct-2006)
This version introduces binary incompatibilities. By recompiling all of your code, you will guarantee smooth operation. If you cannot do that, be aware of the changes below.- [added] - Bytecode is generated with correct inner-class attributes (binary incompatible).
- [added] - Added section "Direct Known Subclasses" in generated API documentation.
- [changed] - The Actors library (
scala.actors) has been thoroughly rewritten. - [changed] - The collection library (
scala.collection) has been extended with new methods to make it more consistent. - [changed] - In Scala's XML API, the representation of attributes has changed from strings to full nodes, in order to account for entity references. Any reference or primitive value can now be stored in attributes. Moreover, attributes are nillable now and new node classes
GroupandUnparsedhave been added. - [changed] - Methods in the standard Scala library now use exceptions instead of errors.
- [fixed] - Fixed compiler crash in type checker. (#771)
- [fixed] - Fixed compiler crash in type checker. (#767)
- [fixed] - Fixed compiler crash in type checker. (#766)
- [fixed] - Fixed compiler crash in type checker. (#765)
- [fixed] - Fixed call to non existing method after mixin transformation. (#764)
- [fixed] - Fixed incorrect type error for function applications with dependent result types. (#763)
- [fixed] - Fixed missing type conformance rules in the Scala Language Specification (#761)
- [fixed] - Fixed compiler crash in type checker with arrays. (#759)
- [fixed] -
finally-statement doesn't catchreturn. (#755) - [fixed] - Fixed runtime crash with missing boxing operations. (#748)
- [fixed] - Fixed runtime crash with missing outer accessors. (#746)
- [fixed] - Fixed incorrect trait initialization. (#744)
- [fixed] - Fixed compiler crash in type checker. (#743)
- [fixed] - Fixed compiler crash in type checker. (#741)
- [fixed] - Fixed compiler crash in type checker. (#727)
- [fixed] - Fixed compiler crash in type checker. (#725)
- [fixed] - Fixed incorrectly reported type error. (#724)
- [fixed] - Fixed class format error with separate compilation. (#723)
- [fixed] - Fixed compiler crash in type checker. (#722)
- [fixed] - Clarified lookup rules for views in the Scala Language Specification. (#721)
- [fixed] - Fixed views which lookup too narrow. (#720)
- [fixed] - Fixed runtime crash with separate compilation. (#719)
- [fixed] - Fixed incorrect method overriding. (#718)
- [fixed] - Fixed pattern matching which ignores paths. (#717)
- [fixed] - Fixed compiler crash in type checker. (#716)
- [fixed] - Fixed compiler crash in type checker. (#715)
- [fixed] - Fixed compiler crash in type checker. (#710)
- [fixed] - Fixed runtime exception with missing
mainmethod. (#706) - [fixed] - Fixed compiler crash in type checker. (#705)
- [fixed] -
fscdoesn't return exit status. (#701)
Version 2.1.8 (released on 23-Aug-2006)
This version of Scala introduces some minor language changes.- [added] - Added
InnerClassesattribute in generated class files. - [changed] - Eliminated
-Xgadtoption (now supported in standard). - [changed] - Library class
scala.Ordered[a]is no longer covariant ina. - [fixed] - Fixed compiler crash in type checker. (#712)
- [fixed] - Fixed class format error for type refinements. (#711)
- [fixed] - Fixed compiler crash in type checker. (#709)
- [fixed] - Fixed compiler crash with qualified private modifier. (#708)
- [fixed] - Fixed missing debugging information for
thislocal variables. (#707) - [fixed] - Fixed class format error for private objects. (#704)
- [fixed] - Fixed compiler crash in type checker. (#700)
- [fixed] - Fixed implementation of abstract vals with objects. (#698)
- [fixed] - Fixed compiler crash in type checker. (#697)
- [fixed] - Fixed compiler crash in type checker with implicit parameters. (#696)
- [fixed] - Fixed compiler crash with double
def's declarations. (#693) - [fixed] - Fixed compiler crash in type checker. (#692)
- [fixed] - Fixed incorrectly reported type error with mixin composition. (#691)
- [fixed] - Fixed incorrectly reported type error with type aliases. (#690)
- [fixed] - Fixed name clash between defined and inherited members. (#687)
- [fixed] - Fixed useless import not flagged as error. (#681)
- [fixed] - Fixed runtime error with some method calls. (#680)
- [fixed] - Fixed runtime exception with incorrect boxing. (#678)
- [fixed] - Fixed runtime crash when calling methods on Java annotations (e.g. retrieved via reflection). (#676)
- [fixed] - Fixed compiler crash with
privatelabels. (#675) - [fixed] - Incorrect scope handling of
privatelabels. (#674) - [fixed] - Illegal mirror class for objects which contain case classes. (#672)
- [fixed] - Fixed compiler crash in resident mode when using attributes. (#669)
- [fixed] - Fixed compiler crash in type checker. (#668)
- [fixed] - Fixed missing line number in some error messages. (#662)
- [fixed] - Fixed infinite loop in compiler when computing type intersection. (#659)
- [fixed] - Fixed incorrectly reported type error with overriden methods. (#583)
- [fixed] - Fixed the implementation of
Stream.filterandStream.copyToArray. (#180) - [fixed] - Fixed compiler crash when comparing bytes with chars. (#176)
- [fixed] - Fixed deadlock and stack overflow problems in package
scala.actors.multi(receivemethod). - [fixed] - Improved generated debug information for local variables.
- [fixed] - Added missing links for the
fsccommand on Unix.
Version 2.1.7 (released on 19-Jul-2006)
- [added] - Added command
fscfor the fast Scala compiler which has drastically reduced startup time compared toscalac. - [added] - Added the
actorslibrary and API documentation. - [added] - Added support for multi-line strings quoted with triple quote marks.
- [added] - Added support for applying Scala attributes and Java annotations to class/method parameters.
- [fixed] - Fixed compiler crash in type checker. (#664)
- [fixed] - Fixed compiler crash after reported type error. (#663)
- [fixed] - Fixed
VerifyErrorwith mixins. (#657) - [fixed] - Fixed assert line number information. (#653)
- [fixed] - Fixed resident compiler crash with traits and name conflicts. (#652)
- [fixed] - Fixed compiler crash in tree transformer. (#651)
- [fixed] - Fixed many bugs in the Scala compiler. (#629-634,644-650)
- [fixed] - Fixed incorrectly reported syntax error with attributes. (#640)
- [fixed] - Fixed compiler crash in type checker. (#639)
- [fixed] - Fixed bug the in the
scaladoctool. (#638) - [fixed] - Fixed compiler crash in type checker. (#637)
- [fixed] - Fixed incorrectly reported type error for implicit conversion. (#628)
- [fixed] - Fixed class cast exception. (#627)
- [fixed] - Fixed compiler crash in code lifter. (#626)
- [fixed] - Restricted symbol literals to plain identifiers. (#389)
Version 2.1.6 (released on 16-Jun-2006)
- [added] - Added support for Java annotations.
- [changed] - Merged commands
scalaintandscalascriptwith the commandscala. - [fixed] - Fixed compiler crash for mixed division operations. (#622)
- [fixed] - Fixed confusing error message. (#617)
- [fixed] - Fixed type inference problem with implicit methods. (#616)
- [fixed] - Fixed compiler crash in type checker. (#615)
- [fixed] - Fixed separate compilation crash. (#609)
- [fixed] - Clarified structural equality for case classes. (#551)
- [fixed] - Reduced memory usage between compiler phases.
Version 2.1.5 (released on 24-May-2006)
- [added] - Added
scala.throws(java.lang.Class)attribute to specify a checked exception that may be thrown by a method; can be applied more than once on the same method. - [added] - Added a new package name
_root_from which absolute package names can be constructed. - [added] - Added support for class literals (
Predef.classOf[T]). - [added] - Added the command
scalascriptto execute Scala scripts. - [added] - Permissible values for the
-targetoption are now:jvm-1.5,jvm-1.4(default),msil(to be done) andcldc. - [fixed] - Fixed many bugs in the Scala compiler. (#575,585,588,594-598,601-608,611,613)
Version 2.1.4 (released on 01-May-2006)
- [fixed] - Fixed many bugs in the Scala compiler. (#568,570,571,576,577,578,579,581)
- [fixed] - Adapted batch commands for running on Windows 2000.
Version 2.1.3 (released on 13-Apr-2006)
- [fixed] - Fixed several bugs in the Scala compiler. (#563,564,565,566)
- [fixed] - Added missing meta information for the
sbazcommand. - [fixed] - Added missing API documentation for the
dbclibrary.
Version 2.1.2 (released on 31-Mar-2006)
- [fixed] - Fixed bug in pattern matching compilation scheme. (#560)
- [fixed] - Corrected the Unix shell scripts to be Posix-compliant. (#559)
- [fixed] - Fixed compiler crash in mixin expansion. (#404)
- [added] - Added a
:replaycommand to the Scala interpreter.
Version 2.1.1 (released on 29-Mar-2006)
- [fixed] - Fixed several bugs in the Scala tools.
Version 2.1.0 (released on 17-Mar-2006)
- [fixed] - Fixed broken links in the Scala API documentation.
- [fixed] - Fixed bug in Java installer (Windows only).
- [fixed] - Fixed several bugs in the compiler.
- [added] - Integrated the
sbaztool in the Scala distribution.
Version 2.0.0 (released on 12-Mar-2006)
- Migration to Scala 2 (see change log)
- The compiler was completely rewritten in Scala.
- [added] - Experimental support for Java generics (
-Xgenericsoption). - [changed] - Simplified version numbering scheme (major/minor/patch).
- [changed] - Java installer built using IzPack instead of InstallAnywhere.
Version 1.4.0.4 (released on 19-Jan-2006)
- [fixed] - Fixed
NullPointerExceptionin packagescala.xmldue to calculation of hashcodes of elements with null prefixes. - [fixed] - Fixed XML pretty printer OutOfMemoryError in package
scala.xml. - [added] -
scala.xml.MarkupParserdoes attribute normalization for character entities. - [added] - Experimental support for database connectivity (package
scala.dbc). - [changed] - Improved batch commands (Windows only).
Version 1.4.0.3 (released on 16-Nov-2005)
- [added] - Added new methods in package
scala.xml(e.g.Node.text,NodeSeq.apply). - [added] - Added Java-like
Predef.exit(Int status)method. - [fixed] - Fixed broken Ant task
Scalac(Windows only). - [fixed] - Fixed some bugs in the Scala collection library.
Version 1.4.0.2 (released on 15-Oct-2005)
- [fixed] - Fixed broken batch commands (Windows only).
Version 1.4.0.1 (released on 13-Oct-2005)
- [added] - Ant task
scala.tools.scala4ant.ScalacTask$classis deprecated; it is replaced by the new Ant taskscala.tools.scalac.ant.Scalacwhich supports much better classpath handling and more options. - [added] - Added delegate support (more) on the .NET platform.
- [added] - Handling of the "
encoding" attribute in the<scalac>ant task. - [changed] - Slightly better error message for source files with wrong character encoding.
- [changed] - The Scala installer on Unix does not create an installation directory anymore and uses
/usr/local/as default.
Version 1.4.0.0 (released on 20-Jun-2005)
- [added] - Experimental support for runtime types.
- [added] - Support for DTD parsing and DTD validation (provided resp. by the
MarkupParserand the XML library). - [added] - Support for Scala attributes (cf. section 5.1.7 of the Scala Language Specification).
- [added] - Added Unix man pages for the Scala tools.
- [changed] - Directory structure on Unix now conforms to the Filesystem Hierarchy Standard (FHS).
- [changed] - The
matchmethod is deprecated; it is replaced by the match keyword. - [changed] - The XML library now deals with namespace nodes properly.
- [changed] - The Ant task
ScalacTasknow fails when encountering errors. - [changed] -
dtd2scalahas been removed from the Scala distribution. - [changed] - If there is no
-encodingoption, the compiler now uses the default encoding of the Java runtime environment (previously "ISO-8859-1"). - [fixed] - Fixed bug in pattern matching compilation scheme.
Version 1.3.0.10 (released on 07-Mar-2005)
- [added] - JVM back-end: local variable tables are now generated if the
-goption is given (thanks to Ross Judson) - [added] -
scala.xml.NodeSeq.Emptyand the possibility to use objects of arbitrary type in XML literals. - [added] - Parsing of Scala Mode and XML Mode is now conforming to the Scala Language Specification (see section 1.5).
- [changed] - Removal of case class
scala.xml.CharData. - [changed] - Significant rewrite of classes
scala.collection.immutable.{Tree, TreeMap, TreeSet}in order to make them work with run-time types. - [fixed] - Incorrect handling of pattern matching in some cases. (#398)
- [fixed] - Fixed wrong symbol lookup operation in case of mixin classes with overriden methods. (#396)
- [fixed] - Fixed the view which provides an order for arrays of ordered elements in object
scala.Predef. - [fixed] - Made the type argument of case class
scala.::covariant.
Version 1.3.0.9 (released on 23-Nov-2004)
- [added] -
scalachas a new option-printer:<printer>; e.g.-printer:swinginvokes the Swing printer which displays the intermediate representation using a Swing GUI. - [changed] - Improved handling of array types.
Version 1.3.0.7 (released on 16-Nov-2004)
- [added] - Added missing
hashCode()inscala.collection.immutable.Set, hash consing (simple compression of XML at load time) works again. - [added] -
scala.xml.Nodehas now a methodtoString(stripComment: Boolean)which allows to obtain an XML without any comment nodes. - [fixed] - XML literals could not be used as keys in hashtables, despite them being immutable.
- [fixed] - Incorrect handling of overloaded methods with one argument in some cases. (#370)
- [fixed] - The .NET backend generates an incorrect
.ILfile when specifying a path in the-ooption. (#364)
Version 1.3.0.4 (released on 29-Sep-2004)
- [fixed] - Missing file in the Scala library.
Version 1.3.0.3 (released on 23-Sep-2004)
- [fixed] - Fixed a nasty bug in the library file
msil.jar(people using Scala on the Java platform may skip this release).
Version 1.3.0.2 (released on 16-Sep-2004)
- [added] - Support for Microsoft .NET (more infos on the Scala on .NET page).
- [added] - Method closures (see §6.11) are syntactic shortcuts for anonymous functions with one parameter (e.g., given
xs: List[Int],xs map (.+(1))is equivalent toxs map (x => x+1)). - [changed] - The syntax for types of parameterless methods has changed: they are now written "
=> T" instead of "[] T" (see §3.3.1). - [fixed] - Empty comments
/**/are now handled correctly. - [fixed] - Case objects now have their own
toString()method.
Version 1.2.0.1 (released on 27-Jul-2004)
- [added] - Ant tasks for the Scala tools
scalaandscalap. - [added] - XML namespace handling.
- [changed] - Several improvements in the XML library (eg. consequent use of interned strings).
- [fixed] - Minor bug fixes in the XML parser.
- [fixed] - The Web installer for Windows does not update the
PATHenvironment variable. (#354) - [fixed] - The compiler incorrectly handles overloaded methods in abstract classes. (#347)
- [fixed] - The compiler wrongly reports a type error in some cases. (#345)
- [fixed] - The compiler incorrectly handles import directives in some cases. (#342)
- [fixed] - The compiler backend incorrectly handles boolean expressions with primitive types. (#341)
- [fixed] - The compiler does not check for double definitions, accidental overrides. (#336,337)
Version 1.2.0.0 (released on 09-Jun-2004)
- [added] - Views, which make it possible to view instances of one class as instances of some other class.
- [added] - XML literals in source code.
- [changed] - Partial implementation of valid data binding in
dtd2scala. Usingdtd2scala, attempts to create invalid elements result in runtime errors. - [changed] - XML parsing and
dtd2scalaconverted to new Java XML interface, works also with JDK 1.5 now. - [changed] - Better runtime representation of XML literals.
- [changed] - More information items from XML Infoset (Comments, Processing Instructions,
CDATAsections, Doctype Declarations). - [changed] - Library support for XML pretty printing. Whitespace trimming.
- [changed] - Full Unicode support in identifiers and XML names.
- [changed] - Allowing '-' in XML comments if not succeeded by '-'.
- [changed] - Proper serialization of XML attribute values.
- [fixed] -
scala4antnow works with Ant 1.6.x. - [fixed] - Bug fixes in
scala.xml.Utility.toString(n:Node). - [fixed] - Unary minus handled incorrectly in constant folding. (#304)
- [fixed] - Compiler crashes on secondary constructor accessing value parameter of the class (see bug #30 of the contribution list).(#311)
Version 1.1.1.3 (released on 15-Apr-2004)
- [changed] - Partial Java-style Unicode support, correct treatment of SUB and RIGHTARROW character. Letters in identifiers are still required to be ASCII or written in backquotes.
- [fixed] - Anonymous classes get non-deterministic names (meaning that in two successive compilations some classes/methods can get different names). (#316)
- [fixed] - Some fixes in the XML parser (activated using the
-Xmarkupoption). - [fixed] - Some fixes in the standard Scala library (e.g. in
scala.collection.mutable.AppendBuffer).
Version 1.1.1.0 (released on 23-Mar-2004)
- [added] - Support for Java's static inner classes.
- [changed] - Extension of the library classes
scala.Iterable,scala.Seqandscala.Array(e.g.foreach,forall,exists,foldRight, etc.). - [changed] - Better representation of XML through
scala.xml.Elem. Experimental XML expression parsing using-Xmarkupoption. - [changed] - Collection class
Bufferis now an interface; use one of its subclassesListBufferorArrayBufferinstead. - [fixed] - Methods cannot have more than 256 local variables.
- [fixed] - Some fixes in the standard Scala library (e.g. in method
filterof traitsscala.collection.[im]mutable.Mapandscala.collection.[im]mutable.Set). - [fixed] - Implementation of floating point literals does not conform to the Scala language specification (e.g.
2.f). (#296) - [fixed] - The Windows installer does not preserve modification date when extracting the source files of the Scala library. (#297)
- [fixed] - The Scala batch commands on Windows ignore the user-defined
CLASSPATHenvironment variable. (#298) - [fixed] - Compiler error when using
MIN_INTandMIN_LONGinteger literals. (#300)
Version 1.1.0-b3 (released on 19-Feb-2004)
- [fixed] - Some fixes in
scalap.
Version 1.1.0-b1 (released on 17-Feb-2004)
- [added] - Library support for defining enumerations (
scala.Enumeration). - [added] -
scalapnow supports disassembling of value classes. - [changed] - Concise syntax for defining many variables, values, methods, and classes of a given type and with a given initializer.
- [changed] - The Scala license was changed to the revised BSD license (i.e. the advertising clause was removed).
- [fixed] - The Scala batch commands on Windows do not run if the installation path contains spaces. (#288)
- [fixed] - Some fixes in the standard Scala library (e.g. in
scala.collection.immutable.Queue).
Version 1.0.0-b8 (released on 23-Jan-2004)
- [fixed] - The MacOSX installer does not install any files.
- [fixed] - The Windows installer does not refresh the active environment. (#287)
- [fixed] - The interactive Scala interpreter (
scalaint) doesn't handle user input correctly.
Version 1.0.0-b6 (released on 20-Jan-2004)
Version 1.0.0-b5 (released on 19-Jan-2004)
- [fixed] - Overloading resolution conflicts with coerce methods. (#245)
Version 1.0.0-b4 (released on 12-Jan-2004)
- [changed] - Base class
scala.Objectwas renamed toscala.ScalaObjectand changed to an interface. - [changed] - Base class
scala.Executablewas renamed toscala.Application. - [fixed] - Cannot access protected constructors when subclassing a Java class. (#228)
- [fixed] - Compiler error when redefining a Java method. (#229)
- [fixed] - Incorrect type of separately compiled nested modules. (#231)
- [fixed] - Compiler error when redefining a method in an anonymous class. (#238)
- [fixed] - Overloading resolution conflits with coerce methods. (#245)
- [fixed] - Sequence creation handled incorrectly in parsing. (#246)
- [fixed] - Strings handled incorrectly in constant folding. (#251)
- [fixed] - Missing bridge method for referenced abstract types. (#266)
Version 1.0.0-b2 (released on 08-Dec-2003)
- [changed] - Value classes are now direct subclasses of
scala.AnyVal. - [fixed] - Multi-dimensional object arrays generate wrong code. (#255)







