Release Notes

Dear Community,

On behalf of the Haxe Foundation we are proud to announce that Haxe 4.0.2 is now officially released! It is available along with the changelog at

This is a bugfix release the main purpose of which is to address issues with private libraries and haxelib.

Please test your Haxe code with this version and let us know if you come across any problems at

Thank you for your support.

Change Log

2019-11-11: 4.0.2

General improvements and optimizations:

  • php : improved performance of (#8938)
  • php : improved performance of serialization/unserialization of (#8943)
  • php : improved performance of enum-related methods in Type class of standard library


  • haxelib : Fixed too strict requirements to haxelib.json data for private libs
  • all : fixed @:using static extensions on Null<SomeType> (#8928)
  • php : fixed static methods with the same name in parent and child classes (#8944)