Skip to content

Commit 7701987

Browse files
authored
[PA-3858] Release 0.5.2 with new property capture option (#148)
1 parent 29eade5 commit 7701987

File tree

7 files changed

+23
-10
lines changed

7 files changed

+23
-10
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
1414
## [Unreleased]
1515

16+
## [0.5.2]
17+
18+
### Added
19+
20+
- Added `enableInteractionReferencingPropertyCapture`, which will be used in heap-ios-autocapture
21+
0.5.0 and later to enable "Target Ivar" capture. The feature is off-by-default to avoid edge
22+
conditions that can cause Swift's `Mirror` functionality to crash.
23+
24+
### Deprecated
25+
26+
- Deprecated `disableInteractionReferencingPropertyCapture` in favor of off-by-default behavior.
27+
1628
## [0.5.1]
1729

1830
### Fixed
@@ -152,7 +164,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
152164
- Support for manual capture within WKWebView.
153165
- Support for platforms targeting Swift: macOS, watchOS, iOS, iPadOS, tvOS.
154166

155-
[Unreleased]: https://github.com/heap/heap-swift-core-sdk/compare/0.5.1...main
167+
[Unreleased]: https://github.com/heap/heap-swift-core-sdk/compare/0.5.2...main
168+
[0.5.2]: https://github.com/heap/heap-swift-core-sdk/compare/0.5.1...0.5.2
156169
[0.5.1]: https://github.com/heap/heap-swift-core-sdk/compare/0.5.0...0.5.1
157170
[0.5.0]: https://github.com/heap/heap-swift-core-sdk/compare/0.4.0...0.5.0
158171
[0.4.0]: https://github.com/heap/heap-swift-core-sdk/compare/0.3.1...0.4.0

DevTools/ValidateCorePodspec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pod repo update trunk
2121

2222
echo "--- Linting ${POD_NAME}.podspec"
2323

24-
pod lib lint "${POD_NAME}.podspec"
24+
pod lib lint --allow-warnings "${POD_NAME}.podspec"
2525
# WARNING: The above line fails on more recent versions of Xcode because they
2626
# broke macOS 10.9 support, which is what SwiftProtobuf specifies.
2727

Development/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ let package = Package(
3434
]),
3535
.binaryTarget(
3636
name: "HeapSwiftCoreInterfaces",
37-
url: "https://cdn.heapanalytics.com/ios/heap-swift-core-interfaces-0.5.2.zip", // END HeapSwiftCoreInterfaces URL
38-
checksum: "6afe860f601ffa3acfc84a5c51d503ff0c074ad4325b46f7d19f8bb218c477d4" // END HeapSwiftCoreInterfaces checksum
37+
url: "https://cdn.heapanalytics.com/ios/heap-swift-core-interfaces-0.5.3.zip", // END HeapSwiftCoreInterfaces URL
38+
checksum: "5681f74df19e6db0659516b9ebbcfd30a160d071dc8dc1bdfca59b9c5d32a99c" // END HeapSwiftCoreInterfaces checksum
3939
),
4040
.target(
4141
name: "HeapSwiftCoreTestSupport",

Development/Sources/HeapSwiftCore/Version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct Version {
88
static let minor = 5
99

1010
/// Revision number.
11-
static let revision = 1
11+
static let revision = 2
1212

1313
/// Optional pre-release version
1414
static let prerelease: String? = nil

HeapSwiftCore.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'HeapSwiftCore'
3-
s.version = '0.5.1'
3+
s.version = '0.5.2'
44
s.license = { :type => 'MIT' }
55
s.summary = 'The core Heap library used for apps on Apple platforms.'
66
s.homepage = 'https://heap.io'
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.source_files = 'Development/Sources/HeapSwiftCore/**/*.swift'
1919

2020
s.dependency 'SwiftProtobuf', '~> 1.6'
21-
s.dependency 'HeapSwiftCoreInterfaces', '0.5.2'
21+
s.dependency 'HeapSwiftCoreInterfaces', '0.5.3'
2222

2323
s.swift_versions = ['5.0']
2424
end

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ test_interfaces_podspec: interfaces_xcframework
342342

343343
deploy_core_podspec:
344344
@echo "--- Deploying HeapSwiftCore.podspec"
345-
pod trunk push HeapSwiftCore.podspec
345+
pod trunk push --allow-warnings HeapSwiftCore.podspec
346346

347347
deploy_interfaces_podspec:
348348
@echo "--- Deploying HeapSwiftCoreInterfaces.podspec"

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ let package = Package(
3232
path: "Development/Sources/HeapSwiftCore"),
3333
.binaryTarget(
3434
name: "HeapSwiftCoreInterfaces",
35-
url: "https://cdn.heapanalytics.com/ios/heap-swift-core-interfaces-0.5.2.zip", // END HeapSwiftCoreInterfaces URL
36-
checksum: "6afe860f601ffa3acfc84a5c51d503ff0c074ad4325b46f7d19f8bb218c477d4" // END HeapSwiftCoreInterfaces checksum
35+
url: "https://cdn.heapanalytics.com/ios/heap-swift-core-interfaces-0.5.3.zip", // END HeapSwiftCoreInterfaces URL
36+
checksum: "5681f74df19e6db0659516b9ebbcfd30a160d071dc8dc1bdfca59b9c5d32a99c" // END HeapSwiftCoreInterfaces checksum
3737
)
3838
]
3939
)

0 commit comments

Comments
 (0)