Released: 2018-10-13
Thank you for choosing Haxe!
Download for your platform and start developing today.
A newer version is available!
The latest stable version is Haxe 4.3.7.
Dear Community,
On behalf of the Haxe Foundation, we are proud to announce the official release of the Haxe 4.0.0-preview.5! It is available along with the changelog at https://haxe.org/download.
As a preview release, it should not be considered stable. However, we appreciate anyone testing this version which will help us with the real Haxe 4 release. Please report any issues here:
https://github.com/HaxeFoundation/haxe/issues
Thank you very much for your help!
New features:
for (key => value in e) syntax for key-value iteratorsfor (i in 0...5) (#7365)@:op(a.b)inline call() and inline new expressions (#7425)@:using on type declarations (#7462)General improvements and optimizations:
operator and overload as keywords (#7413)final on structure fields invariant (#7039)[] where Map is expected (#7426)Map.copy() and Array.copy()Map and native arrays.php.Syntax.yield() and php.GeneratorRemovals:
implements Dynamic on non-extern classes (#6191)-D use-rtti-doc, always store documentation instead (#7493)Bugfixes:
function () { }(e) is no longer parsed as a call (#5854)return null from Void-functions (#7198)$ in field names of anonymous objects (#7230)switch as if...else if...else... to avoid loose comparison (#7257)Standard Library: