Navigation Menu

Skip to content

4.0.0-preview.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Simn Simn released this 12 Sep 12:24
· 2 commits to master since this release

2017-09-12: 4.0.0-preview.1

New features:

  • all : reworked macro interpreter (see blogpost)
  • all : added support for arrow functions (see proposal)

General improvements and optimizations:

  • js : improved generation of break inside switch inside loops (#4964)
  • cs : improved generation of enum classes (#6119)
  • 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:

Bugfixes:

  • php7: fix Reflect.field() for strings (#6276)
  • php7: fix @:enum abstract generation without -dce full (#6175)
  • php7: fix using enum constructor with arguments as a call argument (#6177)
  • php7: fix null property access (#6281)
  • php7: fix setting values in a map stored in another map (#6257)
  • php7: fix haxe.io.Input.readAll() with disabled analyzer optimizations (#6387)
  • php/php7: fixed accessing enum constructors on enum type stored to a variable (#6159)
  • php/php7: fix "cannot implement previously implemented interface" (#6208)
  • php: fix invoking functions stored in dynamic static vars (#6158)
  • php: fix field access on new MyClass() expressions wrapped in a cast (#6294)

Standard Library:

  • all : added EReg.escape (#5098)
  • all : BalancedTree implements haxe.Constraints.IMap (#6231)