From eee366ed967455584b429a899465eef9e23ede2b Mon Sep 17 00:00:00 2001 From: Ahmed Saleh Date: Fri, 5 Dec 2025 15:19:53 +0100 Subject: [PATCH 1/3] Update NWWebsocket to v0.5.8 --- Cartfile | 2 +- Cartfile.resolved | 2 +- Package.resolved | 4 ++-- Package.swift | 4 ++-- PusherSwift.podspec | 2 +- PusherSwiftWithEncryption.podspec | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cartfile b/Cartfile index 9b3b2fc3..36795a03 100644 --- a/Cartfile +++ b/Cartfile @@ -1,2 +1,2 @@ github "bitmark-inc/tweetnacl-swiftwrap" ~> 1.1.0 -github "pusher/NWWebSocket" ~> 0.5.7 +github "pusher/NWWebSocket" ~> 0.5.8 diff --git a/Cartfile.resolved b/Cartfile.resolved index 4e8a6f9a..15735f4b 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,2 +1,2 @@ github "bitmark-inc/tweetnacl-swiftwrap" "1.1.0" -github "pusher/NWWebSocket" "0.5.7" +github "pusher/NWWebSocket" "0.5.8" diff --git a/Package.resolved b/Package.resolved index 7506d192..912e942f 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/pusher/NWWebSocket.git", "state": { "branch": null, - "revision": "da32dcf230d9b627a9ef9d79b83605d12b3fbcbd", - "version": "0.5.7" + "revision": "9d24ae0832dc161502a20a2480c782ece4f8335b", + "version": "0.5.8" } }, { diff --git a/Package.swift b/Package.swift index 11ab5e40..257a846c 100644 --- a/Package.swift +++ b/Package.swift @@ -9,9 +9,9 @@ let package = Package( .library(name: "PusherSwift", targets: ["PusherSwift"]) ], dependencies: [ - .package(url: "https://github.com/pusher/NWWebSocket.git", .upToNextMajor(from: "0.5.7")), + .package(url: "https://github.com/pusher/NWWebSocket.git", .upToNextMajor(from: "0.5.8")), .package(url: "https://github.com/bitmark-inc/tweetnacl-swiftwrap", .upToNextMajor(from: "1.1.0")), - ], + ], targets: [ .target( name: "PusherSwift", diff --git a/PusherSwift.podspec b/PusherSwift.podspec index 62482869..d724dcdf 100644 --- a/PusherSwift.podspec +++ b/PusherSwift.podspec @@ -13,7 +13,7 @@ Pod::Spec.new do |s| s.source_files = ['Sources/**/*.swift'] s.dependency 'TweetNacl', '~> 1.0.0' - s.dependency 'NWWebSocket', '~> 0.5.7' + s.dependency 'NWWebSocket', '~> 0.5.8' s.ios.deployment_target = '13.0' s.osx.deployment_target = '10.15' diff --git a/PusherSwiftWithEncryption.podspec b/PusherSwiftWithEncryption.podspec index c2a06d8f..832b1ec6 100644 --- a/PusherSwiftWithEncryption.podspec +++ b/PusherSwiftWithEncryption.podspec @@ -13,7 +13,7 @@ Pod::Spec.new do |s| s.source_files = ['Sources/**/*.swift'] s.dependency 'TweetNacl', '~> 1.0.0' - s.dependency 'NWWebSocket', '~> 0.5.7' + s.dependency 'NWWebSocket', '~> 0.5.8' s.ios.deployment_target = '13.0' s.osx.deployment_target = '10.15' From 97b5476540afac717fdb730945adb8b8147ea5a6 Mon Sep 17 00:00:00 2001 From: Ahmed Saleh Date: Fri, 5 Dec 2025 15:27:48 +0100 Subject: [PATCH 2/3] Bump up version 10.1.7 & Update CHANGELOG --- CHANGELOG.md | 6 ++++++ PusherSwift.podspec | 2 +- PusherSwiftWithEncryption.podspec | 2 +- README.md | 4 ++-- Sources/Info.plist | 2 +- Sources/PusherSwift.swift | 2 +- Tests/Info.plist | 2 +- Tests/Integration/PusherClientInitializationTests.swift | 2 +- 8 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89e25e69..9f41d028 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [10.1.7](https://github.com/pusher/pusher-websocket-swift/compare/10.1.6...10.1.7) - 2025-12-05 + +### Fixed + +- Upgrade NWWebSocket library to version 0.5.8 to fix reconnections getting stuck after network disruptions + ## [10.1.6](https://github.com/pusher/pusher-websocket-swift/compare/10.1.5...10.1.6) - 2025-06-20 ### Fixed diff --git a/PusherSwift.podspec b/PusherSwift.podspec index d724dcdf..20b5c0c7 100644 --- a/PusherSwift.podspec +++ b/PusherSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PusherSwift' - s.version = '10.1.6' + s.version = '10.1.7' s.summary = 'A Pusher client library in Swift' s.homepage = 'https://github.com/pusher/pusher-websocket-swift' s.license = 'MIT' diff --git a/PusherSwiftWithEncryption.podspec b/PusherSwiftWithEncryption.podspec index 832b1ec6..599370b5 100644 --- a/PusherSwiftWithEncryption.podspec +++ b/PusherSwiftWithEncryption.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PusherSwiftWithEncryption' - s.version = '10.1.6' + s.version = '10.1.7' s.summary = 'A Pusher client library in Swift that supports encrypted channels' s.homepage = 'https://github.com/pusher/pusher-websocket-swift' s.license = 'MIT' diff --git a/README.md b/README.md index a0f0036a..b0bba3c1 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0' use_frameworks! -pod 'PusherSwift', '~> 10.1.6' +pod 'PusherSwift', '~> 10.1.7' ``` Then, run the following command: @@ -150,7 +150,7 @@ let package = Package( targets: ["YourPackage"]), ], dependencies: [ - .package(url: "https://github.com/pusher/pusher-websocket-swift.git", from: "10.1.6"), + .package(url: "https://github.com/pusher/pusher-websocket-swift.git", from: "10.1.7"), ], targets: [ .target( diff --git a/Sources/Info.plist b/Sources/Info.plist index 9d01a05d..a245b5f2 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 10.1.6 + 10.1.7 CFBundleSignature ???? CFBundleVersion diff --git a/Sources/PusherSwift.swift b/Sources/PusherSwift.swift index 5a2a63e5..52d1b446 100644 --- a/Sources/PusherSwift.swift +++ b/Sources/PusherSwift.swift @@ -2,7 +2,7 @@ import Foundation import NWWebSocket let PROTOCOL = 7 -let VERSION = "10.1.6" +let VERSION = "10.1.7" // swiftlint:disable:next identifier_name let CLIENT_NAME = "pusher-websocket-swift" diff --git a/Tests/Info.plist b/Tests/Info.plist index ba81c7fb..c2380ca0 100644 --- a/Tests/Info.plist +++ b/Tests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 10.1.6 + 10.1.7 CFBundleSignature ???? CFBundleVersion diff --git a/Tests/Integration/PusherClientInitializationTests.swift b/Tests/Integration/PusherClientInitializationTests.swift index d3a8f680..53748a1d 100644 --- a/Tests/Integration/PusherClientInitializationTests.swift +++ b/Tests/Integration/PusherClientInitializationTests.swift @@ -2,7 +2,7 @@ import XCTest @testable import PusherSwift -let VERSION = "10.1.6" +let VERSION = "10.1.7" class ClientInitializationTests: XCTestCase { private var key: String! From 0e16bc843f193433ed201e0e50b7b1cc3e4efc64 Mon Sep 17 00:00:00 2001 From: Ahmed Saleh Date: Fri, 5 Dec 2025 15:36:25 +0100 Subject: [PATCH 3/3] github actions: Update tvos test version --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18cf6cdb..184a2fd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '15.0.1' + xcode-version: '16.2.0' - uses: actions/cache@v4 id: carthage-cache with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afa0eced..7f646efe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v2 - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '15.0.1' + xcode-version: '16.2.0' - name: Clear Carthage cache run: | echo "🧹 Clearing Carthage caches for clean build..."