Skip to content

Commit e642325

Browse files
authored
prepare 2.0.0 release (#49)
1 parent f5182c3 commit e642325

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
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+
## [2.0.0] - 2022-08-29
6+
### Changed
7+
- 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.
8+
- Removed explicit typed package products. Thanks to @simba909 for the PR ([#48](https://github.com/launchdarkly/swift-eventsource/pull/48)).
9+
510
## [1.3.1] - 2022-03-11
611
### Fixed
712
- Fixed a race condition that could cause a crash when `stop()` is called when there is a pending reconnection attempt.

LDSwiftEventSource.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "LDSwiftEventSource"
3-
s.version = "1.3.1"
3+
s.version = "2.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" }

LDSwiftEventSource.xcodeproj/project.pbxproj

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@
334334
DEBUG_INFORMATION_FORMAT = dwarf;
335335
ENABLE_STRICT_OBJC_MSGSEND = YES;
336336
ENABLE_TESTABILITY = YES;
337+
FRAMEWORK_VERSION = B;
337338
GCC_C_LANGUAGE_STANDARD = gnu11;
338339
GCC_DYNAMIC_NO_PIC = NO;
339340
GCC_NO_COMMON_BLOCKS = YES;
@@ -408,6 +409,7 @@
408409
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
409410
ENABLE_NS_ASSERTIONS = NO;
410411
ENABLE_STRICT_OBJC_MSGSEND = YES;
412+
FRAMEWORK_VERSION = B;
411413
GCC_C_LANGUAGE_STANDARD = gnu11;
412414
GCC_NO_COMMON_BLOCKS = YES;
413415
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -441,8 +443,8 @@
441443
APPLICATION_EXTENSION_API_ONLY = YES;
442444
CODE_SIGN_STYLE = Automatic;
443445
DEFINES_MODULE = YES;
444-
DYLIB_COMPATIBILITY_VERSION = 1;
445-
DYLIB_CURRENT_VERSION = 1;
446+
DYLIB_COMPATIBILITY_VERSION = 2.0.0;
447+
DYLIB_CURRENT_VERSION = 2.0.0;
446448
DYLIB_INSTALL_NAME_BASE = "@rpath";
447449
ENABLE_BITCODE = YES;
448450
"ENABLE_BITCODE[sdk=macosx*]" = NO;
@@ -458,7 +460,7 @@
458460
"@executable_path/../Frameworks",
459461
"@loader_path/Frameworks",
460462
);
461-
MARKETING_VERSION = 1.3.1;
463+
MARKETING_VERSION = 2.0.0;
462464
SKIP_INSTALL = YES;
463465
"TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3;
464466
"TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3;
@@ -475,8 +477,8 @@
475477
APPLICATION_EXTENSION_API_ONLY = YES;
476478
CODE_SIGN_STYLE = Automatic;
477479
DEFINES_MODULE = YES;
478-
DYLIB_COMPATIBILITY_VERSION = 1;
479-
DYLIB_CURRENT_VERSION = 1;
480+
DYLIB_COMPATIBILITY_VERSION = 2.0.0;
481+
DYLIB_CURRENT_VERSION = 2.0.0;
480482
DYLIB_INSTALL_NAME_BASE = "@rpath";
481483
ENABLE_BITCODE = YES;
482484
"ENABLE_BITCODE[sdk=macosx*]" = NO;
@@ -492,7 +494,7 @@
492494
"@executable_path/../Frameworks",
493495
"@loader_path/Frameworks",
494496
);
495-
MARKETING_VERSION = 1.3.1;
497+
MARKETING_VERSION = 2.0.0;
496498
SKIP_INSTALL = YES;
497499
"TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3;
498500
"TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3;

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ LDSwiftEventSource is a cross platform implementation of the [EventSource specif
1919
To use the [CocoaPods](https://cocoapods.org) dependency manager to integrate LDSwiftEventSource into your Xcode project, specify it in your `Podfile`:
2020

2121
```ruby
22-
pod 'LDSwiftEventSource', '~> 1.3'
22+
pod 'LDSwiftEventSource', '~> 2.0'
2323
```
2424

2525
### Carthage
2626

2727
To use the [Carthage](https://github.com/Carthage/Carthage) dependency manager to integrate LDSwiftEventSource into your Xcode project, specify it in your `Cartfile`:
2828

2929
```ogdl
30-
github "LaunchDarkly/swift-eventsource" ~> 1.3
30+
github "LaunchDarkly/swift-eventsource" ~> 2.0
3131
```
3232

3333
### Swift Package Manager
@@ -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: "1.3.1"))
43+
.package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", .upToNextMajor(from: "2.0.0"))
4444
]
4545
```
4646

0 commit comments

Comments
 (0)