npm install stream-chat-angular@rc stream-chat@rc
This is documentation for the release candidate
Stream Chat Angular SDK v6. For the latest stable version, see the latest version (v5).
Upgrade from v5
Install
Breaking changes
stream-chat-js@9
stream-chat-angular@6 requires a minimum version of stream-chat-js@9.
stream-chat-js@9 no longer have generic parameters to define typings for custom data stored on Stream entities (such as channel, message, user etc.). You can now provide this infromation using declaration merging.
Who is affected by this change?
- Integrators who read custom properties defined by the SDK (such as
channel.image
) - Integrators who created custom generics for custom properties
- Integrators who use custom properties without generics (the new system will cause type errors)
To see how you need to update your code please see the custom types guide
GalleryAttachmentContext
The input context of customTemplatesService.galleryAttachmentTemplate$
is changed from {attachment: Attachment}
to {attachment: GalleryAttachment}
.