Skip to content

Commit 5c257f7

Browse files
authored
chore: prepare for release 3.1.0 (#253)
* prepare for release 3.1.0
1 parent f9d9ee6 commit 5c257f7

File tree

5 files changed

+27
-7
lines changed

5 files changed

+27
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
os: osx
8585
osx_image: xcode10.2
8686
env:
87-
- VERSION=3.1.0-beta
87+
- VERSION=3.1.0
8888
install:
8989
# install hub
9090
- 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
@@ -99,7 +99,7 @@ jobs:
9999
os: osx
100100
osx_image: xcode10.2
101101
env:
102-
- VERSION=3.1.0-beta
102+
- VERSION=3.1.0
103103
install:
104104
# install hub
105105
- 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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Optimizely Swift SDK Changelog
22

3+
## 3.1.0
4+
July 31, 2019
5+
6+
This release is the GA launch of the Swift SDK. It is a pure Swift implementation which takes complete advantage of language features and performance. It supports Objective-C applications as well.
7+
8+
This modernized version of the SDK is meant to replace the Objective-C SDK.
9+
10+
### New Features
11+
In addition to all features and APIs support of the Objective-C SDK, this new SDK also adds the following new features:
12+
13+
* By default the datafile handler does updates every 10 minutes when the application is in the foreground. To disable this, set the periodicUpdateInterval to zero. If you do allow for polling, the project will update automatically when a new datafile change is received.
14+
* On top of the above functionality, the developer may register for a datafile change notification. This notification will be called anytime a new datafile is downloaded to cache and is used to reinitialize the optimizely client automatically.
15+
* The event handler batches events and will run every minute in the foreground to send events. If there are no events in the queue it will not reschedule.
16+
17+
### Bug Fixes
18+
19+
### Breaking Changes
20+
21+
322
## 3.1.0-beta
423
May 30, 2019
524

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Optimizely Rollouts is free feature flags for development teams. Easily roll out
1515

1616
### Using the SDK
1717

18-
See the [Mobile developer documentation](https://docs.developers.optimizely.com/full-stack/docs/ios-swift-sdk-310-beta) to learn how to set
18+
See the [Mobile developer documentation](https://docs.developers.optimizely.com/full-stack/docs/install-the-swift-sdk) to learn how to set
1919
up an Optimizely X project and start using the SDK.
2020

2121
### Requirements

Scripts/update_version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ cd "$(dirname $0)/.."
3333
#----------------------------------------------------------------------------------
3434
# 1. update the SDK version in SDKVersion.swift file
3535
#----------------------------------------------------------------------------------
36-
sdkVersionFilepath="OptimizelySDK/Utils/SDKVersion.swift"
37-
sdkVersionKey="OPTIMIZELY_SDK_VERSION"
36+
sdkVersionFilepath="Sources/Utils/SDKVersion.swift"
37+
sdkVersionKey="OPTIMIZELYSDKVERSION"
3838

3939
printf "\tUpdating ${sdkVersionKey} to ${releaseSDKVersion}.\n"
4040
sed -i '' -e "s/${sdkVersionKey}[ ]*=.*\"\(.*\)\"/${sdkVersionKey} = \"${releaseSDKVersion}\"/g" ${sdkVersionFilepath}

Sources/Utils/SDKVersion.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
***************************************************************************/
1717

1818
/// Do not edit this field.
19-
/// It is auto updated (Scripts/updated_version.sh) to reflect the current version
20-
let OPTIMIZELYSDKVERSION = "3.1.0-beta"
19+
/// - It is auto updated (Scripts/updated_version.sh) to reflect the current version
20+
/// - Do not put underscores in the name (Swiftlint can modify unexpectedly)
21+
let OPTIMIZELYSDKVERSION = "3.1.0"

0 commit comments

Comments
 (0)