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
rank
andcertainty
by @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_TOKEN
available 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