Skip to content

Commit aa03131

Browse files
authored
prepare 3.0.0 release (#52)
## [3.0.0] - 2022-10-06 ### Changed - Dropped support for older versions in accordance with the new [Xcode 14 release](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes).
1 parent 893d7d0 commit aa03131

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the LaunchDarkly Swift EventSource library will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [3.0.0] - 2022-10-06
6+
### Changed
7+
- Dropped support for older versions in accordance with the new [Xcode 14 release](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes).
8+
59
## [2.0.0] - 2022-08-29
610
### Changed
711
- The CI build now incorporates the cross-platform contract tests defined in https://github.com/launchdarkly/sse-contract-tests to ensure consistent test coverage across different LaunchDarkly SSE implementations.

LDSwiftEventSource.podspec

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
Pod::Spec.new do |s|
22
s.name = "LDSwiftEventSource"
3-
s.version = "2.0.0"
3+
s.version = "3.0.0"
44
s.summary = "Swift EventSource library"
55
s.homepage = "https://github.com/launchdarkly/swift-eventsource"
66
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE.txt" }
77
s.author = { "LaunchDarkly" => "[email protected]" }
88

9-
s.ios.deployment_target = "10.0"
10-
s.watchos.deployment_target = "3.0"
11-
s.tvos.deployment_target = "10.0"
12-
s.osx.deployment_target = "10.12"
9+
s.ios.deployment_target = "11.0"
10+
s.watchos.deployment_target = "4.0"
11+
s.tvos.deployment_target = "11.0"
12+
s.osx.deployment_target = "10.13"
1313

1414
s.source = { :git => s.homepage + '.git', :tag => s.version}
1515
s.source_files = "Source/**/*.swift"
1616

17-
s.swift_versions = ['5.0', '5.1', '5.2']
17+
s.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7']
1818
end

LDSwiftEventSource.xcodeproj/project.pbxproj

+8-8
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
DEBUG_INFORMATION_FORMAT = dwarf;
336336
ENABLE_STRICT_OBJC_MSGSEND = YES;
337337
ENABLE_TESTABILITY = YES;
338-
FRAMEWORK_VERSION = B;
338+
FRAMEWORK_VERSION = C;
339339
GCC_C_LANGUAGE_STANDARD = gnu11;
340340
GCC_DYNAMIC_NO_PIC = NO;
341341
GCC_NO_COMMON_BLOCKS = YES;
@@ -410,7 +410,7 @@
410410
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
411411
ENABLE_NS_ASSERTIONS = NO;
412412
ENABLE_STRICT_OBJC_MSGSEND = YES;
413-
FRAMEWORK_VERSION = B;
413+
FRAMEWORK_VERSION = C;
414414
GCC_C_LANGUAGE_STANDARD = gnu11;
415415
GCC_NO_COMMON_BLOCKS = YES;
416416
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -444,8 +444,8 @@
444444
APPLICATION_EXTENSION_API_ONLY = YES;
445445
CODE_SIGN_STYLE = Automatic;
446446
DEFINES_MODULE = YES;
447-
DYLIB_COMPATIBILITY_VERSION = 2.0.0;
448-
DYLIB_CURRENT_VERSION = 2.0.0;
447+
DYLIB_COMPATIBILITY_VERSION = 3.0.0;
448+
DYLIB_CURRENT_VERSION = 3.0.0;
449449
DYLIB_INSTALL_NAME_BASE = "@rpath";
450450
ENABLE_BITCODE = YES;
451451
"ENABLE_BITCODE[sdk=macosx*]" = NO;
@@ -461,7 +461,7 @@
461461
"@executable_path/../Frameworks",
462462
"@loader_path/Frameworks",
463463
);
464-
MARKETING_VERSION = 2.0.0;
464+
MARKETING_VERSION = 3.0.0;
465465
SKIP_INSTALL = YES;
466466
"TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3;
467467
"TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3;
@@ -478,8 +478,8 @@
478478
APPLICATION_EXTENSION_API_ONLY = YES;
479479
CODE_SIGN_STYLE = Automatic;
480480
DEFINES_MODULE = YES;
481-
DYLIB_COMPATIBILITY_VERSION = 2.0.0;
482-
DYLIB_CURRENT_VERSION = 2.0.0;
481+
DYLIB_COMPATIBILITY_VERSION = 3.0.0;
482+
DYLIB_CURRENT_VERSION = 3.0.0;
483483
DYLIB_INSTALL_NAME_BASE = "@rpath";
484484
ENABLE_BITCODE = YES;
485485
"ENABLE_BITCODE[sdk=macosx*]" = NO;
@@ -495,7 +495,7 @@
495495
"@executable_path/../Frameworks",
496496
"@loader_path/Frameworks",
497497
);
498-
MARKETING_VERSION = 2.0.0;
498+
MARKETING_VERSION = 3.0.0;
499499
SKIP_INSTALL = YES;
500500
"TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3;
501501
"TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3;

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
LDSwiftEventSource is a cross platform implementation of the [EventSource specification](https://html.spec.whatwg.org/multipage/server-sent-events.html) written in Swift. It was developed for use in the [LaunchDarkly iOS SDK](https://github.com/launchdarkly/ios-client-sdk). Generated API docs are available on [GitHub Pages](https://launchdarkly.github.io/swift-eventsource/).
1010

1111
## Requirements
12-
- iOS 10.0+ / watchOS 3.0+ / tvOS 10.0+ / macOS 10.12+
12+
- iOS 11.0+ / watchOS 4.0+ / tvOS 11.0+ / macOS 10.13+
1313
- Swift 5.1+
1414

1515
## Installation
@@ -40,7 +40,7 @@ To include LDSwiftEventSource in a Swift package, simply add it to the dependenc
4040

4141
```swift
4242
dependencies: [
43-
.package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMajor(from: "2.0.0"))
43+
.package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMajor(from: "3.0.0"))
4444
]
4545
```
4646

0 commit comments

Comments
 (0)