Upgrade from v5
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.name
orchannel.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
Please also checkout the upgrade guide for stream-chat-js.
GalleryAttachmentContext
The input context of customTemplatesService.galleryAttachmentTemplate$
is changed from {attachment: Attachment}
to {attachment: GalleryAttachment}
.