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

Updated StreamChat dependency #488

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

# Upcoming

### 🔄 Changed
- Updated StreamChat dependency

### 🐞 Fixed
- Creating merged channel avatars logged a console warning when the source image uses extended color range [#484](https://github.com/GetStream/stream-chat-swiftui/pull/484)

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.55.0"),
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.56.0"),
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion StreamChatSwiftUI-XCFramework.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |spec|

spec.framework = "Foundation", "UIKit", "SwiftUI"

spec.dependency "StreamChat-XCFramework", "~> 4.55.0"
spec.dependency "StreamChat-XCFramework", "~> 4.56.0"

spec.cocoapods_version = ">= 1.11.0"
end
2 changes: 1 addition & 1 deletion StreamChatSwiftUI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ Pod::Spec.new do |spec|

spec.framework = "Foundation", "UIKit", "SwiftUI"

spec.dependency "StreamChat", "~> 4.55.0"
spec.dependency "StreamChat", "~> 4.56.0"
end

2 changes: 1 addition & 1 deletion StreamChatSwiftUI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3376,7 +3376,7 @@
repositoryURL = "https://github.com/GetStream/stream-chat-swift.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 4.55.0;
minimumVersion = 4.56.0;
};
};
E3A1C01A282BAC66002D1E26 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import XCTest

/// Mock implementation of APIClient allowing easy control and simulation of responses.
class APIClientMock: APIClient, StreamChatTestTools.Spy {
var recordedFunctions: [String] = []
var spyState: SpyState = .init()

/// The last endpoint `request` function was called with.
@Atomic var request_endpoint: AnyEndpoint?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ public class ChatMessageControllerSUI_Mock: ChatMessageController {
if channelId == nil {
channelId = try! .init(cid: "mock:channel")
}
return .init(client: chatClient, cid: channelId!, messageId: messageId)
return .init(
client: chatClient,
cid: channelId!,
messageId: messageId,
replyPaginationHandler: chatClient.makeMessagesPaginationStateHandler()
)
}

public var message_mock: ChatMessage?
Expand Down
Loading