Update changelog.
Release 0.4.0.