Support revert buffer

close #2
Merge branch 'support-revert-buffer'
Release v0.1.2