Version 1.0.0-alpha.37
Pre-release
Pre-release
Whathecode
released this
22 Sep 12:35
·
327 commits
to master
since this release
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 forapplicationData
. - Optional text is nullable, rather than default empty string. This includes removing
StudyInvitation.empty()
, for whichnull
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:
- MAC address builder can now use either
:
or-
separators and accepts both lowercase and uppercase (8b28201). - Removed
DeviceRegistration.fromJson
andtoJson
methods (6cf30f2). Use the defaultjson.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
andDeviceDeploymentStatus
(#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