Version History
InnoQualis EQMS maintains a complete version history for every document. Each time a document is updated, a new version is created, preserving the full audit trail. You can view, download, compare, and restore any previous version.
View version history
Section titled “View version history”- On the left sidebar, select Documents.
- Select a document to open it.
- Open the Versions & changes tab and select Upload New Version. Who may upload, and when, is set out under Upload a version through the API.
The version history page displays all versions in reverse chronological order. Each entry shows:
- Version number (for example, v1.0, v1.1, v2.0). A document never has two versions with the same number: a new version, including an AI-generated SOP draft, is numbered above every version the document already has. If someone else creates a version of the same document while an AI draft is being prepared, the draft is refused and you are asked to approve the changes again, so it gets the next free number.
- Created by – the user who created the version
- Created date
- Changes – description of what changed (if provided)
- File size
- Checksum – a truncated file integrity checksum
- Version badges – on a document’s Versions tab, the released version is marked “Current”, versions in draft or under approval are marked “Pending”, earlier releases are marked “Superseded”, a version whose review was rejected is marked “Rejected”, and the versions of a retired document are marked “Retired”. The heading and the summary card show the same current version as the list. When an Effective document has a revision in draft and no earlier version on the list (the original upload has no row), the heading shows the document’s own version as current and the draft revision is marked “Pending”. When the current version was rejected, the summary card also reads “Rejected”. Making a document obsolete marks all of its released and pending versions “Retired”. When a document is superseded by another document, its released version is marked “Superseded” and any pending version “Retired”, because it was never in use. A retired document whose own version has no row on the list still shows that version in the heading. Retiring a document also cancels any approval request still open on it, so the request no longer appears in the approver’s tasks.
- Source – a Word source (
.docxor.odt) is labelled as such. A PDF with no editable file stored beside it is labelled as a PDF with no editable source kept. Authorised users still download that stored file from the row. - First release of an SOP written in the editor – an SOP created from a template has no file. When it is first released, its version history gets a first version (for example, 1.0), marked “Current”, and the release signature is recorded against it. The approvals given before the release are listed with that version. A revision of the SOP is approved on its own: the first version’s approvals do not count toward it.
Download the effective Word file when revising
Section titled “Download the effective Word file when revising”When you are assigned to an approved change request, the version screen offers Download the effective version (Word) if the effective version’s stored file is .docx or .odt. The download uses the document’s permissions and is audit-logged.
If the effective file is a PDF and no editable source was kept, the screen says so. Nothing is converted into Word. Older versions’ stored files remain available from version history.
The checksum is the SHA-256 of the file exactly as it was stored, recorded when the file is uploaded: the first file of a new document, every new version, and AI-generated SOP drafts. The document’s Details tab shows the checksum of the file it currently serves. A file uploaded before checksums were recorded at upload has none, and shows Not available. No checksum is added to such a file afterwards, because the bytes it was uploaded with can no longer be proven. Integrity checks report it as not recorded, never as a changed file. Some older files show a shorter checksum, recorded with an earlier algorithm. Integrity checks report those as a legacy format, also never as a changed file.
Create a new version from the version history page
Section titled “Create a new version from the version history page”The same rule applies here as to Upload New Version: see Upload a version through the API. When you may not create a version, the button is greyed out and says why.
- On the document’s version history page, select Create New Version.
- In the form that appears:
- Select a file in the New Document File field. Supported formats: PDF, DOC, DOCX, TXT.
- Optional: Enter a description in the Change Description field.
- Select Create Version.
- A success message appears and the version list refreshes.
Create a new version from the Document Preview Panel
Section titled “Create a new version from the Document Preview Panel”- On the document detail page, select the Versions & changes tab.
- Select New Version. It is greyed out, with the reason, when you may not upload a new file.
- In the Changes field, enter a description of the changes.
- Select a file in the File field.
- Select Upload.
Approve a revision of an effective document
Section titled “Approve a revision of an effective document”A revision of an effective document is approved on its own. The effective version stays Effective and stays in use, and its file is the one people download and train on, until the revision is released. The revision never changes the document’s status.
- Upload the new file as described above. It is saved as a draft revision.
- On the document page, a toggle above the status panel switches between Effective v1.0 and Revision v2.0. The revision panel shows the stage: Draft, Under review, Approved, awaiting training, Approved, awaiting release or Rejected. Select Revision to open that version’s own page, at
/documents/{id}/{version}, with its change description, dates and file. - Select Start approval. It needs the documents.approve permission. Only one revision of a document is approved at a time, and only the newest draft can be started. While the revision is under approval the document takes no new file: reject the revision or release it first.
- The approvers named for the document sign with Approve revision and a one-time code. Each signature is recorded against that revision. Approvals given to the effective version do not count toward it, an author of the document cannot approve it, and a person signs a revision once. The panel shows how many of the required approvals are in. A revision waiting for your signature also appears in your tasks on the dashboard.
- Any approver can select Reject revision and give a reason. The signatures given to the revision are invalidated, the revision is kept as Rejected in the version history, and the effective version stays effective. Upload a new version to revise the document again.
- When every approval is in, a person with the release permission selects Release — make effective and signs with a one-time code. If the document has a training threshold, the revision waits for it; a release before the threshold is met needs the urgent waiver with a reason, as for any release. On release the revision becomes the Effective version and the version it replaces becomes Superseded, together. There are never two Effective versions.
Each step is recorded in the audit trail. The document’s own approvers, number of approvals and training threshold apply to the revision; a workflow template’s step-by-step approvers are not repeated.
Only people who can view drafts of the document (its author, QA, administrators and approvers) and its named approvers see the revision. Everyone else sees the effective version only. A named approver outside a restricted folder can open the document while the revision waits for their signature, as for any approval.
The version dropdown and the version chain
Section titled “The version dropdown and the version chain”When a document has more than one version, a Version dropdown sits at the top of the document page, above the status panel. Choose a version and select Open: the version in use opens the document page, any other opens that version’s own page. Moving through the list with the keyboard does not leave the page until you select Open. Each entry shows the version number and its status, and marks the version in use.
Below the dropdown, the version chain lists the versions from oldest to newest, for example v1.0 → v2.0 → v3.0, each with the dates it was created, released and superseded, and the change description given when it was created. Each link records the version a version replaces. It is written when the new version is created and confirmed when it is released, and it cannot be changed once the version is released. A document with more than 200 versions lists the latest 200.
Everyone who can read the document sees the released and superseded versions. A draft or rejected revision appears only to the people who may see revisions, as described above.
In the documents list
Section titled “In the documents list”A document that has a revision shows its combined state in the list, for example Effective | Draft. Select the arrow at the start of the row to open one row per version, each with its own status and a link to its page.
Upload a version through the API
Section titled “Upload a version through the API”There is one route that uploads a new file for a document: PUT /api/documents/{id}, the route the screens above use. It takes the same permission as the screens:
- someone with document approval permission may upload to any document;
- the requestor or assignee of an approved change request may upload to that document;
- the owner of a draft or rejected document, whose role may create or edit documents, may replace its file.
Revising an effective document always goes through a change request unless you hold document approval permission. Uploading under an approved change request completes it, whether you are its requestor or its assignee, so the next revision needs a new request. Nobody can upload a new file while a document is approved and waiting for release, or once it is obsolete, superseded or archived. When you may not upload, Upload New Version is shown greyed out; select it to see why and what to do next. Values for capa_reference and deviation_reference are at most 50 characters, and one request takes at most 200 change summaries. A request that carries a file may also carry these optional form fields, which describe the new version:
| Field | Meaning |
|---|---|
changes |
A free-text note kept with the version as its change description. It must be plain text: a JSON array or object is refused with a 422 that points to change_summaries. |
change_summaries |
A JSON array of per-section summaries. Each entry has section, change_type (added, modified or deleted), old_content and new_content. Requires reason. |
reason |
Why the version was made. Stored on every change summary and shown in the audit trail. |
capa_reference, deviation_reference |
A CAPA or deviation the change answers. Stored on the version’s change notes, so send them with changes or change_summaries. |
source_version_id |
The version the new file was derived from, when it is not the latest. It must be a version of the same document. |
A request with any of these fields and no file is refused, as is a malformed change_summaries array; nothing is stored in either case. The response names the new version in version_id. Each upload writes a create_version entry to the audit trail, which the Timeline tab shows as “Version N created”. The Timeline reads its own list of lifecycle entries (everything except views and downloads, up to the 5,000 most recent), so a document that has been opened many times keeps its create, edit and version milestones. If a document has more than that, the Timeline says that older milestones are under History, which still lists every entry. A new version also clears any training waiver on the document, so the next release faces the training gate again.
What happens when a new version is released
Section titled “What happens when a new version is released”A new file uploaded to an effective document is kept as a draft of the next version. Until that version is released, Download on the document still gives the version that is in controlled use.
A new file cannot be uploaded while a document is Approved, Approved - Pending Training or In Training, or while an effective document has a new version that is already approved and waiting to be released. The upload is refused with a message saying so. Release the approved version first, or reject it and start a new draft.
When the new version is released with Release — make effective, in one step:
- the document’s Download starts serving the new version’s file, and the document shows its version number and checksum;
- the version it replaces is marked Superseded and stays in the version history, where it can still be downloaded;
- the audit trail records the release with the old and new version numbers and file checksums.
If the new version’s file cannot be found in storage, the release is refused and nothing changes. Upload the file again and take it through approval.
Approvals belong to one version
Section titled “Approvals belong to one version”Each approval signature records the version it approves. When a new version goes through approval:
- only approvals of that version count toward the approvals it needs. Approvals given to an earlier version do not count, even from the same people, and those people can approve the new version too;
- the version that is released is the one the approvals were given to, never simply the newest draft. If approvals are recorded against more than one unreleased version, or none against an unreleased version, the release is refused with a message naming the versions;
- when a review is rejected, the version under review is marked Rejected in the version history and can never be released. Its record stays in the history. The document’s current version goes back to the one it serves, so if the document is sent for approval again without a new file, the approvals are given to that version.
Approvals given before versions were recorded on signatures count only while a document is on its first version.
Rejecting the new version, or reverting its approval, ends only the signatures given to the new version. The approvals and release signature of the version in effect stay valid: it is still the version being served, and its signature manifest does not change. The audit entry of the rejection or the revert lists the signatures it ended. A document that has never been released has no version in effect, so rejecting it ends every live signature.
Training on a new version
Section titled “Training on a new version”Whether a new version needs everyone trained on it again is decided for each version. While a new version of a released document is waiting to be released, the Training tab of the document shows Retrain on this revision:
- ticked (the default): the version’s training gate counts only training on this version. Training completed on an earlier version does not count, and the automatic training assignment assigns everyone again, including people trained on the earlier version;
- unticked: training completed on an earlier version still counts toward this version’s gate, and only people with no training on the document are assigned.
Change it before the version is approved. Once the document is waiting on its training gate (Approved, Approved - Pending Training or In Training), retraining can still be turned on (the training is then assigned again) but not off: releasing before the training is complete is the signed training waiver at release. Every change is recorded in the audit trail, and the release records whether retraining was required.
Training assigned while the new version is waiting is for that version: trainees read the new version’s own file as their training copy, before it is released, and their reading is recorded against it. See Completing training.
An assignment withdrawn while an earlier version was in training never holds a later version’s gate. The release audit records how many required assignments were withdrawn, even when others remain.
Changing the setting needs the documents.approve permission (Admin, QA Team).
Download a specific version
Section titled “Download a specific version”- On the document’s version history page, find the version you want.
- Select Download next to that version.
- The file downloads with the naming format:
{document title}-v{version number}.
Restore a previous version
Section titled “Restore a previous version”Restoring a version does not overwrite existing versions. Instead, it creates a new version with the content of the restored version.
- On the document’s version history page, find the version you want to restore.
- Select Restore next to that version (available on all versions except the current one).
- In the confirmation dialog, select Restore to confirm, or Cancel to abort.
- A success message appears and the version list refreshes to show the newly created version.
Compare two versions
Section titled “Compare two versions”- Open the version comparison from the document detail page.
- The comparison displays in a two-column layout:
- Left column – content from the older version.
- Right column – content from the newer version.
- Differences are highlighted:
- Red background – lines removed or changed from the older version.
- Green background – lines added or changed in the newer version.
- Select Close to dismiss the comparison modal.
Versions list on the document detail page
Section titled “Versions list on the document detail page”The Versions & changes tab on the document detail page shows a compact table with:
| Column | Description |
|---|---|
| ID | Internal version identifier |
| Version | Version number or label |
| Date | When the version was created |
If no versions are available, the table displays “No versions found.”
Permissions
Section titled “Permissions”| Action | Required Permission |
|---|---|
| View version history | documents.view_versions or documents.approve |
| Create new version | Document must be in Approved - Pending Training or Effective status |
| Download a version | documents.view_versions or documents.approve |
| Restore a version | Authenticated user with access to the document |
| Compare versions | Authenticated user with access to the document |
Example: Updating an Effective SOP After a Process Change
Section titled “Example: Updating an Effective SOP After a Process Change”Your facility has updated its environmental monitoring frequency. The current SOP (v1.0) is in Effective status and needs a revision.
- Select Documents in the sidebar, then open “Environmental Monitoring SOP”.
- Select New Version in the toolbar to open the version history page.
- Select Create New Version.
- In the New Document File field, choose the updated PDF from your computer.
- In the Change Description field, enter: “Updated monitoring frequency from weekly to daily for ISO 7 cleanrooms per CAPA-2026-042 findings.”
- Select Create Version.
The new version (v2.0) appears at the top of the version history with a green “Current” badge. The previous v1.0 remains available for download and comparison. Reviewers can use the version comparison feature to see exactly what changed between versions.
