[major] switch to 0.4 branch
[docs] add upgrade directions