v0.40; bump version, update changelog