Skip to content

Version 1.2.0

Compare
Choose a tag to compare
@Whathecode Whathecode released this 18 Mar 12:10
· 6 commits to master since this release
0a465e9

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 existing AddParticipant request object was renamed to AddParticipantByEmail and the new method was added as AddParticipantByUsername.

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