Skip to content

Commit aef1baf

Browse files
authored
📝 (README.md): add CHANGELOG section to document notable changes and adhere to Keep a Changelog and Semantic Versioning standards (#27)
1 parent 599f8ca commit aef1baf

File tree

1 file changed

+78
-9
lines changed

1 file changed

+78
-9
lines changed

‎README.md

Lines changed: 78 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ The HOVER Capture iOS SDK provides a user flow for capturing and submitting 3D s
1515

1616
### Swift Package Manager
1717

18-
The HOVER Capture iOS SDK is distributed using Swift Package Manager. You may integrate it using Xcode or a `Package.swift` file.
18+
The HOVER Capture iOS SDK is distributed using Swift Package Manager. You may integrate it using Xcode or a `Package.swift` file.
1919

2020
<details>
2121
<summary>Xcode</summary>
22-
22+
2323
To integrate the SDK using Xcode, perform the following steps:
2424

2525
1. In the Xcode Project Navigator pane (on the left side), select your project.
@@ -30,18 +30,18 @@ To integrate the SDK using Xcode, perform the following steps:
3030
6. Click "Add Package"
3131
7. Select a target to add the `HVCaptureSDK` library.
3232

33-
</details>
33+
</details>
3434

3535
<details>
3636
<summary>Package.swift</summary>
37-
37+
3838
To integrate the SDK into a Swift package, add the following line to your `dependencies` array in your `Package.swift` manifest:
3939

4040
```swift
4141
.package(url: "https://github.com/hoverinc/hover-capture-ios.git", from: "2.0.0")
4242
```
4343

44-
</details>
44+
</details>
4545

4646
## Usage
4747

@@ -53,7 +53,7 @@ The SDK should be initialized as early as possible in the app lifecycle. This is
5353
As such, the SDK should (ideally) be initialized in host application’s `applicationDidFinishLaunching` method, so that the SDK can continue uploading any files that remain to be uploaded. This helps expedite 3D model generation, as we need all the captured images and metadata to begin the 3D reconstruction process.
5454

5555
```swift
56-
import HVCaptureSDK
56+
import HVCaptureSDK
5757
class AppDelegate: UIResponder, UIApplicationDelegate {
5858
// ...
5959

@@ -69,14 +69,14 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
6969
The host app can launch the SDK in any way it sees fit, as long as there is an active ViewController somewhere in the app. Here is one example using SwiftUI of launching the SDK capture flow on a button click:
7070

7171
```swift
72-
import HVCaptureSDK
72+
import HVCaptureSDK
7373
import SwiftUI
7474

7575
struct FooView: View {
7676
let jobInfo: CaptureJobInformation
7777
let sessionSettings: HVCameraSettings
7878

79-
// ... populate settings, etc.
79+
// ... populate settings, etc.
8080

8181
var body: some View {
8282
Button("Start Capture") {
@@ -117,7 +117,7 @@ Note that the SDK executed asynchronously, and the task that calls ``startCaptur
117117

118118
#### Cancelling a Capture Session
119119

120-
Since we execute asynchronously, within a Swift ``Task``, we also honor its cancellation functionality and stop the capture session and capture flow UI if the task is cancelled.
120+
Since we execute asynchronously, within a Swift ``Task``, we also honor its cancellation functionality and stop the capture session and capture flow UI if the task is cancelled.
121121

122122
```swift
123123
let captureTask = Task {
@@ -136,3 +136,72 @@ DispatchQueue.main.asyncAfter(deadline: .now() + 10, execute: {
136136
captureTask.cancel()
137137
})
138138
```
139+
140+
141+
142+
# CHANGELOG
143+
144+
Notable changes to the SDK across recent versions. The format below is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
145+
146+
147+
148+
# 2.4.0 2025-07-29
149+
150+
### Changed
151+
* Miscellaneous Improvements
152+
153+
154+
# 2.2.1 2025-07-21
155+
156+
### Changed
157+
* Fix build issues due to xcode version mismatch
158+
159+
160+
# 2.2.0 2025-07-17
161+
162+
### Changed
163+
164+
* Gallery image display with full-screen support
165+
* Started Swift 6 migration
166+
167+
### Fixed
168+
169+
* Camera orientation issues
170+
* Errors related to session management
171+
* Shutter button bugs
172+
* Gallery display issues
173+
174+
# 2.1.0 2024-12-06
175+
176+
### Changed
177+
178+
* Offline Job Creation: The Hover SDK can now initiate Jobs without internet connection. When connectivity returns, a job ID can be linked to the offline job dynamically.
179+
* Miscellaneous Bug Fixes.
180+
181+
# 2.0.1 2024-11-12
182+
183+
### Changed
184+
185+
* Some bug fixes around theming and overridable resources
186+
* Fix some tutorial code snippets that used deprecated / removed symbols
187+
188+
# 2.0.0 2024-11-01
189+
190+
### Added
191+
192+
* Opt-in support for background uploads – see the Getting Stated guide and Capture SDK Essentials tutorial for more details.
193+
* More flexible remote logging authentication and key management, so New Relic keys are no longer embedded in the SDK.
194+
195+
### Changed
196+
197+
* [BREAKING] Various HVTheme resources were renamed to better account for future attributes and better align with the corresponding Android resource names. See the Migration Guide for the old-to-new name mappings and theming tutorial for more detailed specifics.
198+
* Deprecated old HVCameraExterior symbol, HVPartnerSDK should be used instead.
199+
200+
### Fixed
201+
202+
* Resolved a rare deadlock at camera start for consecutive camera sessions.
203+
* Fixed a corner case where the minimum photo validations could be bypassed.
204+
* Fixed a warning about checking CLLocationManager.authorizationStatus on the main thread.
205+
206+
Also, as of this release the hover-capture-ios repository is public, so users are no longer required to have authorization or Personal Access Tokens set up to use the package.
207+

0 commit comments

Comments
 (0)