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 neko.io package has been added. neko.File has been replaced by neko.io.File which methods either either returns a FileInput or a FileOutput, and neko.Socket becomes neko.io.Socket. The
neko.ioframework allow you to treat input/outputs uniformaly by having implementations extending either
neko.io.Output. 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 bugfixes have been made, and performances have been increased.
- a new haxe.xml Package is now available, which contains two classes
haxe.xml.Fastallows quick dot-syntax access for Xml (still strictly typed) and
haxe.xml.Checkenable 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
-debugflag 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 occured. I’m planning to support
- … and of course the usual bugfixes and minor improvements