Haxe 2.08
I'm very happy to announce the 2.08 release of Haxe, available now on http://haxe.org/download
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
- and much more... (see the change log)
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 http://haxenme.org for an example.
Enjoy !
Great!
Great!
:D
Whoa! With all these new features, this release deserves to be a 3.0 ;)
Great! Wow~~
I can't WAIT for Haxe 3! Keep up the great work!! -SF, USA developer
Bravo !
:D
Thanks! I can now do https requests. ^^
Haxe is getting more and more awesome!
Keep 'em coming!