Bump version to 0.1.2.

- Support state_machine >= 1.1.0.