An API for saving and compressing individual document updates into a browsable history