LibreOffice allows to save different versions of the same document in the ODF file. The feature can be accessed with the menu File > Versions…, which opens the dialog windows on the left.
The different options on this dialog window allow to save a new version of the document, or to force the software to always save a new version on closing the document.
Once the different versions are saved, they are listed in the box of Existing Versions. The user can select each version, and perform several operations: open, show or delete each single version, or compare two versions.