Skip to content

Releases: dhis2/dhis2-android-sdk

Release 1.7.0

10 Nov 01:07
2dcfb0c
Compare
Choose a tag to compare

New features:

  • Data sync: notify about synchronized dataSets and programs (ANDROSDK-1550).
  • Improved analytics support: program indicator boundaries (ANDROSDK-1433), missing variables in program indicator engine (ANDROSDK-1376), missing aggregation functions (ANDROSDK-1570), expose aggregation parameter in Analytics repo (ANDROSDK-1572), filter by attributeOptionCombo (ANDROSDK-1548).
  • Event repository: filter by DataValue (ANDROSDK-1324).
  • TrackedEntity repository: catch up support for new TEI filter format (working lists) (ANDROSDK-1560).
  • FILE and IMAGE value types support: support for FILE and IMAGE value types has been extended to aggregated and tracker (ANDROSDK-1251, ANDROSDK-1567, ANDROSDK-1465).
  • Program owner - Referrals: move permanently a TEI (ANDROSDK-1545).
  • SMS synchronization: expose methods to enable synchronization with 3rd party apps (ANDROSDK-1575).

Important announcements:

  • Google Play Services have been removed from the SDK in order to make it fully open-source. This is a requirement for uploading an app to some markets, such as F-Droid. Previously, the SDK only used Google Play Services to import SafetyNet and force the installation of security patches for network connections. This task can be done by other open-source alternatives, such as Conscrypt. So now the SDK is freed of these libraries and it is the responsibility of the application to decide if using Google Play Services, Conscrypt, or none of them. Check the docs to know how to setup an alternate provider or import the Google Play Services (Docs).

Breaking changes:

  • Tracker download methods don't return D2Progress, but TrackerD2Progress (that extends D2Progress).
  • Aggregate download methods don't return D2Progress, but AggregatedD2Progress (that extends D2Progress).
  • Removed followUp, enrollmentStatus and enrollmentCreatedPeriod in TrackedEntityInstanceFilters.Builder. Use entityQueryCriteria instead.

Release 1.6.2

07 Jul 12:58
d4ecb62
Compare
Choose a tag to compare

Bugfix:

Minor breaking changes:

  • Removed periodTo and periodFrom filters in repository TrackedEntityInstanceFilterRepository.
  • Removed followUp, enrollmentStatus and enrollmentCreatedPeriod in TrackedEntityInstanceFilter.Builder.

Release 1.6.1

06 Jun 12:53
4570de5
Compare
Choose a tag to compare

Bugfix:

Performance improvements:

  • Download programIndicators relevant to the user (ANDROSDK-1519).

Release 1.6.0

29 Apr 13:59
60f5b67
Compare
Choose a tag to compare

New features:

Config:

Breaking changes:

  • The class ProgramStageSectionRendering has been renamed to SectionRendering. This class is used in both ProgramStageSection and ProgramSection. Dependent classes have been renamed as well (SectionDeviceRendering, SectionRenderingType).
  • Add missing enums. It could be a breaking change if the enum is used in a when statement without an else, it would become non-exhaustive (ANDROSDK-1526).

Release 1.5.3

10 Mar 09:13
73bc37e
Compare
Choose a tag to compare

Bugfixes:

  • Download CategoryOption - OrganisationUnit relation (ANDROSDK-1481).
  • New tracker importer: support granular synchronization of file resources (ANDROSDK-1488).
  • Do not list non-bidirectional relationships from "TO" component (ANDROSDK-1490).
  • Debugging: do not return 'temporary-url' in server errors (ANDROSDK-1493).

Release 1.5.2

01 Feb 16:18
2eeb9b5
Compare
Choose a tag to compare

Bugfixes:

  • LastUpdated is not properly used in global TEI download (ANDROSDK-1495).

Release 1.5.1

01 Feb 16:16
b3bc7f6
Compare
Choose a tag to compare
Release 1.5.1 Pre-release
Pre-release

Bugfixes:

Release 1.5.0

25 Nov 13:47
fdd2691
Compare
Choose a tag to compare

Features:

Bugfix:

Other changes:

  • Update tracker data download strategy (ANDROSDK-1413).
  • Add "syncState" and "aggregatedSyncState" properties. They replace previous "state" property (marked as deprecated) (ANDROSDK-1395).

Check the SDK documentation for more details.

Release 1.4.3

13 Sep 13:34
490e60c
Compare
Choose a tag to compare

Bugfixing:

Release 1.4.2

01 Jul 10:42
476b5be
Compare
Choose a tag to compare

Bugfixes:

  • TrackedEntityInstance synchronization: do not ignore missing elements in the import summary (ANDROSDK-1397, ANDROSDK-1399, ANDROSDK-1396).
  • TrackedEntityInstance download misbehaving under certain settings in the Android Settings app (ANDROSDK-1400).
  • Filter by eventStatus=VISITED is not working properly in 2.33 and below (ANDROSDK-1401)