Skip to content

Commit af55e10

Browse files
committed
Merge branch 'develop' into v5
2 parents e4439da + 2b12759 commit af55e10

38 files changed

+344
-280
lines changed

.swiftformat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
--rules redundantRawValues
3636
--rules redundantVoidReturnType
3737
--rules semicolons
38-
--rules sortedImports
38+
--rules sortImports
3939
--rules spaceAroundBraces
4040
--rules spaceAroundBrackets
4141
--rules spaceAroundComments
@@ -81,4 +81,4 @@
8181
--wrapcollections before-first
8282

8383
# Exclude paths
84-
--exclude Sources/StreamChatSwiftUI/Generated,Sources/StreamChatSwiftUI/StreamSwiftyGif,Sources/StreamChatSwiftUI/StreamNuke,StreamChatSwiftUITests/Tests
84+
--exclude Sources/StreamChatSwiftUI/Generated,Sources/StreamChatSwiftUI/StreamSwiftyGif,Sources/StreamChatSwiftUI/StreamNuke,vendor/bundle,Pods,spm_cache,derived_data,.build

.swiftlint.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ excluded:
55
- Sources/StreamChatSwiftUI/Generated
66
- Sources/StreamChatSwiftUI/StreamSwiftyGif
77
- Sources/StreamChatSwiftUI/StreamNuke
8+
- vendor/bundle
89

910
only_rules:
1011
- attribute_name_spacing
@@ -43,7 +44,6 @@ only_rules:
4344
- trailing_comma
4445
- trailing_newline
4546
- trailing_semicolon
46-
- trailing_whitespace
4747
- unneeded_break_in_switch
4848
- unneeded_override
4949
- unused_closure_parameter
@@ -55,8 +55,5 @@ only_rules:
5555
multiline_arguments:
5656
only_enforce_after_first_closure_on_first_line: true
5757

58-
trailing_whitespace:
59-
ignores_empty_lines: true
60-
6158
file_name_no_space:
6259
severity: error

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
33

44
# Upcoming
55

6+
### 🔄 Changed
7+
8+
# [4.90.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.90.0)
9+
_October 08, 2025_
10+
611
### ✅ Added
712
- Opens the `commandsHandler` and makes the mention methods public [#979](https://github.com/GetStream/stream-chat-swiftui/pull/979)
813
- Opens `MarkdownFormatter` so that it can be customised [#978](https://github.com/GetStream/stream-chat-swiftui/pull/978)

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
)
1717
],
1818
dependencies: [
19-
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.89.0")
19+
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.90.0")
2020
],
2121
targets: [
2222
.target(

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<p align="center">
66
<a href="https://sonarcloud.io/summary/new_code?id=GetStream_stream-chat-swiftui"><img src="https://sonarcloud.io/api/project_badges/measure?project=GetStream_stream-chat-swiftui&metric=coverage" /></a>
77

8-
<img id="stream-chat-swiftui-label" alt="StreamChatSwiftUI" src="https://img.shields.io/badge/StreamChatSwiftUI-9.43%20MB-blue"/>
8+
<img id="stream-chat-swiftui-label" alt="StreamChatSwiftUI" src="https://img.shields.io/badge/StreamChatSwiftUI-9.57%20MB-blue"/>
99
</p>
1010

1111
## SwiftUI StreamChat SDK

Scripts/GenerateSPMFileLists.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func sourceFileList(at url: URL) -> [String] {
3434
let basePathRange = path.range(of: url.path + "/")!
3535
return String(path[basePathRange.upperBound...])
3636
}
37-
.filter { $0.hasSuffix("_Tests.swift") || $0.hasSuffix("_Mock.swift") || $0.contains("__Snapshots__")}
37+
.filter { $0.hasSuffix("_Tests.swift") || $0.hasSuffix("_Mock.swift") || $0.contains("__Snapshots__") }
3838

3939
return sourceFiles
4040
}
@@ -59,8 +59,6 @@ newGeneratedContent += "] }\n"
5959

6060
newGeneratedContent += "\n"
6161

62-
63-
6462
// StreamChatUI excluded source files
6563
let streamChatUIExcludedFiles = sourceFileList(at: URL(string: "Sources/StreamChatUI")!)
6664
newGeneratedContent += "var streamChatUIFilesExcluded: [String] { [\n"

Sources/StreamChatSwiftUI/Generated/SystemEnvironment+Version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import Foundation
77

88
enum SystemEnvironment {
99
/// A Stream Chat version.
10-
public static let version: String = "4.90.0-SNAPSHOT"
10+
public static let version: String = "4.91.0-SNAPSHOT"
1111
}

Sources/StreamChatSwiftUI/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>4.89.1</string>
18+
<string>4.90.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPhotoLibraryUsageDescription</key>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Pod::Spec.new do |spec|
2+
spec.name = 'StreamChatSwiftUI-XCFramework'
3+
spec.version = '4.90.0'
4+
spec.summary = 'StreamChat SwiftUI Chat Components'
5+
spec.description = 'StreamChatSwiftUI SDK offers flexible SwiftUI components able to display data provided by StreamChat SDK.'
6+
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => 'support@getstream.io' }
10+
spec.social_media_url = 'https://getstream.io'
11+
spec.swift_version = '5.9'
12+
spec.platform = :ios, '14.0'
13+
spec.requires_arc = true
14+
15+
spec.module_name = 'StreamChatSwiftUI'
16+
spec.source = { http: "https://github.com/GetStream/stream-chat-swiftui/releases/download/#{spec.version}/#{spec.module_name}.zip" }
17+
spec.vendored_frameworks = "#{spec.module_name}.xcframework"
18+
spec.preserve_paths = "#{spec.module_name}.xcframework/*"
19+
20+
spec.framework = 'Foundation', 'UIKit', 'SwiftUI'
21+
22+
spec.dependency 'StreamChat-XCFramework', '~> 4.90.0'
23+
24+
spec.cocoapods_version = '>= 1.11.0'
25+
end

StreamChatSwiftUI.podspec

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Pod::Spec.new do |spec|
2+
spec.name = 'StreamChatSwiftUI'
3+
spec.version = '4.90.0'
4+
spec.summary = 'StreamChat SwiftUI Chat Components'
5+
spec.description = 'StreamChatSwiftUI SDK offers flexible SwiftUI components able to display data provided by StreamChat SDK.'
6+
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => 'support@getstream.io' }
10+
spec.social_media_url = 'https://getstream.io'
11+
spec.swift_version = '5.9'
12+
spec.platform = :ios, '14.0'
13+
spec.source = { git: 'https://github.com/GetStream/stream-chat-swiftui.git', tag: spec.version }
14+
spec.requires_arc = true
15+
16+
spec.source_files = ['Sources/StreamChatSwiftUI/**/*.swift']
17+
spec.exclude_files = ['Sources/StreamChatSwiftUI/**/*_Tests.swift', 'Sources/StreamChatSwiftUI/**/*_Mock.swift']
18+
spec.resource_bundles = { spec.name => ['Sources/StreamChatSwiftUI/Resources/**/*'] }
19+
20+
spec.framework = 'Foundation', 'UIKit', 'SwiftUI'
21+
22+
spec.dependency 'StreamChat', '~> 4.90.0'
23+
end

0 commit comments

Comments
 (0)