Skip to content

Commit 0374352

Browse files
Merge pull request #174 from pusher/release/4.0.0
v4.0.0
2 parents c6b143e + cb9c235 commit 0374352

File tree

7 files changed

+18
-10
lines changed

7 files changed

+18
-10
lines changed

CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased](https://github.com/pusher/push-notifications-swift/compare/3.0.4...HEAD)
8+
## [Unreleased](https://github.com/pusher/push-notifications-swift/compare/4.0.0...HEAD)
9+
10+
## [4.0.0](https://github.com/pusher/push-notifications-swift/compare/3.0.4...4.0.0)
11+
12+
## Removed
13+
14+
- `MD5(_ input:)` method from the public API
15+
- `DeviceStateStore`, `InstanceDeviceStateStore`, `JustDont`, `Metadata` and `WithInfiniteExpBackoff` types from the public API
16+
**NOTE:** These types and methods were included in the public API by mistake, their removal should have no effect on end users or require any code changes
917

1018
## [3.0.4](https://github.com/pusher/push-notifications-swift/compare/3.0.3...3.0.4)
1119

PushNotifications.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PushNotifications'
3-
s.version = '3.0.4'
3+
s.version = '4.0.0'
44
s.summary = 'PushNotifications SDK'
55
s.homepage = 'https://github.com/pusher/push-notifications-swift'
66
s.license = 'MIT'

PushNotifications/PushNotifications.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@
824824
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
825825
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
826826
MACOSX_DEPLOYMENT_TARGET = 10.10;
827-
MARKETING_VERSION = 3.0.4;
827+
MARKETING_VERSION = 4.0.0;
828828
PRODUCT_BUNDLE_IDENTIFIER = com.pusher.PushNotifications;
829829
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
830830
SDKROOT = "";
@@ -852,7 +852,7 @@
852852
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
853853
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
854854
MACOSX_DEPLOYMENT_TARGET = 10.10;
855-
MARKETING_VERSION = 3.0.4;
855+
MARKETING_VERSION = 4.0.0;
856856
PRODUCT_BUNDLE_IDENTIFIER = com.pusher.PushNotifications;
857857
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
858858
SDKROOT = "";

PushNotifications/PushNotificationsTests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.0.4</string>
18+
<string>4.0.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use_frameworks!
4444

4545
# Replace `<Your Target Name>` with your app's target name.
4646
target '<Your Target Name>' do
47-
pod 'PushNotifications', '~> 3.0.4'
47+
pod 'PushNotifications', '~> 4.0.0'
4848
end
4949
```
5050

@@ -97,11 +97,11 @@ To add Pusher Beams as a dependency of your own package use the follwing code:
9797

9898
```swift
9999
dependencies: [
100-
.package(url: "https://github.com/pusher/push-notifications-swift.git", from: "3.0.4")
100+
.package(url: "https://github.com/pusher/push-notifications-swift.git", from: "4.0.0")
101101
]
102102
```
103103

104-
## Migrating from 2.x.x to 3.x.x
104+
## Migrating from 2.x.x
105105

106106
We now require you to start beams before you can use the library, for example to register any interests. This means the following code would no longer work and log an error to the console:
107107

Sources/Models/SDK.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Foundation
22

33
struct SDK {
4-
static let version = "3.0.4"
4+
static let version = "4.0.0"
55
}

Tests/Unit/Models/SDKTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ class SDKTests: XCTestCase {
55
func testVersionModel() {
66
let version = SDK.version
77
XCTAssertNotNil(version)
8-
XCTAssertEqual(version, "3.0.4")
8+
XCTAssertEqual(version, "4.0.0")
99
}
1010
}

0 commit comments

Comments
 (0)