Bump version to 4.0.0pre1

We removed API v1, so the next release will be a major release
according to semantic versioning.