May 2021
Mo Tu We Th Fr Sa Su
<< >>


Haxe 1.06

Posted on Aug 28 2006

I'm usually writing a small mail when making a new release of Haxe but for this 1.06 release, a lot of new things have been added which require maybe more explanations, hence a blog post. Let's start !

  • haxelib is a commandline tool for distributing and managing Haxe libraries. Very easy to use, it will be a central repository for Haxe open-source projects releases ! Read the Documentation.
  • Haxe 1.05 introduced Flash9 support. In 1.06, support has been enhanced with correction in the API files, support for Xml, Serialization and Remoting, and most important the ability to use assets stored in a SWF library built with any Flash IDE (including 7 and 8 ) . See this page for a tutorial.
  • The package has been added. neko.File has been replaced by which methods either either returns a FileInput or a FileOutput, and neko.Socket becomes The framework allow you to treat input/outputs uniformly by having implementations extending either or More details, documentation, and tutorials about this soon.
  • Haxe Serialization has been improved, with direct support for basic types such as Date, Hash, IntHash and List. A lot of unit tests and bug fixes have been made, and performances have been increased.
  • a new haxe.xml package is now available, which contains two classes haxe.xml.Fast allows quick dot-syntax access for Xml (still strictly typed) and haxe.xml.Check enable you to check if an Xml matches a given structure (a bit like DTD, but expressed in Haxe code). More documentation an tutorials about this soon.
  • the haxe.PosInfos which contains file/line/method/class information has been a bit changed. The specification is now "when a PosInfos is an optional argument, its default value will be the calling position instead of null. See this tutorial about trace informations in Haxe.
  • Speaking of debugging, the -debug flag is now accepted by the Haxe compiler. It currently has only effect when targeting neko or flash9. On neko, it replaces the file/line debug infos by a class/method/line infos. On flash9, there is already class/method infos so it adds file/line infos which will be displayed when an exception occurred. I'm planning to support -debug in previous flash versions and javascript by enabling stack traces (although this should slowdown a bit).
  • ... and of course the usual bugfixes and minor improvements
0 comment
Name : Email : Website : Message :