Skip to content

Release 1.8.0

Compare
Choose a tag to compare
@vgarciabnz vgarciabnz released this 10 May 12:55
· 1212 commits to master since this release
154943b

Features:

Bugfix:

  • Properties "createdAtClient" and "lastUpdatedAtClient" are set to null in the device after data download (ANDROSDK-1653).
  • Property "completeBy" is ignored in events (ANDROSDK-1659).
  • Relationships are not persisted if they are download in other bundle (ANDROSDK-1645).
  • Remove incomplete or inaccessible CategoryOptionCombos (ANDROSDK-1592).

Libraries:

Breaking changes:

  • Applications must enable coreLibraryDesugaring. The SDK uses kotlinx-datetime, which requires desugaring for Android API < 26 (Google devs docs) (ANDROSDK-1632).
  • DHISVersionManager: removed shortcut methods to check the version (such as is2_38(), is2_39(),...). These methods can be easily replaced by the method isVersion(DHISVersion.V2_38), isVersion(DHISVersion.V2_39),... .
  • Remove method "withCategoryOptionCombos()" in "CategoryComboCollectionRepository". Those objects were not nested in the CategoryCombos, so it was useless.
  • UserCredentials class is simplified and the repository is marked as deprecated. The class UserCredentials has been deprecated in the backend. The SDK keeps the repository and the class with a few properties (username, name, userRoles). Now, these properties are owned by the User class, so use User class instead (ANDROSDK-1584).