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, we are proud to announce the official release of the Haxe 4.0.0-rc.2! It is available along with the changelog at https://haxe.org/download.
We now support ES6 generation by using the -D js-es=6
flag! Please test this with your Haxe/JavaScript codebases and let us know about any problems you come across.
Other than that, we fixed a lot of bugs and improved the quality of our error messages a little.
See the changelog below for further details. Please report any issues here: https://github.com/HaxeFoundation/haxe/issues
Thank you very much for your help!
New features:
-D js-es=6
(#7806)General improvements and optimizations:
@:native
for overriden methods (#7844)override
field (#7847)switch
and case
expressions (#7947)#if (a.b)
(#8005)Standard Library:
js.html
to js.lib
(#7894)iterator()
to haxe.DynamicAccess
(#7892)keyValueIterator()
to haxe.DynamicAccess
(#7769)Bugfixes:
final
fields (#7182).match
(#7921)@:generic
field access (#6430)-D no-deprecation-warnings
for typedefs and enumsMap
constraint checks (#7781)StringTools.fastCodeAt
with -D lua-vanilla
(#7589)@:expose
for classes inside packages (#7849)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: