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.37.0 Release #2787

Merged
merged 33 commits into from
Sep 18, 2023
Merged

4.37.0 Release #2787

merged 33 commits into from
Sep 18, 2023

Conversation

ipavlidakis
Copy link
Contributor

@ipavlidakis ipavlidakis commented Sep 18, 2023

StreamChat

βœ… Added

  • - Allow injecting a custom URLSessionConfiguration in ChatClientConfig #2756
  • - Methods for deleting file and image in ChatChannelController #2776

🐞 Fixed

  • - Fix core data warnings when logging with different user #2759
  • - Fix connecting user from background thread #2762
  • - Make the Logger thread-safe to avoid crashes #2775
  • - Improve addDevice() and removeDevice() with optimistic updates #2778
  • - Fix critical issue causing a query channel call for every new message #2781
  • - Added threshold for queued messages before being sent #2780
  • - Fix memory leak caused by Timer.addTimeout() #2777

StreamChatUI

βœ… Added

  • - Add customization support for ChannelListLoadingView #2772
  • - Add support for disabling jumping to message animation #2770

🐞 Fixed

  • - Fix tapping on the status bar scrolling to the bottom instead of the top #2763
  • - Fix empty channel header view for new DM Channels #2764
  • - Fix showing copy message action when text is empty #2765
  • - Fix link preview title covering text when image is not loaded #2773
  • - Fix UI Glitch in ChannelListLoadingView with dummy data #2772
  • - Fix composer input jumping when shrink button is tapped #2774

πŸ”„ Changed

  • - Make record button in composer, visible depending on the channel's capabilities. #2758
  • - RenameComponents.chatChannelListLoadingView -> Components.channelListLoadingView #2772

ipavlidakis and others added 30 commits August 28, 2023 16:32
* Simplify logic of checking if capability exists in ChatChannel

* Fix capability logic when channel does not exist yet
…hatClient (#2756)

* Chore - possibility to inject URLSession to be used by ChatClient

* improvements from code review

* Update CHANGELOG.md

---------

Co-authored-by: Nuno Vieira <[email protected]>
* Add CoreData debugging flags to the DemoApp

* Cache the NSManagedObjectModel when creating the CoreData Stack

* Update CHANGELOG.md

* Address review feedback@
* Fix tapping on status bar scrolling to bottom instead of top

* Update CHANGELOG.md
* Fix showing copy message action when text is empty

* Update CHANGELOG.md

* Fix UI Tests
* Fix empty channel header view for new DM Channels

* Update CHANGELOG.md
* Change the DemoApp to always connect the user from BG Thread

This will make sure we test this often and don't break it

* Remove lazy initialisation of ChatClient to avoid thread-safe issues

* Change DefaultRequestEncoder to reference type

* Add comment explaining why we call connect from bg thread in the Demo App

* Fix unit tests and make sure current user id is thread-safe

* Simplify excluding current user from typing events

* Update CHANGELOG.md

* Improve DemoApp testing scenario

* Make ChatClient dependencies as constants

* Cleanup ChatClient initialization

* Move ChatClientFactory and Environment to separate files

* Fix tests not compiling
* Add support for disabling animation when jumping to message

* Add support for controlling wether jumping to a message should be animated when opening the channel

* Add configuration option in the DemoApp

* Add test coverage

* Update CHANGELOG.md

* Update typo in Components.swift
* Rename `Components.chatChannelListLoadingView` to `Components.channelListLoadingView`

* Add new `Components.channelListLoadingViewCell` and `channelListLoadingContentViewCell`

* Make SkeletonLoadable's Appearance customizable

* Fix ChannelListLoadingView UI Glitch

* Update CHANGELOG.md
* Fix preview link's title covering text when image is not loaded

* Add snapshot test coverage to link preview logic

* Update CHANGELOG.md

* Fix UI test where author was not appearing before
* Fix composer input jumping when shrink button is tapped

* Update CHANGELOG.md

* Fix UI Tests

* Reduce Snapshot Testing precision to 0.96 for better results across M1 and Intel
…2778)

* Improve addDevice() and removeDevice() with optimistic updates

* Update CHANGELOG.md
* Make Logger thread-safe to avoid crashes

* Update CHANGELOG.md

* Make the logger queue concurrent

* Forgot to make the LogCongig's queue concurrent
…#2781)

* Fix critical issue that would call watch channel for every new message sent

* Update CHANGELOG.md
* Updated the docs for logout and disconnect

* PR remarks
* Fix `AuthenticationRepository` memory leak caused by ref cycle in timer

* Fix `ConnectionRepository` memory leak caused by ref cycle in timer

* Remove unused function

* Update CHANGELOG.md
@ipavlidakis ipavlidakis requested a review from a team as a code owner September 18, 2023 10:45
@github-actions
Copy link

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

@emerge-tools
Copy link

emerge-tools bot commented Sep 18, 2023

1 build increased size

Name Version Download Change Install Change
ChatSample 1.0 (1) 4.3 MB ⬆️ 43.5 kB (1.02%) 12.1 MB ⬆️ 233.2 kB (1.99%)

ChatSample 1.0 (1)

βš–οΈ Compare build
πŸ“¦ Install build
⏱️ Analyze build performance

Total install size change: ⬆️ 233.2 kB (1.99%)
Total download size change: ⬆️ 43.5 kB (1.02%)

Largest size changes

Item Install Size Change
StreamChat.Logger.log(functionName,fileName,lineNumber,message,su... ⬆️ 123.5 kB
StreamChat.DefaultRequestDecoder.decodeRequestResponse(data,respo... ⬆️ 33.8 kB
StreamChat.DefaultRequestEncoder.addConnectionIdIfNeeded(request,... ⬆️ 27.2 kB
StreamChat.DefaultRequestEncoder.addAuthorizationHeader(request,e... ⬆️ 20.5 kB
StreamChat.LogConfig.logger.getter ⬆️ 15.1 kB

Image of diff


πŸ›Έ Powered by Emerge Tools

@github-actions
Copy link

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

@github-actions
Copy link

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

* Fix broken composer input view scrolling after shrinking input

* Update CHANGELOG.md
@github-actions
Copy link

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

@ipavlidakis ipavlidakis merged commit 65f7299 into main Sep 18, 2023
12 of 15 checks passed
@ipavlidakis ipavlidakis deleted the release/4.37.0 branch September 18, 2023 16:51
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.

7 participants