Releases: Countly/countly-sdk-ios
21.11.1
21.11.1 Minor Release Notes
- Fixed a crash when some default user detail properties are set to
NSNull(thanks @lhunath) - Updated README.md for minimum supported deployment targets
21.11.0 Major Release Notes
Note: This is a major version release with possible breaking changes.
-
Updated minimum supported OS versions as
iOS 10.0,tvOS 10.0,watchOS 4.0andmacOS 10.14 -
Updated some deprecated API usage to get rid of warnings
-
Added configurable internal limits
maxKeyLength,maxValueLengthandmaxSegmentationValues -
Added
enableOrientationTrackingconfig for disabling automatic user interface orientation tracking -
Added
setNewHost:method to be able change the host on the go -
Added
shouldIgnoreTrustCheckconfig for self-signed certificates (thanks @centrinvest) -
Created additional
Countly-PL.podspecfor avoiding static framework issue on originalCountly.podspec(thanks @multinerd) -
Implemented cancelling all consents when device ID is changed without a merge
-
Implemented by-passing events consent for reserved internal events
-
Discarded consent requirement for changing device ID
-
Discarded auto metrics for Apple Watch
-
Discarded
customHeaderFieldNameandcustomHeaderFieldValueconfig properties -
Discarded
setCustomHeaderFieldValue:method -
Fixed missing nullability specifier on
CountlyCommon.h -
Fixed missing info level logs on
CountlyFeedbackWidgetclass -
Fixed missing info level logs on
CountlyUserDetailsclass -
Deprecated
userLoggedIn:anduserLoggedOutmethods -
Deprecated going back to default system device ID
-
Other various improvements
- Updated HeaderDocs, internal logs, inline notes and pragma marks
- Updated Countly project settings for Xcode 13.1
- Deleted previously deprecated methods and properties
- Refactored
connectionTypemethod
21.11.0
Note: This is a major version release with possible breaking changes.
-
Updated minimum supported OS versions as
iOS 10.0,tvOS 10.0,watchOS 4.0andmacOS 10.14 -
Updated some deprecated API usage to get rid of warnings
-
Added configurable internal limits
maxKeyLength,maxValueLengthandmaxSegmentationValues -
Added
enableOrientationTrackingconfig for disabling automatic user interface orientation tracking -
Added
setNewHost:method to be able change the host on the go -
Added
shouldIgnoreTrustCheckconfig for self-signed certificates (thanks @centrinvest) -
Created additional
Countly-PL.podspecfor avoiding static framework issue on originalCountly.podspec(thanks @multinerd) -
Implemented cancelling all consents when device ID is changed without a merge
-
Implemented by-passing events consent for reserved internal events
-
Discarded consent requirement for changing device ID
-
Discarded auto metrics for Apple Watch
-
Discarded
customHeaderFieldNameandcustomHeaderFieldValueconfig properties -
Discarded
setCustomHeaderFieldValue:method -
Fixed missing nullability specifier on
CountlyCommon.h -
Fixed missing info level logs on
CountlyFeedbackWidgetclass -
Fixed missing info level logs on
CountlyUserDetailsclass -
Deprecated
userLoggedIn:anduserLoggedOutmethods -
Deprecated going back to default system device ID
-
Other various improvements
- Updated HeaderDocs, internal logs, inline notes and pragma marks
- Updated Countly project settings for Xcode 13.1
- Deleted previously deprecated methods and properties
- Refactored
connectionTypemethod
20.11.3
- Added optional appear and dismiss callbacks for feedback widget presenting
- Added manually displayed and recorded feedback widgets support
- Fixed HTTP method check for feedback widget requests
- Implemented immediately sending of queued events when a widget event is recorded
- Excluded SECURITY.md from SPM (thanks @lhunath)
20.11.2
Warning: Next major release will be dropping support for iOS 8 and 9.
-
Added configurable internal log levels
-
Added internal logs for approximate received and sent data size for requests
-
Added numbers and boolean value types for custom user details methods
-
Added
clearCrashLogsmethod for clearing custom crash logs (breadcrumbs) -
Added
navigationItem's title as a view title fallback for view tracking -
Added Mac Catalyst support
-
Added selector precaution for
CountlyLoggerDelegatemethod call -
Added precautions for nil values in custom user details methods
-
Updated request successful check to consider response object
-
Updated default
eventSendThresholdas 100 -
Fixed
UIApplicationStateusage for crashes occured on non-main thread -
Fixed clearing custom crash logs
-
Fixed missing frameworks for
nssubspec inpodspecfile -
Fixed CountlyLoggerDelegate methods optionality
-
Fixed view tracking exception view checking
-
Fixed adding and removing view tracking exceptions on tvOS
-
Fixed cast warnings for an APM method internal log
-
Other various improvements
- Updated HeaderDocs, internal logs, inline notes and pragma marks
- Updated Countly project settings for Xcode 12.4
20.11.1
- Added
loggerDelegateinitial config property for receiving internal logs on production builds - Fixed manual view tracking state clean up when view tracking consent is cancelled (thanks @felixmusmann)
- Updated
CountlyFeedbackWidget.has public header file in Xcode project file for Carthage - Added nullability specifiers for block parameters
20.11.0
-
Added Surveys and NPS feedback widgets
-
Added Swift Package Manager support
-
Added
replaceAllAppKeysInQueueWithCurrentAppKeymethod to replace all app keys in queue with the current app key -
Added
removeDifferentAppKeysFromQueuemethod to remove all different app keys from the queue -
Added
deviceIDTypemethod to be able to check device ID type -
Added precaution and warning for
nilcrash report case -
Added
consentsinitial config property -
Added device type metric
-
Updated dismiss button design
-
Fixed web view autoresizing mask for legacy feedback widgets
-
Fixed a missing
CoreLocationframework import -
Fixed unnecessary recreation of
NSURLSessioninstances -
Fixed dismiss button layout
-
Changed interface orientation change event consent from
EventstoUserDetails -
Changed remote config consent from
AnytoRemoteConfig -
Marked
pushTestModeinitial config property as_Nullable -
Other various improvements
- Refactored picture upload data extraction
- Suppressed an internal log for interface orientation change
- Updated some constant key declarations for common use
- Updated HeaderDocs, internal logs, inline notes and pragma marks
20.04.3
Warning
Although this is a minor release (due to current version numbering conventions in Countly), it has serious changes regarding Location and Attribution features. Please make sure you read HeaderDocs for deprecated methods and properties.
-
Deprecated
recordLocation:,recordCity:andISOCountryCode:,recordIP:methods -
Added new combined
recordLocation:city:ISOCountryCode:IP:method for recording location related info -
Deprecated
enableAttributioninitial config flag -
Added
attributionIDinitial config property -
Added
recordAttributionID:method -
Discarded IDFA usage on optional attribution feature
-
Discarded
COUNTLY_EXCLUDE_IDFApreprocessor flag -
Updated
PLCrashReportersubspec dependency version specifier as~> 1 -
Other various improvements
- Updated HeaderDocs, internal logs, inline notes and pragma marks
- Updated some initial config property modifiers as
copy - Treated empty string
city,ISOCountryCodeandIPvalues asnil - Added warnings for the cases where
cityandISOCountryCodecode are not set as a pair
20.04.2
-
Implemented overriding default metrics and adding custom ones
-
Fixed advertising tracking enabled check
-
Other various improvements
- Improved internal logs for pinned certificate check
- Refactored extra slash check using
hasSuffix:method - Renamed some app life cycle observing methods for clarity
20.04.1
-
Added Application Performance Monitoring (Phase 1)
- Manual network traces
- Manual custom traces
- Semi-automatic app start time trace
- Automatic app foreground time trace
- Automatic app background time trace
- Consent handling for Application Performance Monitoring
-
Added
COUNTLY_EXCLUDE_PUSHNOTIFICATIONSflag to disable push notifications altogether in order to avoid App Store Connect warnings (thanks @grundleborg) -
Fixed an incorrect internal logging on SDK start
-
Fixed location consent order to avoid some legacy Countly Server issue with location info being unavailable even after giving consent
-
Improved
UIApplicationWillTerminateNotificationbehaviour -
Prevented recording empty string as
city,ISOCountryCodeandIPfor location info -
Applied
alwaysUsePOSTflag to feedback widget check requests -
Applied
alwaysUsePOSTflag to remote config requests -
Other various improvements
- Deleted some unnecessary imports
- Updated HeaderDocs, internal logs, inline notes and pragma marks
- Added missing frameworks to CocoaPods podspec
- Added ability to override SDK name and version for bridge SDKs
20.04
-
Added crash reporting feature for tvOS
-
Added crash reporting feature for macOS
-
Added crash reporting feature for watchOS
-
Added optional crash reporting dependency PLCrashReporter for iOS
-
Added UI orientation tracking
-
Added crash filtering with regex
-
Updated dSYM uploader script for accepting custom dSYM paths
-
Updated enableAppleWatch flag default value for independent watchOS apps
-
Fixed push notification consent method for macOS targets
-
Fixed not appearing rich push notification buttons for some cases
-
Discarded OpenGL ES version info in crash reports
-
Other various improvements
- Deleted an unnecessary UIKit import
- Added precaution for possible nil lines in backtrace
- Added precaution for possible nil OS name value
- Replaced scheduledTimerWithTimeInterval call with timerWithTimeInterval (thanks @mt-rpranata)
- Updated architerture method for crash reports
- Updated CocoaPods podspec for core subspec approach
- Updated feature, consent and push test mode specifiers as NSString typedefs
- Updated HeaderDocs, internal logs, inline notes and pragma marks