From 67909908afdcd5cccd1cc0fdc7fc3749cec86f77 Mon Sep 17 00:00:00 2001 From: Gavin Whelan Date: Fri, 11 Mar 2022 12:17:31 -0600 Subject: [PATCH] Update changelog and version for release. --- CHANGELOG.md | 4 ++++ LDSwiftEventSource.podspec | 2 +- LDSwiftEventSource.xcodeproj/project.pbxproj | 4 ++-- README.md | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2fd646..119f73e 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). +## [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. + ## [1.3.0] - 2022-01-18 ### Added - Added the configuration option `urlSessionConfiguration` to `EventSource.Config` which allows setting the `URLSessionConfiguration` used by the `EventSource` to create `URLSession` instances. diff --git a/LDSwiftEventSource.podspec b/LDSwiftEventSource.podspec index d6a8463..79351c5 100644 --- a/LDSwiftEventSource.podspec +++ b/LDSwiftEventSource.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LDSwiftEventSource" - s.version = "1.3.0" + s.version = "1.3.1" 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 bb29829..cfa3f0c 100644 --- a/LDSwiftEventSource.xcodeproj/project.pbxproj +++ b/LDSwiftEventSource.xcodeproj/project.pbxproj @@ -458,7 +458,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.0; + MARKETING_VERSION = 1.3.1; SKIP_INSTALL = YES; "TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3; "TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3; @@ -492,7 +492,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.0; + MARKETING_VERSION = 1.3.1; SKIP_INSTALL = YES; "TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3; "TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3; diff --git a/README.md b/README.md index 982246a..f17c8d1 100644 --- a/README.md +++ b/README.md @@ -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.0")) + .package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMajor(from: "1.3.1")) ] ```