Commit 22566f8
committed
chore(release): 5.0.0 [skip ci]
# [5.0.0](v4.68.2...v5.0.0) (2024-07-09)
### Bug Fixes
* add space after mentioned user's name ([2e17132](2e17132))
* apply tooltip positioning to v5 release ([0a61d13](0a61d13))
* desktop message menu is opened even if we have a custom event handler ([a6f0f08](a6f0f08))
* don't open menu while user is scrolling ([2f5e592](2f5e592))
* make sure that `channelListSetter` respects the order of channels, and make sure it only accepts a watched channel ([c8a8be8](c8a8be8))
* message actions box not displayed ([7cbc6d4](7cbc6d4))
* message status tooltip on iOS ([b9990b8](b9990b8))
* message status tooltip trigger ([ca7877c](ca7877c))
* message to edit wasn't always properly unselected ([40c9ba2](40c9ba2))
* ngx-float-ui version ([11eff40](11eff40))
* only disable user-select for the message bubble, not the whole message area ([30000ef](30000ef))
* preserve app settings between user changes (unless API key is changed) ([bce34e6](bce34e6))
* set SDK header before sending first request ([7c3b740](7c3b740))
* small CSS fixes ([14adfd7](14adfd7))
* thread small UI fixes ([7717df8](7717df8))
* typing issue with stream-chat@8.26.0 [#592](#592) ([24b0277](24b0277))
* Update ngx-float-ui version ([67a5bb8](67a5bb8))
* update stream-chat-css version ([8e11a97](8e11a97))
### Features
* add all Angular library dependencies as peer dependencies ([393db76](393db76))
* align the default reaction set with other SDKs [#310](#310) ([bad989d](bad989d))
* allow customizing avatar size from CSS [#84](#84) [#569](#569) ([cbbf1cd](cbbf1cd))
* Allow customizing icons from CSS [#84](#84) [#575](#575) ([55bec1e](55bec1e))
* allow providing custom channel list query ([78b35a5](78b35a5))
* change edit message UI ([5d5ee65](5d5ee65))
* check file size before attempting to upload attachment ([91204fe](91204fe))
* fix message menu positions ([e173deb](e173deb))
* Keeping track of channel invite now requires opt-in ([85a44fe](85a44fe))
* make sure `channels$` stream never closes ([a5136b5](a5136b5))
* refactor message menu UI ([0706f72](0706f72))
* remove all deprecated code ([4494ed9](4494ed9))
* remove size attributom from loading indicator ([1d78bf1](1d78bf1))
* Remove theme-v1 ([03cf541](03cf541))
* replace ngx-popperjs with ngx-float-ui ([cd1a8e3](cd1a8e3))
* Update Angular to 15 ([70f20e4](70f20e4))
* Update dependecy versions ([8f217ee](8f217ee))
* update ngx-float-ui version ([95048e9](95048e9))
### BREAKING CHANGES
* the `channelListSetter` no longer accepts a `ChannelResponse`, for more information follow: https://getstream.io/chat/docs/sdk/angular/5/basics/upgrade-v4/#signature-change-for-custom-channel-list-event-handlers
* please check https://getstream.io/chat/docs/sdk/angular/5/basics/upgrade-v4/#new-message-menu-ui
* You can find the list of breaking changes in the docs:
- https://getstream.io/chat/docs/sdk/angular/5/basics/upgrade-v4/#new-message-menu-ui
- https://getstream.io/chat/docs/sdk/angular/5/basics/upgrade-v4/#type-changes
* Keeping track of pending channel invites is no longer automatic. If you want to enable this behavior you need to initialize the [`ChatClientService`](../services/ChatClientService.mdx) with the following flag:
```typescript
this.chatService.init("<API key>", "<user>", "<token provider>", {
trackPendingChannelInvites: true,
});
```
* see https://getstream.io/chat/docs/sdk/angular/5/basics/upgrade-v4/#component-customization
* see https://getstream.io/chat/docs/sdk/angular/5/basics/upgrade-v4/#component-customization
* `size` input is removed from `AvatarPlaceholderComponent`, `AvatarComponent` and `avatarTemplate$`
* the `angry` reaction is removed
* `options.keepAliveChannels$OnError` is no longer necessary, and has been removed
* please see https://getstream.io/chat/docs/sdk/angular/5/basics/upgrade-v4/#removed-deprecated-features
* -Theme-v1 is removed
-Theme-v2 stylesheet import needs to be updated to `stream-chat-angular/src/assets/styles/scss/index.scss` or `stream-chat-angular/src/assets/styles/css/index.css`
- The `MessageActionsBoxComponent` and `messageActionsBoxTemplate$` no longer accepts the `isOpen` input, the `Message` component will take care of showing/hiding the action box component
* - Angular 12-14 is no longer supported
- Event handlers with `Function` type are changed to `() => void`
- Event handlers with `any` return types are changed to `void` return type1 parent 9b1f798 commit 22566f8
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments