Skip to content

Commit cc81d18

Browse files
authored
chore: prepare for release 3.2.0 (#282)
* prepare for release 3.2.0
1 parent fec6279 commit cc81d18

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
os: osx
103103
osx_image: xcode11.3
104104
env:
105-
- VERSION=3.1.0
105+
- VERSION=3.2.0
106106
install:
107107
# install hub
108108
- wget https://github.com/github/hub/releases/download/v2.11.2/hub-darwin-amd64-2.11.2.tgz -O /tmp/hub-darwin-amd64-2.11.2.tgz && tar -xvf /tmp/hub-darwin-amd64-2.11.2.tgz -C /usr/local/opt && ln -s /usr/local/opt/hub-darwin-amd64-2.11.2/bin/hub /usr/local/bin/hub
@@ -119,7 +119,7 @@ jobs:
119119
os: osx
120120
osx_image: xcode11.3
121121
env:
122-
- VERSION=3.1.0
122+
- VERSION=3.2.0
123123
install:
124124
# install hub
125125
- wget https://github.com/github/hub/releases/download/v2.11.2/hub-darwin-amd64-2.11.2.tgz -O /tmp/hub-darwin-amd64-2.11.2.tgz && tar -xvf /tmp/hub-darwin-amd64-2.11.2.tgz -C /usr/local/opt && ln -s /usr/local/opt/hub-darwin-amd64-2.11.2/bin/hub /usr/local/bin/hub

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Optimizely Swift SDK Changelog
22

3+
## 3.2.0
4+
January 15, 2020
5+
6+
This release includes a new API to access project configuration data and other feature enhancements. It also fixes known bugs.
7+
8+
### New Features
9+
* OptimizelyConfig ([#274](https://github.com/optimizely/swift-sdk/pull/274)):
10+
* Call `getOptimizelyConfig()` to get a snapshot copy of project configuration static data.
11+
* It returns an `OptimizelyConfig` instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values.
12+
* For details, refer to a documention page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-swift
13+
* Add LogEvent Notification ([#263](https://github.com/optimizely/swift-sdk/pull/263)):
14+
* Register an event listner with `addLogEventNotificationListener()`
15+
* The lister will be called when events are dispatched to the server.
16+
* Turn on "Allow app extensions only" flag in build settings ([#277](https://github.com/optimizely/swift-sdk/pull/277))
17+
18+
### Bug Fixes
19+
- When timerInterval is set to a negative value, EventDispatcher is changed to use the default interval value for batching (instead of disabling batch). Batching is disabled when the timerInterval is set to zero. ([#268](https://github.com/optimizely/swift-sdk/pull/268))
20+
21+
### Breaking Changes
22+
- Upgrade required platforms from iOS9+/tvOS9+ to iOS10+/tvOS10+ ([#284](https://github.com/optimizely/swift-sdk/pull/284))
23+
24+
325
## 3.1.0
426
July 31, 2019
527

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ Please note below that _\<platform\>_ is used to represent the platform on which
3131
#### CocoaPods
3232
1. Add the following lines to the _Podfile_:<pre>
3333
```use_frameworks!```
34-
```pod 'OptimizelySwiftSDK', '~> 3.1.0'```
34+
```pod 'OptimizelySwiftSDK', '~> 3.2.0'```
3535
</pre>
3636

3737
2. Run the following command: <pre>``` pod install ```</pre>
3838

3939
Further installation instructions for Cocoapods: https://guides.cocoapods.org/using/getting-started.html
4040

4141
#### Carthage
42-
1. Add the following lines to the _Cartfile_:<pre>```github "optimizely/swift-sdk" ~> 3.1.0```</pre>
42+
1. Add the following lines to the _Cartfile_:<pre>```github "optimizely/swift-sdk" ~> 3.2.0```</pre>
4343

4444
2. Run the following command:<pre>```carthage update```</pre>
4545

@@ -61,7 +61,7 @@ Futher installation instructions for Carthage: https://github.com/Carthage/Carth
6161

6262
```
6363
dependencies: [
64-
.package(url: "https://github.com/optimizely/swift-sdk.git", "3.1.0"..<"3.2.0")
64+
.package(url: "https://github.com/optimizely/swift-sdk.git", .upToNextMinor(from: “3.2.0”))
6565
]
6666
```
6767

0 commit comments

Comments
 (0)