Releases: openmrs/openmrs-esm-core
Releases · openmrs/openmrs-esm-core
v4.3.0
What's Changed
Features
app shell
login
styleguide
- (feat) Content switcher UI tweaks by @denniskigen in #611
- (fix) Restore omitted
ContentSwitcher
styles by @denniskigen in #648
Bug fixes
app shell
Documentation
- (docs) Add guidance for including conventional commit labels in PR te… by @CynthiaKamau in #651
Full Changelog: v4.2.0...v4.3.0
v4.2.0
What's Changed
Features
app shell
- (feat) Running shell with run:shell shouldn't use the CSP by @ibacher in #613
- (feat) More useful service worker registration errors by @denniskigen in #618
- (feat) Add implicit config for all registered apps (O3-1933) by @ibacher in #621
- (feat) Make core JS and CSS cacheable by @ibacher in #623
- (feat) Even more left nav UI tweaks by @denniskigen in #647
framework
- (feat) Show more useful global errors by @denniskigen in #625
primary navigation
- (feat) Add ability to auto-close the App Menu when a user clicks on a link by @donaldkibet in #608
styleguide
- (feat) Added styles for overflow menus in data tables by @vasharma05 in #612
tooling
Refactors
login
- (refactor) Refactor login experience by @denniskigen in #616
Bug fixes
framework
login
- (fix) Refactor login and location picker components by @denniskigen in #614
offline tools
- (fix) Initialize config schema for esm-offline-tools-app by @icrc-jofrancisco in #620
styleguide
- (fix) O3-1632: Search fields in the application should have an orange outline by @jona42-ui in #607
- (fix) Properly scope hyperlink styles for the left nav menu by @denniskigen in #646
tooling
Docs
- (docs) Update data fetching guide by @denniskigen in #619
Housekeeping
- (chore) Add useConnectivity mock by @denniskigen in #598
- (chore) Add french (FR) translations by @icrc-jofrancisco in #605
- (chore) Don't trigger prerelease on release commit by @ibacher in #604
- (chore) Bump Turborepo GitHub Artifacts action version by @denniskigen in #609
- (chore) Bump upload-artifact action by @denniskigen in #610
- (chore) Skip checking MD links to dev3 by @ibacher in #622
- (chore) Restore limited sourcemaps for production by @ibacher in #624
New Contributors
- @icrc-jofrancisco made their first contribution in #605
- @jona42-ui made their first contribution in #607
Full Changelog: v4.1.0...v4.2.0
v4.1.0
What's Changed
Features
implementer tools
- (feat) Remove Dev Config toggle from implementer tools by @denniskigen in #581
Fix
app shell
offline tools
- (fix) O3-1797: Hide offline tools in the patient chart when the app is online by @vasharma05 in #596
Housekeeping
- (chore) Bump swr to v2 by @denniskigen in #594
- (chore) Bump @carbon/charts dependencies by @denniskigen in #590
- (chore) update Yarn to 3.3.0 by @ibacher in #600
Documentation
- (docs) Add a link to Framework API by @ibacher in #595
- (docs) Add a link to the design system docs site by @denniskigen in #597
- (docs) Update an outdated FAQ about importmaps by @ibacher in #602
- (docs) Add prerequisite that an O3 instance needs to be created first by @gracepotma in #599
Full Changelog: v4.0.3...v4.0.4
4.0.3
What's Changed
Features
- (feat) allow configuration to override translations by @ibacher in #546
- (feat) (react-utils) extension should not re-render with state changes by @ibacher in #515
- (feat) 03-1533: Add an actionable notification component. by @hadijahkyampeire in #543
- (feat) switch assemble command to use pacote by @ibacher in #558
- (feat) Delay display of menu item tooltips by 500ms by @denniskigen in #567
- (feat) Datatable style overrides by @denniskigen in #569
- (feat) O3-1592: Updating the NewVisitPayload to include visitAttributes by @vasharma05 in #571
- (feat) Remove special handling for "core" apps and adjust docs to match by @ibacher in #573
- (feat) O3-1641: Extend
getVisitsForPatient
request to fetch visit attribute types by @vasharma05 in #575 - (feat) Add the ability to generate a manifest of actually assembled versions by @ibacher in #577
- (feat) Improvements to implementer tools concept search by @denniskigen in #582
Fixes
- (fix) Fixed the path to the importmap.json by @vasharma05 in #548
- (fix) define behavior for userHasAccess when user or privilege aren't set by @ibacher in #551
- (fix) properly load importmap from backend when using develop command by @ibacher in #554
- (fix) Fix error that appears when changing locale by @denniskigen in #560
- (fix) Fix
Offline Actions
dashboard link behaviour by @denniskigen in #564 - (fix) 03-1630: Fix bug preventing editing of boolean config properties by @donaldkibet in #570
- (fix) The 3.x UI should never prompt the user for Basic auth by @ibacher in #574
- (docs) Create README.md by @ibacher in #576
- (fix) make app shell dependencies more self-contained by @ibacher in #557
- (fix) O3-1656: Logging issues on the Login page (unnecessary delay) by @jnsereko in #586
- (fix) O3-1444: Expired login session keeps the location page stuck by @jnsereko in #580
- (fix) Fix lodash import by @denniskigen in #589
- (fix) O3-1565: Locale switcher sets backend locale by @vasharma05 in #561
Housekeeping
- (chore) Bump turborepo by @denniskigen in #549
- (chore) Change bundle size workflow event trigger by @denniskigen in #553
- (chore) Replaced prepare with postinstall by @vasharma05 in #556
- (chore) Use esbuild-loader to transpile app shell code by @denniskigen in #562
- (chore) fix esbuild-loader to be usable via CLI by @ibacher in #563
- (chore) Ensure workspace Yarn can find openmrs CLI by @ibacher in #566
- (chore) Set
minimum-change-threshold
value by @denniskigen in #565 - (chore) Remove unused font files by @denniskigen in #587
- (chore) Fix dead links by @denniskigen in #583
- (chore) Workflow tweaks by @denniskigen in #585
- (chore) Leverage remote caching in bundle size workflow by @denniskigen in #584
Documentation
- (docs) Update dev hacks section on FAQ page by @denniskigen in #568
- (docs) Provide documentation for the Dynamic Offline Data API by @manuelroemer in #559
New Contributors
- @CynthiaKamau made their first contribution in #550
Full Changelog: v4.0.2...v4.0.3
4.0.2
What's Changed
- (fix) Fixes 'openmrs develop' by @ZacButko in #519
- (chore) update to latest ejs by @ibacher in #521
- (fix) Fix module loading error in the translations systems by @denniskigen in #520
- (chore) Bump
@carbon/react
by @denniskigen in #522 - (docs) Guide version bump by @ZacButko in #525
- (docs) Update migration guide - yarn 3 by @ZacButko in #527
- (chore) upgrade to single-spa-react 5 by @ibacher in #528
- (fix) Display offline patient updates in offline tools by @manuelroemer in #516
- (fix) Fix import map overrides panel by @denniskigen in #523
- (docs) Fix dead link in setup docs by @denniskigen in #538
- (fix) Fix failing tests in CI environment by @denniskigen in #537
- (fix) Change login card border color by @denniskigen in #532
- (chore) Track bundle sizes using
compress-size-action
by @denniskigen in #539 - Revert "(fix) Fix import map overrides panel (#523)" by @denniskigen in #541
- (fix) Amend location picker translation string by @denniskigen in #534
- (feat) Adjust login card logo size by @denniskigen in #533
- (fix) Remove extraneous margin from implementer tools panel by @denniskigen in #529
- (feat) Tweak content switcher appearance by @denniskigen in #536
- (feat) Update location picker design by @denniskigen in #535
- (fix) Fix spacing of results in the location picker container by @denniskigen in #542
- (chore) Update deploy process to trigger Bamboo build by @ibacher in #544
- (chore) Remove dependency on CDN by @ibacher in #545
- v4.0.2 by @ZacButko in #547
Full Changelog: v4.0.1...v4.0.2
v4.0.1
What's Changed
- Locking packages to 3.4.0 by @ZacButko in #498
- Fix/hardcode versions by @ZacButko in #499
- (fix) fix the pre-release process failing by @ibacher in #500
- (fix) adds error handling to load modules by @ibacher in #501
- (chore) this fixes the run:shell command by @ibacher in #502
- (chore) update to Yarn v3 by @ibacher in #503
- (feat) allow extensions to take function as children instead of using wrap() by @ibacher in #505
- (fix) requiredPrivilege should not display an error if privilege is undefined by @ibacher in #504
- (chore) fix the failing CI tasks for this repo by @ibacher in #507
- (fix) ensure we only load JS on the import map by @ibacher in #506
- (fix) Revert typedoc-plugin-markdown by @ZacButko in #508
- (docs) Staying up to date, troublshooting by @ZacButko in #491
- (fix) pin semver version so backend modules aren't reported as missing by @ibacher in #509
- (docs) Update migration guide by @denniskigen in #510
- (chore) Bumps importmap by @ZacButko in #511
- (docs) Update framework v4 migration guide by @denniskigen in #512
- (docs) Amend comment to reference the correct file by @denniskigen in #514
- (fix) Fix translation system by @denniskigen in #517
- v4.0.1 by @ZacButko in #518
Full Changelog: v4.0.0...v4.0.1
4.0.0
What's Changed
This major breaking update moves the core app shell to use React 18 and Carbon V11. Apps running React 17 and below will fail to be loaded with this 4.0 version of app shell
- (fix) Warning text for useSession by @brandones in #459
- Docs: Add link to template app page by @brandones in #458
- (docs) Add link to dev docs from esm-devtools-app readme by @brandones in #461
- Fix back button altering position of card by @jwnasambu in #455
- (docs) Get rid of "conceptual overview" video by @brandones in #460
- (chore): Fix the reference to the webpack types by @ibacher in #464
- O3-1277: Extend FHIRResource type to cover more properties by @icrc-agomes in #463
- (chore): Fix size-generator by @ibacher in #462
- Use swc-loader instead of ts-loader for building the App Shell by @ibacher in #465
- Fix the file-size reporter... maybe by @ibacher in #466
- Fix: Remove duplicate overriding styles for the patient chart sideNav. by @hadijahkyampeire in #457
- (docs) Remove documentation about freeform config objects by @brandones in #468
- (docs) Add instructions about typing to Config docs by @brandones in #469
- (chore) Update openmrs tooling importmap to CDN version by @manuelroemer in #470
- (bug) Fix failing nav-link on patient-outpatient leftNav by @donaldkibet in #471
- Create a generic link extension by @brandones in #473
- (feat) Centralize ErrorState component by @ZacButko in #474
- Enhancing UserHasAccess component by @Arjun-Go in #472
- (fix) Add validator to mock by @brandones in #476
- Remove fhir.js by @ibacher in #477
- Adds @types/fhir as a dependency of esm-api by @ibacher in #480
- (feat) Change ExtensionSlot's 'extensionSlotName' prop to just 'name' by @brandones in #481
- (feat): Add implicit conditions to configuration schema by @ibacher in #475
- (fix) Prevent offline patients appearing twice in offline patient table by @manuelroemer in #479
- Global button for opening Implementer Tools by @vasharma05 in #482
- (feat) Fix extension state, improve ExtensionSlot API by @brandones in #483
- (chore) Version bump static importmap by @ZacButko in #484
- (docs) Update Migration Guide by @denniskigen in #478
- Fix versions by @ibacher in #486
- Fix versions by @ibacher in #487
- (docs) Update interpolateUrl docstrings by @ZacButko in #489
- (docs) Document process for publishing a major prerelease version by @brandones in #485
- (docs) Fix build config JSON name, add URLs to diagrams by @brandones in #488
- (feat): Add version numbers for apps and display them in the implementer tools by @ibacher in #490
- (docs) Link to extension videos in docs by @brandones in #495
- 4.0 by @brandones in #425
- (chore) Update master to main by @ZacButko in #497
New Contributors
- @icrc-agomes made their first contribution in #463
- @Arjun-Go made their first contribution in #472
Full Changelog: v3.4.0...v4.0.0
v3.4.0
Primarily, this release is being done to work around an issue with build version numbers. The major changes are noted below.
What's Changed
- O3-1242 App crashes on logout by @brandones in #423
- (fix) Prevent app crashes in certain browser environments where IndexedDB is not working properly by @manuelroemer in #427
- (chore) Update CI status badge URL by @denniskigen in #431
- 03-1291: Add New Teal Colors to the Style Guide. by @hadijahkyampeire in #433
- Create forms.md by @gracepotma in #445
- O3-1294:User should be able to navigate back to username screen by @jwnasambu in #449
- Remove source-maps in production builds by @ibacher in #451
- useVisit() shouldn't make a request to the backend without a patientUuid by @ibacher in #452
- Added explicit links to React Hooks videos by @gracepotma in #453
- (feat) Dynamic Offline Data API for Managing Offline Lists | Migration of Offline Patients from esm-patient-list-app | Offline Fixes by @manuelroemer in #447
- Update use visit hook to support loading status by @donaldkibet in #450
New Contributors
- @hadijahkyampeire made their first contribution in #433
- @jwnasambu made their first contribution in #449
Full Changelog: v3.3.1...v3.4.0
v3.3.1
This is another attempt at releasing. v3.3.0 failed because of a problem with the GitHub Actions workflow.
What's Changed
- (chore) Use quietDeps option with SASS loader by @brandones in #416
- (chore) Fix failing GitHub Actions--don't call lerna bootstrap by @brandones in #418
- v3.3.1 by @brandones in #420
Full Changelog: v3.3.0...v3.3.1
v3.3.0
What's Changed
- Update to PostCSS 8 by @ibacher in #308
- BREAKING O3-806: Migrate from openmrs-spa.org -> dev3.openmrs.org by @ibacher in #302
- chore: Fix build of esm-styleguide on CI by @ibacher in #310
- Add FAQ to docs by @brandones in #311
- (docs) Added reference to short link: om.rs/dev3docs by @gracepotma in #314
- Make it possible to override properties of each webpack rule by @brandones in #315
- Fix bug where extensions weren't updating with props by @brandones in #318
- (fix): Logo should have a left margin of 1rem by @denniskigen in #316
- (fix): Change breadcrumbs background color by @denniskigen in #317
- Take an absolute shot in the dark at fixing the build by @brandones in #321
- feat: O3-1031: Offline Actions within the Patient Chart by @manuelroemer in #313
- Removed unnecessary data from ExternalRefLinks in primary navigation's configuration by @vasharma05 in #312
- O3-908 - Combine meta and index by @FlorianRappl in #324
- (docs) Removed FAB link by @gracepotma in #328
- (docs) Improve instructions for linking the framework by @brandones in #319
- (fix) Bug where usePatient was causing superfluous refetches by @brandones in #327
- (feat) Add options parameter to translateFrom by @brandones in #329
- (docs) Fill out contributing docs from RFC-20 text by @brandones in #326
- (fix): O3-1112: Offline actions don't display offline registered patients correctly by @manuelroemer in #331
- (docs) Add support for module categories; remove cruft by @brandones in #330
- O3-1001: Added support for searching person attribute and returning the respective UUID by @vasharma05 in #325
- O3-1123: Improvements to Implementor tools's design by @vasharma05 in #333
- UI FIX for searching UUIDs in implementer's tools(e.g. concepts, personattributetype) and better readability of data by @vasharma05 in #334
- Simplify extension system again by @brandones in #335
- (fix) O3-1136: Left nav contents disappearing after resizing the screen by @brandones in #336
- (docs) Update import map overrides guidance by @denniskigen in #338
- BREAKING: Update the extensions API by @brandones in #337
- (docs) Remove errant comma from PR template by @denniskigen in #339
- (fix): Fix the failing test from 099f618 by @ibacher in #341
- App shell should depend on exact framework version by @ibacher in #340
- 03-1125: (bug) fix current visit retaining previous patient visit-data by @donaldkibet in #332
- (test) Enhancements to tests in the login app by @denniskigen in #342
- O3-104 Login ESM should have tests for config values by @nanfuka in #345
- (chore): Update vulnerable dependencies by @denniskigen in #348
- (chore): Update
react-i18next
mock in login app by @denniskigen in #347 - Added type validator for PersonAttributeTypeUuid and small UI fixes by @vasharma05 in #349
- (chore) Improvements to mocks by @brandones in #350
- (chore) Fix CI build for pre-release by @ibacher in #352
- BREAKING: Use extensionSlots as key in config instead of extensions by @brandones in #351
- (fix) Add missing swr dep to esm-react-utils by @brandones in #353
- (feat) O3-1164 Should be able to edit config JSON in implementer tools by @brandones in #354
- Fixes incorrect link to manifest in index.html by @mseaton in #355
- (enhancement) update
useVisit
hook by @donaldkibet in #356 - (fix) App not hot updating with slot config changes by @brandones in #357
- (fix) O3-1173: Patient Chart fails to load on tablet by @brandones in #359
- O3-953: Location picker does not show all locations by @vasharma05 in #343
- (test) Restore location picker tests by @denniskigen in #361
- (feat) Add support for extension config schemas by @brandones in #358
- (chore) Fix file names in login app by @denniskigen in #362
- (fix) Update importmap to latest version from dev3. by @manuelroemer in #363
- Added error checks and fixed the count of the results shown in the location picker by @vasharma05 in #364
- (docs) Improve extension declaration documentation by @brandones in #365
- (docs) Fix comment format in FAQ shell code sample by @brandones in #367
- (feat) Extension config should be available from the store by @brandones in #366
- (bugfix) Client Redirect from '/' to '/home' by @ZacButko in #368
- (fix) Service Worker Housekeeping: Remove Unused SW Events | Fix SW Startup Cycle During Initial Load by @manuelroemer in #369
- (docs) Add note to setup about troubleshooting inotify by @brandones in #370
- Search locations in the location picker not only on the basis of prefixes by @vasharma05 in #371
- BREAKING: (feat) Allow inversion of useOnClickOutside by @jnsereko in #373
- (fix) Restore missing side menu on tablet by @denniskigen in #375
- (fix) Loosen UUID validation by @ibacher in #372
- CurrentUserContext should always render children by @ibacher in #378
- Delineate public vs private API of esm-framework by @brandones in #376
- Added mock setSessionLocation to pass the tests by @vasharma05 in #377
- (test): useOnClickOutside test by @jnsereko in #379
- Revert "Delineate public vs private API of esm-framework" by @brandones in #381
- (fix) Precache importmap as part of the static dependency lifecycle | Remove obsolete XMLHttpRequest patches by @manuelroemer in #383
- (fix) Consider relative URLs when scanning the importmap for assets. by @manuelroemer in #386
- Delineate public vs private API of esm-framework - attempt #2 by @brandones in #382
- O3-857: Login should redirect to the specified page if the user has access by @jnsereko in #385
- (fix) webpack rules so that @openmrs/esm-framework/src/internal is shared correctly by @brandones in #388
- O3-1157: Added field to search and select patient identifiers from implementer tools by @vasharma05 in #380
- (feat) Unify session types by @ibacher in #387
- (feat) move from babel -> swc by @ibacher in #389
- Allow a slot to obtain its assigned extensions even if not all those extensions are registered yet by @brandones in #391
- O3-1258 Fatal errors cause crash loop by @brandones in #390
- (chore) migrate to turbo by @ibacher in #392
- (chore) Re-add enough Babel that webpack-config works by @ibacher in #393
- (docs) Update README to remove reference to ler...