Dear Community,

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

support for (key => value in e) syntax for key-value iterators and added it to Map

syntax for key-value iterators and added it to Map support inline call() and inline new expressions (#7425)

and expressions (#7425) support @:using on type declarations (#7462)

on 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)

reserved operator and overload as keywords (#7413)

See all changes at https://haxe.org/download/version/4.0.0-preview.5/