OpenCRVS - v1.7.0
Introduction
OpenCRVS v1.7.0 is a minor release which includes bug fixes, improvements and new functionality.
It is to be used in conjunction with a forked country configuration release v1.7.0
Breaking changes
- Dashboard: Changes made to the dashboard configuration will reset after upgrading OpenCRVS.
- Removed unused searchBirthRegistrations and searchDeathRegistrations queries, as they are no longer used by the client.
- Retrieve action deprecated: Field agents & registration agents used to be able to retrieve records to view the audit history & PII. We are removing this in favor of audit capabilities that is planned for in a future release.
New features
- Allow configuring the default search criteria for record search #6924
- Add checks to validate client and server are always on the same version. This prevents browsers with a cached or outdated client versions from making potentially invalid requests to the backend #6695
- Two new statuses of record are added:
ValidatedandCorrection Requestedfor advanced search parameters #6365 - A new field:
Time Periodis added to advanced search #6365 - Deploy UI-Kit Storybook to opencrvs.pages.dev to allow extending OpenCRVS using the component library
- Record audit action buttons are moved into action menu #7390
- Reoder the sytem user add/edit field for surname to be first, also change labels from
Last nametoUser's surnameand lastly remove the NID question from the form #6830 - Corrected the total amount displayed for certification and correction fees on the Performance Page, ensuring accurate fee tracking across certification and correction sequences. #7793
- Auth now allows registrar's token to be exchanged for a new token that strictly allows confirming or rejecting a specific record. Core now passes this token to country configuration instead of the registrar's token #7728 #7849
- Template Selection for Certified Copies: Added support for multiple certificate templates for each event (birth, death, marriage). Users can now select a template during the certificate issuance process.
- Template-based Payment Configuration: Implemented payment differentiation based on the selected certificate template, ensuring the correct amount is charged.
- Template Action Tracking: Each template printed is tracked in the history table, showing which specific template was used.
- Template Selection Dropdown: Updated print workflow to include a dropdown menu for template selection when issuing a certificate.
- QR code scanner: A form field component allows pre-populating informant's details based on a ID card #8196
- Introduced a new customisable UI component: Banner #8276
- Auth now allows exchanging user's token for a new record-specific token #7728
- A new GraphQL mutation
upsertRegistrationIdentifieris added to allow updating the patient identifiers of a registration record such as NID #8034 - Updated GraphQL mutation
confirmRegistrationto allow adding acommentfor record audit #8197 - Add
isAgeInYearsBetweenvalidator to enable validation that will constraint a date to be only valid if it falls within a specified date range. TheisInformantOfLegalAgevalidator is now deprecated and removed in favor ofisAgeInYearsBetweenvalidator #7636
Improvements
- Auth token, ip address, remote address redacted from server log
- Align Patient data model with FHIR: Previously we were using
string[]forPatient.name.familyfield instead ofstringas mentioned in the FHIR standard. We've now aligned the field with the standard. - Certificate Fetching: Removed certificates from the database, allowing them to be fetched directly from the country configuration via a simplified API endpoint.
Deprecated
validator-api&age-verification-api&nationalIdscopes are deprecated as unused. Corresponding scopes are removed from thesystemScopesand also removed from the audience when creating the token #7904
Bug fixes
- Fix task history getting corrupted if a user views a record while it's in external validation #8278
- Fix health facilities missing from dropdown after correcting a record address #7528
- "Choose a new password" form now allows the user to submit the form using the "Enter/Return" key #5502
- Dropdown options now flow to multiple rows in forms #7653
- Only render units/postfix when field has a value #7055
- Only show items with values in review #5192
- Fix prefix text overlap issue in form text inputs
- Fix the informant column on the Perfomance page showing "Other family member" when
Someone elseis selected for a registration #6157 - Fix the event name displayed in email templates for death correction requests #7703
- Fix the "email all users" feature by setting the To email to the logged user's email #8343