Skip to content

Commit 5302b52

Browse files
committed
Announcing Scala.js 0.6.4.
1 parent 1cec062 commit 5302b52

File tree

5 files changed

+85
-1
lines changed

5 files changed

+85
-1
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ author :
1818
twitter : sjrdoeraene
1919
feedburner : feedname
2020

21-
scalaJSVersion: 0.6.3
21+
scalaJSVersion: 0.6.4
2222
scalaJSBinaryVersion: 0.6
2323

2424
# The production_url is only used when full-domain names are needed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
layout: post
3+
title: Announcing Scala.js 0.6.4
4+
category: news
5+
tags: [releases]
6+
---
7+
{% include JB/setup %}
8+
9+
We are excited to announce the release of Scala.js 0.6.4!
10+
11+
This release brings support for Scala 2.11.7 and 2.12.0-M1, as well as a significant part of the Java collections library in `java.util`, thanks to [@andreaTP](https://github.com/andreaTP) and [@nicolasstucki](https://github.com/nicolasstucki).
12+
It also fixes numerous bugs.
13+
14+
## Getting started
15+
16+
If you are new to Scala.js, head over to
17+
[the tutorial]({{ BASE_PATH }}/doc/tutorial.html).
18+
19+
## Release notes
20+
21+
For changes in the 0.6.x series compared to 0.5.x, read [the announcement of 0.6.0]({{ BASE_PATH }}/news/2015/02/05/announcing-scalajs-0.6.0/).
22+
23+
As a minor release, 0.6.4 is backward source and binary compatible with previous releases in the 0.6.x series.
24+
Libraries compiled with earlier versions can be used with 0.6.4 without change.
25+
However, it is not forward compatible: libraries compiled with 0.6.4 cannot be used by projects using 0.6.{0-3}.
26+
27+
Please report any issues [on GitHub](https://github.com/scala-js/scala-js/issues).
28+
29+
## Improvements
30+
31+
### Java Collections API
32+
33+
Some Scala libraries use the collections of Java in some cases.
34+
To help port these libraries to Scala.js, a number of collection types have been ported.
35+
At the moment, the following data structures are supported:
36+
37+
* `List`: `ArrayList`, `LinkedList`, `CopyOnWriteArrayList`
38+
* `Set`: `HashSet`, `LinkedHashSet`, `ConcurrentSkipListSet`
39+
* `Map`: `HashMap`, `LinkedHashMap`, `ConcurrentHashMap`
40+
* `Queue`: `LinkedList`, `ConcurrentLinkedQueue`
41+
42+
as well as the helper classes `Arrays` and `Collections`.
43+
44+
### Running with Rhino also reports linking errors
45+
46+
Until 0.6.3, running with Rhino (the default) would not truly link, and therefore would not report linking errors.
47+
This caused confusions in several occasions, because code that appeared to work on Rhino refused to link and therefore `fastOptJS` would not work.
48+
As of 0.6.4, even running with Rhino will report linking errors.
49+
50+
## Bug fixes
51+
52+
Among others, the following bugs have been fixed:
53+
54+
* [#1646](https://github.com/scala-js/scala-js/issues/1646) `Char#isUpper` behavior diverges between Scala.js/Scala-JVM
55+
* [#1664](https://github.com/scala-js/scala-js/issues/1664) `@JSName(variable)` annotation does not fail on objects and classes
56+
* [#1671](https://github.com/scala-js/scala-js/issues/1671) `Double.toInt` and `Float.toInt` are broken
57+
* [#1718](https://github.com/scala-js/scala-js/issues/1718) `Pattern.compile` doesn't validate regex
58+
* [#1722](https://github.com/scala-js/scala-js/issues/1722) Rhino crash with Scalatest
59+
* [#1734](https://github.com/scala-js/scala-js/issues/1734) Charset decoding fails with read-only byte buffers
60+
* [#1743](https://github.com/scala-js/scala-js/issues/1743) `js.Dynamic.literal.applyDynamic("apply")(map.toSeq: _*)` causes optimizer to crash
61+
* [#1748](https://github.com/scala-js/scala-js/issues/1748) Source root not found for shared project error (`CrossProject` friendlier to Scoverage)
62+
* [#1759](https://github.com/scala-js/scala-js/issues/1759) `new Int8Array(n).toArray` throws TypeError
63+
* [#1764](https://github.com/scala-js/scala-js/issues/1764) `BigInteger.modInverse` always throws an exception
64+
* [#1774](https://github.com/scala-js/scala-js/issues/1774) `ClassCastException`: `org.mozilla.javascript.UniqueTag` running Scala.js project
65+
* [#1781](https://github.com/scala-js/scala-js/issues/1781) When the optimizer crashes, it is left in an inconsistent state
66+
67+
You can find the full list [on GitHub](https://github.com/scala-js/scala-js/issues?q=is%3Aissue+milestone%3Av0.6.4+is%3Aclosed).

doc/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ Generated Scaladocs are available here:
2828

2929
### Scala.js
3030

31+
#### Scala.js 0.6.4
32+
* [0.6.4 scalajs-library]({{ site.production_url }}/api/scalajs-library/0.6.4/#scala.scalajs.js.package)
33+
* [0.6.4 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/0.6.4/)
34+
* [0.6.4 scalajs-stubs]({{ site.production_url }}/api/scalajs-stubs/0.6.4/)
35+
* [0.6.4 scalajs-ir]({{ site.production_url }}/api/scalajs-ir/0.6.4/#org.scalajs.core.ir.package)
36+
* [0.6.4 scalajs-tools]({{ site.production_url }}/api/scalajs-tools/0.6.4/#org.scalajs.core.tools.package) ([Scala.js version]({{ site.production_url }}/api/scalajs-tools-js/0.6.4/#org.scalajs.core.tools.package))
37+
* [0.6.4 scalajs-js-envs]({{ site.production_url }}/api/scalajs-js-envs/0.6.4/#org.scalajs.jsenv.package)
38+
* [0.6.4 scalajs-test-adapter]({{ site.production_url }}/api/scalajs-sbt-test-adapter/0.6.4/#org.scalajs.testadapter.package)
39+
* [0.6.4 sbt-scalajs]({{ site.production_url }}/api/sbt-scalajs/0.6.4/#org.scalajs.sbtplugin.package)
40+
3141
#### Scala.js 0.6.3
3242
* [0.6.3 scalajs-library]({{ site.production_url }}/api/scalajs-library/0.6.3/#scala.scalajs.js.package)
3343
* [0.6.3 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/0.6.3/)

downloads.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ We strongly recommend using the SBT plugin, as shown in the [bootstrapping skele
99

1010
The CLI distribution requires `scala` and `scalac` (of the right major version) to be on the execution path. Unpack it wherever you like and add the `bin/` folder to your execution path.
1111

12+
#### Scala.js 0.6.4
13+
* [0.6.4, Scala 2.11 (tgz, 23MB)]({{ site.production_url }}/files/scalajs_2.11-0.6.4.tgz)
14+
* [0.6.4, Scala 2.11 (zip, 23MB)]({{ site.production_url }}/files/scalajs_2.11-0.6.4.zip)
15+
* [0.6.4, Scala 2.10 (tgz, 20MB)]({{ site.production_url }}/files/scalajs_2.10-0.6.4.tgz)
16+
* [0.6.4, Scala 2.10 (zip, 20MB)]({{ site.production_url }}/files/scalajs_2.10-0.6.4.zip)
17+
1218
#### Scala.js 0.6.3
1319
* [0.6.3, Scala 2.11 (tgz, 21MB)]({{ site.production_url }}/files/scalajs_2.11-0.6.3.tgz)
1420
* [0.6.3, Scala 2.11 (zip, 21MB)]({{ site.production_url }}/files/scalajs_2.11-0.6.3.zip)

index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ List of websites using Scala.js:
201201

202202
## Version History
203203

204+
- [0.6.4](/news/2015/07/03/announcing-scalajs-0.6.4/)
204205
- [0.6.3](/news/2015/05/12/announcing-scalajs-0.6.3/)
205206
- [0.6.2](/news/2015/03/16/announcing-scalajs-0.6.2/)
206207
- [0.6.1](/news/2015/03/03/announcing-scalajs-0.6.1/)

0 commit comments

Comments
 (0)