Skip to content

Releases: dhis2/dhis2-android-sdk

Release 0.15.0

25 Mar 16:01
d010d03
Compare
Choose a tag to compare

New features:

Changes in D2:

  • Repositories: use .withAllChildren().get() instead of getWithAllChildren().
  • (Optional) D2 Initialization: OkHttpClient and DatabaseAdapter initialized in D2. Details in D2Manager test (ANDROSDK-712, ANDROSDK-713)

Bugfix:

Release 0.14.5

06 Mar 16:22
67444b7
Compare
Choose a tag to compare

Bugfix:

Release 0.14.4

28 Feb 15:53
Compare
Choose a tag to compare

Bugfix:

Release 0.14.3

21 Feb 15:15
530c64e
Compare
Choose a tag to compare

New features:

  • Persist OptionGroups (ANDROSDK-652)
  • Persist HierarchyLevels (ANDROSDK-639)
  • Support for option and optionGroup in ProgramRuleActions (ANDROSDK-643)
  • Rendering type for ProgramStageDataElements and ProgramTrackedEntityAttributes (ANDROSDK-626)
  • Persist all authorities (ANDROSDK-661)
  • Add FormName in TEI Attributes (ANDROSDK-662)
  • Program indicator engine: return string results (ANDROSDK-608).
  • Program indicator engine: support for "event_count", "due_date", "enrollment_status" variables.

Compatibility 2.31:

  • Add featureType (captureCoordinates) in programs (ANDROSDK-665)

Bugfixing:

Release 0.14.0

07 Feb 11:14
1a60412
Compare
Choose a tag to compare

Compatibility with 2.31.0 and 2.31.1

New features:

  • TrackedEntityTypeAttribute entity: TrackedEntityType - Attribute link (ANDROSDK-492)
  • UserRoles: they are persisted in database. Required for programRules (d2:hasUserRole function)(ANDROSDK-170)
  • Identifiable and nameable filters: byUid, byName, byCreated, etc.
  • Custom filters: category, dataElementm, dataSet.
  • Method one() in CollectionRepositories.
  • Dataset module: repo allows access to datasets with nested fields (ANDROSDK-526).
  • Program module: repo allows access to programs without nested fields (ANDROSDK-531)
  • User module: new repos (user, userCredentials and authenticatedUser)

Changes in D2:

  • "login", "logout" and "isLoggedIn" methods moved to userModule. Use d2.userModule instead of d2.
  • "syncDataValues" method. Use "d2.dataValueModule().dataValues.upload()" instead of "d2.syncDataValues()".
  • "syncAggregatedData" method. Use "d2.aggregatedModule().data.download()" instead of "d2.syncAggregatedData()".
  • Events: move "downloadSingleEvents()" to "d2.eventModule().downloadSingleEvents()" and "syncSingleEvents()" to "d2.eventModule().events.upload()".
  • TrackedEntityInstances: move "downloadTrackedEntityInstances()", "downloadTrackedEntityInstancesByUid()" and "queryTrackedEntityInstances()" to "d2.trackedEntityModule(). Rename "syncTrackedEntityInstances()" to "upload()".
  • "syncDataSetCompleteRegistrations" method. Use "d2.dataSetModule().dataSetCompleteRegistrations.upload()" instead.
  • ReservedValues: move methods "popTrackedEntityAttributeReservedValue()" and "syncTrackedEntityAttributeReservedValues" to "d2.trackedEntityModule().reservedValueManager".
  • Move method "evaluateProgramIndicator()" to "d2.programModule().programIndicatorEngine".

Bug fixes:

Release 0.13.1

11 Jan 13:38
51c22a1
Compare
Choose a tag to compare

New features:

Release 0.13.0

08 Jan 14:01
ca8a565
Compare
Choose a tag to compare

New features:

Changes in D2:

  • Move performance service to maintenance module (ANDROSDK-460)
  • Method d2.downloadTrackedEntityInstances returns a Unit instead of a list of TEIs

Bug fixes:

  • Download teis / events use orgunits in both capture and search scope.
  • Event download fails depending on number of events and server status (ANDROSDK-480)

Release 0.12.0

10 Dec 06:56
a48db1d
Compare
Choose a tag to compare

New features:

Changes in d2:

  • Remove attributeCategoryOptions from EventModel (ANDROSDK-406)
  • Enrollment notes: two new fields "uid" and "state". Same behaviour than other type of data
  • New error code at login: NOT_FOUND (at login, it means there is not a valid dhis2 instance)
  • D2CallException renamed to D2Error and moved to "maintenance" package.
  • core-rules and core-rules-android modules have been deleted.
  • Changes in d2 functions related to trackedEntityAttributeReservedValues.

Bug fixes:

Internal:

  • Remove unused CategoryCategoryComboLink (ANDROSDK-412)
  • Download only necessary category / categoryCombos (ANDROSDK-379)

Release 0.10.0

06 Jul 12:39
fcdc0eb
Compare
Choose a tag to compare
Release 0.10.0 Pre-release
Pre-release

New features:

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:

Release 0.9.7

04 Jul 10:29
5f33f97
Compare
Choose a tag to compare
Release 0.9.7 Pre-release
Pre-release

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)