Skip to content

Version 1.0.0-alpha.37

Pre-release
Pre-release
Compare
Choose a tag to compare
@Whathecode Whathecode released this 22 Sep 12:35
· 327 commits to master since this release
cd8bd29

Changes to JSON serialization format:

  • Use of optional fields in snapshots where relevant (#12): collections which may be empty, null for optional parameters, and empty strings for applicationData.
  • Optional text is nullable, rather than default empty string. This includes removing StudyInvitation.empty(), for which null is now preferred.
  • Encoding of default values can now be disabled (and is disabled by default serializer) (cfdccc6).
  • Duration is now serialized using ISO standard, rather than microseconds (#287).

Dependency updates:

  • Kotlin 1.5.31
  • coroutines 1.5.2

Common

  • BatteryAwareSampling.low is no longer nullable (f57e39d).
  • Bugfix: Make default sampling schemes in BatteryAwareSamplingScheme public (b603b9e).
  • Renamed:
    • inputType to inputDataType in ParticipantAttribute and InputDataTypeList (fa78283).
    • InputElement.name to prompt (#262).
  • MAC address builder can now use either : or - separators and accepts both lowercase and uppercase (8b28201).
  • Removed DeviceRegistration.fromJson and toJson methods (6cf30f2). Use the default json.serialization encode/decode functions instead.
  • Added DeviceDescriptor.getDefaultSamplingConfiguration() to facilitate client implementations (#311).

Deployments

  • ParticipationService.setParticipantData changed to support setting multiple participant data at once (518d05f).
  • Add protocol warning for BackgroundTask with no measures (e642397).
  • TypeScript declarations fixed for StudyDeploymentStatus and DeviceDeploymentStatus (#307).

Studies

  • TypeScript declarations fixed for StudyStatus (#307).

Clients

  • Add ClientRepository.removeStudyRuntime() (#313)

Multiplatform release accessible through Maven:
https://mvnrepository.com/artifact/dk.cachet.carp