Versioning

Stores document versions as linked records with automatic version numbers

Community 2 6/wk MIT v1.0.2

Installation

pnpm add @stefgootzen/payload-plugin-versioning

About

Versioning Plugin lets a collection keep a list of published versions as separate records linked to a base document. Each base entry gets a versions field, and each version gets a base field, so the two collections stay connected in the admin panel. Version numbers increase automatically as new versions are added.

Deleting a base document removes all of its versions, and deleting a version removes its link on the base. A new base entry can be created together with its first version in a single request, which suits content that needs a published history rather than Payload's built-in draft model.

Package info

Package name
@stefgootzen/payload-plugin-versioning
Latest version
1.0.2
Unpacked size
35 kB
License
MIT
Weekly downloads
6
Last publish
Sep 8, 2025

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other