Version 1.2.0
This release helps implementing infrastructures (specifically CAWS) to implement web-based studies with anonymous participant invites. The underlying mechanism to do so is not different from "username" identification/authentication of users. The username simply needs to be an anonymous ID generated by the infrastructure, and the infrastructure can pass the username/password to the user using their preferred mechanism (e.g., embedded in a one-time link).
These changes require no database migration. If a relational database was used to store AccountIdentity
(instead of a document store simply storing the serialized JSON), you may need to add support to store UsernameAccountIdentity
, although this type was already defined before this release.
In addition, improvements to JavaScript sources and TypeScript declarations:
- API is now packaged as ES modules (#456)
- Export of kotlin's
Nullable
(#445) - Provide access to base properties of snapshots (#457)
Dependency updates:
- Kotlin 1.9.23
- kotlinx.serialization 1.6.3
- coroutines 1.8.0
- datetime 0.5.0
Subsystem changes
Common
- Added
Website
primary device (#465)
Studies
- Added
RecruitmentService.AddParticipant()
overload which accepts users that are identified by a username (#467). The existingAddParticipant
request object was renamed toAddParticipantByEmail
and the new method was added asAddParticipantByUsername
.
Multiplatform release accessible through Maven:
https://mvnrepository.com/artifact/dk.cachet.carp