Update changelog to reflect changes made since 0.40-beta1.