Releases: TelemetryDeck/SwiftSDK
2.2.1
2.2.0
This release adds support for sending Navigation signals. Navigation signals will allow you to better understand how users are navigating through your app in the future. We're releasing this part of the feature early so that you can get a head start at collecting this data.
What's Changed
Full Changelog: 2.1.1...2.2.0
2.1.1
2.1.0
This release adds the convenience methods mentioned in the new Purchases Preset and Errors Preset doc articles.
What's Changed
Full Changelog: 2.0.0...2.1.0
2.0.0
While there are no source-breaking changes in this 2.0 release, we deprecated a couple of APIs as we decided to streamline the naming conventions within our first SDK for a more consistent and clear future. You should be able to upgrade to 2.0 without any build errors, and the deprecation warnings & fix-its should guide you to be prepared for the future of TelemetryDeck!
To upgrade, you need to explicitly change the version specifier to 2.0.0 < 3.0.0
in your projects "Package Dependencies" settings.
This release represents the "Grand Rename" of this SDK, which doesn't end with the API calls, but the very GitHub repository itself was renamed from "SwiftClient" to "SwiftSDK" to be consistent with all our other SDKs. Thanks to GitHub redirections, your projects should not be affected by this change.
Most notably, the following APIs were renamed:
TelemetryManager.send("A", with: ["a": "b"])
is nowTelemetryDeck.signal("A", parameters: ["a": "b"])
- The optional
for
parameter to override the user ID was renamed tocustomUserID
to be more clear TelemetryManager.initialize(with:)
is nowTelemetryDeck.initialize(config:)
(fix-it available)TelemetryManagerConfiguration
was renamed toTelemetryDeck.Config
(without warnings)import TelemetryClient
was renamedimport TelemetryDeck
, but you need to linkTelemetryDeck
to your project to switch
The Swift Setup Guide was updated accordingly.
We also renamed our existing parameters, but with a thoughtful approach that won't break any existing insights (we are still sending the old names). Most notably, all new parameters are now namespaced with TelemetryDeck.
so there can be no name clash with your custom parameters. New useful parameters were introduced as well, such as TelemetryDeck.UserPreference.language
which gives you the language the user has set as their preference on their device, so you can learn which new languages you might want to support.
See our Grand Rename article for a full list of new parameters and a table of old & new names.
What's Changed
- New force-sync method (load-capped) to track bad experiences that might lead users to leave/delete app (improved churn tracking) by @Jeehut in #136
- [TelemetryManager] Replace fatalError With assertionFailure by @nickkohrn in #146
- Make it easier to check for appLanguage, preferredLanguage, and region + grand rename by @Jeehut in #153
Full Changelog: 1.5.1...2.0.0
Version 1.5.1
Version 1.5.0
This release prepares us for iOS 17, improves privacy, and improves VisionOS compatibility. Thanks a lot to our wonderful contributors <3
What's Changed
- Add privacy labels by @winsmith in #117
- Remove
waitsForConnectivity
by @finnvoor in #114 - Update checkout action by @winsmith in #120
- Improve Code Quality by @winsmith in #121
- Allow visionOS to use identifierForVendor by @winsmith in #119
New Contributors
Full Changelog: 1.4.4...1.5.0
Version 1.4.4
This version adds a lot of small improvements by our amazing customers and supporters. It also correctly detect's Apple's visionOS running on the Vision Pro Simulator (we can't test it on actual hardware yet).
What's Changed
- Support customisable LogHandler by @Sherlouk in #92
- send extension identifier, if provided by @Sherlouk in #93
- Add support for metadata enrichers by @Sherlouk in #94
- Fix README.md Typos by @nickkohrn in #95
- Fix warning in
Signal.isAppStore
by using#elseif
by @mrackwitz in #103 - Update README.md by @shaundon in #107
- Add support for visionOS by @winsmith in #109
New Contributors
- @Sherlouk made their first contribution in #92
- @nickkohrn made their first contribution in #95
- @mrackwitz made their first contribution in #103
- @shaundon made their first contribution in #107
Full Changelog: 1.4.3...1.4.4
Version 1.4.3
This version adds support for integrating TelemetryDeck via CocoaPods, for projects who prefer CocoaPods over Swift Package Manager.
Thanks a lot to @chrisvasselli for the contribution!
What's Changed
- Add a podspec for integration using Cocoapods. by @chrisvasselli in #91
New Contributors
- @chrisvasselli made their first contribution in #91
Full Changelog: 1.4.2...1.5.0
Version 1.4.2
This version fixes a bug #88 that made it so the isAppStore
property would always be reported as false.
If you're filtering for isAppStore
, a way around that is to add an "and" filter containing a "not isSimulator = true" and a "not isTestFlight = true".