Add getRedoState and onStateChange callback.
Bump version.