Skip to content

Commit 9e22401

Browse files
authored
Merge pull request #11 from launchdarkly/release-1.2.0
Prepare 1.2.0 release
2 parents 40fb264 + cab4a26 commit 9e22401

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
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+
## [1.2.0] - 2020-10-21
6+
### Added
7+
- Added `headerTransform` closure to `LDConfig` to allow dynamic http header configuration.
8+
59
## [1.1.0] - 2020-07-20
610
### Added
711
- Support `arm64e` on `appletvos`, `iphoneos`, and `macosx` SDKs by extending valid architectures.

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.1.0"
3+
s.version = "1.2.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@
441441
"@executable_path/../Frameworks",
442442
"@loader_path/Frameworks",
443443
);
444-
MARKETING_VERSION = 1.1.0;
444+
MARKETING_VERSION = 1.2.0;
445445
SKIP_INSTALL = YES;
446446
"TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3;
447447
"TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3;
@@ -475,7 +475,7 @@
475475
"@executable_path/../Frameworks",
476476
"@loader_path/Frameworks",
477477
);
478-
MARKETING_VERSION = 1.1.0;
478+
MARKETING_VERSION = 1.2.0;
479479
SKIP_INSTALL = YES;
480480
"TARGETED_DEVICE_FAMILY[sdk=appletvos*]" = 3;
481481
"TARGETED_DEVICE_FAMILY[sdk=appletvsimulator*]" = 3;

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,28 @@ 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.0'
22+
pod 'LDSwiftEventSource', '~> 1.2'
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.0
30+
github "LaunchDarkly/swift-eventsource" ~> 1.2
3131
```
3232

3333
### Swift Package Manager
3434

35-
The [Swift Package Manager](https://swift.org/package-manager/) is a dependency manager integrated into the `swift` compiler and Xcode. Note that the LDSwiftEventSource Swift package provides both a `LDSwiftEventSource` product, which is explicitely dynamic, and a `LDSwiftEventSourceStatic` product which is explicitely static.
35+
The [Swift Package Manager](https://swift.org/package-manager/) is a dependency manager integrated into the `swift` compiler and Xcode. Note that the LDSwiftEventSource Swift package provides both a `LDSwiftEventSource` product, which is explicitly dynamic, and a `LDSwiftEventSourceStatic` product which is explicitly static.
3636

3737
To integrate LDSwiftEventSource into an Xcode project, go to the project editor, and select `Swift Packages`. From here hit the `+` button and follow the prompts using `https://github.com/LaunchDarkly/swift-eventsource.git` as the URL.
3838

3939
To include LDSwiftEventSource in a Swift package, simply add it to the dependencies section of your `Package.swift` file. And add the desired product as a dependency for your targets.
4040

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

0 commit comments

Comments
 (0)