Skip to content

Commit 2f5280f

Browse files
committed
update migration guide and sdk version
1 parent 4a62c37 commit 2f5280f

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

Knock.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = "Knock"
3-
spec.version = "1.1.1"
3+
spec.version = "1.2.0"
44
spec.summary = "An SDK to build in-app notifications experiences in Swift with Knock.."
55

66
spec.description = <<-DESC

MIGRATIONS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,12 @@ await Knock.shared.signIn(userId: "userid", userToken: nil)
2727
- **Enhanced User Session Management**: New functionalities to sign users out and unregister device tokens have been added, providing more control over user sessions and device management.
2828

2929
- **Centralized Access with Shared Instance**: The SDK now utilizes a shared instance for the Knock client, facilitating easier access and interaction within your app's codebase.
30+
31+
## Upgrading to Version 1.2.0
32+
33+
Version 1.2.0 of our Swift SDK introduces our first pre-built component, the In-App Feed. You can see the updated documentation to learn how to use this component in your own app. We have also combined our Knock.KnockMessageStatusBatchUpdateType into Knock.KnockMessageStatusUpdateType.
34+
35+
### Key Enhancements:
36+
37+
- **In-App Feed pre-built component**
38+
- **Knock.KnockMessageStatusBatchUpdateType is now just Knock.KnockMessageStatusUpdateType**

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ If you are managing dependencies using the `Package.swift` file, just add this t
5656

5757
``` swift
5858
dependencies: [
59-
.package(url: "https://github.com/knocklabs/knock-swift.git", .upToNextMajor(from: "1.0.0"))
59+
.package(url: "https://github.com/knocklabs/knock-swift.git", .upToNextMajor(from: "1.2.0"))
6060
]
6161
```
6262

@@ -69,7 +69,7 @@ platform :ios, '16.0'
6969
use_frameworks!
7070
7171
target 'MyApp' do
72-
pod 'Knock', '~> 1.1.0'
72+
pod 'Knock', '~> 1.2.0'
7373
end
7474
```
7575

Sources/Knock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import OSLog
1010

1111
// Knock client SDK.
1212
public class Knock {
13-
internal static let clientVersion = "1.1.1"
13+
internal static let clientVersion = "1.2.0"
1414

1515
public static var shared: Knock = Knock()
1616

0 commit comments

Comments
 (0)