Skip to content

Collaboration Engine 5.2.0.alpha1

Pre-release
Pre-release

Choose a tag to compare

@MatthewVaadin MatthewVaadin released this 01 Jul 10:24
· 557 commits to main since this release
7a5d690

This is the first pre-release of Collaboration Engine 5.2.

New Collaboration List operation and condition

ListOperation now supports the set operation and a new ifValue condition.

ListOperation op = ListOperation.set(key, "bar").ifValue(key, "foo");
list.apply(op).getCompletableFuture().thenAccept(success -> {
    if (success) {
        log("Operation applied");
    } else {
        log("Operation failed");
    }
});

This will change the value of the key to "bar" if and only if the current value of that key is "foo".

New convenience method in the avatar group component

CollaborationAvatarGroup now provides a method that returns an avatar for the local user.

Given an instance of CollaborationAvatarGroup:

Avatar avatar = avatarGroup.createOwnAvatar();