Release Notes

Dear Community,

On behalf of the Haxe Foundation, we are proud to announce the official release of Haxe 4.2.1!

This is a bugfix release. Check out the changelog below for more information.

If you have any suggestions or run into any problems, feel free to open an issue on GitHub.

Thanks to everyone involved!

Change Log

2021-02-26 4.2.1:

General improvements:

  • threads : changed main thread initialization to make main event loop available during static initialization (#10114)
  • php : added extern for number_format function (#10115)
  • python : rewrote sys.thread.Thread, Mutex and Lock as classes instead of abstracts.

Bugfixes:

  • all : fixed compiler compatibility with OS X 10.13 (#10110)
  • all : fixed compiler hanging on switch for abstracts with implicit casts involving type parameters and constraints (#10082)
  • all : fixed inlining of haxe.DynamicAccess.keyValueIterator (#10118)
  • all : fixed rest arguments typing against type parameters (#10124)
  • analyzer : fixed side effect handling for enums (#10032)
  • cpp : fixed handling of cpp.ConstCharStar with analyzer enabled (#9733)
  • php : fixed failure with trailing slash in output dir (#6212)
  • hl : fixed call stack of rethrown exceptions (#10109)