Recent Releases

4.0.0-preview.202 Nov 2017 08:07 major feature: New features: all : added final keyword (#6596) all : added new function type notation (#6645) General improvements and optimizations: all : replaced some occurrences of List with Array all : changed haxe.xml.Fast to an abstract all : improved optimization when comparing against `null` all : added support for `case var x` syntax and detect possible typos (#6608) php : changed `--php-prefix`, `--php-front` and `--php-lib` to `-D php-prefix=`, `-D php-front=` and `-D php-lib=` respectively Removals: all : moved haxe.unit to hx3compat all : moved haxe.web.Request to hx3compat php : dropped php5 support; minimum supported php version is 7.0 now Bugfixes: all : fixed issue with various functions not being displayed in macro context (#6000) all : fixed invalid static extension lookup on `super` (#3607) all : fixed typing error when constructing enums with abstracts over functions (#6609) all : fixed bug that skipped checking @:from typing in some cases (#6564) all : fixed Int64 parsing of negative numbers that end in a zero (#5493) all : fixed top-down inference when constructing enums (#6606) eval : fixed bug with equality handling eval : fixed issue with file creation not defaulting to binary eval : fixed invalid override detection (#6583) eval : fixed infinite recursion when printing arrays/vectors cs/java : fixed DCE bug that would lose toString method of thrown objects php/python : fixed some bit operators for Int32 (#5938) php : fixed accessing `static inline var` via reflection (#6630) php : fixed Math.min() and Math.max() for NAN on PHP 7.1.9 and 7.1.10 js : fixed js syntax error for `value.iterator--` (#6637) Standard Library: macro : added have.display.Position and PositionTools.toRange (#6599) all : moved List to haxe.ds (#6610)
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` (https://github.com/HaxeFoundation/record-macros) js : js.JQuery and js.SWFObject were moved into hx3compat library (https://github.com/HaxeFoundation/hx3compat), it's recommended to use more modern js.jquery.JQuery and js.swfobject.SWFObject classes. All : moved haxe.web.Dispatch into hx3compat library (https://github.com/HaxeFoundation/hx3compat). : 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: haxe.io.Input.readAll() 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 Std.is(v, 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