2.4.0

2025-03-21

This version of Tamanu requires Chrome 133 or later.

Artifacts

mobile android https://clients.ops.tamanu.io/2.4.0/android/tamanu/app-release.apk
Install Download

Changelog

Manual Release Steps ๐Ÿฆ€

Config to update โš™๏ธ

Db schema or other changes to check against reports ๐Ÿ“Š

Other manual release steps ๐Ÿค

Localised labels

Localised labels for fields are now handled through the translations editor/reference data importer. Follow the below steps to transfer the localised field labels into the translations table.

  • If there are no localised fields set in the deployment config that alter the label from its default value you can skip this step
  • Will need to transfer any custom label text from the existing config file to the relevant row in the spreadsheet here: LocalisationToTranslation.xlsx
  • After updating the spreadsheet with the labels from config, import it through the reference data importer as โ€œTranslated Stringโ€
  • NOTE: We still keep the other custom field properties such as requiredPatientData, hidden and pattern in config. Only the custom labels are moving to the translations section
  • NOTE: After the upgrade to 2.4 any label customisations set in the config file will no longer be applied. This is now the only way to customise field label

Example: Config before upgrade:

"dateOfBirth": {
  "longLabel": "Date of birth",
  "shortLabel": "DOB",
  "requiredPatientData": true
},

Config after upgrade:

"dateOfBirth": {
  "requiredPatientData": true
},

Spreadsheet rows after upgrade: image

External Changes ๐Ÿก

Features โญ

  • feat(web): NASS-1013: Cambodia Branding
  • feat(web): NASS-1168: Cambodia PWA
  • NASS-881: TranslatedText component
  • NASS-883: TranslatedText replacement logic
  • NASS-885: Language dropdown
  • NASS-891: Translation backend endpoints
  • NASS-892: Translations admin panel
  • NASS-902: Translation context
  • NASS-916: Translate desktop UI static strings (covers cards NASS-(939 to 946 and 959 to 975)
  • NASS-1013: Cambodia logo and login image
  • NASS-1090: Use Khmer font for Khmer characters
  • NASS-1100: TranslatedEnum component
  • NASS-1101: TranslatedSelectField component
  • NASS-1112: Configurable sidebar tabs
  • NASS-1114: Configurable vaccine consent box
  • NASS-1116: Systemwide field defaults
  • NASS-1142: TranslatedMultiSelectField component
  • NASS-1154: Cambodia patient details layout
  • NASS-1193: New workflow for desktop localised fields (config -> translation)

Tweaks โš–๏ธ

  • NASS-998: Update age display on mobile to pull from ageDisplayFormat
  • SAV-474: Add await time to central server report runner task

Bug fixes ๐Ÿ›

  • NASS-1009: Stop user from entering a date pre birth for vaccines
  • NASS-1202: Photo Id upload fix
  • NASS-1205: Report editor parameter fields not working on edit
  • NASS-1209: Survey select 404 error

Internal Changes ๐Ÿ›‹๏ธ

Infrastructure and maintenance ๐Ÿ› ๏ธ

  • NASS-882: TranslatedText debug highlighting
  • NASS-884: TranslatedText will create string record in db when rendered
  • NASS-1102: Refractor of constants to a standard format + deleted unused legacy ones

Miscellaneous / Config changes ๐ŸŒŠ

  • Translatable static strings on desktop has been merged but is not ready for use in production yet
Copied to clipboard!