Add support for setting API version.
Bump version to 1.7.12