VersionX 3.2.1

VersionX 3.2.1-pl has been released. This release includes an integration with Magic Preview, which on its own lets you see a preview of a resource before saving the changes. When combined with VersionX, it adds preview buttons to every delta in the resource versions tab, allowing you to see a preview of what reverting to a previous version would look like.

Each delta preview will load in its own browser tab, so you can have multiple open at once to compare.

Important: To activate the preview feature in VersionX, you must have Magic Preview 1.5.1-pl or later installed, and enable the OnResourceMagicPreview System Event (this comes with Magic Preview) on the VersionX plugin. To do so, in the MODX manager click the Elements tab, under plugins click on VersionX, select the System Events tab and check the check box next to OnResourceMagicPreview in the list. Then hit save.

To summarise: Elements -> Plugins -> VersionX -> System Events -> OnResourceMagicPreview

Wait, where's VersionX 3.2.0-pl?

It was actually released for about 3 minutes before I realised it was behaving differently on a staging environment to my development environment. So it got pulled back, and is being skipped. The difference between environments turned out to be pdoTools which handles parsing of placeholders in it's own way. The new VersionX 3.2.1-pl has solved the issue and version previews now work whether pdoTools is installed or not.

Also included in this release is an optimization for loading the editor filter on very large sites, thanks to @matdave. Also the migration script has been updated to account for the changes to how property fields are stored and the new columns on vxDeltaField in the last release.

You can download the latest versions of both VersionX and Magic Preview from the modmore package provider right now, while the latest version of VersionX will also be added to the core MODX provider in the coming days.

Murray Wood

Murray is a part-time senior developer at modmore, regular MODX core contributor, author of many Commerce extensions, and recently became a dad. He works remotely from Hong Kong, spending his time building exciting new features, squashing bugs, and providing support.