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 https://haxe.org/download/version/4.0.0-preview.5/.
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: https://github.com/HaxeFoundation/haxe/issues
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 https://haxe.org/download/version/4.0.0-preview.5/