Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.50.0 Release #3073

Merged
merged 16 commits into from
Mar 12, 2024
Merged

4.50.0 Release #3073

merged 16 commits into from
Mar 12, 2024

Conversation

testableapple
Copy link
Contributor

StreamChat

βœ… Added

  • Add new ChatMessage.textUpdatedAt for when the message text is edited #3059
  • Expose ClientError.errorPayload to easily check for server error details #3061

🐞 Fixed

  • Fix token provider retrying after calling disconnect #3052
  • Fix connect user never completing when disconnecting after token provider fails #3052
  • Fix current user cache not deleted on logout causing unread count issues after switching users #3055
  • Fix rare crash in startObserver() on logout when converting DTO to model in itemCreator #3053
  • Fix invalid token triggering token refresh in an infinite loop #3056
  • Do not mark a message as failed when the server returns duplicated message error #3061

StreamChatUI

βœ… Added

  • Add new Components.isMessageEditedLabelEnabled #3059
  • Add "Edited" label when a message is edited #3059
    • Note: For now, only when the text changes it is marked as edited.
  • Add message.edited localization key #3059

nuno-vieira and others added 16 commits February 28, 2024 11:49
* Change the ChatClient to singleton in the DemoApp

This is usually how customers integrate our SDK. Besides this, it is also useful to investigate connection and retry issues.

* Add a way to fake token refresh failure in the Demo App

* Fix token refresh still retrying after disconnect or logout

* Reset the number of refreshes when logging in the user again

* Fix connecting user never finishes after disconnecting when refresh token fails

* Update CHANGELOG.md

* Fix test test_clearTokenProvider_thenIsGettingTokenFalse

* Allow disconnecting user only in the Demo App
…ues after switching users (#3055)

* Fix current user cache not delete on logout causing unread count issues after switching users

* Update CHANGELOG.md
* Fix invalid token calling token refresh in an infinite loop

* Update CHANGELOG.md

* Update CHANGELOG.md
* Stop throwing InvalidModel when dto is invalid

* Update CHANGELOG.md
* Expose `textUpdatedAt` in `ChatMessage`

* When message is edited, optimistically update the `textUpdatedAt` property

* Add UI to show "Edited At" label when message text is edited

* Add LLC Tests

* Add UI Test coverage

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update Components.swift

* Fix "Edited At" label typo

* Revert optimistic updates for textUpdatedAt

* Fix edited label showing for deleted messages
…error (#3061)

* Expose `errorPayload` from server in `ClientError`

* Do not mark a message as failed when server returns duplicated message error

* Update CHANGELOG.md

* Make sure that the error is only when a duplicated message is sent

* Update CHANGELOG.md
@testableapple testableapple requested a review from a team as a code owner March 11, 2024 16:22
Copy link

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

Copy link

Build for regression testing β„–123456991 has been uploaded to TestFlight 🎁

Copy link

sonarcloud bot commented Mar 11, 2024

@GetStream GetStream deleted a comment from Stream-SDK-Bot Mar 11, 2024
@Stream-SDK-Bot
Copy link
Collaborator

StreamChat XCMetrics

target metric benchmark branch performance status
MessageList Hitches total duration 10 ms 5.01 ms 49.9% πŸ”Ό 🟒
Duration 2.6 s 2.55 s 1.92% πŸ”Ό 🟒
Hitch time ratio 4 ms per s 1.97 ms per s 50.75% πŸ”Ό 🟒
Frame rate 79 fps 78.64 fps 0.46% πŸ”Ό 🟒
Number of hitches 1 0.6 40.0% πŸ”Ό 🟒
ChannelList Hitches total duration 12.5 ms 9.18 ms 26.56% πŸ”Ό 🟒
Duration 2.6 s 2.54 s 2.31% πŸ”Ό 🟒
Hitch time ratio 5 ms per s 3.61 ms per s 27.8% πŸ”Ό 🟒
Frame rate 76 fps 74.49 fps 1.99% πŸ”Ό 🟒
Number of hitches 1.2 1.0 16.67% πŸ”Ό 🟒

@GetStream GetStream deleted a comment from Stream-SDK-Bot Mar 12, 2024
@testableapple testableapple merged commit 234c959 into main Mar 12, 2024
17 checks passed
@testableapple testableapple deleted the release/4.50.0 branch March 12, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants