Release 5.0.0
Changelog
Breaking Changes
- Source distribution: SDK now ships as Swift source instead of a pre-built XCFramework for both SPM and CocoaPods
- iOS 15 minimum: Deployment target raised from iOS 12 to iOS 15; all
@available(iOS 15, *)guards removed execute()/execute2step()/executeWithEvents()removed: UseselectPlacements()with a unifiedonEventcallback instead of separateonLoad,onUnLoad,onShouldShowLoadingIndicator,onShouldHideLoadingIndicator, andonEmbeddedSizeChangecallbacksviewName→identifier: Renamed acrossselectPlacements(),events(),purchaseFinalized(), andRoktLayoutRoktLayoutparameter changes:locationName→location;identifieris now requiredPlacementOptions→RoktPlacementOptions: Type renamedinitWith(onInitComplete:)callback removed: UseglobalEvents()to listen forRoktEvent.InitCompleteinsteadsetLoggingEnabled(enable:)removed: UsesetLogLevel(_:)for granular log control
For a complete migration walkthrough with before/after code examples, see the v4 → v5 Migration Guide.
Changed
- Add trunk security scanning and remove stale Cortex catalog (#114)
- Bump actions/download-artifact from 7.0.0 to 8.0.1 (#113)
- Bump actions/create-github-app-token from 2.2.1 to 3.0.0 (#112)
Added
- Migration guide for v4 to v5 upgrade (#115)