Update changelog for 4.0.
Remove trailing whitespace.