v2.0.0
What's Changed
Breaking changes
New features
- (feat) Add
markFormAsDirty
prop to FormEngine component by @vasharma05 in #206 - (feat) O3-3094: Remove warning modal and leverage workspace promptBeforeClosing functionality by @vasharma05 in #205
- (feat) O3-2006 Add ability to launch workspace from form by @pirupius in #186
- (feat) 03-2130: Add support of default answers for coded questions by @gitcliff in #192
- (feat) Setup i18n for form engine lib by @vasharma05 in #215
- (feat) O3-3099: Render labels instead of UUIDs for multiCheckbox field answers by @gitcliff in #213
- (feat) O3-1987: Disable
multiCheckbox
input options given provided expression by @usamaidrsk in #196 - (feat) Add French, Khmer and Spanish translations for testing purposes by @vasharma05 in #219
- (feat) O3-3104: Improve scrolling top most invalid field in to view when the form is in an invalid state by @usamaidrsk in #223
- (feat) Show asterisks next to labels for required fields by @denniskigen in #222
- (feat) O3-3007: Add support for saving patient identifiers in forms by @kajambiya in #202
- (feat) O3-3109 deprecate type within inbuiltControls by @pirupius in #229
- (feat) Update AFE transformer to handle aliases by @samuelmale in #221
- (feat) Fetch all concept references of the the form with SWR Infinite by @vasharma05 in #241
- (feat) O3-3053: Support for type control by @arodidev in #237
- (feat) Add doesNotMatchExpression expression helper by @kajambiya in #233
- (feat) O3-3112: Reinstate the form collapse toggle by @usamaidrsk in #244
- (feat) Add support for lab orders by @samuelmale in #249
- (feat) O3-3050: Add support for rendering select-concept-answers by @usamaidrsk in #214
- (feat) O3-3049: Add evaluated historical expression support by @arodidev in #226
- (feat) O3-3113: Add disallowDecimals validator by @jabahum in #220
- (feat) Hide empty repeating groups by @samuelmale in #275
- (feat) Enable default field validation for multi-checkbox field values by @gitcliff in #256
- (feat) O3-3058: Support for Conditional Required Validation by @reagan-meant in #265
- (feat) O3-1990: Allow string as value for markdown by @reagan-meant in #187
- (feat) O3-2167: Support associating concept representation with questions by @gitcliff in #189
Refactors
- (refactor) Clean up conditional styling logic using classnames by @denniskigen in #203
- (refactor) Use one component export syntax for consistency by @denniskigen in #243
Bug fixes
- (fix) Use optional chaining to catch unexpected errors by @lucyjemutai in #257
- (fix) O3-1989: fix tooltip alignment for number input. by @arodidev in #184
- (fix) Fix missing forward slash in concepts endpoint by @CynthiaKamau in #194
- (fix) O3-2154: Selecting a date should set selected date's time to midnight in the local timezone by @vasharma05 in #197
- (fix) Translate strings and fix up component names by @denniskigen in #198
- (fix) Vertically align workspace header toggle by @denniskigen in #209
- (fix) Remove relative path from an import statement by @samuelmale in #210
- (fix) Flag required fields upon form submission by @denniskigen in #212
- (fix) Fix typescript errors shown when linking to Patient Chart by @denniskigen in #217
- (fix) O3-3111: Fix stylings in the side navigation by @WodPachua in #216
- (fix) Updates sort params and switches to restBaseUrl by @pirupius in #218
- (fix) Improvements following code refactor/rename by @pirupius in #224
- (fix) Revise logic to show button set on embedded view mode by @arodidev in #227
- (fix) Fix tooltip alignment on obsGroup by @arodidev in #235
- (fix) Display all field validation errors by @kajambiya in #240
- (fix) Update registry to use
name
as the canonical identifier for derived rendering types by @samuelmale in #246 - (fix) Fix encounter location submission handler bug by @arodidev in #228
- (fix) Fix layout shifts caused by loaders by @denniskigen in #250
- (fix) fix logic for hiding/showing action buttons set by @arodidev in #251
- (fix) Fixed error messages on saving program enrollments by @CynthiaKamau in #247
- (fix) Multi-select component to initialise and display consistently in edit mode by @samuelmale in #258
- (fix) Fix conditional access check affecting patientIdentifier type fields by @gitcliff in #260
- (fix) O3-3160: Fix encounter updated snackbar message by @usamaidrsk in #264
- (fix) O3-3164 switch to openmrsFetch to fetch encounter by @pirupius in #266
- (fix) Refactor Obs Handler by @samuelmale in #263
- (fix) Fix rules of hooks violations by @denniskigen in #272
Housekeeping
- (chore) Fix Prettier glob patterns by @denniskigen in #193
- (chore) Bump turbo by @denniskigen in #199
- (chore) align and clean dependencies by @pirupius in #176
- (chore) Format stylesheets using Prettier by @denniskigen in #201
- (chore) updates readme by @pirupius in #225
- (chore) Switch @carbon/react to peer dependency by @pirupius in #236
- (chore) Enforce consistent usage of type imports by @denniskigen in #242
- (chore) Resolve mocks directory without using relative imports by @denniskigen in #252
- (chore) Bump openmrs and @openmrs/esm-framework by @denniskigen in #254
- (chore) Bump yarn by @denniskigen in #271
Docs
- (docs) Update README to include the new documentation link on wiki by @eudson in #191
- (docs) Update README by @denniskigen in #248
- (docs) Add documentation for translations, orders and markdown by @CynthiaKamau in #238
Tests
- (test) Fix warnings raised when running tests by @denniskigen in #204
- (test) Refactor tests for the Form component by @denniskigen in #207
- (test) Fix intermittently failing tests by @samuelmale in #231
- (test) Fix broken "z-score" related unit test by @samuelmale in #255
New Contributors
- @reagan-meant made their first contribution in #187
- @vasharma05 made their first contribution in #197
- @usamaidrsk made their first contribution in #196
- @WodPachua made their first contribution in #216
- @jabahum made their first contribution in #220
Full Changelog: 1.1.0...v2.0.0