On behalf of the Haxe Foundation, we are proud to announce the official release of the Haxe 4.0.0-preview.5! It is available along with the changelog at Haxe 4.0.0-preview.5 - Haxe - The Cross-platform Toolkit.
As a preview release, it should not be considered stable. However, we appreciate anyone testing this version which will help us with the real Haxe 4 release. Please report any issues here: Issues · HaxeFoundation/haxe · GitHub
Thank you very much for your help!
Some of the new features:
- support Unicode strings properly on all targets
for (key => value in e)syntax for key-value iterators and added it to Map
inline newexpressions (#7425)
@:usingon type declarations (#7462)
- support XML literal strings but require them to be macro-processed (#7438)
- allow enum values without arguments as default function argument values (#7439)
overloadas keywords (#7413)
See all changes at Haxe 4.0.0-preview.5 - Haxe - The Cross-platform Toolkit