This has been a long time in coming. For such a great web app, I've always been amazed that Gmail did not support IMAP. At first I thought it was a result of the fact that Google was really arrogant in thinking that it could totally re-invent email (which Gmail almost does) and that as a result everyone should just always use the web interface— that the POP3 support was only a slight nod towards supporting email clients.
But this announcement shows that Occam's razor always wins in the end: implementing a semi-stateful protocol like IMAP is hard, and especially hard on a platform which is supposed to support millions of simultaneous users and be able to fail-over across nodes instantly. I'm glad Google has tackled it though; in the era of the iPhone (and other mobile devices), IMAP's richer semantics for pulling parts of messages down are much kinder on your battery, and the protocol's ability to let the server push state changes makes good clients (though not the iPhone today) behave as well as Blackberries.
It's not widely available yet but I am going to be glad to be dumping the kludgey forward-to-Dotmac workaround that I've been living up until now.