From 69d2890b76567f34a6c809c55c27f5cafd1cef5f Mon Sep 17 00:00:00 2001 From: Vladimir Espinola Lezcano Date: Tue, 18 Jun 2024 11:04:30 -0400 Subject: [PATCH] Update CHANGELOG (#96) * added details on release 0.6.0 * fixed format in changelog --- CHANGELOG.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2023da2..b4cd1af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,56 @@ ## [0.6.0](https://github.com/attentive-mobile/attentive-ios-sdk/compare/0.5.1...0.6.0) (2024-06-13) +### Breaking Changes +* `ATTNEventTracker.sharedInstance()` returns now and Optional. Update your codebase accordandly to avoid operating over a nil instance. +* For **SPM**, Objective-C target **ATTNSDKFrameworkObjc** was added due to mixed languages limitations in the **Sources/** folder. Please use `import ATTNSDKFrameworkObjc` to access the following global constants. + + | Creative | + |------------| + | CREATIVE_TRIGGER_STATUS_OPENED | + | CREATIVE_TRIGGER_STATUS_CLOSED | + | CREATIVE_TRIGGER_STATUS_NOT_OPENED | + | CREATIVE_TRIGGER_STATUS_NOT_CLOSED | + + | Identity | + |------------| + | IDENTIFIER_TYPE_CLIENT_USER_ID | + | IDENTIFIER_TYPE_PHONE | + | IDENTIFIER_TYPE_EMAIL | + | IDENTIFIER_TYPE_SHOPIFY_ID | + | IDENTIFIER_TYPE_KLAVIYO_ID | + | IDENTIFIER_TYPE_CUSTOM_IDENTIFIERS | + ### Bug Fixes * App SDK CocoaPods Download Error ([91](https://github.com/attentive-mobile/attentive-ios-sdk/pull/91)) ([835836f](https://github.com/attentive-mobile/attentive-ios-sdk/commit/835836f8b7268bdb357d2c88fdefea67571ff2de)) + * [**Deprecation**] Cocoapods `attentive-ios-sdk` podspec deprecated in favor of `ATTNSDKFramework`. A Warning will be displayed in the logs after `pod install` or `pod update`. ### Feature * Migrate SDK to Swift ([92](https://github.com/attentive-mobile/attentive-ios-sdk/pull/92)) ([1c61845](https://github.com/attentive-mobile/attentive-ios-sdk/commit/1c61845c024ebd26ba4b0965ec4939789e76b097)) + * [**Deprecation**] In `ATTNEventTracker`, deprecated `init(domain: String, mode: String)` in favor of `init(domain: String, mode: ATTNSDKMode)` + * [**Deprecation**] In `ATTNEventTracker`, deprecated `record(_ event: ATTNEvent)` in favor of `record(event: ATTNEvent)` + * [**Deprecation**] `ATTNCreativeTriggerStatus` created in order to deprecated **Creative** global constants. + + | Global Constants | ATTNCreativeTriggerStatus | + |------------|------------| + | CREATIVE_TRIGGER_STATUS_OPENED | ATTNCreativeTriggerStatus.opened | + | CREATIVE_TRIGGER_STATUS_CLOSED | ATTNCreativeTriggerStatus.closed | + | CREATIVE_TRIGGER_STATUS_NOT_OPENED | ATTNCreativeTriggerStatus.notOpened | + | CREATIVE_TRIGGER_STATUS_NOT_CLOSED | ATTNCreativeTriggerStatus.notClosed | + + * [**Deprecation**] `ATTNIdentifierType` created in order to deprecated **Identity** global constants. + | Global Constants | ATTNIdentifierType | + |------------|------------| + | IDENTIFIER_TYPE_CLIENT_USER_ID | ATTNIdentifierType.clientUserId | + | IDENTIFIER_TYPE_PHONE | ATTNIdentifierType.phone | + | IDENTIFIER_TYPE_EMAIL | ATTNIdentifierType.email | + | IDENTIFIER_TYPE_SHOPIFY_ID | ATTNIdentifierType.shopifyId | + | IDENTIFIER_TYPE_KLAVIYO_ID | ATTNIdentifierType.klaviyoId | + | IDENTIFIER_TYPE_CUSTOM_IDENTIFIERS | ATTNIdentifierType.customIdentifiers | + + ## [0.5.1](https://github.com/attentive-mobile/attentive-ios-sdk/compare/0.5.0...0.5.1) (2024-05-22) ### Bug Fixes