Releases: openmrs/openmrs-ngx-formentry
v20.0.0
What's Changed
🚀 New features
- (feat) Upgrade Angular Form Entry to Workspace v2 by @maikofelix47 in #167
- (feat) Add ngx-translate support for checkbox, radio and select labels by @donaldkibet in #169
🐛 Bug fixes
- (fix) Set number input background color to white by @icrc-jofrancisco in #168
🧹 Housekeeping
- (chore) Migrate ngx-formentry to Angular 20 by @denniskigen in #170
New Contributors
- @maikofelix47 made their first contribution in #167
Full Changelog: v19.0.1...v20.0.0
v19.0.1
What's Changed
Bug fixes
- (fix) Fix accordion behavior and radio button disable by @icrc-loliveira in #165
Full Changelog: v19.0.0...v19.0.1
v19.0.0
What's Changed
Bug fixes
- (fix) Fix typos, logic error, and remove dead code by @denniskigen in 081fc93
- (fix) Resolve failing workspace launcher by @donaldkibet in #160
- (fix) Use npm publish instead of yarn npm publish in CI by @denniskigen in 7cadc35
Housekeeping
- (chore) Migrate from Yarn Classic to Yarn Berry (4.x) by @denniskigen in #164
- (chore) Upgrade Husky from v8 to v9 by @denniskigen in cdd2468
- (chore) Upgrade jspdf from v2 to v4 by @denniskigen in 82ad32b
- (chore) Upgrade to Angular 19 by @denniskigen in #163
Full Changelog: v18.0.0...v19.0.0
v18.0.0
What's Changed
Features
- (feat) Add remote-select question type and migrate data sources to o3 schema format by @donaldkibet in #157
Housekeeping
- (chore) Bump Angular to v18 by @donaldkibet in #156
Full Changelog: v17.0.0...v18.0.0
v17.0.0
What's Changed
Breaking changes
- (chore) Bump Angular to v17 by @denniskigen in #147
Full Changelog: v5.1.0...v17.0.0
v5.1.0
What's changed
⭐️ Features
- (feat) Add export subpaths for styles by @denniskigen in #105
- (feat) Remove some cruft and unused dependencies by @denniskigen in #113
- (feat) Add form navigation links by @denniskigen in #119
- (feat) bootstrap date component to support showing
timepicker by @donaldkibet in #120 - (feat) Improved field validation UX by @denniskigen in #118
- (feat) Make datepicker placeholder aware of datePickerFormat input by @denniskigen in #121
- (feat) Only show navigation buttons on multi-page forms by @denniskigen in #123
- (feat) Added support for translations on form navigation links labels by @icrc-psousa in #126
- (feat) Enable readonly radio buttons by @donaldkibet in #109
- (feat) Add decimal rendering type by @denniskigen in #127
- (feat) Enhancement on navigation button style by @icrc-jofrancisco in #132
- (feat) O3-2972: Add disallow decimals validator by @denniskigen in #135
- (feat) Lengthy dropdown option text should be wrapped in multiple lines by @vasharma05 in #106
🐛 Bug fixes
- (fix) Better handling of diagnoses by @icrc-psousa in #103
- (fix) Resolved issue with incorrect voided diagnosis in the generated payload by @icrc-psousa in #107
- (fix) Fix ng-select dropdown position by @denniskigen in #108
- (fix) Clear values of hidden fields by @icrc-jofrancisco in #110
- (fix) Fix date picker styles in Form Entry preview by @denniskigen in #112
- (fix) O3-2763: Fix overflow issue affecting multi-select fields by @elimm in #122
- (fix) O3-2870: Form navigation fixes for RTL languages by @elimm in #124
- (fix) Fix lab orders UI in clinical forms by @denniskigen in #128
- (fix) O3-2872: Fix inconsistent data when editing obsGroups in an encounter by @icrc-loliveira in #125
- (fix) O3-2872: Fixed multiselect in obsgroup by @icrc-loliveira in #130
- (fix) Remove hidden fields from patient identifier question types by @donaldkibet in #129
- (fix) O3-3001: Form engine shouldn't send encounterDatetime when saving a new form by @vasharma05 in #131
🧹 Housekeeping
- (chore) Bump Angular to v16 by @denniskigen in #111
- (chore) Separate linting and formatting concerns by @denniskigen in #133
- (chore) Launch browser automatically on
ng serveby @denniskigen in #134
🧪 Tests
- (test) Improve AppComponent tests by @denniskigen in #114
- (test) Add unit tests for CheckboxControlComponent by @denniskigen in #115
- (test) Add unit tests for RadioButtonControlComponent by @denniskigen in #116
- (test) Add unit tests for NumberInputComponent by @denniskigen in #117
New contributors
Full Changelog: v5.0.0...v5.1.0
v5.0.0
Breaking changes
- (chore) Bump Angular to v15 by @denniskigen in #99
Features
- (feat) O3-2510: Should be able to launch Add Drug Order workspace from a form by @brandones in #95
- (feat) O3-2531: Enhance form control sizing for improved UX in tablet mode by @donaldkibet in #97
- (feat) O3-2531: Fix date-time week list and improve scrollToView by @donaldkibet in #98
- (feat) Bootstrap hide functionality for workspace launcher by @enyachoke in #100
Bug fixes
- (fix) Fix overlay stacking context so the Datepicker is not hidden on tablet by @donaldkibet in #96
Housekeeping
- (chore) Cache various tasks using turbo by @denniskigen in #101
- (chore) Bump peer dependencies to Angular 15 compatible versions by @denniskigen in #102
- (chore) Release v5.0.0 by @denniskigen in #104
Docs
- (docs) Update README by @denniskigen in #94
New contributors
- @brandones made their first contribution in #95
Thank you to all our wonderful contributors! 🎉
Full Changelog: v4.0.0...v5.0.0
v4.0.0
Highlights
Angular Form Entry v4.0.0 is a major release that bumps Angular to v13. This release also includes a number of bug fixes and improvements. The most notable changes are highlighted below:
We're now using Angular v14
The version of Angular used by this library has been bumped to v14. This means that you will need to upgrade your Angular application to v14 in order to use this library. See the Angular Update Guide for more information on how to upgrade your application.
i18n everywhere
This release adds support for translating error messages and labels within a form. Currently, only EN and FR locales have corresponding translations, though adding translations for other locales should be straightforward. Try it out by changing the locale in O3 to French and then opening a form.
BREAKING CHANGES
- (BREAKING) Bump Angular to v13 by @denniskigen in #81
- (chore) Bump Angular to v14 by @denniskigen in #88
Features
- (feat) Load observations based on form path by @icrc-loliveira in #61
- (feat) i18n: Add support to translate error messages and other form fields by @icrc-jofrancisco in #42
- (feat) i18n: Translations for error messages in the Ampath forms by @vasharma05 in #74
- (feat) Update diagnosis to support
rankandcertaintyby @donaldkibet in #78 - (feat) KH-372: Add Khmer translations for openmrs-ngx-formentry by @kazlaw in #80
- (feat) Update form-entry styling post carbon-styles upgrade by @donaldkibet in #83
- (feat) Update alert feature to show when an expression evaluates by @donaldkibet in #87
- (feat) KHP3-4179: Grey out all other options on checkbox when hideExpression is true by @donaldkibet in #91
Bug fixes
- (fix) Form field path should use questionId since this is unique per form by @icrc-psousa in #59
- (fix) Default to using the current date by @AlexanderMizgirev in #60
- (fix) Correctly split formFieldPath by @icrc-loliveira in #62
- (fix) O3-2313: Duplicate Diagnoses in Submitted JSON Form by @AlexanderMizgirev in #63
- (fix) i18n - Add TranslateModule to testBed by @icrc-jofrancisco in #70
- (fix) Publish assets from the correct directory by @donaldkibet in #84
- (fix) Multi select dropdown panel should come above the form end by @vasharma05 in #71
- (fix) Fix styling following the carbon upgrade by @donaldkibet in #83
- (fix) Width of form labels shouldn't exceed workspace width by @denniskigen in #93
Housekeeping
- (chore) Setup prettier by @denniskigen in #72
- (chore) Reuse env variables for turbo tasks by @denniskigen in #73
- (chore) Upgrade yarn by @denniskigen in #75
- (chore) Add yarn version plugin by @denniskigen in #76
- (chore) Update CI pre-release and release scripts by @ibacher in #77
- (chore) Downgrade yarn to fix publishing problems by @denniskigen in #85
-
- (chore) Release v4.0.0 by @denniskigen in #86
- (chore) Version bumps and fixes post Angular 14 upgrade by @denniskigen in #89
- (chore) Make
NPM_AUTH_TOKENavailable to CI release job by @denniskigen in #92 - (chore) Version bumps and fixes post Angular 14 upgrade by @denniskigen in #89
New contributors
- @AlexanderMizgirev made their first contribution in #60
Full Changelog: v3.2.0...v4.0.0
v3.2.0
Form Entry v3.2.0 is a minor release that includes a host of feature improvements.
Highlights
New expression helpers
We’ve added a new calcGravida helper function for computing gravida, which is the number of times a woman has been pregnant, regardless of whether these pregnancies were carried to term.
v3.2.0 also adds a new expression helper that checks whether a provided string value matches a certain regular expression. This helper can then be used to show an error message when the values do not match.
Add an adapter for creating identifiers
We’ve added an adapter to the form engine that handles the creation of identifiers in the form submission payload. This adapter also handles populating patientIdentifier type fields with existing identifiers.
Ability to reset fields dynamically
We’ve added the ability to reset fields when a field further down the hierarchy that they depend on gets disabled.
Features
- (feat) Reset value on disable by config by @icrc-agomes in #53
- (feat) KHP3-3708 Add adapter in form engine to handle creating patient identifiers by @donaldkibet in #55
- (feat) Add ability to evaluate if a string matches regular expression by @CynthiaKamau in #56
Housekeeping
- (feat) Add calculate gravida expression helper by @CynthiaKamau in #57
- (chore) Release
v3.2.0by @denniskigen in #58
New contributors
- @icrc-agomes made their first contribution in #53
- @CynthiaKamau made their first contribution in #56
Full Changelog: v3.1.1...v3.2.0
v3.1.1
What's Changed
Bug fixes
- (fix) Fixed issue where checkboxes would lose pre-selected values upon form loading by @icrc-psousa in #49
- (fix) Fix question area width by @icrc-jofrancisco in #50
Thank you to all our amazing contributors! 🎉
Full Changelog: v3.1.0...v3.1.1