November 19, 2024
By Jack Pettit
We’re excited to announce a significant enhancement to TinaCMS: Referential Integrity! This new feature ensures that references between documents remain consistent and error-free, even when linked documents are renamed or deleted. Let’s dive into what’s included and what it means for your content management workflows.
Referential Integrity ensures that when a document is renamed, all related references are updated automatically. This is a massive win for users who frequently update file names while managing complex interlinked content.
Example:
content/authors/napoleon.md
to content/authors/napy.md
will instantly update all posts or pages that reference “Napoleon” to point to the new name “Napy.”This seamless synchronization eliminates the manual effort of finding and updating references across your site.
Deleting a document? No problem! With Referential Integrity, TinaCMS will:
Example:
This feature is now live in tinacms@2.5.0
. If you want more features like this, please share your thoughts and feature requests on GitHub!
In the meantime, you can explore this new functionality by upgrading to the latest version and trying it in your project. Your feedback will help us continue refining TinaCMS to meet your content management needs.
Thank you for being part of the TinaCMS journey. We’re committed to making content management as efficient and enjoyable as possible.
Best,
The TinaCMS Team 🦙
Last Edited: November 19, 2024
© TinaCMS 2019–2024