For anything you plan to distribute right now, I would use 3.5. The 4.0 version is still in early beta, and many things subject to change before it is final.