Skip to content

Commit 20d8643

Browse files
author
Tom Kemp
committed
v7.1.0
1 parent 28c9ba1 commit 20d8643

File tree

7 files changed

+17
-7
lines changed

7 files changed

+17
-7
lines changed

CHANGELOG.md

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

7-
## [Unreleased](https://github.com/pusher/pusher-websocket-swift/compare/7.0.0...HEAD)
7+
## [Unreleased](https://github.com/pusher/pusher-websocket-swift/compare/7.1.0...HEAD)
8+
9+
## [7.1.0](https://github.com/pusher/pusher-websocket-swift/compare/7.0.0...7.1.0) - 2019-10-03
10+
11+
### Added
12+
13+
- Added new `bind` functions which accept a callback that receives a `PusherEvent`. A `PusherEvent` represents an event received from the websocket and has properties containing the event name, channel name and data. In addition, `PusherEvent` has a new property, `userId`, which allows you to verify the ID of the user who triggered a client event on a presence channel. You can read more about this feature in [the docs](https://pusher.com/docs/channels/using_channels/events#user-id-in-client-events). All the old `bind` functions are still available for backwards compatibility. The `data` property of `PusherEvent` is not automatically parsed from JSON and you can decide to parse that as required. The parsing behaviour is unchanged for data passed to callbacks bound by the old `bind` functions.
14+
15+
### Changed
16+
17+
- Updated the deployment targets so they are consistent regardless of whether you import the library using CocoaPods or Carthage.
818

919
## [7.0.0](https://github.com/pusher/pusher-websocket-swift/compare/6.1.0...7.0.0) - 2019-04-16
1020

PusherSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PusherSwift'
3-
s.version = '7.0.0'
3+
s.version = '7.1.0'
44
s.summary = 'A Pusher client library in Swift'
55
s.homepage = 'https://github.com/pusher/pusher-websocket-swift'
66
s.license = 'MIT'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ source 'https://github.com/CocoaPods/Specs.git'
7272
platform :ios, '10.0'
7373
use_frameworks!
7474

75-
pod 'PusherSwift', '~> 7.0'
75+
pod 'PusherSwift', '~> 7.1'
7676
```
7777

7878
Then, run the following command:

Sources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>7.0.0</string>
18+
<string>7.1.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Sources/PusherSwift.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22
import Starscream
33

44
let PROTOCOL = 7
5-
let VERSION = "7.0.0"
5+
let VERSION = "7.1.0"
66
let CLIENT_NAME = "pusher-websocket-swift"
77

88
@objcMembers

Tests/Info.plist

Lines changed: 1 addition & 1 deletion
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>7.0.0</string>
18+
<string>7.1.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Tests/PusherClientInitializationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import PusherSwift
22
import XCTest
33

4-
let VERSION = "7.0.0"
4+
let VERSION = "7.1.0"
55

66
class ClientInitializationTests: XCTestCase {
77
var key: String!

0 commit comments

Comments
 (0)