Skip to content

Releases: openmrs/openmrs-esm-core

v6.0.2

17 Dec 18:52
bf9be89
Compare
Choose a tag to compare

What's Changed

Bug fixes

Full Changelog: v6.0.1...v6.0.2

v6.0.1

17 Dec 08:08
d46e219
Compare
Choose a tag to compare

What's Changed

Bug fixes

Housekeeping

  • (chore) Update translations from Transifex by @github-actions in #1242

Full Changelog: v6.0.0...v6.0.1

v6.0.0

16 Dec 17:45
ccb94fb
Compare
Choose a tag to compare

What's changed

Breaking changes

  • (BREAKING) Retire concept of ConnectedExtension by @ibacher in #1154

Features

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 to sm 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 and Information 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

Read more

v5.8.1

06 Sep 22:23
3f27fab
Compare
Choose a tag to compare

What's changed

New improvements

  • (feat) - add baby and mother icons by @chibongho in #1131
  • (feat) O3-3708: Add a safer expression runner by @ibacher in #1108
  • (feat) O3-3866:Allow customized message/dialog for warning when closing a workspace by @mogoodrich in #1129

Improvements to E2E test suite

  • (test) Use local shell to assemble E2E environment and run all E2E tests from other repos by @jayasanka-sack in #1139

Fixes

  • (fix) Update dummy StoreApi to work with Zustand 4.4+ by @ibacher in #1128
  • (fix) Add better support for loading multiple namespaces at once by @ibacher in #1132
  • (refactor) Load styleguide config asynchronously in PageHeader by @denniskigen in #1133
  • (fix) remove fill attributes for baby and mother svg icons by @chibongho in #1135
  • (fix) O3-3902 - make age() function (and its usage) handle null birth… by @chibongho in #1136
  • (fix) - O3-3189 - fix server-side pagination hook to handle error con… by @chibongho in #1123
  • (fix) Do not generate undefined as a value by @ibacher in #1137
  • (docs) Update E2E instructions on the readme file by @jayasanka-sack in #1138
  • (fix) Fix the URLs to load importmap and routes registry JSON by @vasharma05 in #1140
  • (fix) Workspace title must translate in the workspace container by @vasharma05 in #1141
  • Revert "(fix) Fix the URLs to load importmap and routes registry JSON" by @vasharma05 in #1143

v5.8.0

23 Aug 20:25
14869ce
Compare
Choose a tag to compare

What's Changed

Features

  • (feat) O3-2790: Create a reusable location picker component by @jayasanka-sack in #913
  • (feat) O3-3178: Add a reusable dashboard header to the styleguide by @Twiineenock in #1084
  • (feat) O3-3260: Add ability to register feature flags via routes.json by @ibacher in #1085
  • (feat) O3-3244 & O3-3250: Allow data sharing between workspaces with the same sidebar family name by @vasharma05 in #1094
  • (feat) O3-3509: The assemble command should support merging multiple configs by @ibacher in #1098
  • (feat) O3-3505: Datepicker improvements by @ibacher in #1099
  • (feat) Content switcher style overrides by @denniskigen in #1109
  • (feat) O3-3684: Improve duration representation of age function by @chibongho in #1100
  • (feat) O3-3189: Add a hook to handle server-side pagination by @chibongho in #1114
  • (feat) O3-3857: Support extension overrides in per-slot extension config by @ibacher in #1119

Bug fixes

  • (fix) Restore loading Webpack loaders via require by @ibacher in #1091
  • (fix) Don't generate a warning from mini-css about order by @ibacher in #1095
  • (fix) O3-3678: Implementer tools JSON editor crashes when typing by @denniskigen in #1097
  • (fix) Config system and Implementer Tools both crash when 'null' is passed as an Array value by @brandones in #1101
  • (fix) O3-3691: The workspace family store shouldn't reset if the workspace of the same family is launched by @vasharma05 in #1103
  • (fix) Framework should register feature flags defined in routes.json by @ibacher in #1104
  • (fix) O3-3760: Action Menu (Siderail) inside workspace hovering over the content by @vasharma05 in #1110
  • (fix) Minor implementer tools fixes by @brandones in #1111
  • (fix) Ensure the Confirm button in the login location picker takes full width by @jayasanka-sack in #1106
  • (fix) O3-3760 v2: Add margin to the bottom of workspaces with internal action menu by @vasharma05 in #1112
  • (fix) O3-3684: Improve performance of age() function by @chibongho in #1117
  • (fix) O3-3858: Fix state update for registerContext by @kb019 in #1121
  • (fix) Context: use namespace as a value rather than as string by @kb019 in #1122

Housekeeping

Testing

Full Changelog: v5.7.1...v5.8.0

v5.7.2

24 Jul 19:09
54d3c3d
Compare
Choose a tag to compare

Another small bugfix for v5.7.0

Full Changelog: v5.7.1...v5.7.2

v5.7.1

22 Jul 18:14
b089fa0
Compare
Choose a tag to compare

This is just a bugfix release for v5.7.0 with no substantive changes

v5.7.0

19 Jul 14:12
5685968
Compare
Choose a tag to compare

What's Changed

Features

  • (feat) O3-3579: Changing the styles for help menu and devtools by @Vijaykv5 in #1079
  • (feat) Tweak some core translations by @denniskigen in #1074
  • (feat) Add support for setting custom workspace title by @brandones in #1067
  • (feat) Add more icons from CarbonMRS by @ibacher in #1066
  • (feat) Enhancements to the OpenmrsDatePicker by @NethmiRodrigo in #1062
  • (feat) Workspaces should support having their own sidebar within them by @brandones in #1058
  • (feat) O3-1991: Enhancements and fixes for OMRS date picker by @ibacher in #1053
  • (feat) Improvements to workspace system styling (supports O3-3246) by @brandones in #1046
  • (feat) O3-3423: Allow user to change password by @ibacher in #1047
  • (feat) Add support for local configuration in development environment by @chibongho in #1044
  • (feat) O3-3416: Make useVisit() take in optional custom representation by @chibongho in #1042
  • (feat) O3-1991: Implement an OpenMRS Date Picker by @ibacher in #1041
  • (feat) O3-3370: In development mode, import maps should not use absolute URLs by @ibacher in #1032
  • (feat) O3-3183: ID number labels should not be tags by @Twiineenock in #1031
  • (feat) O3-3390: Implement the help menu by @Vijaykv5 in #1034
  • (feat) Add CarbonMRS SVGs by @ibacher in #1024
  • (feat) O3-3179: Change the styling of the patient banner for deceased patients by @jwnasambu in #1021
  • (feat) Better script loading error by @denniskigen in #1020
  • (feat) O3-3266: Add support for specifying optional backend dependencies by @ibacher in #1015
  • (feat) O3-3322 Add support for translation overrides in core translations by @donaldkibet in #1016
  • (feat) Add ability to navigate to patient chart on clicking related person name by @donaldkibet in #1013
  • (feat) Add additional properties for OpenmrsDatePicker in Carbon by @kajambiya in #1007
  • (feat) Improve app prompting logic and behaviour by @ibacher in #1006
  • (feat) O3-3249: Introduce helper function to get well-formatted patient display name. by @xprl-gjf in #1003
  • (feat) Add common typings for patient and person by @chibongho in #1001
  • (feat) Add CarbonMRS icon infrastructure and React components by @ibacher in #969
  • (feat) O3-2261: Add a back button to the location picker page by @usamaidrsk in #946

Refactor

  • (refactor) Refactor modal files to match naming conventions by @denniskigen in #1049

Bug fixes

  • (fix) O3-3595: Use correct per-locale calendar in OpenmrsDatepicker by @kajambiya in #1081
  • (fix) subscribeToContext should send the current value of the context on subscribe by @ibacher in #1080
  • (fix) O3-3563: OpenmrsDatepicker should use calendar to calculate date values by @kajambiya in #1078
  • (fix) O3-3522: Replace module-local translations with core translations by @jwnasambu in #1075
  • (fix) Tweak change password form validation by @denniskigen in #1069
  • (fix) O3-3520: Clinical form loses information after opening another workspace (again) by @brandones in #1061
  • (fix) Fix broken workspace tests by @brandones in #1059
  • (fix) Fix invisible div bug in workspace system and add tablet animations by @brandones in #1057
  • (fix) Workspaces not maximizing; add workspace animations by @brandones in #1056
  • (fix) Ensure bottom nav border shows up by @brandones in #1055
  • (fix) O3-3401: Use optional chaining to safely unsubscribe from getCurrentUser observable by @vasharma05 in #1051
  • (fix) Replace deprecated substr() with slice() for string operations by @denniskigen in #1050
  • (fix) Restore PasswordInput value prop by @denniskigen in #1040
  • (fix) Properly set app shell public path by @ibacher in #1039
  • (fix) Rename some patient name utility functions by @brandones in #1038
  • (fix) Login page tweaks by @denniskigen in #1036
  • (fix) CarbonMRS icons should inherit CSS color by @ibacher in #1033
  • (fix) Apply geopattern styles to patient avatar conditionally by @denniskigen in #1030
  • (fix) O3-3353 Workspaces shouldn't lose information when hidden by @brandones in #1027
  • (fix) Fix config bug involving arrays of arrays. Supports O3-3336 by @brandones in #1022
  • (fix) O3-3339 Workspace overlay contents have whitespace problems by @kb019 in #1018
  • (fix) Minor improvements to workspaces and workspace tests, supporting O3-2724 by @brandones in #1017
  • (fix) Allow immutable arguments to config validators by @brandones in #1019
  • (fix) Remove double border from Patient Header details panel by @denniskigen in #1012
  • (fix) Follow-up to #969: fix bug where workspaces don't close by @brandones in #1011
  • (fix) O3-3249: Export esm-utils patient-helper functions as mocks. by @xprl-gjf in #1010
  • (fix) O3-3249 Add missed dependency on @types/fhir for esm-utils. by @xprl-gjf in #1009
  • (fix) O3-3265: Tweak Patient Header UI by @denniskigen in #1008
  • (fix) Exclusions should be applied before new modules are added by @ibacher in #1005
  • (fix) Ethiopia datepicker to resolve default, min and max values correctly by @kajambiya in #996
  • (fix) O3-2768: Display error in case there are no locations by @trevor-james-nangosha in #906

Housekeeping

  • (chore) Release v5.7.0 by @denniskigen in #1082
  • (chore) Update translations from Transifex by @github-actions in #1077
  • (chore) Add docstrings and remove dead code from workspace by @brandones in #1070
  • (chore) Update translations from Transifex by @github-actions in #1068
  • (chore) Add remote caching to E2E workflow using turborepo-gh-artifacts by @denniskigen in #1065
  • (chore) Switch turborepo back to streaming UI by @brandones in #1060
  • (chore) Update translations from Transifex by @github-actions in #1054
  • (chore) Update translations from Transifex by @github-actions in #1043
  • (chore) Bump turborepo by @denniskigen in #1037
  • (chore) Fix styleguide config access by @denniskigen in #1029
  • (chore) Export styleguide config type from Core by @denniskigen in #1026
  • (chore) Type fix for getDefaultsFromConfigSchema by @brandones in #1023
  • (chore) Export actual ConfigurableLink implementation from mock by @denniskigen in #1014
  • (chore) Increase default test timeout in framework by @denniskigen in #1004
  • (chore) Restore OpenmrsDatePicker mock by @denniskigen in #1002
  • (chore) Update translations from Transifex by @github-actions in #980

Tests

  • (test) Fix flaky Login E2E test by @jayasan...
Read more

v5.6.0

16 May 12:38
35438c9
Compare
Choose a tag to compare

What's changed

New features

  • (feat) Enable online and offline extensions through configuration by @icrc-jofrancisco in #857
  • (feat) O3-2732: Added logic to allow dynamic adjustment of Logo in NavBar by @suubi-joshua in #907
  • (feat) O3-2882: Create core translations library by @brandones in #933
  • (feat) O3-3010: Disable triggering offline mode when offline disabled by @ibacher in #962
  • (feat) O3-1426: Modals should not be extensions by @brandones in #961
  • (feat) Create an application-wide context for shared state by @ibacher in #976
  • (feat) O3-1422 / O3-2724: Move workspace system into the framework by @brandones in #979
  • (feat) Add a hook to get callable extensions outside of a slot by @ibacher in #981
  • (feat) Export OpenmrsDatePickerProps interface to facilitate testing of the OpenmrsDatePicker by @kajambiya in #993
  • (feat) O3-3168: O3 should work without requiring a network connection by @ibacher in #997
  • (feat) Disable i18next namespace separator by @samuelmale in #998

Bug fixes

  • (fix) Make download config button in implementer tools fully clickable by @kb019 in #957
  • (fix) O3-2994: The app switcher menu should be hidden after clicking a link by @nanfuka in #964
  • (fix) O3-1169: Make implementer tools dark-themed by @kb019 in #960
  • (fix) Minor improvements to app shell by @ibacher in #982
  • (fix) Include common module type declarations in the framework by @brandones in #983
  • (fix) O3-2724: Follow-up PR to add mocks and additional public type exports by @brandones in #984
  • (fix) Suppress most version mismatch warnings by @ibacher in #985
  • (fix) Minor fixup to have useRenderableExtensions not be a default ex… by @chibongho in #986
  • (fix) O3-3139: Add a mock for useRenderableExtensions + fix its state ty… by @chibongho in #988
  • (fix) O3-2724: Follow-up to add internal type declarations by @ibacher in #989
  • (fix) O3-3188: Make modal body vertical-scroll properly by @chibongho in #991
  • (fix) Styleguide should not depend on the framework by @ibacher in #992
  • (fix) O3-2724: Fix workspace URL detection by @ibacher in #994
  • (fix) O3-1422: Fix workspace loading state by @denniskigen in #995

Housekeeping

Tests

New contributors

Full changelog: v5.5.0...v5.6.0

v5.5.0

15 Mar 15:37
eb3f5eb
Compare
Choose a tag to compare

What's Changed

⭐️ New features

  • (feat) O3-2808: Snackbars should be dismissed after 5 seconds by @usamaidrsk in #916
  • (feat) Tweak location preference notifications by @denniskigen in #926
  • (feat) Add a global SWR configuration by @denniskigen in #929
  • (feat) Show a more useful script loading error by @denniskigen in #939
  • (feat) O3-2883: Use toast notifications for system-generated error messages by @hadijahkyampeire in #937
  • (feat) Add loud error messages if script loading fails by @ibacher in #942
  • (feat) O3-2304: Hide primary side menu panel on item click by @usamaidrsk in #945
  • (feat) Allow user to reset the importmap and reload if overridden script fails to load by @ibacher in #952
  • (feat) O3-2831: Move patient banner into styleguide by @brandones in #919

🐛 Bug fixes

🧹 Housekeeping

  • (chore) Add ResponsiveWrapper stub to framework mock by @denniskigen in #922
  • (chore) Add ResponsiveWrapper to esm-framework public API by @denniskigen in #924
  • (chore) Commit orphaned API docs by @denniskigen in #934
  • (chore) Remove trailing slash from restBaseUrl by @denniskigen in #935
  • (chore) Use yarn instead of turbo for run:shell by @ibacher in #936
  • (chore) Fix exports for the ResponsiveWrapper component by @denniskigen in #941
  • (chore) Update translations from Transifex by @github-actions in #938
  • (chore) Bump playwright by @kdaud in #950
  • (chore) O3-2935: Trigger E2E tests when there is a change in package.json by @kdaud in #951
  • (chore) Release v5.5.0 by @jayasanka-sack in #958

New Contributors

  • @github-actions made their first contribution in #938

Thank you to all contributors for embodying the spirit of 'write code. save lives' in every line committed. Your commitment to OpenMRS is invaluable and truly makes a difference in healthcare worldwide. ❤️

Full Changelog: v5.4.0...v5.5.0