Skip to content

Commit 4abf87c

Browse files
authored
Handle all possible values for the include field in the KMP layer (internal usage) (#197)
feat(app-context): handle all possible values for the `include` field in the KMP layer
1 parent 771973e commit 4abf87c

File tree

8 files changed

+282
-91
lines changed

8 files changed

+282
-91
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: "8.2.2"
4+
version: "8.2.3"
55
schema: 1
66
changelog:
7+
- date: 2025-01-03
8+
version: 8.2.3
9+
changes:
10+
- type: feature
11+
text: "Handle all possible values for the `include` field in the KMP layer (internal usage)."
712
- date: 2024-12-11
813
version: 8.2.2
914
changes:
@@ -631,7 +636,7 @@ sdks:
631636
- distribution-type: source
632637
distribution-repository: GitHub release
633638
package-name: PubNub
634-
location: https://github.com/pubnub/swift/archive/refs/tags/8.2.2.zip
639+
location: https://github.com/pubnub/swift/archive/refs/tags/8.2.3.zip
635640
supported-platforms:
636641
supported-operating-systems:
637642
macOS:

PubNub.xcodeproj/project.pbxproj

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@
425425
3D4ED42F2B519FC500FE58C7 /* SubscriptionSessionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D4ED42E2B519FC500FE58C7 /* SubscriptionSessionTests.swift */; };
426426
3D5BE9AE2BCEA5B50091ACA7 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 3D34160A2BB5832E008558A0 /* PrivacyInfo.xcprivacy */; };
427427
3D6265D72ABCA79100FDD5E6 /* CryptorUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D6265D62ABCA79100FDD5E6 /* CryptorUtils.swift */; };
428+
3D7062C42D26AA20000729E1 /* KMPAppContextIncludeFields.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D7062C32D26AA20000729E1 /* KMPAppContextIncludeFields.swift */; };
428429
3D7411A32C171F2B002267B8 /* Int+NSNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D7411A22C171F2B002267B8 /* Int+NSNumber.swift */; };
429430
3D758DBF2AAA1C49005D2B36 /* CryptoModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D758DBE2AAA1C49005D2B36 /* CryptoModule.swift */; };
430431
3D758DC82AB06A12005D2B36 /* CryptoInputStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D758DC62AB06A12005D2B36 /* CryptoInputStream.swift */; };
@@ -1046,6 +1047,7 @@
10461047
3D452B242C05DF6D008987D4 /* KMPHereNowResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMPHereNowResult.swift; sourceTree = "<group>"; };
10471048
3D4ED42E2B519FC500FE58C7 /* SubscriptionSessionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubscriptionSessionTests.swift; sourceTree = "<group>"; };
10481049
3D6265D62ABCA79100FDD5E6 /* CryptorUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CryptorUtils.swift; sourceTree = "<group>"; };
1050+
3D7062C32D26AA20000729E1 /* KMPAppContextIncludeFields.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMPAppContextIncludeFields.swift; sourceTree = "<group>"; };
10491051
3D7411A22C171F2B002267B8 /* Int+NSNumber.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Int+NSNumber.swift"; sourceTree = "<group>"; };
10501052
3D758DBE2AAA1C49005D2B36 /* CryptoModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CryptoModule.swift; sourceTree = "<group>"; };
10511053
3D758DC62AB06A12005D2B36 /* CryptoInputStream.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CryptoInputStream.swift; sourceTree = "<group>"; };
@@ -2079,6 +2081,7 @@
20792081
3DBFF2BE2C22F21200142985 /* KMPEntity.swift */,
20802082
3DBFF2C22C2300F500142985 /* KMPSubscription.swift */,
20812083
3D3C38822C47D62700E782E7 /* KMPError.swift */,
2084+
3D7062C32D26AA20000729E1 /* KMPAppContextIncludeFields.swift */,
20822085
);
20832086
path = Wrappers;
20842087
sourceTree = "<group>";
@@ -3720,6 +3723,7 @@
37203723
35EE358C22E26A4D00E3F081 /* HTTPURLResponse+PubNub.swift in Sources */,
37213724
3D389FEE2B35AF4A006928E7 /* SubscribeTransition.swift in Sources */,
37223725
3DB925822B7AA75F001B7E90 /* Subscribable.swift in Sources */,
3726+
3D7062C42D26AA20000729E1 /* KMPAppContextIncludeFields.swift in Sources */,
37233727
3DB9257E2B7AA75F001B7E90 /* PubNubEntityEvent.swift in Sources */,
37243728
3D389FE32B35AF4A006928E7 /* EffectHandler.swift in Sources */,
37253729
350EFBE022C9573F00FA33AA /* NSLocking+PubNub.swift in Sources */,
@@ -3995,7 +3999,7 @@
39953999
"@loader_path/Frameworks",
39964000
);
39974001
MACOSX_DEPLOYMENT_TARGET = 10.15;
3998-
MARKETING_VERSION = 8.2.2;
4002+
MARKETING_VERSION = 8.2.3;
39994003
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
40004004
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
40014005
MTL_FAST_MATH = YES;
@@ -4046,7 +4050,7 @@
40464050
"@loader_path/Frameworks",
40474051
);
40484052
MACOSX_DEPLOYMENT_TARGET = 10.15;
4049-
MARKETING_VERSION = 8.2.2;
4053+
MARKETING_VERSION = 8.2.3;
40504054
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
40514055
MTL_ENABLE_DEBUG_INFO = NO;
40524056
MTL_FAST_MATH = YES;
@@ -4154,7 +4158,7 @@
41544158
"@loader_path/Frameworks",
41554159
);
41564160
MACOSX_DEPLOYMENT_TARGET = 10.15;
4157-
MARKETING_VERSION = 8.2.2;
4161+
MARKETING_VERSION = 8.2.3;
41584162
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
41594163
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
41604164
MTL_FAST_MATH = YES;
@@ -4207,7 +4211,7 @@
42074211
"@loader_path/Frameworks",
42084212
);
42094213
MACOSX_DEPLOYMENT_TARGET = 10.15;
4210-
MARKETING_VERSION = 8.2.2;
4214+
MARKETING_VERSION = 8.2.3;
42114215
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
42124216
MTL_ENABLE_DEBUG_INFO = NO;
42134217
MTL_FAST_MATH = YES;
@@ -4328,7 +4332,7 @@
43284332
"@loader_path/Frameworks",
43294333
);
43304334
MACOSX_DEPLOYMENT_TARGET = 10.15;
4331-
MARKETING_VERSION = 8.2.2;
4335+
MARKETING_VERSION = 8.2.3;
43324336
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
43334337
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
43344338
MTL_FAST_MATH = YES;
@@ -4380,7 +4384,7 @@
43804384
"@loader_path/Frameworks",
43814385
);
43824386
MACOSX_DEPLOYMENT_TARGET = 10.15;
4383-
MARKETING_VERSION = 8.2.2;
4387+
MARKETING_VERSION = 8.2.3;
43844388
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++17";
43854389
MTL_ENABLE_DEBUG_INFO = NO;
43864390
MTL_FAST_MATH = YES;
@@ -4860,7 +4864,7 @@
48604864
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
48614865
);
48624866
MACOSX_DEPLOYMENT_TARGET = 10.15;
4863-
MARKETING_VERSION = 8.2.2;
4867+
MARKETING_VERSION = 8.2.3;
48644868
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++14";
48654869
OTHER_CFLAGS = "$(inherited)";
48664870
OTHER_LDFLAGS = "$(inherited)";
@@ -4903,7 +4907,7 @@
49034907
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
49044908
);
49054909
MACOSX_DEPLOYMENT_TARGET = 10.15;
4906-
MARKETING_VERSION = 8.2.2;
4910+
MARKETING_VERSION = 8.2.3;
49074911
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++14";
49084912
OTHER_CFLAGS = "$(inherited)";
49094913
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 = '8.2.2'
3+
s.version = '8.2.3'
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.' => 'support@pubnub.com' }

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 = "8.2.2"
60+
static let pubnubSwiftSDKVersion: String = "8.2.3"
6161

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

0 commit comments

Comments
 (0)