This plugin enables content versioning.
This plugin lets you flip back and forth between different versions of your content, just as they were when you first created them.
With Strapi version 5 introducing support for draft content versions, the majority of features offered by this plugin repository will become available as core features. Furthermore, providing this functionality as a plugin has proven challenging due to the necessity of keeping pace with new Strapi versions, resulting in numerous issues when fine-tuning for specific versions of Strapi.
Given these considerations, it no longer seems sensible to maintain and develop this plugin, and it is now in standby mode. We are looking forward to V5!
A big thank you to everyone who has made this Strapi plugin a success. Led by Notum, it has received thousands of monthly downloads and has played a crucial role in simplifying the content versioning process for many projects.
⚠️⚠️ Might not work if DATABASE_CLIENT
env variable is not set. More information here.
⚠️ Does not work well with GraphQL (more information)
✅ Provides the ability to switch between different content version as they were created.
✅ Enables you to have multiple draft versions
✅ Keeps a history of all changes, providing the ability to time travel (revert back to previous versions).
✅ Gives you the ability to have different published and draft data
Data about all of the versions can be accessed by adding a parameter like ?populate=versions&publicationState=preview
1npm i @notum-cz/strapi-plugin-content-versioning
1yarn add @notum-cz/strapi-plugin-content-versioning
config/plugins.js
and include the following code snippet:1module.exports = ({ env }) => ({
2 "content-versioning": {
3 enabled: true,
4 },
5});
If you are using a version lower than 1.0.1 patch-package has to be used to make the native Save button work with this plugin. We are working closely with the core team to eliminate this extra step.
patch-package
1npm install patch-package
1yarn add patch-package
patches
in the root of your project@strapi+admin+4.12.0.patch
located in patches/
of this repository to the folder created in the previous step"postinstall": "patch-package",
to the scripts section of the package.json
npm run postinstall
If a patch for your specific Strapi version is missing, please inform us or include it as a file in a pull request. Thank you!
Are any of these features significant to you? Please show your support by giving a thumbs up on the linked issues. This will help us assess their priority on the roadmap.
We manage bugs through GitHub Issues.
If you're interested in helping us, you would be a rock ⭐.
The repository is maintained by Ondřej Mikulčík, a member of the Notum Technologies development team.
Join our Discord server to discuss new features, implementation challenges or anything related to this plugin.
✔️ We offer valuable assistance in developing custom STRAPI, web, and mobile apps to fulfill your requirements and goals..
✔️ With a track record of 100+ projects, our open communication and exceptional project management skills provide us with the necessary tools to get your project across the finish line.
📅 To initiate a discussion about your Strapi project, feel free to reach out to us via email at sales@notum.cz. We're here to assist you!
Us helping you with this STRAPI plugin
npm install @notum-cz/strapi-plugin-content-versioning
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.