Releases: avniproject/avni-product
v10.0.hotfix1
avni-server
Fixes
- Prevent report cards from being unnecessarily updated during bundle upload when configuration hasn't changed - avniproject/avni-server#802
v10.0.0
Changes
Improvements to DEA usage experience
- Improve subject search performance - avniproject/avni-webapp#763
- Reduce subject profile screen load time - avniproject/avni-webapp#1259
Enhancements to dashboards - Documentation
Support for custom filters on standard report cards
- 'Due' and 'Overdue' standard type cards now support custom filters - avniproject/avni-webapp#1203, avniproject/avni-client#1381, avniproject/avni-client#1382, avniproject/avni-client#1441
- 'Recent' (formerly 'Last 24 hour..') standard type cards now support custom filters - avniproject/avni-webapp#1204, avniproject/avni-webapp#1204, avniproject/avni-webapp#1263, avniproject/avni-client#1436
- 'Total' standard type cards now support custom filters - avniproject/avni-client#1448
- Please also see the appendix.
Support disabling auto refresh on custom dashboards
Enhancements to CSV uploads
Enhancements to Location upload csv - Documentation
- Separate 'Create' and 'Edit' modes, changes to format - avniproject/avni-webapp#1213, avniproject/avni-server#760
- Sample file improvements - #1531, avniproject/avni-webapp#1211
- Handle Location parent updates via UI and csv properly - avniproject/avni-webapp#1217
Enhancements to Users and Catchments upload csv
- File format and validation improvements - avniproject/avni-webapp#1214, avniproject/avni-webapp#1255
- Sample File improvements - avniproject/avni-webapp#1146
Fixes
- Handling of invalid characters in usernames - avniproject/avni-server#707
- Invalid Glific configuration causing breakage of app designer - avniproject/avni-webapp#1208
- Execute form validation rule on visit cancellation - avniproject/avni-client#1408
- Issues with bundle upload - avniproject/avni-server#770
- DEA breaking when options not set on Duration type concept form element - avniproject/avni-webapp#1219
- Organisation deletion issues - avniproject/avni-server#777
- Display sync settings on users 'show' page - avniproject/avni-webapp#1280
- Audit update on user update - avniproject/avni-server#706
- Remove hardcoding of region in S3 and Cognito services - avniproject/avni-server#83
- Issues with creating super admin user - avniproject/avni-server#750
- Issues with creating entities with names that match voided entities of the same type - avniproject/avni-webapp#858, avniproject/avni-webapp#1209
- Issues while saving changes to form from app designer - avniproject/avni-webapp#1105
- Broken Offline Report Card view link - avniproject/avni-webapp#1256
- Media application automatic restart on server reboot - avniproject/avni-infra#31
- UI fixes in app designer while setting up offline dashboard - avniproject/avni-webapp#1181
Appendix
Dashboard, report card, filters, and group dashboard added after deployment of 10.0 will not synchronise to the mobile app on version < 10.0.
... for mobile apps on version >= 10.0 these features will work as before and normally. As the users update their mobile app to the newer version the next sync will download any the new reports, filters, dashboards made after 10.0 deployment. For new install of app >= 10.0 will also work normally. This applies to - User Group to Dashboard mapping as well. This implies that while user groups will continue to work normally but any dashboard association / addition made to the User group will not sync to old versions.
Workaround (for implementation and support teams)
This should be exercised only if it is absolutely necessary, ideally only if there are defects that need to be fixed in existing reports/dashboards/filters. It should not be exercised for delivering new reports etc. to the users, as simple app update takes care of this.
Like any other data fix, please get it reviewed before running in production.
The data fix involves setting the last modified date time to be before 10.0 deployment date and after the max last modified date time present on the mobile app for that entity type. Tables involved (dashboard, report_card, dashboard_section, dashboard_filter, dashboard_section_card_mapping & group_dashboard).
In prod environment, "End of life1" is currently set to "2024-09-27", therefore, ensure that you set the last_modified_date_time to a value between and "2024-09-27 00:00:00".
Technical explanation of why this limitation
We have developed a lot of new standard report card types and filter types in release 10.0. The older version of mobile app do not understand these and in some cases the app crashes. Specifically disallowing only the newer card types and filters is technically difficult to implement hence there is a blanket restriction. We are testing the 10.x app to make sure we can avoid putting such limitations in the future.
Criteria to evaluate whether a report_card change is eligible for back-dating through manual data-fix
select *
from report_card
where id in (
<Input your list of report_card ids here>
)
and (
(
(standard_report_card_type_id is null OR standard_report_card_type_id not in (5, 4, 9, 6, 7, 8))
AND standard_report_card_input = '{}'
)
OR
(
standard_report_card_type_id in (5, 4, 9, 6, 7, 8)
AND standard_report_card_input -> 'programs' = '[]' :: jsonb
AND standard_report_card_input -> 'subjectTypes' = '[]' :: jsonb
AND standard_report_card_input -> 'encounterTypes' = '[]' :: jsonb
AND (
standard_report_card_input -> 'recentDuration' is null
OR standard_report_card_input -> 'recentDuration' = '"{\"value\":\"1\",\"unit\":\"days\"}"'
)
)
);
The above query checks that the report card do not have any configuration that would be lost in-case this is first synced to old (<= 9.4 version ) client and then he/she upgrades to a newer version(>= 10.0) of client.
v9.4.0
avni-webapp and avni-server
Enhancements
[DEA] Enhance Sync attribute settings - avniproject/avni-server#779
Fixes
myUserGroups param shows all user groups - avniproject/avni-client#1483
Full Changelog: v9.3.2...v9.4.0
v9.3.2
avni-webapp
https://github.com/avniproject/avni-webapp/releases/tag/v9.3.2
Fixes
- Fix error while deleting encounters and program encounters from DEA - avniproject/avni-webapp#1318
v9.3.1
avni-server
Fixes
- Fix issue with org metadata setup on new org creation - avniproject/avni-server#776
v9.3.0
avni-webapp and avni-server
Enhancements
[DEA] Restriction on save based on sync strategies - avniproject/avni-webapp#1298
'Id' concept type search filter not supported on DEA - avniproject/avni-webapp#1303
Add more catgories - avniproject/avni-webapp#1304
Fixes
Delete Organisation metadata - avniproject/avni-webapp#787
Not able to edit the image on webapp - avniproject/avni-webapp#1308
Full Changelog: v9.2.0...v9.3.0
v9.2.0
avni-server
Enhancements
- Bulk subject migration by sync concepts avniproject/avni-server#747
Fixes
- Bundle issues with locations avniproject/avni-server#751
- Add organisation categories and status avniproject/avni-server#759
- Error on assinging identifiers to users avniproject/avni-server#768
avni-client
Enhancements
- App now supports Android 14 (API level 34) avniproject/avni-client#1455
Fixes
- Vaccination checklist removal of dependency is not reflected avniproject/avni-client#1474
- After clicking on vaccination app is showing the message "app will restart now".. avniproject/avni-client#1471
avni-etl
- Introduce Media Analysis table with information about following types of media sync anamolies avniproject/avni-etl#102
- Unable to upload media
- Media missing after upload
- Media Thumbnail not generated
- Duplicate entries for same media
avni-media
- On applying a filter, show loading screen till data is fetched and loaded on screen avniproject/avni-media#177
Full Changelog: v9.1.2...v9.2.0
v9.1.2
Avni-server
- Fixed Vaccination Checklist not working properly in server
Avni-webapp
- Fixed in webapp Getting Data Integrity Violation Exception while saving the form. - avniproject/avni-webapp#1105
v9.1.0
Avni-server
Fixes
- Bundle issues with deleting entities - avniproject/avni-server#752
- Fix duplicate privileges in webapp - avniproject/avni-server#721
- Fixed Queries to fix duplicate privileges - avniproject/avni-server#746
- Unable to create user with identifier prefix is fixed
- Primary and Secondary Dashboard are not applied to UserGroups during Bundle upload is fixed - avniproject/avni-server#744
Avni-client
Fixes
- Fixed Media selection issue with Android APIs for version 13
- Unable to go to Summary page is fixed - avniproject/avni-client#1439
- Fixed When we register and clicking on the sync the client app displays the 500 error
- Fixed Vaccination details is not update as expected in the new version 9.0.2
- Abnormal flag when set via rule, doesn't show up in red is fixed - avniproject/avni-client#1438
- Fixed Currently voided field in groupPrivileges table is not synced. But it needs to be synced to fix the privilege conflicts in mobile app.
- Fixed Unable to build apk due to missing dependency - avniproject/avni-client#1469
- Fixed Duplicate media observations when multiple media is allowed for the same observation - avniproject/avni-client#1470
Avni-webapp
Fixes
- [DEA] for LAHI with Remove workaround for message rule is fixed
- [DEA] Not able to select address in LAHI is fixed - avniproject/avni-webapp#1269
v9.0.2
Features:
- User able to fill forms for themselves - #1565
- User subject type creation - avniproject/avni-webapp#1189
- User able to see their own forms to fill required details related to user - avniproject/avni-client#1365
- Handle User subject type on bundle upload - avniproject/avni-server#713
- Data entry app enhancements - #1507
- Added Question group (repeatable and non-repeatable) support
- [DEA] Images do not work inside repeatable question group - avniproject/avni-webapp#1221
- [DEA] Inline display of observations with that of mobile app - avniproject/avni-webapp#759
- [DEA] Rules execution support for RQG - avniproject/avni-webapp#1171
- [DEA] Rules in RQG with other child concepts - avniproject/avni-webapp#1184
- [DEA] Add support to input values for question group - repeatable and non-repeatable - avniproject/avni-webapp#1137
- Added Media(Audio, Video and Image) support
- [DEA] Multiselect media support - avniproject/avni-webapp#1133
- Added subject concept support
- [DEA] Issue with subject form element - avniproject/avni-webapp#1173
- Search performance improvement:
- Location Search and Subject Search inputs are not debounced - avniproject/avni-webapp#1215
- Added Question group (repeatable and non-repeatable) support
- UI/UX enhancements on dashboard, search results and subject profile pages - #1527
- Search Results UI revamp - avniproject/avni-client#1372
- Landing screen UI revamp - avniproject/avni-client#1370
- Subject Dashboard UI revamp - avniproject/avni-client#1371
- Increased the no of characters of report card name on card results
Minor enhancements:
- Added categories to organisation - avniproject/avni-webapp#1147
- Improved performance of /api/subject/#id - avniproject/avni-server#718
Fixes
Avni-server
- Fixed Last Modified User is not updating when updating Subject Summary Rule - avniproject/avni-server#700
Avni-client
- When user rejects reset sync, do not further continue - avniproject/avni-client#1269
- Locations of different types at the same level not categorised by type are fixed - avniproject/avni-client#1423
- Fix weight for height z score calculation
- Fixed App crash when due date not saved for encounter - avniproject/avni-client#1430
- Fixed Missing media images in S3 - avniproject/avni-client#1420
Avni-etl
- Fixed ETL fails when there are multiple Repeatable Question Groups within a single form - avniproject/avni-etl#104
- Fixed ETL is not updating the undo exit enrolment scenario
- Escape dbUser and schemaName while setting role and granting privileges are fixed - avniproject/avni-etl#84
- Fixed Single quotes in concept name fails inETL
- Voided data for user table not available in org ETL schemas - avniproject/avni-etl#94
- All rows are expected to be in the encounter* table. Update the cancel_date_time in encounter* table
- Fixed Unable to Enable ETL for OrgGroups with large number of orgs - avniproject/avni-etl#105
Avni-webapp
- Added checks for deleting organisation - avniproject/avni-server#722
- Fixed [DEA] Edit registration is not working as expected on web app.
- Incorrect snackbar color when profile picture URL incorrect - avniproject/avni-webapp#1199
- Delete org transactional data - avniproject/avni-webapp#1101
- Fixed Images UI is broken when looking at previous encounters - avniproject/avni-webapp#1220
- Changes made for appropriate display names for encounter and programEncounter and operationalProgramName for Program
- Fixed Should not be able to create a catchment with space - avniproject/avni-webapp#1168
- Hardcoded reporting urls in home page
- Fixed In the webapp, dont provide option to select color when standard report card type is selected
rules-server
- [DEA] When a subject is kept in Edit more for like around 5 mins it crashes because it is trying to fetch random things from s3.