Skip to content
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### 🔄 Changed

# [4.95.1](https://github.com/GetStream/stream-chat-swift/releases/tag/4.95.1)
_December 18, 2025_

## StreamChat
### 🐞 Fixed
- Fix `StreamChat` package not compiling because of -Osize unsafe flag [#3899](https://github.com/GetStream/stream-chat-swift/pull/3899)

# [4.95.0](https://github.com/GetStream/stream-chat-swift/releases/tag/4.95.0)
_December 18, 2025_

Expand Down
5 changes: 1 addition & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ let package = Package(
.target(
name: "StreamChat",
exclude: ["Info.plist"],
resources: [.copy("Database/StreamChatModel.xcdatamodeld")],
swiftSettings: [
.unsafeFlags(["-Osize"], .when(configuration: .release))
]
resources: [.copy("Database/StreamChatModel.xcdatamodeld")]
),
.target(
name: "StreamChatUI",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a href="https://sonarcloud.io/summary/new_code?id=GetStream_stream-chat-swift"><img src="https://sonarcloud.io/api/project_badges/measure?project=GetStream_stream-chat-swift&metric=coverage" /></a>
</p>
<p align="center">
<img id="stream-chat-label" alt="StreamChat" src="https://img.shields.io/badge/StreamChat-6.76%20MB-blue"/>
<img id="stream-chat-label" alt="StreamChat" src="https://img.shields.io/badge/StreamChat-8.63%20MB-blue"/>
<img id="stream-chat-ui-label" alt="StreamChatUI" src="https://img.shields.io/badge/StreamChatUI-4.91%20MB-blue"/>
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import Foundation

extension SystemEnvironment {
/// A Stream Chat version.
public static let version: String = "4.95.0"
public static let version: String = "4.95.1"
}
2 changes: 1 addition & 1 deletion Sources/StreamChat/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>4.95.0</string>
<string>4.95.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>4.95.0</string>
<string>4.95.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
4 changes: 1 addition & 3 deletions StreamChat-XCFramework.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'StreamChat-XCFramework'
spec.version = '4.95.0'
spec.version = '4.95.1'
spec.summary = 'StreamChat iOS Client'
spec.description = 'stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications.'

Expand All @@ -22,6 +22,4 @@ Pod::Spec.new do |spec|
spec.preserve_paths = "#{spec.module_name}.xcframework/*"

spec.cocoapods_version = '>= 1.11.0'

spec.pod_target_xcconfig = { 'SWIFT_OPTIMIZATION_LEVEL' => '-Osize' }
end
4 changes: 1 addition & 3 deletions StreamChat.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'StreamChat'
spec.version = '4.95.0'
spec.version = '4.95.1'
spec.summary = 'StreamChat iOS Chat Client'
spec.description = 'stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications.'

Expand All @@ -21,6 +21,4 @@ Pod::Spec.new do |spec|
spec.source = { git: 'https://github.com/GetStream/stream-chat-swift.git', tag: spec.version.to_s }
spec.source_files = ['Sources/StreamChat/**/*.swift']
spec.resource_bundles = { 'StreamChat' => ['Sources/StreamChat/**/*.xcdatamodeld'] }

spec.pod_target_xcconfig = { 'SWIFT_OPTIMIZATION_LEVEL' => '-Osize' }
end
1 change: 0 additions & 1 deletion StreamChat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14366,7 +14366,6 @@
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
SWIFT_OPTIMIZATION_LEVEL = "-Osize";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
2 changes: 1 addition & 1 deletion StreamChatArtifacts.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion StreamChatUI-XCFramework.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'StreamChatUI-XCFramework'
spec.version = '4.95.0'
spec.version = '4.95.1'
spec.summary = 'StreamChat UI Components'
spec.description = 'StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK.'

Expand Down
2 changes: 1 addition & 1 deletion StreamChatUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'StreamChatUI'
spec.version = '4.95.0'
spec.version = '4.95.1'
spec.summary = 'StreamChat UI Components'
spec.description = 'StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK.'

Expand Down