ST-JS: Strongly Typed JavaScript

Borrowing Java's syntax to write type-safe JavaScript

Changelog

You can stay informed about new releases and other STJS-related announcements by following us on Google+

Future plans

3.2.1 (20-Aug-2015)

This is a bugfix release

Generator

Test Helper

Bridges

Server

3.2.0 (07-Aug-2015)

This release bring several new features: Full webjar support, improved Array bridge and implementation, JavaScript debug mode in the JUnit test runner.

Generator

Maven plugin

Runtime

Test Helper

Bridges

Server

3.1.5 (07-Jul-2015)

This release brings major performance improvements for the JUnit test runner, as well as a couple of bug fixes and small features

Generator

Test Helper

3.1.4 (22-Apr-2015)

This release brings bug fixes and small features

Generator

Maven plugin

Runtime

Test Helper

3.1.3 (29-Jan-2015)

This release brings a lot of improvements in various areas, including: Better support for Java 8 Lambdas and method references, client-side support for Java annotations, improved control on generated code leading to better JS library bridging, better sourcemap support, etc...

Versions 3.1.0 through 3.1.2 were private unstable versions.

Generator

Maven plugin

Runtime

Bridges

Test Helper

3.0.3 (17-Aug-2014)

This is mainly a bug fix version notably for the source map part.

Generator

3.0.2 (02-Jul-2014)

This is a mainly a bug fix version.

Generator

3.0.1 (09-Feb-2014)

This is a minor bug fixed related to the refactoring done in the previous version.

Generator

3.0.0 (15-Jan-2014)

This new major version brings the support for Java8, allowing you to use the long expected lambda expressions. Also the method references simplify greatly the development and make the code even closer to the generated JavaScript code. To use these new functionalities, you simply have to compile your project with a JDK 8. ST-JS uses the right parser for the desired Java version.
To achieve this, the generator was completely re-written and uses the Java compiler's AST features. Now it's also simpler to extend the generator via the @UsePlugin annotation.

Generator

2.1.0 (02-Jan-2014)

The main functionality delivered in the version is the possibility to have overloaded methods and constructors, not only in bridges but also in regular classes. The implementation is similar to the one in TypeScript, and it sticks to our philosophy to stay as close as possible to JavaScript syntax and capabilities. So only one constructor or overloaded method with the same name can have a body. The other less generic versions are marked with the keyword native or with the annotation @Native

Generator

2.0.0 (06-Oct-2013)

Starting with this release the bridges are no longer in the main repository. They will have they own independent releases, linked to the release of the JavaScript libraries they are bridging.
All there are a bunch of examples that were also separated from the main repository here.

Bridges
Generator

1.4.0 (11-Aug-2013)

The 1.4.0 release is the last one before removing the bridges from the main project. It's main goal was to externalize the method call templates, to simplify the creation of other bridges. Here is the list of the changes:

Common
Generator
Test Helper

1.3.1 (14-Feb-2013)

Generator

1.3.0 (23-Jan-2013)

JQuery/DOM bridge
Test Helper
Generator

1.2.3 (18-Jul-2012)

JQuery/DOM bridge
Generator
Server

1.2.2 (18-Jul-2012)

Buggy version - please ignore it

1.2.1 (21-Mar-2012)

Test Helper
JQuery/DOM bridge
Generator
General

1.2.0 (15-Jan-2012)

1.1.4 (13-Dec-2011)

1.1.3 (24-Nov-2011)

1.1.2 (10-Nov-2011)

1.1.1 (7-Nov-2011)

1.1.0 (1-Nov-2011)

1.0.0 (11-Oct-2011)

Initial release

Fork me on GitHub