Updated to v3.1 API
Add more detail to 4.0.0 release notes
Update HISTORY.md
Merge branch 'master' into rb/master