Skip to content

Version 1.0.0-alpha.39

Pre-release
Pre-release
Compare
Choose a tag to compare
@Whathecode Whathecode released this 12 Feb 03:33
· 201 commits to master since this release
ab54c6b

The last release prior to a stable 1.0 release. This includes the start of some big renaming, and preparations for API stabilization.

  • JSON schemas: Starting from this release, you can find JSON schemas for all application service requests and responses under the rpc/schemas folder. In addition, example requests and responses will be added as an asset to the release. (#351)
  • Versioned API: application service request objects and integration events now carry an apiVersion with a major and minor component. Within major versions, minor versions will be backwards compatible. Helper classes will be provided by core to perform the necessary migrations. (#354, #357)

Dependency updates:

  • Kotlin 1.6.10
  • kotlinx.serialization 1.3.1

Common

  • All AggregateRoots now have an id; no more custom IDs.
  • IntegrationEvent now carries an aggregateId; implementing infrastructures need to guarantee ordering for all events sharing the same aggregateId. (#338)
  • Only lowercase and alphanumerics are allowed in NamespacedId. (#340)
  • Added an optional displayName to DeviceRegistration which front-ends can use to render concise information about registered devices without worrying about concrete types. (#350)
  • Big rename:
    • $type discriminator in JSON has been replaced with __type
    • MasterDeviceDescriptor to PrimaryDeviceConfiguration
    • MasterDeviceDeployment to PrimaryDeviceDeployment
    • DeviceDescriptor to DeviceConfiguration
    • as well as all related names and references to them, e.g., assignedPrimaryDeviceRoleNames

Protocols

  • #346 Study names still need to be unique to study owners.
  • Replaced ProtocolOwner with UUID. (#343)
  • Renamed ProtocolService.getAllFor to getAllForOwner.

Deployments

  • StudyDeploymentsRemoved event now only carries a single studyDeploymentId, so removing multiple deployments fires multiple events.
  • Renamed DeploymentRepository.getStudyBy renamed to getStudyByDeployment.

Studies

  • Replaced StudyOwner with UUID. (#343)

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