Releases: openmrs/openmrs-esm-form-builder
v2.0.1
v2.0.0
Form Builder v2.0.0
is a major
release that introduces a BREAKING change. It migrates this frontend module to leverage the new module loading mechanism introduced in Core v5.
Highlights
Performance improvements
We have migrated all the frontend modules in Patient Chart to leverage the new module loading mechanism introduced in Core v5. Frontend modules now declare their static and dynamic metadata upfront, and the framework uses this information to load only the static bits when the application gets loaded for the first time while loading the dynamic bits is deferred to later when they are needed. This change delivers significant improvements to initial load time. Check out the migration guide to get a closer look at the internals of the new module loading mechanism.
Breaking changes
Features
- (feat) Automatically update translation files for all locales when keys and strings change by @vasharma05 in #153
Bug fixes
- (fix) Fix
MultiSelect
component rendering by @denniskigen in #144 - (fix) Remove deprecated
extensionSlotName
prop by @denniskigen in #147 - (fix) Change the DOM order of the form builder page by @denniskigen in #160
- (fix) O3-2191: Remove the form builder app menu link by @jwnasambu in #151
- (fix) Remove unused
formBuilderAppMenuLink
extension by @denniskigen in #164 - (fix) Update form UUID when creating a new form by @denniskigen in #167
- (fix) O3-2230: error when the label for multiselect is not specified by @AlexanderMizgirev in #162
Housekeeping
- (chore) Add a link to the form builder to the system admin interstitial page by @hadijahkyampeire in #135
- (chore) Bump
openmrs
by @denniskigen in #146 - (chore) Add CI status badge by @denniskigen in #150
- (chore) Bump
@openmrs/openmrs-form-engine-lib
by @larslemos in #152 - (chore) Switch back to
swc-loader
by @denniskigen in #158 - (chore) Update to newer versions of openmrs and @openmrs/esm-framework by @denniskigen in #161
Tests
- (test) Add E2E tests for searching and filtering the form list. by @hadijahkyampeire in #126
- (test) O3-2095: Add form publication tests by @anjula-sack in #138
- (test) Use kebab-case naming convention and BDD-like syntax by @denniskigen in #142
- (test) O3-2200: Utilize form search functionality in E2E tests by @Piumal1999 in #157
New contributors
- @Piumal1999 made their first contribution in #157
- @AlexanderMizgirev made their first contribution in #162
- @vasharma05 made their first contribution in #153
- @jwnasambu made their first contribution in #151
Thank you to all our wonderful contributors! 🎉
v1.2.0
What's Changed
Features
- (feat) Show a warning about saving schemas by @denniskigen in #85
- (feat) Create pull request template by @Jexsie in #89
- (feat) Prevent modals from closing when clicking outside by @denniskigen in #96
- (feat) Add ability to cache form-schema by @donaldkibet in #100
- (feat) Add a delete button to the forms list by @denniskigen in #114
- (feat) Add better types and stricter linting rules by @denniskigen in #116
- (feat) Change answers in edit mode when the linked concept changes by @denniskigen in #117
Refactors
- (refactor) Use bound mutate API for revalidation by @denniskigen in #115
- (refactor) Better type annotations by @denniskigen in #121
Bug fixes
- (fix) Update test patient UUID by @denniskigen in #79
- (fix) Update test patient UUID by @denniskigen in #84
- (fix) Fix errors that prevent users from saving existing forms by @denniskigen in #93
- (fix) Ensure users do not input wrong version numbers by @donaldkibet in #98
- (fix) Various fixes and improvements by @denniskigen in #107
- (fix) 03-2084: Add pagination to the form builder table and fix the modal scroll. by @hadijahkyampeire in #110
- (fix) O3-2094: Save the encounter type when the form is saved by @anjula-sack in #122
- (fix) O3-2124: Unable to save a form after an initial save by @denniskigen in #125
- (fix) Remove the need to pass a
patientUuid
to the form engine by @denniskigen in #128 - (fix) O3-2135: Unable to set form name and version by @denniskigen in #137
Housekeeping
- (chore) O3-2042: Configure E2E tests with playwright by @anjula-sack in #82
- (chore) O3-2043: Integrate E2E tests with Github Actions by @anjula-sack in #83
- (chore) Bump react-error-boundary by @denniskigen in #86
- (chore) Bump
@openmrs/openmrs-esm-form-engine
by @denniskigen in #97 - (chore) Fix
dayjs
dependency by @denniskigen in #108 - (chore) O3-2089: Disable trace recording in Playwright by @anjula-sack in #112
Tests
- (test) O3-2045: Add custom schema e2e test by @anjula-sack in #102
- (test) O3-2044: Add the dummy schema form creation e2e test by @anjula-sack in #119
- (test) O3-2046: Add the edit form E2E test by @anjula-sack in #120
- (test) O3-2047: Add a basic e2e test for the interactive builder by @denniskigen in #131
Documentation
- (docs) Link to new docs site in the interactive builder by @denniskigen in #95
New Contributors
- @anjula-sack made their first contribution in #82
- @Jexsie made their first contribution in #89
- @larslemos made their first contribution in #101
- @hadijahkyampeire made their first contribution in #110
Thank you for your excellent contributions 🎉!
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
Features
- (feat) Minor UI tweaks by @denniskigen in #71
Bug fixes
- (fix) Remove explicit use of axios by @ibacher in #67
- (fix) Append
multipart/form-data
content type to request headers by @denniskigen in #68 - (fix) Fixes a flaw in the duplicate question feature by @denniskigen in #74
- (fix) Fix errors when attempting to save a form by @denniskigen in #76
Housekeeping
- (chore) Bump Turborepo GitHub Artifacts action version by @denniskigen in #64
- (chore) Bump @ohri/openmrs-ohri-form-engine-lib by @denniskigen in #65
- (chore) Bump @ohri/openmrs-ohri-form-engine-lib by @samuelmale in #66
- (chore) Switch to the community-hosted form engine lib by @denniskigen in #70
New Contributors
- @samuelmale made their first contribution in #66
- @ibacher made their first contribution in #67
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
Features
- (feat) Improvements to the question editor by @denniskigen in #55
Bug Fixes
- (fix) Fix default test patient UUID by @denniskigen in #56
- (fix) O3-1792: Fix issues with retrieving form resources when both HTML and JSON resources exist by @donaldkibet in #61
Housekeeping
- (chore) Add CHANGELOG.md by @denniskigen in #60
New Contributors
- @donaldkibet made their first contribution in #61
v1.0.0
What's Changed
Features
- (feat) Landing page UI tweaks by @denniskigen in #13
- (feat) Move error rendering logic to components by @denniskigen in #16
- (feat) Add breadcrumbs navigation by @denniskigen in #18
- (feat) Reorganise routing by @denniskigen in #22
- (feat) Improvements to the forms dashboard by @denniskigen in #28
- (feat) Use props instead of context for state management by @denniskigen in #25
- (feat) Improvements to the form publishing workflow by @denniskigen in #27
- (feat) Improvements to the form renderer by @denniskigen in #30
- (feat) Improvements to the form editor UI by @denniskigen in #31
- (feat) Schema editor UI improvements by @denniskigen in #32
- (feat) Interactive schema builder by @denniskigen in #34
- (feat) Editor mode by @denniskigen in #35
- (feat) Change breadcrumbs menu background color by @denniskigen in #48
- (feat) Resolve concept names from UUIDs when editing questions by @denniskigen in #47
- (feat) Make embedded editor react to schema changes by @denniskigen in #49
- (feat) Display indent guides in schema editor by @denniskigen in #52
- (feat) Add the ability to delete schema properties interactively by @denniskigen in #53
- (feat) Add the ability to duplicate questions by @denniskigen in #54
- (feat) O3-1337: Initialise the project environment by @kumuditha-udayanga in #1
- (feat) O3-1383 Implement the Dashboard component by @kumuditha-udayanga in #2
- (feat) O3-1438: Implement the Schema Editor Component by @kumuditha-udayanga in #3
- (feat) Implement save form feature by @kumuditha-udayanga in #4
- (feat) O3-1500: Implement interactive form-builder component by @kumuditha-udayanga in #5
- (feat) O3-1524: Implement form viewer component by @kumuditha-udayanga in #6
Fixes
- (fix) Amend patientUuid config property by @denniskigen in #29
- (fix) Remove POC prefix requirement and modify useForm hook by @denniskigen in #40
- (fix) Fix forms list filtering by @denniskigen in #44
- (fix) Fix ace editor console warnings by @denniskigen in #46
- (fix) Fix styling of the error message container by @denniskigen in #51
Documentation
- (docs) README enhancements by @denniskigen in #50
Refactors
- (refactor) Reorganise and rename components by @denniskigen in #26
- (refactor) Code improvements by @denniskigen in #33
- (refactor) Move hooks into their own directory by @denniskigen in #15
- (refactor) Refactor useFormClobdata hook by @denniskigen in #19
- (refactor) Refactor useFormMetadata hook by @denniskigen in #20
- (refactor) Remove some unused code by @denniskigen in #42
Housekeeping
- (chore) adds-form-builder-to-app-menu by @pirupius in #7
- (chore) Update versions featuring Carbon v11 by @pirupius in #8
- (chore) Configure ESLint rules for carbon and lodash imports by @denniskigen in #11
- (chore) Upgrade yarn to v3 by @denniskigen in #9
- (chore) Bump dependencies by @denniskigen in #12
- (chore) Bump dependencies by @denniskigen in #14
- (chore) Add Turborepo by @denniskigen in #21
- (chore) Move Git hooks into husky dir by @denniskigen in #24
- (chore) Monitor bundle sizes using compressed-size-action by @denniskigen in #23
- (chore) Bump dependencies by @denniskigen in #37
- (chore) Fix pre-release and deploy jobs by @denniskigen in #36
- (chore) Install version plugin by @denniskigen in #38
- (chore) Use lerna for versioning by @denniskigen in #39
- (chore) Automatically extract translation strings by @denniskigen in #17
- (chore) Revert to standard pre-release approach by @denniskigen in #41
- (chore) Fixed issue with yarn pack ignoring dist by @FlorianRappl in #43
- (test) Add tests for the Dashboard component by @denniskigen in #45
New Contributors
- @kumuditha-udayanga made their first contribution in #1
- @pirupius made their first contribution in #7
- @denniskigen made their first contribution in #11
- @FlorianRappl made their first contribution in #43
Full Changelog: https://github.com/openmrs/openmrs-esm-form-builder/commits/v1.0.0