Update changelog for release (0.8.40).