Downloading Haxe 4.2.4

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.4!

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-10-22 4.2.4:

New features:

  • hl : add clipboard support in hl 1.12 (#10320)

General improvements:

  • all : improved error messages upon directory creation failures (#10361)
  • eval : added % operator to eval.numbers.Int64 and eval.numbers.UInt64 (#10411)

Bugfixes:

  • all : fixed errors on final vars modification with +=, *= etc operations (#10325)
  • all : fixed hanging of MainLoop.add on threaded targets (#10308,(#10329)
  • all : fixed compiler crash when resolving overloads with not enough arguments (#10434)
  • all : fixed non-static @:to methods on @:multiType abstracts (#10145)
  • analyzer : fixed analyzer on overloads (#10405)
  • analyzer : fixed issues with fields initialization expressions (#10405)
  • display : improved code completion in anonymous objects declarations (#10414)
  • js : fixed IntMap for keys greater than 2^31 (#10316)
  • js : workaround to fix sourcemaps on Firefox in Windows (#10217)
  • js : delayed truncation of the output file on Compiler.setCustomJSGenerator (#10387)
  • cs/java : fixed rest arguments for cases when only one argument is provided (#10315)
  • php : fixed type of php.db.PDO.ATTR_DRIVER_NAME (#10319)
  • eval : fixed signature of `eval.luv.Tcp.noDelay( metho)
  • lua : fixed string.length when string has type of a type parameter constrained to String (#10343)
  • jvm : fixed Reflect.compare() for different number types (#10350)
  • python : fixed exceptions on tracing some native values (#10440)

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: