Releases: openmrs/openmrs-esm-core
Releases · openmrs/openmrs-esm-core
v8.0.0
What's Changed
Breaking changes
- (BREAKING) O3-4927: Add single spa app root container divs in index.ejs by @chibongho in #1434
Features
- (feat) O3-4888: Use common LifeCycles loader for extensions / modals / workspaces by @chibongho in #1425
- (feat) O3-4864: Support including CSS and JS assets in generated HTML … by @chibongho in #1416
- (feat) O3-4869 Workspace v2 by @chibongho in #1424
Bug fixes
- (fix) Fix active link highlighting logic in dashboard extension component by @denniskigen in #1443
- (fix) Decode URI segments from the path by @ibacher in #1445
- (fix) Navlinks with spaces and special characters should get highlighted when active by @NethmiRodrigo in #1446
- (fix) O3-4955: Update links to dev docs and release notes in O3 help menu by @Ekcode-lab in #1447
New Contributors
- @Ekcode-lab made their first contribution in #1447
Full Changelog: v7.0.0...v8.0.0
v7.0.0
What's Changed
⚠️ Breaking Changes
🚀 Features
- O3-4880: Use Carbon React's Theme Component in Implementer Tools #1423 by @harshthakkr, @vasharma05
- O3-4897: Redirect 401 request to URL location specified by response #1430 by @chibongho
- Implement an OpenMRS DateRangePicker #1428 by @samuelmale
- Update TypeDoc and TypeScript #1406 by @ibacher
- Add dashboard into primary navigation app #1358 by @NethmiRodrigo
- O3-4778: Add way to define hidden left nav #1383 by @chibongho
- Allow left nav to preserve correct component context #1380 by @ibacher
- Additional content switcher style overrides commit by @denniskigen
- Re-work Framework packages for lighter-weight builds #1346 by @ibacher
- Add stock management pictogram #1361 by @denniskigen
🐛 Fixes
- O3-4829: Integrate
_validatorsfrom config schema files into Implementer Tools UI validation #1404 by @harshthakkr, @jwnasambu, @vasharma05 - Prevent calendar from closing on internal clicks #1432 by @samuelmale
- Fix dashboard component to update when basePath changes #1431 by @ibacher
- O3-4867: Center initial loading spinner #1418 by @ELVISKATS, @denniskigen
- Restore ability to merge multiple config files commit by @ibacher
- Ensure i18next namespace matches state #1415 by @ibacher
- O3-4844: Update visit store only when
useVisitis called for current patient #1409 and #1412 by @chibongho, @denniskigen - Fix dashboard stylesheet extension #1413 by @NethmiRodrigo
- Simpler types for
AppContext#1408 by @ibacher - Fix Dashboard and NavGroup components #1407 by @ibacher
- O3-4832: Update external links to docs and changelog #1403 by @JayadityaGit
- Fix visit context not changing to past visit #1391 by @chibongho
- O3-4803: Hide help icon when help menu is empty #1399 by @chibongho
- Downgrade SWR to 2.2.5 #1398 by @ibacher
- Fix assemble prompt logic using unique keys #1394 by @samuelmale
- Restore old way of federating SWR #1395 by @ibacher, @denniskigen
- O3-4778: Only render side nav in desktop mode when
leftNavModeisnormal#1389 by @chibongho - Restore name prop for user menu button #1388 by @denniskigen
- Assemble shouldn't break if numbers aren't specified #1382 by @ibacher, @denniskigen
- Cast string to ReactNode instead of ReactElement #1381 by @ibacher
- O3-4760: Content switcher style fixes #1379, #1375, #1374 by @denniskigen
- Remove
autoFocusfrom Search component #1378 by @denniskigen - Fix inline padding on devtools/help buttons commit by @denniskigen
- O3-4753: Remove unnecessary padding from icon-only ghost buttons #1373 by @denniskigen
- O3-4707: Update visit context when active visit is created or ended #1360 by @chibongho
- Add extra guardrails around
displayedValidationMessages#1356 by @ibacher
New Contributors
- @JayadityaGit made their first contribution in #1403
- @ELVISKATS made their first contribution in #1418
Full Changelog: v6.3.0...v7.0.0
v6.3.0
What's Changed
Features
- (feat) O3-4362: Move Location Picker to the top nav by @chibongho in #1295
- (feat) O3-4509: Should be able to configure preferred datepicker locale for each language locale by @brandones in #1303
- (feat) Add useEmrConfiguration hook to react utils by @denniskigen in #1306
- (feat) O3-4409: Implementer Tools app should not require 'System Developer' privilege by @jwnasambu in #1288
- (feat) O3-4511 & O3-4512: Fix several date picker issues by @ibacher in #1313
- (feat) O3-4535: Add widget to display diagnosis tags in styleguide by @chibongho in #1311
- (feat) O3-4425: add ability to define collapsed left nav by @chibongho in #1279
- (feat) O3-4013: Add support for partial (estimated) dates by @ibacher in #1280
- (feat) O3-4563: Add option to reference external components in routes.json by @chibongho in #1327
- (feat) Bump
@carbon/reactto v1.76.0 by @elishabantana in #1215 - (feat) Add 'Edit' and 'Delete' to core translations by @chibongho in #1342
- (feat) Add useOnVisible() hook to call function when component is visible by @chibongho in #1344
- (feat) Miscellaneous UI editor improvements by @denniskigen in #1300
Bug fixes
- (fix) O3-2076 & O3-4436: Navigation occasionally breaks & fix logout with OAuth2 by @wluyima in #1285
- (fix) O3-4490: Add cursor styles to the datepicker by @NethmiRodrigo in #1302
- (fix) O3-3189: Fix useOpenmrsPagination to properly take in string URL by @chibongho in #1305
- (fix) Fix OpenMRS resource typings by @chibongho in #1314
- (fix) Fix config validation error caused by
Type.Objectelements with string _elements by @brandones in #1315 - (fix) O3-4501: Fix header panel positioning in RTL mode by @Bharath-K-Shetty in #1309
- (fix) More fixes to OpenMRS resource typings by @chibongho in #1317
- (fix) O3-4425: Only render left nav if it has a slot with elements by @chibongho in #1318
- (fix) O3-4371: useFeatureFlag hook should not log an error if a feature flag does not exist by @Bharath-K-Shetty in #1273
- (fix) O3-4425: Make all top nav action items extensions by @chibongho in #1320
- (fix) Fix edge case with formatting dates in January by @ibacher in #1322
- (fix) Setup redirect for static assets served from wrong location by @ibacher in #1329
- (fix) O3-4606: Enable display of Spanish format names by @xprl-gjf in #1334
- (fix) O3-4605: Update remove icon fill color to use lighter background in Implementer Tools by @harshthakkr in #1338
- (fix) Fix a11y issues on home page by @olewandowski1 in #1340
- (fix) Ignore TS error fixed in newer versions of Typescript by @ibacher in #1343
- (fix) Attempt to paper-over inconsistencies in ReactNode type by @ibacher in #1352
- (fix) O3-4481: Store function to mutate visits in visit store by @chibongho in #1348
Housekeeping
- (chore) Correct
useAbortControllermock to return object directly by @samuelmale in #1326 - (chore) Update @internationalized/date version by @ibacher in #1339
- (chore) O3-4372: Remove non-existent feature flags from local storage by @Bharath-K-Shetty in #1276
- (chore) use node protocol for node builtin module by @shivarm in #1319
Testing
- (test) Add mock for OpenmrsDatePicker by @denniskigen in #1316
- (test) Fix age check in patient banner test by @chibongho in #1332
- (test) Add explicit login step to navbar e2e test by @denniskigen in #1336
- (test): Add invalid text to datepicker mock and change datepicker mock's role by @NethmiRodrigo in #1328
New Contributors
- @wluyima made their first contribution in #1285
- @Bharath-K-Shetty made their first contribution in #1309
- @shivarm made their first contribution in #1319
- @olewandowski1 made their first contribution in #1340
Full Changelog: v6.2.0...v6.3.0
v6.2.0
What's Changed
🚀 New features
- (feat) O3-4400 - add a way to identify where the patient banner is be… by @chibongho in #1292
🐛 Bug fixes
- (fix) Allow user to login by selecting a location if default one is invalid by @icrc-psousa in #1298
🧹 Housekeeping
- (chore) Update translations from Transifex by @github-actions in #1294
- (chore) Update translations from Transifex by @github-actions in #1297
- (chore): Release v6.2.0 by @NethmiRodrigo in #1299
New Contributors
- @icrc-psousa made their first contribution in #1298
Full Changelog: v6.1.0...v6.2.0
v6.1.0
What's Changed
🚀 New features
- (feat) O3-4277: Enable app-specific SWRConfig by @Twiineenock in #1253
- (feat) Patient banner styling refinements by @denniskigen in #1284
- (feat) Add icons for various order types by @vasharma05 in #1259
🐛 Bug fixes
- (fix) O3-4366: Change languages in my account panel to sentence case by @harshthakkr in #1277
- (fix) Remove datepicker mock by @ibacher in #1281
- (fix) Address some minor issues with OpenmrsDatePicker overlay by @ibacher in #1283
- (fix) Load contactAttributeTypes from patient banner config by @denniskigen in #1290
- (fix) O3-4455 : Update translated workspace title once rendered by @Muppasanipraneeth in #1289
🧹 Housekeeping
- (chore) Update translations from Transifex by @github-actions in #1274
- (chore) Optimize lodash imports by @denniskigen in #1278
- (chore): Bump dependencies by @NethmiRodrigo in #1286
- (chore) Update translations from Transifex by @github-actions in #1291
- (chore): Release v6.1.0 by @NethmiRodrigo in #1287
New Contributors
- @harshthakkr made their first contribution in #1277
Full Changelog: v6.0.4...v6.1.0
v6.0.4
What's Changed
- (chore) Update translations from Transifex by @github-actions in #1271
- (fix) Fix devtools trigger button popover by @denniskigen in #1272
Full Changelog: v6.0.3...v6.0.4
v6.0.3
What's Changed
Bug Fixes
- (fix) O3-4298: Capitalize language names in the
change languagemodal by @Muppasanipraneeth in #1254 - (fix) Allow registering workspace groups via routes.json by @vasharma05 in #1256
- (fix) O3-4081: Change help menu button to use IconButton by @NethmiRodrigo in #1257
- (fix) O3-3370: Properly handle relative imports in development by @ibacher in #1258
- (fix) O3-4323: age() function should handle time duration of 0 minutes by @chibongho in #1261
- (fix) O3-3370: Also fix handling when not specifying a backend by @ibacher in #1262
- (fix) O3-4339: Frontend should properly support locales with region specifiers by @ibacher in #1264
- (fix) O3-4349: Open workspace in declared workspace group by @chibongho in #1266
- (fix) Miscellaneous DevTools panel fixes by @denniskigen in #1268
- (fix) Remove unnecessary extension re-render by @ibacher in #1270
Housekeeping
Testing
- (test) Add mock for launchWorkspaceGroup by @chibongho in #1250
Documentation
- (docs) Improve versioning and releasing documentation by @denniskigen in #1244
(Automated translation updated omitted for brevity)
New Contributors
- @Muppasanipraneeth made their first contribution in #1254
Full Changelog: v6.0.2...v6.0.3
v6.0.2
What's Changed
Bug fixes
- (fix) login: Restore footer styles for additional logos by @suubi-joshua in #1245
Full Changelog: v6.0.1...v6.0.2
v6.0.1
What's Changed
Bug fixes
- (fix) Gender icons not showing in non-English locales by @denniskigen in #1241
Housekeeping
- (chore) Update translations from Transifex by @github-actions in #1242
Full Changelog: v6.0.0...v6.0.1
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 passwordmodal size tosmby @suubi-joshua in #1155 - (feat) O3-3759: Refactor
usePatienthook to leverageuseSWRby @denniskigen in #1156 - (feat) Disable most automatic revalidations by default by @denniskigen in #1157
- (feat) O3-4018: Add
InformationandCheckmarkFilledicons to the styleguide by @usamaidrsk in #1163 - (feat) Add variable name extractor to expression runner by @ibacher in #1173
- (feat) O3-4074: Add
CheckmarkOutlineIconto 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
Reporticon to the CarbonMRS icon pack by @Munyua123 in #1194 - (feat) O3-4160: Patient header redesign by @denniskigen in #1195
- (feat) O3-4170: Adding the
Syringeicon 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
Programsicon 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
MaybeIconandMaybePictogramby @vasharma05 in #1227 - (feat) OA-41:
openmrsFetch()should handle redirects by @ibacher in #1231
Refactors
- (refactor) O3-4011: Reusable
PatientBannerPatientIdentifierscomponent 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
useOpenmrsInfinitehook to correctly take in URL by @chibongho in #1146 - (fix) Wrap workspace in suspense container by @ibacher in #1148
- (fix) O3-3709: Fix
useOpenmrsFetchAllnot fetching more than 2 pages by @chibongho in #1160 - (fix) O3-3891: Adjust
Change languagemodal size tosmby @Samstar10 in #1162 - (fix) Pass patient object to the banner action buttons by @vasharma05 in #1158
- (fix) O3-4018: Fix
CheckmarkFilledicon registration by @usamaidrsk in #1170 - (fix) O3-4018: Cleanup
checkmark--filled.svgfor CheckmarkFilledIcon by @usamaidrsk in #1171 - (fix) O3-4018: Fix
checkmark--filled.svgfor 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
OpenmrsComponentDecoratorFor Strict Mode by @kb019 in #1213 - (fix) O3-4327: Fix
openmrsFetchAllcalling 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
validateDOMNestingwarnings 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
CheckmarkFilledandInformationicons 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
FetchErrorinterface 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
PatientBannerPatientIdentifierby @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 https://github.com/openmrs/openmrs-es...