We are pleased to announce the second release candidate of Scala 2.10.1!
The Scala team and contributors fixed 184 issues since 2.10.0! In total, 242 pull requests (+ 7 for RC2) were opened on GitHub, of which 225 were merged (+ 6 for RC2) after having been tested and reviewed.
Please give 2.10.1-RC2 a spin! It’s designed to be a drop-in replacement for 2.10.0. We’d love to hear about any regressions since 2.10.0 and will try to fix them before releasing the final version.
There will be an RC3 one week after this release, which will become the final unless new blocker issues are discovered within a week after its release.
Known Issues
Before reporting a bug, please have a look at these known issues scheduled for 2.10.1-RC3.
Scala IDE for Eclipse
The Scala IDE with Scala 2.10.1-RC2 built right in is available through one of the following update-sites:
- for Eclipse 3.7 (Indigo)
- for Eclipse 3.8/4.2 (Juno) (Support for this version is experimental.)
Have a look at the getting started guide for more info.
New features in the 2.10 series
As for 2.10.0, here’s an overview of the most prominent new features and improvements:
-
Value Classes
-
A class may now extend
AnyVal
to make it behave like a struct type (restrictions apply). -
https://docs3.scala-lang.org/overviews/core/value-classes.html
-
-
Implicit Classes
-
The implicit modifier now also applies to class definitions to reduce the boilerplate of implicit wrappers.
-
-
String Interpolation
-
val what = "awesome"; println(s"string interpolation is ${what.toUpperCase}!")
-
https://docs3.scala-lang.org/overviews/core/string-interpolation.html
-
-
Futures and Promises
-
Asynchronously get some JSON:
for (req <- WS.url(restApiUrl).get()) yield (req.json \ "users").as[List[User]]
(uses play!)
-
-
Dynamic and applyDynamic
-
x.foo
becomesx.applyDynamic("foo")
ifx
’s type does not define afoo
, but is a subtype ofDynamic
-
-
Dependent method types:
def identity(x: AnyRef): x.type = x
// the return type says we return exactly what we got
-
New ByteCode emitter based on ASM
-
Can target JDK 1.5, 1.6 and 1.7
-
Emits 1.6 bytecode by default
-
Old 1.5 backend is deprecated
-
-
A new Pattern Matcher
-
rewritten from scratch to generate more robust code (no more exponential blow-up!)
-
code generation and analyses are now independent (the latter can be turned off with
-Xno-patmat-analysis
)
-
-
Scaladoc Improvements
-
Implicits (-implicits flag)
-
Diagrams (-diagrams flag, requires graphviz)
-
Groups (-groups)
-
-
Modularized Language features
-
Get on top of the advanced Scala features used in your codebase by explicitly importing them.
-
https://docs3.scala-lang.org/sips/modularizing-language-features.html
-
-
Parallel Collections are now configurable with custom thread pools
-
Akka Actors now part of the distribution
- scala.actors have been deprecated and the akka implementation is now included in the distribution.
-
Performance Improvements
-
Faster inliner
-
Range#sum
is now O(1) -
Update of ForkJoin library
-
Fixes in immutable
TreeSet
/TreeMap
-
Improvements to PartialFunctions
-
- Addition of
???
andNotImplementedError
- Addition of
IsTraversableOnce
+IsTraversableLike
type classes for extension methods -
Deprecations and cleanup
-
Floating point and octal literal syntax deprecation
-
Removed scala.dbc
-
Experimental features
-
Scala Reflection
-
Macros
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 hxxp://scalamacros.org/news/2012/11/05/status-update.html.
A big thank you to all the contributors!
# | Author |
---|---|
101 | |
49 | |
43 | |
36 | |
32 | |
10 | |
9 | |
9 | |
7 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
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 |
Commits and the issues they fixed since v2.10.0
Issue(s) | Commit | Message |
---|---|---|
SI-7112 | 1976d9f | |
SI-7180 | de1f749 | |
SI-5975, SI-6576 | 19649d4 | |
SI-7146 | bb067d3 | |
SI-7128 | 348ff4b | |
SI-6548, SI-6548 | 85b63b8 | |
SI-4664, SI-4664 | 8b4af71 | |
SI-6521 | f9550c6 | |
SI-7082, SI-7083, SI-6591 | 09ef873 | |
SI-5675 | e0068b9 | |
SI-7096 | 5258b63 | |
SI-6666 | 81fa831 | |
SI-6666 | 275b341 | |
SI-6666 | 4c34280 | |
SI-6259, SI-6506, SI-6957, SI-6666 | fd61254 | |
SI-6478 | 6052e19 | |
SI-7071, SI-7072 | b43ae58 | |
SI-6989 | 02ed5fb | |
SI-5824 | 96b0eff | |
SI-5374, SI-6961 | fa3b804 | |
SI-6187 | dfbaaa1 | |
SI-6146 | 55c9b9c | |
SI-5954, SI-7070 | 1426fec | |
SI-5082 | a0ee6e9 | |
SI-7100 | a53e150 | |
SI-6113 | 0d68a87 | |
SI-2806, SI-6888 | b579a42 | |
SI-7026, SI-7026 | 79e774f | |
SI-5017 | 015ff51 | |
SI-6150, SI-6773, SI-6150 | 87d52db | |
SI-7060 | e5c0e59 | |
SI-7039 | 8ae0e2a | |
SI-5833 | 0574172 | |
SI-6667 | b67f8e5 | |
SI-6017 | 0e8d8c7 | |
SI-6017 | 3f0bce9 | |
SI-6578 | a6137d1 | |
SI-7008 | f1701f7 | |
SI-7033 | 3af838c | |
SI-6422 | bc01614 | |
SI-5313 | 4fda83f | |
SI-5313 | c7d489e | |
SI-5313 | 9b4fa83 | |
SI-5313 | eab2884 | |
SI-7046 | 2403d1d | |
SI-5543, SI-1803 | b74c33e | |
SI-6482, SI-7022 | 374c912 | |
SI-6482, SI-6482 | 4ed8836 | |
SI-6941 | b2117cf | |
SI-6686 | b92396b | |
SI-5158, SI-6941 | 494ba94 | |
SI-4976 | d71f59e | |
SI-7029 | 5275bae | |
SI-7029 | 3f78bee | |
SI-6539 | 2989258 | |
SI-6812 | 941c569 | |
SI-6206, SI-6206 | 11ac963c | |
SI-6601 | 5a2828c | |
SI-6601 | 172f3f6 | |
SI-2818 | 6db4db9 | |
SI-2968, SI-2968 | 8350cd9 | |
SI-6963 | 1de399d | |
SI-3353, SI-3353 | 1049435 | |
SI-6017 | 831bffd | |
SI-6853 | e36327a | |
SI-6595 | ff92610 | |
SI-6584 | 98534b2 | |
SI-6426 | d2316df | |
SI-6072 | 05882eb | |
SI-5604 | d4437aa | |
SI-5859 | e156cd1 | |
SI-5353 | f3f1e50 | |
SI-5130 | 77ec4ef | |
SI-4729 | faca7ec | |
SI-2418, SI-2418 | 0990890 | |
SI-6572 | 16eaefb | |
SI-6301, SI-6301, SI-6301, SI-6572 | 0679da5 | |
SI-5378 | f6d90a8 | |
SI-4714 | 5f85fe5 | |
SI-2418, SI-2418 | 243cede | |
SI-7009, SI-7009 | fefe6cc | |
SI-7009 | e22d801 | |
SI-1336, SI-5589, SI-4574, SI-6968, SI-6968 | a87d409 | |
SI-6669 | 166fd02 | |
SI-6728 | 80a814d | |
SI-7035 | 9afae59 | |
SI-6726 | 6357c8d | |
SI-6726, SI-6726 | 14d8c22 | |
SI-6726 | 32c0a2e | |
SI-6154 | d3f3394 | |
SI-6516 | 6f86583 | |
SI-6551 | cfaa3b5 | |
SI-6651 | 45ccdc5 | |
SI-6987 | bffe776 | |
SI-6258, SI-6258, SI-3577, SI-3577 | b8da00e | |
SI-6891 | 7babdab | |
SI-6981 | cff0934 | |
SI-4602 | 3cbb002 | |
SI-4602, SI-4602 | 952e1bf | |
SI-4733, SI-4733 | e0cf651 | |
SI-6863 | 0b52a51 | |
SI-6932 | 262d7ec | |
SI-6932 | 08a74e5 | |
SI-6443 | 11329c3 | |
SI-6443 | 493197f | |
SI-7018 | a72aa94 | |
SI-7011 | d592216 | |
SI-6231 | f6168b8 | |
SI-6987 | 1dab5bf | |
SI-6987 | e12a5b8 | |
SI-6997, SI-6666 | 1a7de43 | |
SI-6011, SI-6902 | cbd0205 | |
SI-6952 | 8a74b7b | |
SI-6969 | 0d01cc1 | |
SI-6976 | d9d6494 | |
SI-6637, SI-6637 | 4dceb22 | |
SI-6611, SI-6247, SI-6611, SI-6247 | ba411c4 | |
SI-6567, SI-6567 | 96ed055 | |
SI-6439 | 3486d47 | |
SI-6923, SI-6994 | 52a5328 | |
SI-6994 | 8f49884 | |
SI-6434 | 8297843 | |
SI-6942 | f539781 | |
SI-5568 | c606559 | |
SI-5568 | 765386f | |
SI-6608, SI-6601 | b07228a | |
SI-6923 | 66fe64f | |
SI-6956 | a6b34b6 | |
SI-6479 | 9cc61f3 | |
SI-6963 | 0c2e884 | |
SI-6675 | 78019b2 | |
SI-6675 | 692372c | |
SI-6955 | 8475807 | |
SI-6082 | 39352fe | |
SI-5440 | 4aba0fe | |
SI-5340 | 1212af4 | |
SI-6925 | b1cea21 | |
SI-5189 | 8fb19b1 | |
SI-6555 | 38404e8 | |
SI-6930 | 0f237e9 | |
SI-6905 | 57ae1f3 | |
SI-6126 | 25c7364 | |
SI-6946, SI-6924 | 79a722f | |
SI-5954 | 3ef487e | |
SI-6521 | a557a97 | |
SI-5553, SI-6912 | 7a23562 | |
SI-6846, SI-6846 | e5da30b | |
SI-6928 | c58647f | |
SI-6641 | 557caa3 | |
SI-6803 | 103a478 | |
SI-6915 | 77c8751 | |
SI-6897 | 3405294 | |
SI-6896 | a6ce037 | |
SI-6911 | eeb6ee6 | |
SI-6827 | 92cf0e3 | |
SI-5017 | 02b2da6 | |
SI-6194 | ac61e34 | |
SI-6746 | e5f16ac | |
SI-6415 | 24a033b | |
SI-6829, SI-6788 | 231d59d | |
SI-6338 | 3a6f3ae | |
SI-6795 | f029c3a | |
SI-6795 | 71e42a7 | |
SI-3995 | cab8ea4 | |
SI-3995 | 90efa6b | |
SI-6548 | 54a84a3 | |
SI-5390 | 289a882 | |
SI-5361 | 8b7f0ac | |
SI-3614, SI-5361 | 327083d | |
SI-6288 | 286dced | |
SI-6288 | f69b846 | |
SI-6288 | 79a43d7 | |
SI-6758 | 089173d | |
SI-6555 | 818a2e6 | |
SI-5841 | 286abfc | |
SI-5877 | 0b1ae9c | |
SI-5877 | 96e5c40 | |
SI-5877 | 65c1ae5 | |
SI-6758 | 673bc70 | |
SI-6558 | c24400f | |
SI-6558 | d9928d5 | |
SI-4922 | e249f2e | |
SI-6614 | bd04b2c | |
SI-6690 | d526f8b | |
SI-5789 | 5f2b7c4 | |
SI-5789 | 850128d | |
SI-6782, SI-5789 | d699122 | |
SI-5894 | a23cc20 | |
SI-5894 | b828e32 | |
SI-1672 | 31a0aa7 | |
SI-6535 | 8a1f85d | |
SI-6549 | 90c87fc | |
SI-6547 | d99b7f4 | |
SI-5678 | 8204b19 | |
SI-6667 | 9aa6ded | |
SI-6667 | 3719f79 | |
SI-4664 | 2aa66be | |
SI-4664 | 0b92073 | |
SI-6712 | 089cc9f | |
SI-6696, SI-6696 | 5546a72 | |
SI-6766 | 868fe64 | |
SI-6766 | a725494 | |
SI-6631 | 7ee1145 | |
SI-5464 | 5028181 | |
SI-6663, SI-5726, SI-5733, SI-6320, SI-6551, SI-6722 | a694194 | |
SI-6731 | dac1488 | |
SI-5753 | 597a949 | |
SI-6718 | 20c2a50 | |
SI-6687 | 7f1ba06 | |
SI-6357 | 8b54ec9 | |
SI-6677 | 2aa6841 | |
SI-6706 | d0de367 | |
SI-6023 | 548a54d | |
SI-6673, SI-6673 | 907d6ea | |
SI-6695 | 7376ad7 | |
SI-6632, SI-6633 | 925c6e3 | |
SI-6634 | 2c23acf | |
SI-6551 | 74ca558 | |
SI-6663 | c656920 | |
SI-6150 | 1f0e488 | |
SI-5330, SI-6014 | 65778d7 | |
SI-6539 | 6902da3 | |
SI-6662 | b922573 | |
SI-6616 | 03aa7fc | |
SI-6649 | 1bdd5ee | |
SI-6597 | 1e2328e | |
SI-6488 | c7c79c8 | |
SI-6559 | 492cbe5 | |
SI-6358 | a52bd2c | |
SI-6358 | 4c86dbb | |
SI-6422 | c6866a2 |
Complete commit list!
sha | Title |
---|---|
1976d9f | |
de1f749 | |
26be206 | |
dafebd0 | |
19649d4 | |
bb067d3 | |
348ff4b | |
d49532f | |
dad8796 | |
b4f277a | |
85b63b8 | |
2f9b708 | |
ddfe3a0 | |
9194b37 | |
56cbf23 | |
549a1fe | |
5d487f1 | |
8b4af71 | |
f9550c6 | |
af0da51 | |
13caa49 | |
22341e7 | |
57c0e63 | |
ce867c7 | |
09ef873 | |
e0068b9 | |
5258b63 | |
81fa831 | |
275b341 | |
66fa1f2 | |
4c34280 | |
fd61254 | |
ee24807 | |
6052e19 | |
b43ae58 | |
02ed5fb | |
96b0eff | |
fa3b804 | |
dfbaaa1 | |
55c9b9c | |
1426fec | |
a0ee6e9 | |
a53e150 | |
0d68a87 | |
b579a42 | |
79e774f | |
f784fbf | |
1f838ed | |
c9a0e36 | |
570f4a4 | |
c720531 | |
4d7982b | |
4ef2a49 | |
0e0c851 | |
1093ce0 | |
7bf0ecc | |
015ff51 | |
87d52db | |
e5c0e59 | |
8ae0e2a | |
0574172 | |
b67f8e5 | |
0e8d8c7 | |
3f0bce9 | |
a6137d1 | |
02dd4c9 | |
0bcdf71 | |
adf50a3 | |
f1701f7 | |
3af838c | |
bc01614 | |
4fda83f | |
c7d489e | |
9b4fa83 | |
eab2884 | |
2403d1d | |
f3cdf14 | |
7e836f8 | |
b74c33e | |
a06d31f | |
6697c28 | |
59918ee | |
91c9c42 | |
374c912 | |
4ed8836 | |
b2117cf | |
b92396b | |
b47bb0f | |
494ba94 | |
71ea3e8 | |
62b37dd | |
415becd | |
a07555f | |
d71f59e | |
5275bae | |
3f78bee | |
2989258 | |
941c569 | |
11ac963c | |
5a2828c | |
172f3f6 | |
6db4db9 | |
8350cd9 | |
1de399d | |
1049435 | |
485d815 | |
033b6c1 | |
831bffd | |
e36327a | |
ff92610 | |
98534b2 | |
d2316df | |
05882eb | |
d4437aa | |
e156cd1 | |
f3f1e50 | |
77ec4ef | |
faca7ec | |
0990890 | |
16eaefb | |
0679da5 | |
f6d90a8 | |
5f85fe5 | |
243cede | |
4b39be4 | |
ced7411 | |
1ab7d1c | |
fefe6cc | |
e22d801 | |
a87d409 | |
166fd02 | |
80a814d | |
8610d7e | |
9afae59 | |
eba079b | |
f72354c | |
6357c8d | |
14d8c22 | |
32c0a2e | |
d3f3394 | |
6f86583 | |
cfaa3b5 | |
45ccdc5 | |
bffe776 | |
b8da00e | |
7babdab | |
cff0934 | |
05ad682 | |
3cbb002 | |
952e1bf | |
e0cf651 | |
0b52a51 | |
262d7ec | |
08a74e5 | |
11329c3 | |
493197f | |
62111a4 | |
a72aa94 | |
7c45aa5 | |
d592216 | |
f6168b8 | |
1dab5bf | |
e12a5b8 | |
1a7de43 | |
cbd0205 | |
8a74b7b | |
0d01cc1 | |
d9d6494 | |
a9bbfec | |
b2776b4 | |
0a967e1 | |
f2e45fc | |
d972336 | |
4dceb22 | |
ba411c4 | |
96ed055 | |
3486d47 | |
52a5328 | |
8f49884 | |
873aecc | |
8297843 | |
277f0fe | |
964776f | |
f539781 | |
c606559 | |
765386f | |
b07228a | |
66fe64f | |
ce56316 | |
a6b34b6 | |
9cc61f3 | |
0c2e884 | |
78019b2 | |
692372c | |
8475807 | |
39352fe | |
4aba0fe | |
1212af4 | |
51f574a | |
e314ff1 | |
b1cea21 | |
8fb19b1 | |
38404e8 | |
0f237e9 | |
57ae1f3 | |
25c7364 | |
79a722f | |
3ef487e | |
a557a97 | |
7a23562 | |
e5da30b | |
c58647f | |
557caa3 | |
103a478 | |
77c8751 | |
2ceec33 | |
f76432a | |
3405294 | |
a6ce037 | |
eeb6ee6 | |
92cf0e3 | |
02b2da6 | |
ac61e34 | |
9575ee9 | |
e5f16ac | |
9d1e22b | |
1364381 | |
24a033b | |
231d59d | |
4423c59 | |
3a6f3ae | |
0ceaf83 | |
b53c35c | |
f029c3a | |
71e42a7 | |
5851396 | |
0cbefd0 | |
0a2022c | |
cab8ea4 | |
90efa6b | |
0429f0f | |
54a84a3 | |
9ba7cf8 | |
787e82f | |
bbf0eb2 | |
289a882 | |
d29696a | |
8b7f0ac | |
327083d | |
098e8a0 | |
6015361 | |
286dced | |
f69b846 | |
79a43d7 | |
2621918 | |
dfa4e23 | |
a0cd0f8 | |
24455e2 | |
089173d | |
e5e6d67 | |
69f4e93 | |
818a2e6 | |
c5ffa03 | |
286abfc | |
0b1ae9c | |
96e5c40 | |
65c1ae5 | |
673bc70 | |
c24400f | |
d9928d5 | |
e249f2e | |
bd04b2c | |
48cffd0 | |
d526f8b | |
5f2b7c4 | |
850128d | |
d699122 | |
a23cc20 | |
b828e32 | |
8434922 | |
31a0aa7 | |
e4d1d93 | |
8a1f85d | |
90c87fc | |
d99b7f4 | |
8204b19 | |
9aa6ded | |
3719f79 | |
2aa66be | |
0b92073 | |
089cc9f | |
78a081f | |
bb9adfb | |
838cbe6 | |
7ee299b | |
0ebf72b | |
40063b0 | |
85f3202 | |
d547760 | |
5546a72 | |
868fe64 | |
a725494 | |
d483ec3 | |
7ee1145 | |
ef61bc5 | |
5028181 | |
a694194 | |
dac1488 | |
d55840e | |
1be0244 | |
597a949 | |
8fcbee5 | |
a0001fc | |
20c2a50 | |
3177934 | |
b02e952 | |
7f1ba06 | |
555a9ba | |
8b54ec9 | |
cd1bf78 | |
2aa6841 | |
d0de367 | |
548a54d | |
1fd3a2a | |
907d6ea | |
7376ad7 | |
925c6e3 | |
2c23acf | |
74ca558 | |
c656920 | |
af8b45f | |
db0bf8f | |
1f0e488 | |
65778d7 | |
f8647ee | |
2e0cbe0 | |
48ee29a | |
6902da3 | |
b922573 | |
03aa7fc | |
1bdd5ee | |
af3b03b | |
f98e4d0 | |
1e2328e | |
c7c79c8 | |
492cbe5 | |
e23f9ed | |
d22b74c | |
ed09630 | |
a3c5427 | |
a52bd2c | |
4c86dbb | |
aa27396 | |
08ab007 | |
bdff881 | |
c6866a2 | |
ad65b28 |