Downloading Haxe 4.2.2

If your download does not begin automatically please click here.

Support the Haxe Foundation

Thank you for downloading Haxe. If you'd like to support the Haxe Foundation please consider donating to keep our open source efforts thriving.

Monthly Donation Amount

Get Technical Help

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 plans

What next?

Release Notes

Dear Community,

On behalf of the Haxe Foundation, we are proud to announce the official release of Haxe 4.2.2!

This is a bugfix release. Check out the changelog below for more information.

If you have any suggestions or run into any problems, feel free to open an issue on GitHub.

Thanks to everyone involved!

Change Log

2021-05-14 4.2.2:


  • all : fixed piping stdin/stdout in --cmd (#4669, #6726)
  • all : fixed rest args typing for overloaded functions (#10143)
  • all : fixed using var fields as static extensions (#10144)
  • all : fixed completion for a type in expr is Type (#10167)
  • all : fixed subtypes in expr is Module.SubType expressions (#10174)
  • all : fixed typing chains of calls with constrained type params (#10198)
  • all : fixed mixed constraints of anonymous structures and other types (#10162)
  • all : fixed operator overloading for enum abstracts (#10173)
  • hl : fixed debugging of catch blocks (#10109)
  • jvm : fixed manifest generation for cases with a lot of jar libraries (#10157)
  • js : fixed extending extern classes for es5 (#10192)
  • js : fixed checking this before super for es6 (#10193)
  • eval : fixed null pointer exception in eval.NativeString.fromString(null)
  • eval : fixed multiple locks of sys.thread.Mutex from the same thread (#10249)

Getting Started With Haxe

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: