Skip to content

Commit 0676da7

Browse files
authored
Remove redundant string joining in subscription logging (#227)
1 parent 6cc02ba commit 0676da7

File tree

5 files changed

+19
-14
lines changed

5 files changed

+19
-14
lines changed

.pubnub.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
name: swift
33
scm: github.com/pubnub/swift
4-
version: "10.0.0"
4+
version: "10.0.1"
55
schema: 1
66
changelog:
7+
- date: 2025-10-23
8+
version: 10.0.1
9+
changes:
10+
- type: bug
11+
text: "Remove redundant string joining in subscription logging."
712
- date: 2025-10-21
813
version: 10.0.0
914
changes:
@@ -744,7 +749,7 @@ sdks:
744749
- distribution-type: source
745750
distribution-repository: GitHub release
746751
package-name: PubNub
747-
location: https://github.com/pubnub/swift/archive/refs/tags/10.0.0.zip
752+
location: https://github.com/pubnub/swift/archive/refs/tags/10.0.1.zip
748753
supported-platforms:
749754
supported-operating-systems:
750755
macOS:

PubNub.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4059,7 +4059,7 @@
40594059
"@loader_path/Frameworks",
40604060
);
40614061
MACOSX_DEPLOYMENT_TARGET = 10.15;
4062-
MARKETING_VERSION = 10.0.0;
4062+
MARKETING_VERSION = 10.0.1;
40634063
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
40644064
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
40654065
MTL_FAST_MATH = YES;
@@ -4110,7 +4110,7 @@
41104110
"@loader_path/Frameworks",
41114111
);
41124112
MACOSX_DEPLOYMENT_TARGET = 10.15;
4113-
MARKETING_VERSION = 10.0.0;
4113+
MARKETING_VERSION = 10.0.1;
41144114
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
41154115
MTL_ENABLE_DEBUG_INFO = NO;
41164116
MTL_FAST_MATH = YES;
@@ -4218,7 +4218,7 @@
42184218
"@loader_path/Frameworks",
42194219
);
42204220
MACOSX_DEPLOYMENT_TARGET = 10.15;
4221-
MARKETING_VERSION = 10.0.0;
4221+
MARKETING_VERSION = 10.0.1;
42224222
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
42234223
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
42244224
MTL_FAST_MATH = YES;
@@ -4271,7 +4271,7 @@
42714271
"@loader_path/Frameworks",
42724272
);
42734273
MACOSX_DEPLOYMENT_TARGET = 10.15;
4274-
MARKETING_VERSION = 10.0.0;
4274+
MARKETING_VERSION = 10.0.1;
42754275
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
42764276
MTL_ENABLE_DEBUG_INFO = NO;
42774277
MTL_FAST_MATH = YES;
@@ -4392,7 +4392,7 @@
43924392
"@loader_path/Frameworks",
43934393
);
43944394
MACOSX_DEPLOYMENT_TARGET = 10.15;
4395-
MARKETING_VERSION = 10.0.0;
4395+
MARKETING_VERSION = 10.0.1;
43964396
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
43974397
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
43984398
MTL_FAST_MATH = YES;
@@ -4444,7 +4444,7 @@
44444444
"@loader_path/Frameworks",
44454445
);
44464446
MACOSX_DEPLOYMENT_TARGET = 10.15;
4447-
MARKETING_VERSION = 10.0.0;
4447+
MARKETING_VERSION = 10.0.1;
44484448
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
44494449
MTL_ENABLE_DEBUG_INFO = NO;
44504450
MTL_FAST_MATH = YES;
@@ -4924,7 +4924,7 @@
49244924
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
49254925
);
49264926
MACOSX_DEPLOYMENT_TARGET = 10.15;
4927-
MARKETING_VERSION = 10.0.0;
4927+
MARKETING_VERSION = 10.0.1;
49284928
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++14";
49294929
OTHER_CFLAGS = "$(inherited)";
49304930
OTHER_LDFLAGS = "$(inherited)";
@@ -4967,7 +4967,7 @@
49674967
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
49684968
);
49694969
MACOSX_DEPLOYMENT_TARGET = 10.15;
4970-
MARKETING_VERSION = 10.0.0;
4970+
MARKETING_VERSION = 10.0.1;
49714971
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++14";
49724972
OTHER_CFLAGS = "$(inherited)";
49734973
OTHER_LDFLAGS = "$(inherited)";

PubNubSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PubNubSwift'
3-
s.version = '10.0.0'
3+
s.version = '10.0.1'
44
s.homepage = 'https://github.com/pubnub/swift'
55
s.documentation_url = 'https://www.pubnub.com/docs/swift-native/pubnub-swift-sdk'
66
s.authors = { 'PubNub, Inc.' => '[email protected]' }

Sources/PubNub/Helpers/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public enum Constant {
5757

5858
static let pubnubSwiftSDKName: String = "PubNubSwift"
5959

60-
static let pubnubSwiftSDKVersion: String = "10.0.0"
60+
static let pubnubSwiftSDKVersion: String = "10.0.1"
6161

6262
static let appBundleId: String = {
6363
if let info = Bundle.main.infoDictionary,

Sources/PubNub/PubNub.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ extension PubNub {
622622
operation: "internalSubscribe",
623623
details: "Triggering subscribe operation from Subscription objects",
624624
arguments: [
625-
("channels", channels.flatMap { $0.subscriptionNames.joined(separator: ", ") }),
626-
("channelGroups", groups.flatMap { $0.subscriptionNames.joined(separator: ", ") }),
625+
("channels", channels.flatMap { $0.subscriptionNames }),
626+
("channelGroups", groups.flatMap { $0.subscriptionNames }),
627627
("timetoken", timetoken)
628628
]
629629
)

0 commit comments

Comments
 (0)