v6.0.0
What's changed
Breaking changes
Features
- (feat) O3-3774: Add implementation for the Nav Group by @hadijahkyampeire in #1116
- (feat) O3-3859: Ability to customize or add logos in the login page footer by @suubi-joshua in #1127
- (feat) Add patient registration pictogram by @denniskigen in #1150
- (feat) Make it possible to change modal container size by @denniskigen in #1151
- (feat) O3-3889: Update
Change password
modal size tosm
by @suubi-joshua in #1155 - (feat) O3-3759: Refactor
usePatient
hook to leverageuseSWR
by @denniskigen in #1156 - (feat) Disable most automatic revalidations by default by @denniskigen in #1157
- (feat) O3-4018: Add
Information
andCheckmarkFilled
icons to the styleguide by @usamaidrsk in #1163 - (feat) Add variable name extractor to expression runner by @ibacher in #1173
- (feat) O3-4074: Add
CheckmarkOutlineIcon
to the styleguide by @usamaidrsk in #1176 - (feat) Allow passing action menu state to the workspace container by @vasharma05 in #1189
- (feat) Add translation override for district address field by @makombe in #1188
- (feat) O3-4143: useLocations should support searching by tag or query string by @mogoodrich in #1191
- (feat) O3-4100: Login flow single-page redesign by @suubi-joshua in #1192
- (feat) O3-4161: Add a
Report
icon to the CarbonMRS icon pack by @Munyua123 in #1194 - (feat) O3-4160: Patient header redesign by @denniskigen in #1195
- (feat) O3-4170: Adding the
Syringe
icon to CarbonMRS by @Munyua123 in #1196 - (feat) O3-4196: Improve optional backend dependencies functionality by @mogoodrich in #1203
- (feat) Add "Save" to core translations library by @denniskigen in #1204
- (feat) Add in-patient pictogram by @denniskigen in #1205
- (feat) O3-4168: Add gender icons to the CarbonMRS icon pack by @mccarthyaaron in #1207
- (feat) Use gender icons from icon framework in patient header by @denniskigen in #1208
- (feat) O3-4215: Enable environment specification for shell builds by @jayasanka-sack in #1211
- (feat) O3-4216: Add the
Programs
icon to CarbonMRS icon pack by @Munyua123 in #1212 - (feat) Add pharmacy pictogram by @denniskigen in #1218
- (feat) Add icons for lab order and generic orders by @vasharma05 in #1225
- (feat) O3-4249: Add component to support rendering an icon if it exists by @ibacher in #1220
- (feat) Add mocks for
MaybeIcon
andMaybePictogram
by @vasharma05 in #1227 - (feat) OA-41:
openmrsFetch()
should handle redirects by @ibacher in #1231
Refactors
- (refactor) O3-4011: Reusable
PatientBannerPatientIdentifiers
component by @chibongho in #1159 - (refactor) Refactor REST API calls to reuse restBaseUrl by @denniskigen in #1168
- (refactor) Switch visit requests to use promises instead of observables by @denniskigen in #1184
- (refactor) O3-4077: Improve the workspace group workflow by @vasharma05 in #1185
- (refactor) Improve footer component and a11y by @denniskigen in #1240
- (refactor) Refactor reusable patient banner components by @denniskigen in #1209
Bug fixes
- (fix) O3-3189: Fix
useOpenmrsInfinite
hook to correctly take in URL by @chibongho in #1146 - (fix) Wrap workspace in suspense container by @ibacher in #1148
- (fix) O3-3709: Fix
useOpenmrsFetchAll
not fetching more than 2 pages by @chibongho in #1160 - (fix) O3-3891: Adjust
Change language
modal size tosm
by @Samstar10 in #1162 - (fix) Pass patient object to the banner action buttons by @vasharma05 in #1158
- (fix) O3-4018: Fix
CheckmarkFilled
icon registration by @usamaidrsk in #1170 - (fix) O3-4018: Cleanup
checkmark--filled.svg
for CheckmarkFilledIcon by @usamaidrsk in #1171 - (fix) O3-4018: Fix
checkmark--filled.svg
for CheckmarkFilledIcon by @usamaidrsk in #1172 - (fix) Expression evaluator should use typeof not instanceof to detect functions by @samuelmale in #1174
- (fix) Fix docstring for extractVariableNames by @brandones in #1178
- (fix) O3-3888: Tweak help menu hover state by @elishabantana in #1179
- (fix) O3-3627: Preserve original filename when saving an attachment by @suubi-joshua in #1183
- (fix) O3-4134: Translation overrides not being overridden correctly by @ibacher in #1187
- (fix) O3-4135: Disable help icon while user is logged out by @suubi-joshua in #1186
- (fix) Fixed wrong print icon name by @CynthiaKamau in #1201
- (fix) Fix change password modal by @denniskigen in #1210
- (fix) Correct Typo in
OpenmrsComponentDecorator
For Strict Mode by @kb019 in #1213 - (fix) O3-4327: Fix
openmrsFetchAll
calling url twice when more than 1 page is fetched by @kb019 in #1217 - (fix) Correctly extract function names in expression evaluation exceptions by @samuelmale in #1224
- (fix) Notify config system when app is fully loaded by @ibacher in #1228
- (fix) styleguide: Prevent
validateDOMNesting
warnings for icon mocks by @denniskigen in #1234 - (fix) O3-4253: Support translation for the implementation name in the page header by @vasharma05 in #1232
- (fix) Update e2e image import map and routes by @ibacher in #1237
Housekeeping
- (chore) O3-3973: Cache playwright browsers install step in E2E workflow by @virajwathsalag in #1147
- (chore) Update translations from Transifex by @github-actions in #1167
- (chore) O3-4018: Add
CheckmarkFilled
andInformation
icons mocks by @usamaidrsk in #1166 - (chore) Bump playwright by @kdaud in #1199
- (chore) Flag duplicate imports by @denniskigen in #1206
- (chore) Add missing translations for header menu tooltips by @usamaidrsk in #1219
- (chore) Add
FetchError
interface for more granular error typing by @denniskigen in #1230 - (chore) Cache install dependencies step in e2e workflow by @denniskigen in #1235
- (chore) Standardize Jest setup and improve testing practices by @denniskigen in #1236
Testing
- (test) O3-4011: Add mock for
PatientBannerPatientIdentifier
by @chibongho in #1181 - (test) Add some missing test cases and improve typing in test files by @denniskigen in #1239
New contributors
- @virajwathsalag made their first contribution in #1147
- @Samstar10 made their first contribution in #1162
- @elishabantana made their first contribution in #1179
- @makombe made their first contribution in #1188
- @Munyua123 made their first contribution in #1194
- @mccarthyaaron made their first contribution in #1207
Full Changelog: v5.8.1...v6.0.0