Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ 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).

## [Unreleased](https://github.com/pusher/NWWebSocket/compare/0.5.10...HEAD)
## [1.0.0](https://github.com/pusher/NWWebSocket/compare/0.5.10...1.0.0) - Unreleased

### Changed

- **Breaking:** Raised the minimum supported OS versions to iOS 15.0, macOS 12.0, tvOS 15.0 and watchOS 9.0 (from iOS 13.0, macOS 10.15, tvOS 13.0 and watchOS 6.0), required to build under Xcode 27. Consumers still targeting older OS versions should pin to `0.5.10` or earlier. Will ship as `1.0.0` (rather than a 0.x minor) specifically so SwiftPM's `.upToNextMajor` ranges on 0.5.x correctly exclude this breaking release.

## [0.5.10](https://github.com/pusher/NWWebSocket/compare/0.5.9...0.5.10) - 2026-03-03

Expand Down
8 changes: 4 additions & 4 deletions NWWebSocket.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'NWWebSocket'
s.version = '0.5.10'
s.version = '1.0.0'
s.summary = 'A WebSocket client written in Swift, using the Network framework from Apple'
s.homepage = 'https://github.com/pusher/NWWebSocket'
s.license = 'MIT'
Expand All @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source_files = ['Sources/**/*.swift']

s.ios.deployment_target = '13.0'
s.osx.deployment_target = '10.15'
s.tvos.deployment_target = '13.0'
s.ios.deployment_target = '15.0'
s.osx.deployment_target = '12.0'
s.tvos.deployment_target = '15.0'
end
36 changes: 18 additions & 18 deletions NWWebSocket.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
"SWIFT_PACKAGE=1",
"DEBUG=1",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MACOSX_DEPLOYMENT_TARGET = 12.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -344,9 +344,9 @@
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = NWWebSocket.xcodeproj/NWWebSocket_Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
OTHER_CFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
Expand All @@ -357,8 +357,8 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
SWIFT_VERSION = 5.0;
TARGET_NAME = NWWebSocket;
TVOS_DEPLOYMENT_TARGET = 13.0;
WATCHOS_DEPLOYMENT_TARGET = 6.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
WATCHOS_DEPLOYMENT_TARGET = 9.0;
};
name = Debug;
};
Expand All @@ -373,9 +373,9 @@
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = NWWebSocket.xcodeproj/NWWebSocket_Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
OTHER_CFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
Expand All @@ -386,8 +386,8 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
SWIFT_VERSION = 5.0;
TARGET_NAME = NWWebSocket;
TVOS_DEPLOYMENT_TARGET = 13.0;
WATCHOS_DEPLOYMENT_TARGET = 6.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
WATCHOS_DEPLOYMENT_TARGET = 9.0;
};
name = Release;
};
Expand All @@ -404,7 +404,7 @@
"$(inherited)",
"SWIFT_PACKAGE=1",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MACOSX_DEPLOYMENT_TARGET = 12.0;
OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
Expand Down Expand Up @@ -456,17 +456,17 @@
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = NWWebSocket.xcodeproj/NWWebSocketTests_Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
OTHER_CFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
SWIFT_VERSION = 5.0;
TARGET_NAME = NWWebSocketTests;
TVOS_DEPLOYMENT_TARGET = 13.0;
WATCHOS_DEPLOYMENT_TARGET = 6.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
WATCHOS_DEPLOYMENT_TARGET = 9.0;
};
name = Debug;
};
Expand All @@ -481,17 +481,17 @@
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = NWWebSocket.xcodeproj/NWWebSocketTests_Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
OTHER_CFLAGS = "$(inherited)";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
SWIFT_VERSION = 5.0;
TARGET_NAME = NWWebSocketTests;
TVOS_DEPLOYMENT_TARGET = 13.0;
WATCHOS_DEPLOYMENT_TARGET = 6.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
WATCHOS_DEPLOYMENT_TARGET = 9.0;
};
name = Release;
};
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import PackageDescription

let package = Package(
name: "NWWebSocket",
platforms: [.iOS("13.0"),
.macOS("10.15"),
.tvOS("13.0"),
.watchOS("6.0")],
platforms: [.iOS("15.0"),
.macOS("12.0"),
.tvOS("15.0"),
.watchOS("9.0")],
products: [
.library(
name: "NWWebSocket",
Expand Down
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ A WebSocket client written in Swift, using the Network framework from Apple.

## Supported platforms
- Swift 5.1 and above
- Xcode 11.0 and above
- Xcode 13.0 and above

### Deployment targets
- iOS 13.0 and above
- macOS 10.15 and above
- tvOS 13.0 and above
- iOS 15.0 and above
- macOS 12.0 and above
- tvOS 15.0 and above
- watchOS 9.0 and above

If you need support for older versions of iOS, macOS, tvOS or watchOS, please use the latest v0.5.x release.

## Installation

Expand All @@ -45,10 +48,10 @@ To integrate NWWebSocket into your Xcode project using CocoaPods, specify it in

```ruby
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '14.0'
platform :ios, '15.0'
use_frameworks!

pod 'NWWebSocket', '~> 0.5.10'
pod 'NWWebSocket', '~> 1.0.0'
```

Then, run the following command:
Expand Down Expand Up @@ -90,7 +93,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/pusher/NWWebSocket.git",
.upToNextMajor(from: "0.5.10")),
.upToNextMajor(from: "1.0.0")),
],
targets: [
.target(
Expand Down
Loading