Released: 2025-07-04
Thank you for choosing Haxe!
Download for your platform and start developing today.
This is a pre-release
The current stable release version is Haxe 4.3.7.
Dear Community,
On behalf of the Haxe Foundation, we are proud to announce that Haxe 5.0.0-preview.1 is now officially released! Check out the changelog below for more information.
As a preview release, it should not be considered stable and does, in fact, have some known issues. However, we appreciate anyone testing this version as it is going to ultimately help with the real Haxe 5 release. If you have any suggestions or run into any problems, feel free to open an issue on GitHub.
Thanks to everyone involved!
Note: if you are getting this error:
Uncaught exception - is not a valid version string
It means that you are using an older haxelib
version that is not compatible with haxe 5.0.0-preview.1
.
You can either update it:
haxelib update haxelib
Or remove it (and use the version shipped with Haxe):
haxelib remove haxelib
If that doesn't work, try running the command with --global
.
Removal:
sys.db
, php.Web
and neko.Web
to hx4compat
lib (#11385)haxe.remoting
to hx4compat
lib (#11387)Breaking changes:
bind
(#11533)General improvements:
-D enable-parallelism
(#12070, #12134, #12081, #12252)Bugfixes:
_new
resolving incorrectly to abstract new (#11994)-D *-times
defines to -D times.*
(#12101)path.Path<Params>
(#11405)Null<T>
inference issue (#11851)Null<Int/Float/Bool>
comparison for spec/alloc (#11612)__string
null access when toString return null (#12143)haxe.io.BytesBuffer.__expand
check overflow (#12267)_hx_do_first
(#11453)