Magnolia 5.4 reached end of life on November 15, 2018. This branch is no longer supported, see End-of-life policy.
...
The versioning functionality is enhanced by the Diff module that adds diff and redlining capabilities. The Diff module is not yet available in CE, but will be in a future release of Magnolia 5.
By default, versions are created when pages, assets and contacts are published, unpublished and restored in the related apps. Versions are also created in these apps for the purpose of restoring items prior to deletion. For more information see Deleting and restoring.
...