Skip to content

Commit

Permalink
Releasing 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
build-heap committed Aug 7, 2023
1 parent e3a693a commit b236f4a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions HeapIOSAutocapture.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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"
),
]
)

0 comments on commit b236f4a

Please sign in to comment.