Version 1.0.0-alpha.38
Pre-release
Pre-release
·
272 commits
to master
since this release
Common/Protocols
-
Data type changes (#331):
Acceleration
renamed toNonGravitationalAcceleration
and should hold SI unit (m/s^2) excluding gravity instead of g force.- Added
AngularVelocity
. - Both
Acceleration
andAngularVelocity
were added toSmartphone.Sensors
.
-
For known supported data stream data types on
DeviceDescriptor
, the sampling configuration is now validated (#312). -
Devices can now be configured to be optional, using
DeviceDescriptor.isOptional
(#323). -
Various new TypeScript declarations to access members of
StudyProtocolSnapshot
, including devices, tasks, and triggers.
Studies
Various changes related to managing participant group life cycle (#314):
- Added
StagedParticipantGroup
toRecruitment
domain object to store participant groups that aren't necessarily deployed yet. But, this functionality is not exposed in application service yet. ParticipantGroupStatus
is turned into a state machine with statesStaged
,Invited
,Running
, andStopped
.Invited
contains aninvitedOn
field, andStopped
astoppedOn
field.RecruitmentService.deployParticipantGroup
renamed toinviteNewParticipantGroup
.
Deployments
- Renamed
StudyDeploymentStatus.DeploymentReady
toRunning
. - Renamed
MasterDeviceDeployment.configuration
toregistration
. - Renamed
DeploymentService.deploymentSuccessful
todeviceDeployed
. - Include assigned device roles in
StudyDeploymentStatus.participantsStatus
, as the new typeParticipantStatus
which in the future will also hold information on consent, etc. (#329).
Clients
Cleaner API to obtain default sampling configurations (#318):
DeviceDescriptor.getDefaultSamplingConfiguration()
moved toRuntimeDeviceInfo.defaultSamplingConfiguration
.RuntimeDeviceInfo
can be retrieved throughMasterDeviceDeployment.getRuntimeDeviceInfo()
.- Updated documentation for client implementations which sampling configuration to use at runtime.
Major rework of client API, in line with DDD principles (#321):
- Main API, accessed through
ClientManager
has been moved to theapplication
namespace. StudyRuntime
is split intoStudy
andStudyDeploymentProxy
.Study
state is represented inStudyStatus
, representing the state based on incoming study deployment events.ClientManager.addStudy()
no longer callstryDeployment()
. You can thus add a study without trying to deploy it, at which point it will be in theDeploymentNotStarted
state.
Data
- The data subsystem now accepts data types for which no corresponding
Data
object is available at runtime (#334). - Completed tasks should be uploaded using
CompletedTask
. - Better defined
SyncPoint
behavior and helper methods (#333).
Multiplatform release accessible through Maven:
https://mvnrepository.com/artifact/dk.cachet.carp