[release] Add definition for 3.1.2
Update CHANGELOG and version for 0.8.4.