Recent Releases

4.0.013 Sep 2017 02:45 major bugfix: Preview.1 New features: All : reworked macro interpreter. All : added support for arrow functions General improvements and optimizations: js : improved generation of `break` inside `switch` inside loops cs : improved generation of enum classes. Sys : the `database` parameter of `Mysql.connect` is now optional js : updated jQuery extern (js.jquery.*) for jQuery 1.12.4 / 3.2.1 support. Makefile : default Unix installation location (INSTALL_DIR) changed from /usr to /usr/local. Makefile : default Unix std location (INSTALL_STD_DIR) changed from (INSTALL_LIB_DIR)/std to (INSTALL_DIR)/share/haxe/std. Removals: All : removed --eval command line argument. Sys : SPOD (sys.db.Object, sys.db.Manager and friends) was moved into a separate library `record-macros` ( js : js.JQuery and js.SWFObject were moved into hx3compat library (, it's recommended to use more modern js.jquery.JQuery and js.swfobject.SWFObject classes. All : moved haxe.web.Dispatch into hx3compat library ( : Php7: Reflect.field() for strings. Php7: `@:enum abstract` generation without `-dce full` Php7: using enum constructor with arguments as a call argument Php7: `null` property access Php7: setting values in a map stored in another map Php7: with disabled analyzer optimizations Php/php7: accessing enum constructors on enum type stored to a variable Php/php7: "cannot implement previously implemented interface" Php: invoking functions stored in dynamic static vars Php: field access on `new MyClass()` expressions wrapped in a `cast` Standard Library: All : added `EReg.escape`. All : `BalancedTree implements `haxe.Constraints.IMap`
3.4.221 Mar 2017 03:25 minor bugfix: : Cpp : with @:native names being prewith :: Cpp : with return type handling Cpp : inaccurate line numbers that threw off deging Php7 : generation of ` 0 ` constructs
3.4.115 Mar 2017 12:05 minor bugfix: New features: Php7 : added source maps generation with `-D source_map` flag. : All : compilation server with two identical @:native paths on extern abstracts. All : invalid inling in a specific case All : various display related cpp : improved typing of some Function/Callable-related types hl : various and improvements. Php : FileSystem.stat() for directories on Windows Php/php7 : invalid result of Web.getPostData() Php7 : invalid access to length of string in some cases Php7 : infinite recursion on MysqlConnection.()
3.4.008 Feb 2017 01:15 major feature: General improvements and optimizations: Support completion for static extensions. Removed neko dependency for macros, use PCRE instead. Disabled analyzer optimizations by default, re-enable with -D analyzer-optimize PHP7: Generate native v instanceof MyType instead of, MyType) where possible for better performance, added @:phpNoConstructor meta for externs which do not have native php constructors and yet can be constructed, greatly reduced amount of generated tmp vars, Array performance improvements. HL: made various improvements Bugfixes: + fixed using picking up non-static abstract functions + fixed issue with side-effect detection when optimizing + fixed issue with zlib bindings causing zlib_deflate errors + Allow user-defined modules in php package + Dereference some of php.Syntax methods if required + fixed assigning a method of dynamic value to a variable + fixed missing initialization of dynamic methods in classes with empty constructors