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


Haxe 2.08

Posted on Sep 25 2011

I'm very happy to announce the 2.08 release of Haxe, available now on

This release was initially planned for this summer, but it got a bit delayed because of many new features (and community requests) that needed some additional testing/feedback before a proper release.

Because Haxe increasing popularity there's still a lot of pending things that needs to be done, but we had to stop a bit adding new things and make a proper release at some time. This is most likely the latest 2.xx release, next one should be Haxe 3.0, around spring 2012.

Let's see now what's new in 2.08 :

  • For Javascript, we've been improving the .js code output : it looks nicer, more hand-written, less verbose. There's still some improvements that can be done, but don't forget that you can write your own custom JS generator in Haxe.
  • there's now js.JQuery as part of the standard library. It uses the new @:overload metadata to have a fully typed JQuery access in Haxe. By default JQuery-1.5 is automatically embedded, you can disable this by using -D noEmbedJS
  • the full Flash Player 11 Apis are now available, with Haxe high level 3D shaders HxSL and it is now possible to directly embed bitmaps with the following code :
    @:bitmap("file.png") class File extends flash.display.BitmapData {}
  • two new apis for server-side web developement : the URL Dispatcher and a brand new version of SPOD which enable you to write directly your SQL as Haxe expressions, see SPOD Macros
  • the ability to directly reuse this and member variables from within the locally declared functions, such as the following example show :
    class Foo {
        var count : Int;
        public function new() {
            sprite.addEventListener("click",function(e) count++);
  • a lot of improvements on Macros, in particular a lot of optimization for the runtime performances and better ways to manipulate a type declaration and to define new types, see Building Types with Macros

There's actually much more than this, and this is only a small part of what's happening around Haxe, since there are much more work done in 3rd party libraries by the Haxe community, watch for for an example.

Enjoy !

  • Yann
    Sep 25, 2011 at 17:28


  • Yann
    Sep 25, 2011 at 17:28


  • Sep 25, 2011 at 17:50


  • Sep 25, 2011 at 18:40

    Whoa! With all these new features, this release deserves to be a 3.0 ;)

  • Sep 25, 2011 at 19:51

    Great! Wow~~

  • Sep 26, 2011 at 06:29

    I can't WAIT for Haxe 3! Keep up the great work!! -SF, USA developer

  • whitetigle
    Sep 26, 2011 at 07:13

    Bravo !

  • Oct 08, 2011 at 12:08


  • Pierre
    Oct 19, 2011 at 18:02

    Thanks! I can now do https requests. ^^

  • Nov 02, 2011 at 03:46

    Haxe is getting more and more awesome!

  • Nov 22, 2011 at 21:26

    Keep 'em coming!

Name : Email : Website : Message :