Archive a label, marking it as no longer active.
Create a new version label and capture the appropriate snapshot based on the label's scope.
Compare the state captured by two version labels. Returns a structured diff grouped by entity with field-level changes.
Compare a version label's state to the current live state. Useful for seeing "what has changed since this label was created?"
Load a single version label by ID.
Query version labels with optional filters.
Walk the dependency graph from a starting record, discovering all dependent (child) records through One-To-Many relationships.
Get the snapshot of a specific record at a specific label.
Restore records to the state captured by a version label.
By default, creates a safety "Pre-Restore" label first, then applies changes in dependency order. Supports dry-run mode for previewing.
Main facade for the MemberJunction Version History system.
Provides a unified API for:
Each method delegates to a specialized sub-engine:
Usage: