I'm always confused by nginx's version scheme. What does "mainline" mean? Is mainline better or worse than stable?
Mainline has newer features, but isn't quite a nightly build. Stable has fewer features but is more stable. I use mainline for my needs, including in production.
[1] explains which version should you use. (I probably go with mainline).
All the newest features are added to mainline releases. By the time most of the bugs are fixed, their version is renumbered and branch is forked to make a stable release.
[2] is where you see the information about upcoming nginx releases.
[1] http://nginx.com/blog/nginx-1-6-1-7-released/ [2] http://trac.nginx.org/nginx/roadmap