We are pleased to announce the next milestone release of Scala 2.11.0!
This is a pre-release software. You can see our plans for upcoming Scala releases on our Roadmap. For production use, we recommend the latest stable release, 2.10.1.
The Scala team and contributors fixed 108 issues, in addition to those fixed in the upcoming 2.10.2, which are also included in this release.
Please give 2.11.0-M3 a spin! This release is not binary compatible with the 2.10.x series, so you will need to obtain builds of your dependencies. Once we start the release candidates, we will coordinate with the open source community to release these simultaneously, but for these milestones we are not asking library authors to go to that trouble.
We’d love to hear about any regressions since 2.10.1. You can file bugs in JIRA. Before doing so, please search for existing bugs and/or consult with the scala-user mailing list to be sure it is a geniune problem. Please set the ‘Affects Version’ field to 2.11.0-M3 and add the tag regression
.
In particular, be aware that the complete fix for SI-7486 is not included in this milestone. If you encounter this, the workaround is to annotate the return type of implicit members (which is a good practice, in any case.)
We are also aware of an issue with macros and named arguments SI-7516. This will be fixed in the next milestone.
Scala IDE for Eclipse
The Scala IDE with Scala 2.11.0-M3 built right in is available through one of the following update-sites:
- for Eclipse 3.7 (Indigo)
Have a look at the getting started guide for more info.
New features in the 2.11 series
This release contains all of the bug fixes and improvements made in the 2.10 series, as well as:
-
Modularization
- The compiler has been internally modularized, to separate the presentation compiler, scaladoc and the REPL. In this release, all of these modules are still packaged in scala-compiler.jar. We plan to ship them in separate JARs as of the next milestone. Similar work is planned in the standard library.
-
Slimming down
-
The experimental .NET backend has been removed from the compiler.
-
In Scala 2.10.0, new implementations of the Pattern Matcher and the Bytecode Emitter were shipped. We have now removed the old implementations.
-
scala-actors is now deprecated;
-
Search and destroy mission for ~5000 chunks of dead code. #1648
-
-
Language
-
REPL
-
The bytecode decompiler command, :javap, now works with Java 7 SI-4936 and has sprouted new options SI-6894 (Thanks, Andrew Marki!)
-
Added command :kind to help to tell ground types from type constructors. #2340 (Thanks, George Leontiev and Eugene Yokota!)
-
The interpreter can now be embedded as a JSR-166 Scripting Engine SI-874. (Thanks, Raphael Jolly!)
-
-
Performance
-
Warnings
- Warn about unused private / local terms and types, and unused imports, under
-Xlint
. This will even tell you when a localvar
could be aval
. (We might move these warnings to a separate command line option before the final release, your feedback is welcome here.)
- Warn about unused private / local terms and types, and unused imports, under
A big thank you to all the contributors!
# | Author |
---|---|
194 | |
181 | |
90 | |
88 | |
52 | |
31 | |
28 | |
24 | |
17 | |
13 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |