If your download does not begin automatically please click here.
Thank you for downloading Haxe. If you'd like to support the Haxe Foundation please consider donating to keep our open source efforts thriving.
Get support directly from the Haxe team. The Haxe Foundation offers several support tiers to help with your organization's technical challenges.
Explore our support plansDear Community,
On behalf of the Haxe Foundation I am proud to announce that Haxe 4.0.0-preview.2 is now officially released! It is available along with the changelog at https://haxe.org/download.
This release removes the old PHP target, which means Haxe is going to output only PHP7 from now on. Furthermore, we are removing some parts of the standard library. For easier transition, they are still available in this haxelib: https://lib.haxe.org/p/hx3compat/
The major new feature of this release is the addition of the final
keyword, which can be used in place of var
for class fields. For static fields, it behaves like var name(default, never)
. For instance fields, it allows assignment to the variable only from the class constructor. Further refinements and documentation will follow.
There have also been, of course, various bugfixes. We will make an effort to have monthly preview releases for the remainder for 2017, and then move on to RC releases once we are happy with where Haxe 4 is.
Please test your Haxe code with this version and let us know if you come across any problems at https://github.com/HaxeFoundation/haxe/issues.
Thank you for your support
New features:
General improvements and optimizations:
null
case var x
syntax and detect possible typos (#6608)--php-prefix
, --php-front
and --php-lib
to -D php-prefix=
, -D php-front=
and -D php-lib=
respectivelyRemovals:
Bugfixes:
super
(#3607)static inline var
via reflection (#6630)value.iterator--
(#6637)Standard Library:
Now that you've downloaded Haxe, you can get started with a specific platform. Click on a logo to learn how to set up the development environment and how to proceed from there:
For getting started with Haxe, take a look at our introduction, read through the Haxe Manual or look at these use cases for Haxe, including tutorials and popular libraries:
API Documentation: Download the API documentation for this version as a ZIP file.