diff --git a/CHANGELOG.md b/CHANGELOG.md index 34485da..88fe034 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to the LaunchDarkly Swift EventSource library will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [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. +- Removed explicit typed package products. Thanks to @simba909 for the PR ([#48](https://github.com/launchdarkly/swift-eventsource/pull/48)). + ## [1.3.1] - 2022-03-11 ### Fixed - Fixed a race condition that could cause a crash when `stop()` is called when there is a pending reconnection attempt. diff --git a/LDSwiftEventSource.podspec b/LDSwiftEventSource.podspec index 79351c5..e553f65 100644 --- a/LDSwiftEventSource.podspec +++ b/LDSwiftEventSource.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LDSwiftEventSource" - s.version = "1.3.1" + s.version = "2.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" } diff --git a/LDSwiftEventSource.xcodeproj/project.pbxproj b/LDSwiftEventSource.xcodeproj/project.pbxproj index cfa3f0c..f1fe5d3 100644 --- a/LDSwiftEventSource.xcodeproj/project.pbxproj +++ b/LDSwiftEventSource.xcodeproj/project.pbxproj @@ -334,6 +334,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + FRAMEWORK_VERSION = B; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -408,6 +409,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_VERSION = B; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -441,8 +443,8 @@ APPLICATION_EXTENSION_API_ONLY = YES; CODE_SIGN_STYLE = Automatic; DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; + DYLIB_COMPATIBILITY_VERSION = 2.0.0; + DYLIB_CURRENT_VERSION = 2.0.0; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_BITCODE = YES; "ENABLE_BITCODE[sdk=macosx*]" = NO; @@ -458,7 +460,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.1; + MARKETING_VERSION = 2.0.0; SKIP_INSTALL = YES; "TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3; "TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3; @@ -475,8 +477,8 @@ APPLICATION_EXTENSION_API_ONLY = YES; CODE_SIGN_STYLE = Automatic; DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; + DYLIB_COMPATIBILITY_VERSION = 2.0.0; + DYLIB_CURRENT_VERSION = 2.0.0; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_BITCODE = YES; "ENABLE_BITCODE[sdk=macosx*]" = NO; @@ -492,7 +494,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.1; + MARKETING_VERSION = 2.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 87e0d2c..c5321ca 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ LDSwiftEventSource is a cross platform implementation of the [EventSource specif To use the [CocoaPods](https://cocoapods.org) dependency manager to integrate LDSwiftEventSource into your Xcode project, specify it in your `Podfile`: ```ruby -pod 'LDSwiftEventSource', '~> 1.3' +pod 'LDSwiftEventSource', '~> 2.0' ``` ### Carthage @@ -27,7 +27,7 @@ pod 'LDSwiftEventSource', '~> 1.3' To use the [Carthage](https://github.com/Carthage/Carthage) dependency manager to integrate LDSwiftEventSource into your Xcode project, specify it in your `Cartfile`: ```ogdl -github "LaunchDarkly/swift-eventsource" ~> 1.3 +github "LaunchDarkly/swift-eventsource" ~> 2.0 ``` ### Swift Package Manager @@ -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: "1.3.1")) + .package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMajor(from: "2.0.0")) ] ```