Scala 2.10.4-RC1 is now available!

We are very happy to announce the first release candidate of Scala 2.10.4! If no serious blocking issues are found this will become the final 2.10.4 version.

The release is available for download from scala-lang.org or from Maven Central.

The Scala team and contributors fixed 23 issues since 2.10.3!

In total, 39 RC1 pull requests were merged on GitHub.

Known Issues

Before reporting a bug, please have a look at these known issues.

Scala IDE for Eclipse

The Scala IDE with this release built right in is available through the following update-site:

Have a look at the getting started guide for more info.

New features in the 2.10 series

Since 2.10.4 is strictly a bug-fix release, here’s an overview of the most prominent new features and improvements as introduced in 2.10.0:

Experimental features

The API is subject to (possibly major) changes in the 2.11.x series, but don’t let that stop you from experimenting with them! A lot of developers have already come up with very cool applications for them. Some examples can be seen at http://scalamacros.org/news/2012/11/05/status-update.html.

A big thank you to all the contributors!

#Author
16Jason Zaugg
15Adriaan Moors
3Simon Schaefer
3Eugene Burmako
3Luc Bourlier
2Som Snytt
2Paul Phillips
2Mirco Dotta
1Mark Harrah
1Vlad Ureche
1Heather Miller
1FrancÃßois Garillot
1Roberto Tyley

Commits and the issues they fixed since v2.10.3

Issue(s)CommitMessage
SI-642647562e7adbRevert "SI-6426, importable _."
SI-8062f0d913b51dSI-8062 Fix inliner cycle with recursion, separate compilation
SI-7912006e2f2aadSI-7912 Be defensive calling `toString` in `MatchError#getMessage`
SI-8060bb427a3416SI-8060 Avoid infinite loop with higher kinded type alias
SI-79955ed834e251SI-7995 completion imported vars and vals
SI-8019c955cf4c2eSI-8019 Make Publisher check PartialFunction is defined for Event
SI-8029fdcc262070SI-8029 Avoid multi-run cyclic error with companions, package object
SI-74398d74fa0242[backport] SI-7439 Avoid NPE in `isMonomorphicType` with stub symbols.
SI-80109036f774bcSI-8010 Fix regression in erasure double definition checks
SI-79827d4109486bSI-7982 Changed contract of askLoadedType to unload units by default
SI-691370634395a4SI-6913 Fixing semantics of Future fallbackTo to be according to docs
SI-745802308c9691SI-7458 Pres. compiler must not observe trees in silent mode
SI-7548652b3b4b9dSI-7548 Test to demonstrate residual exploratory typing bug
SI-7548b7509c922fSI-7548 askTypeAt returns the same type whether the source was fully or targeted
SI-80053629b645ccSI-8005 Fixes NoPositon error for updateDynamic calls
SI-8004696545d53fSI-8004 Resolve NoPosition error for applyDynamicNamed method call
SI-7463, SI-8003b915f440ebSI-7463,SI-8003 Correct wrong position for {select,apply}Dynamic calls
SI-7280053a2744c6[nomaster] SI-7280 Scope completion not returning members provided by imports
SI-791504df2e48e4SI-7915 Corrected range positions created during default args expansion
SI-7776d15ed081ef[backport] SI-7776 post-erasure signature clashes are now macro-aware
SI-6546075f6f260cSI-6546 InnerClasses attribute refers to absent class
SI-7638, SI-4012e09a8a2b7fSI-4012 Mixin and specialization work well
SI-751950c8b39ec4SI-7519: Additional test case covering sbt/sbt#914
SI-7519ce74bb0060[nomaster] SI-7519 Less brutal attribute resetting in adapt fallback
SI-4936, SI-6026e350bd2cbc[nomaster] SI-6026 backport getResource bug fix
SI-60262bfe0e797cSI-6026 REPL checks for javap before tools.jar
SI-729525bcba59ceSI-7295 Fix windows batch file with args containing parentheses
SI-70207b560213cbDisable tests for SI-7020
SI-77832ccbfa5778SI-7783 Don't issue deprecation warnings for inferred TypeTrees
SI-7815733b3220c9SI-7815 Dealias before deeming method type as dependent

Complete commit list!

shaTitle
3fa2c97853Report error on code size overflow, log method name.
2aa9da578ePartially revert f8d8f7d08d.
47562e7adbRevert "SI-6426, importable _."
f0d913b51dSI-8062 Fix inliner cycle with recursion, separate compilation
9cdbe28c00Fixup #3248 missed a spot in pack.xml
006e2f2aadSI-7912 Be defensive calling `toString` in `MatchError#getMessage`
bb427a3416SI-8060 Avoid infinite loop with higher kinded type alias
27a38602deUpdate README, include doc/licenses in distro
139ba9d875Add attribution for Typesafe.
e555106070Remove docs/examples; they reside at scala/scala-dist
dc6dd58d9dRemove unused android test and corresponding license.
f8d8f7d08dDo not distribute partest and its dependencies.
5ed834e251SI-7995 completion imported vars and vals
c955cf4c2eSI-8019 Make Publisher check PartialFunction is defined for Event
fdcc262070SI-8029 Avoid multi-run cyclic error with companions, package object
8d74fa0242[backport] SI-7439 Avoid NPE in `isMonomorphicType` with stub symbols.
9036f774bcSI-8010 Fix regression in erasure double definition checks
3faa2eedd8[nomaster] better error messages for various macro definition errors
7d4109486bSI-7982 Changed contract of askLoadedType to unload units by default
70634395a4SI-6913 Fixing semantics of Future fallbackTo to be according to docs
02308c9691SI-7458 Pres. compiler must not observe trees in silent mode
652b3b4b9dSI-7548 Test to demonstrate residual exploratory typing bug
b7509c922fSI-7548 askTypeAt returns the same type whether the source was fully or targeted
0c963c9085[nomaster] teaches toolbox about -Yrangepos
3629b645ccSI-8005 Fixes NoPositon error for updateDynamic calls
696545d53fSI-8004 Resolve NoPosition error for applyDynamicNamed method call
b915f440ebSI-7463,SI-8003 Correct wrong position for {select,apply}Dynamic calls
053a2744c6[nomaster] SI-7280 Scope completion not returning members provided by imports
eb9f0f7975[nomaster] Adds test cases for scope completion
3a8796da1a[nomaster] Test infrastructure for scope completion
04df2e48e4SI-7915 Corrected range positions created during default args expansion
ec89b59717Upgrade pax-url-aether to 1.6.0.
1d29c0a08b[backport] Add buildcharacter.properties to .gitignore.
31ead67a30IDE needs swing/actors/continuations
852a9479d0Allow retrieving STARR from non-standard repo for PR validation
40af1e0c44Allow publishing only core (pr validation)
ba0718fd1dRender relevant properties to buildcharacter.properties
d15ed081ef[backport] SI-7776 post-erasure signature clashes are now macro-aware
6045a05b83Fix completion after application with implicit arguments
075f6f260cSI-6546 InnerClasses attribute refers to absent class
e09a8a2b7fSI-4012 Mixin and specialization work well
50c8b39ec4SI-7519: Additional test case covering sbt/sbt#914
ce74bb0060[nomaster] SI-7519 Less brutal attribute resetting in adapt fallback
e350bd2cbc[nomaster] SI-6026 backport getResource bug fix
2bfe0e797cSI-6026 REPL checks for javap before tools.jar
25bcba59ceSI-7295 Fix windows batch file with args containing parentheses
7b560213cbDisable tests for SI-7020
8986ee4fd5Disable flaky presentation compiler test.
2ccbfa5778SI-7783 Don't issue deprecation warnings for inferred TypeTrees
ee9138e99eBump version to 2.10.4 for nightlies
733b3220c9SI-7815 Dealias before deeming method type as dependent