Add ADR048: Immutable Form Versioning#248
Open
theseanything wants to merge 8 commits into
Open
Conversation
lfdebrux
reviewed
Mar 25, 2026
lfdebrux
reviewed
Mar 25, 2026
lfdebrux
reviewed
Mar 25, 2026
Outlines the transition from a mutable document-based system to an immutable versioning model for published forms. This includes new API endpoints for draft and versioned forms, addressing limitations in the current system and enhancing caching, submission tracking, and user experience during form completion.
Added a section on hard submission deadlines to ADR048, outlining the need for strict cutoff times for certain forms. This change clarifies that archiving will no longer serve as a method to prevent future submissions and suggests a new implementation approach for managing submission deadlines.
Added a section detailing how each submission will now store the `form_version` it was made against, helping proccess handle changes to the form.
Added a section detailing schema changes
lfdebrux
reviewed
May 12, 2026
Clarified language regarding mutable endpoints and the explicit linking of submissions to form versions. Updated sections on hard submission deadlines and the implications of archiving, ensuring consistency in terminology and enhancing clarity for future implementation considerations.
e340668 to
7b08fee
Compare
If we ever wanted to allow rolling back to an older form version. The "live" form, may point to an older version not the "latest".
Realise we need to be able to find the archived version of the form to continue supporting the preview-archived form state.
Renamed the draft endpoint to `/api/v3/forms/:form_id/versions/draft` to make it more consistent that everything under /versions returns a form document.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outlines an immutable versioning model for published forms. This includes new API endpoints for draft and versioned forms, addressing limitations in the current system and enhancing caching, submission tracking, and user experience during form completion.