update CHANGELOG for 3.1.2..4.0.0