Releases: dhis2/dhis2-android-sdk
Releases · dhis2/dhis2-android-sdk
Release 0.10.0
New features:
- Support login offline (ANDROSDK-274)
Bug fixes:
- TrackedEntityInstanceQuery: send an error when orgunit list is too long (ANDROSDK-247)
- Map event and enrollment coordinate as double on post (ANDROSDK-272)
- Tei last page download (ANDROSDK-270)
Changes in D2:
- In EventModel: rename enrollment_uid to enrollment (method name only).
- In ProgramTrackedEntityAttributeModel: rename allowFutureDates to allowFutureDate (method name only).
- In Enrollment: rename dateOfEnrollment to enrollmentDate, and dateOfIncident to incidentDate (method name only).
- New error codes for login offline (see D2ErrorCode): NO_AUTHENTICATED_USER_OFFLINE, DIFFERENT_AUTHENTICATED_USER_OFFLINE, DIFFERENT_SERVER_OFFLINE
Internal:
- Pojo-model prototype: User (ANDROSDK-253)
Release 0.9.7
New features:
- Add section forms support (ANDROSDK-88)
- Catch socket timeout exception (ANDROSDK-261)
- Manage TEI downloaded as relationship (ANDROSDK-156)
- Support for SENDMESSAGE program rule action (ANDROSDK-267)
- Support for SCHEDULEMESSAGE program rule action (ANDROSDK-268)
Bug fixes:
- Consider data element access in programs (ANDROSDK-251)
- Consider tracked entity attribute access in programs (ANDROSDK-252)
- Program rules: catch exception in evaluator (ANDROSDK-265)
Changes in D2:
- New D2 Exception: SOCKET_TIMEOUT
- New TEI state: RELATIONSHIP
- D2 Exception: INVALID_DHIS_VERSION (already there)
Internal:
- Add Stetho (possible library conflicts with App)
Release 0.9.5
New features:
- New method in D2 to sync all TEI reserved values (ANDROSDK-180)
- Do not block database when syncing metadata (ANDROSDK-221)
- Add vectorDrawable supportLibrary (ANDROSDK-241)
Bug fixes:
- Clean link table before update: ProgramStageSection - ProgramIndicator (ANDROSDK-212)
- Prune nested link on update: OptionSet - Option (ANDROSDK-234), Program - ProgramSection (ANDROSDK-223), Program - TrackedEntityAttributeValue (ANDROSDK-226), Program - ProgramRule (ANDROSDK-227), Program - ProgramRuleVariable (ANDROSDK-228), OptionSet - Option (ANDROSDK-234), Program - ProgramIndicator (ANDROSDK-230), Program - ProgramStage (ANDROSDK-233)
- Split long API calls: ANDROSDK-236, ANDROSDK-237, ANDROSDK-238 ANDROSDK-239, ANDROSDK-243
- Remove unaccessible programs (ANDROSDK-220)
Changes in D2:
- Change in D2 builder: remove context.
- Rename database table: ProgramStageSectionProgramIndicatorLinkTable to ProgramStageSectionProgramIndicatorLink
- New method in D2: syncAllTrackedEntityAttributeReservedValues()
Release 0.9.2
New features:
- D2 method to sync reserved values (ANDROSDK-206)
- Handle errors and provide list of error messages (ANDROSDK-186)
- Updated icon library. Extended with 26 new icons.
- Include temporal validity logic in reserved values (ANDROSDK-181)
Bug fixes:
- Prevent sync fail when FK errors are thrown (ANDROSDK-205)
- Same relationship names (ANDROSDK-216)
- Program indicator engine fails zero values (ANDROSDK-218)
- Login SSL program in Android 4.4 (Not tested) (ANDROSDK-217)
- Second login partially removes organisationUnit (ANDROSDK-219)
- Clean link table before update: ProgramSection - Attributes (ANDROSDK-207)
- Clean link table before update: Category - CategoryOption (ANDROSDK-213)
- Clean link table before update: Category - CategoryCombo (ANDROSDK-215)
Changes in D2:
- New method: d2.syncTrackedEntityAttributeReservedValue(atributeUid, orgunitUid)
- Changes in return value type in d2 methods: from Call<> to Callable<>
- Refactor: CategoryOptionComboCategoryLinkModel -> CategoryOptionComboCategoryOptionLinkModel (db table: name and columns)
Release 0.9.1
New features:
- Download 'n' events as an endpoint in D2. WARNING: change in D2 method from syncSingleData to donwloadSingleData (https://jira.dhis2.org/browse/ANDROSDK-168)
- Wipe DB when new user or new server URL (https://jira.dhis2.org/browse/ANDROSDK-202)
- Note model: "create" method is public (https://jira.dhis2.org/browse/ANDROSDK-157)
- Ensure API calls against version different to 2.29 fails (https://jira.dhis2.org/browse/ANDROSDK-204)
Bug fixing:
- Programs: nested fields are not updated when program is not updated (https://jira.dhis2.org/browse/ANDROSDK-142)
- Events not downloaded for program without registration (https://jira.dhis2.org/browse/ANDROSDK-198)
Release 0.9.0
New features:
- Download TEIs in Search orgunits by id. Modified method in D2 (https://jira.dhis2.org/browse/ANDROSDK-174)
- Program indicator engine. New method in D2 (https://jira.dhis2.org/browse/ANDROSDK-139)
- Program section support. New table in DB (https://jira.dhis2.org/browse/ANDROSDK-32)
- Download 'n' TEIs in total. Modified method in D2 (https://jira.dhis2.org/browse/ANDROSDK-167)
- Db migrations (https://jira.dhis2.org/browse/ANDROSDK-173)
Release 0.7.5
New features:
- Reserved values. A new method popTrackedEntityAttributeReservedValue has been added to D2 (https://jira.dhis2.org/browse/ANDROSDK-162)
- Implement online search with bigger scope. The class TrackedEntityInstanceQueryCallRealIntegrationShould shows how to use the query builder (https://jira.dhis2.org/browse/ANDROSDK-39).
- Add field min attributes required to search (https://jira.dhis2.org/browse/ANDROSDK-171)
- Adding searchable field to the programTrackedEntityAttributes (https://jira.dhis2.org/browse/ANDROSDK-165)
- Add field max records to return in TEI search at Program level (https://jira.dhis2.org/browse/ANDROSDK-36)
- Add flags (png) and icons to assets folder (https://jira.dhis2.org/browse/ANDROSDK-178)
Bug fixing:
- Resources update (https://jira.dhis2.org/browse/ANDROSDK-141)
- 414 error (URL too long) retrieving aggregate dataelements. The url has been shortened, but risk still exists (https://jira.dhis2.org/browse/ANDROSDK-166)
- Missing RuleAction for ProgramRuleActionType HIDEPROGRAMSTAGE. Quadram, please check if this solves the issue (https://jira.dhis2.org/browse/ANDROSDK-154)
Release 0.7.0
New features:
- Add support for expiry days (https://jira.dhis2.org/browse/ANDROSDK-58)
- Add support for dates in future (https://jira.dhis2.org/browse/ANDROSDK-61)
- Add support for action at event completion (https://jira.dhis2.org/browse/ANDROSDK-67)
- Add support for Color set and Icon customization (https://jira.dhis2.org/browse/ANDROSDK-34)
- Prepare location to store files (icons and DHIS2 flags) (https://jira.dhis2.org/browse/ANDROSDK-158)
Bug solving:
- The method "downloadTrackedEntityInstances" fails when limit is higher than available TEIs (https://jira.dhis2.org/browse/ANDROSDK-163)
- Add method "toContentValues" to BaseModel
- Relationships are not uploaded to the server (https://jira.dhis2.org/browse/ANDROSDK-145)
- Include periodtype "BiWeekly" (https://jira.dhis2.org/browse/ANDROSDK-149)
- Notes are not being uploaded to server (https://jira.dhis2.org/browse/ANDROSDK-143)
Internal:
- Persist auto-generated unique ID with specified pattern in SDK (2.29). At the moment this feature is not expose in D2 or scheduled (https://jira.dhis2.org/browse/ANDROSDK-49)
Release 0.6.1
New features:
- Add support for progam indicators legends (https://jira.dhis2.org/browse/ANDROSDK-47)
- Add support for Category Option start/end date (https://jira.dhis2.org/browse/ANDROSDK-128)
Bug fixing:
- Tracker programs have null trackedEntityType (https://jira.dhis2.org/browse/ANDROSDK-137)
Release 0.6.0
New features:
- Add support for event scheduling and generation (https://jira.dhis2.org/browse/ANDROSDK-63)
- Add support for Data elements – display in reports (https://jira.dhis2.org/browse/ANDROSDK-69)
- Add support for enrolemnt comments(notes) (https://jira.dhis2.org/browse/ANDROSDK-46)
- Add support for Capture coordinates at registration and TEI coordinates (https://jira.dhis2.org/browse/ANDROSDK-60)
- Add support for Shortcut link to add a relative (https://jira.dhis2.org/browse/ANDROSDK-72)
- Implement new security model (read write sharing and authorities) (https://jira.dhis2.org/browse/ANDROSDK-103)
- Download OU name for all OU path from user OU (https://jira.dhis2.org/browse/ANDROSDK-125)