Skip to content

4.0.0-preview.2

Pre-release
Pre-release

Choose a tag to compare

@Simn Simn released this 09 Oct 05:09
· 6715 commits to development since this release

2017-10-08: 4.0.0-preview.2

New features:

  • all : added final keyword (#6596)

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)