diff --git a/CHANGELOG.md b/CHANGELOG.md index 76cb509..da9a649 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.0] + +### Added + +- Added option `.useObjectiveCClassNames` to use Classic SDK naming logic for view and view + controller names. This option will be useful for Classic SDK users when evaluating the new + autocapture SDK, as names will be consistent with existing event definitions for views. + +### Changed + +- Updated view and view controller names to include parent types, such as `enum` or + `struct` when used for code organization. + + For example, the following code will produce `Home.ViewController` instead of `ViewController`: + + ```swift + enum Home { + class ViewController: UIViewController { ... } + } + ``` + +- Increased HeapSwiftCore dependency from 0.1.2 to 0.3.0 to ensure + improvements are automatically included when updating. + +- When a control has multiple actions, the first action that is called will be used for + **Action Method**, rather than the last. This matches the behavior of the Classic SDK. + ## [0.2.1] ### Fixed @@ -48,6 +75,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Autocapture SDK targeting iOS 13.0+ and Xcode 14.0+. +[0.3.0]: https://github.com/heap/heap-ios-autocapture-sdk/releases/tag/0.3.0 [0.2.1]: https://github.com/heap/heap-ios-autocapture-sdk/releases/tag/0.2.1 [0.2.0]: https://github.com/heap/heap-ios-autocapture-sdk/releases/tag/0.2.0 [0.1.2]: https://github.com/heap/heap-ios-autocapture-sdk/releases/tag/0.1.2 diff --git a/HeapIOSAutocapture.podspec b/HeapIOSAutocapture.podspec index 1dfd60b..20fb347 100644 --- a/HeapIOSAutocapture.podspec +++ b/HeapIOSAutocapture.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'HeapIOSAutocapture' - s.version = '0.2.1' + s.version = '0.3.0' s.license = { :type => 'MIT' } s.summary = 'HeapIOSAutocapture is an iOS autocapture library for UIKit-based apps.' s.homepage = 'https://heap.io' @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.cocoapods_version = '>= 1.7.0' - s.dependency 'HeapSwiftCore', '~> 0.2' + s.dependency 'HeapSwiftCore', '~> 0.3' s.source_files = 'Sources/HeapIOSAutocapture/**/*.swift' s.vendored_frameworks = 'HeapIOSAutocaptureImplementation.xcframework' diff --git a/Package.swift b/Package.swift index b2ae7ac..bc30e11 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,7 @@ let package = Package( targets: ["HeapIOSAutocapture"]) ], dependencies: [ - .package(url: "https://github.com/heap/heap-swift-core-sdk.git", from: "0.1.2"), + .package(url: "https://github.com/heap/heap-swift-core-sdk.git", from: "0.3.0"), ], targets: [ .target( @@ -26,8 +26,8 @@ let package = Package( ]), .binaryTarget( name: "HeapIOSAutocaptureImplementation", - url: "https://cdn.heapanalytics.com/ios/heap-ios-autocapture-0.2.1.zip", - checksum: "f5d107473f1ff4b683f22e4c2d8585c968568cfcfc61a694c1c9b635627cb3e5" + url: "https://cdn.heapanalytics.com/ios/heap-ios-autocapture-0.3.0.zip", + checksum: "a7101ee9da63080bf611fd611d4eeb7cfba9ad8deda703e8a0520e3a8efc00fe" ), ] )