Skip to content

Commit 96b75ea

Browse files
committed
Update changelog and bump for 2.0.0
1 parent 33bfd06 commit 96b75ea

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 2.0.0
4+
5+
* Made the `Pusher` initializer take an instance of a `PusherClientOptions` struct ([@Noobish1](https://github.com/Noobish1))
6+
* Authenticating channels can now be achieved by: specifying an auth endpoint, providing an auth request builder (which conforms to the `AuthRequestBuilder` protocol), or by providing your app's secret (not for production) ([@Noobish1](https://github.com/Noobish1))
7+
* Made the code Swiftier in general, e.g. `PusherChannelType` enum ([@Noobish1](https://github.com/Noobish1))
8+
* More robust reconnect (#66 - thanks to [@psycotica0](https://github.com/psycotica0) for review)
9+
* Added two new connection state cases: `Reconnecting` and `ReconnectingWhenNetworkBecomesReachable`
10+
* Added `reconnectAttemptsMax` and `maxReconnectGapInSeconds` for tweaking specifics of reconnection logic
11+
* Receiving Pusher-related errors by binding to the event name `pusher:error` on the client now works
12+
313
## 1.0.0
414

515
* Add `onMemberAdded`, `onMemberRemoved`, `findMember`, and `me` functions to PresencePusherChannel class

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 = '1.0.0'
3+
s.version = '2.0.0'
44
s.summary = 'A Pusher client library in Swift'
55
s.homepage = 'https://github.com/pusher/pusher-websocket-swift'
66
s.license = 'MIT'

Source/PusherSwift.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99

1010
let PROTOCOL = 7
11-
let VERSION = "1.0.0"
11+
let VERSION = "2.0.0"
1212
let CLIENT_NAME = "pusher-websocket-swift"
1313

1414
public class Pusher {

Tests/PusherClientInitializationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Quick
1111
import Nimble
1212
import PusherSwift
1313

14-
let VERSION = "1.0.0"
14+
let VERSION = "2.0.0"
1515

1616
class PusherClientInitializationSpec: QuickSpec {
1717
override func spec() {

0 commit comments

Comments
 (0)