From aa03131eb30bbc35513153609ed65209853603a7 Mon Sep 17 00:00:00 2001 From: "Matthew M. Keeler" Date: Thu, 6 Oct 2022 11:33:08 -0400 Subject: [PATCH] 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). --- CHANGELOG.md | 4 ++++ LDSwiftEventSource.podspec | 12 ++++++------ LDSwiftEventSource.xcodeproj/project.pbxproj | 16 ++++++++-------- README.md | 4 ++-- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88fe034..dbef528 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the LaunchDarkly Swift EventSource library will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [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). + ## [2.0.0] - 2022-08-29 ### Changed - 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. diff --git a/LDSwiftEventSource.podspec b/LDSwiftEventSource.podspec index e553f65..71790bd 100644 --- a/LDSwiftEventSource.podspec +++ b/LDSwiftEventSource.podspec @@ -1,18 +1,18 @@ Pod::Spec.new do |s| s.name = "LDSwiftEventSource" - s.version = "2.0.0" + s.version = "3.0.0" s.summary = "Swift EventSource library" s.homepage = "https://github.com/launchdarkly/swift-eventsource" s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE.txt" } s.author = { "LaunchDarkly" => "sdks@launchdarkly.com" } - s.ios.deployment_target = "10.0" - s.watchos.deployment_target = "3.0" - s.tvos.deployment_target = "10.0" - s.osx.deployment_target = "10.12" + s.ios.deployment_target = "11.0" + s.watchos.deployment_target = "4.0" + s.tvos.deployment_target = "11.0" + s.osx.deployment_target = "10.13" s.source = { :git => s.homepage + '.git', :tag => s.version} s.source_files = "Source/**/*.swift" - s.swift_versions = ['5.0', '5.1', '5.2'] + s.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7'] end diff --git a/LDSwiftEventSource.xcodeproj/project.pbxproj b/LDSwiftEventSource.xcodeproj/project.pbxproj index 9563891..a6c28ee 100644 --- a/LDSwiftEventSource.xcodeproj/project.pbxproj +++ b/LDSwiftEventSource.xcodeproj/project.pbxproj @@ -335,7 +335,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - FRAMEWORK_VERSION = B; + FRAMEWORK_VERSION = C; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -410,7 +410,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_VERSION = B; + FRAMEWORK_VERSION = C; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -444,8 +444,8 @@ APPLICATION_EXTENSION_API_ONLY = YES; CODE_SIGN_STYLE = Automatic; DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 2.0.0; - DYLIB_CURRENT_VERSION = 2.0.0; + DYLIB_COMPATIBILITY_VERSION = 3.0.0; + DYLIB_CURRENT_VERSION = 3.0.0; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_BITCODE = YES; "ENABLE_BITCODE[sdk=macosx*]" = NO; @@ -461,7 +461,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 2.0.0; + MARKETING_VERSION = 3.0.0; SKIP_INSTALL = YES; "TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3; "TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3; @@ -478,8 +478,8 @@ APPLICATION_EXTENSION_API_ONLY = YES; CODE_SIGN_STYLE = Automatic; DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 2.0.0; - DYLIB_CURRENT_VERSION = 2.0.0; + DYLIB_COMPATIBILITY_VERSION = 3.0.0; + DYLIB_CURRENT_VERSION = 3.0.0; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_BITCODE = YES; "ENABLE_BITCODE[sdk=macosx*]" = NO; @@ -495,7 +495,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 2.0.0; + MARKETING_VERSION = 3.0.0; SKIP_INSTALL = YES; "TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3; "TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3; diff --git a/README.md b/README.md index c5321ca..1685319 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ 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/). ## Requirements -- iOS 10.0+ / watchOS 3.0+ / tvOS 10.0+ / macOS 10.12+ +- iOS 11.0+ / watchOS 4.0+ / tvOS 11.0+ / macOS 10.13+ - Swift 5.1+ ## Installation @@ -40,7 +40,7 @@ To include LDSwiftEventSource in a Swift package, simply add it to the dependenc ```swift dependencies: [ - .package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMajor(from: "2.0.0")) + .package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMajor(from: "3.0.0")) ] ```