diff --git a/.travis.yml b/.travis.yml index dd4ae224a..706027318 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,7 +77,7 @@ jobs: os: osx osx_image: xcode10 env: - - VERSION=3.1.0 + - VERSION=3.1.1 install: # install hub - 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 @@ -90,7 +90,7 @@ jobs: os: osx osx_image: xcode10 env: - - VERSION=3.1.0 + - VERSION=3.1.1 install: # install hub - 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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b58e0d0a..fd5e4d7d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Optimizely Objective-C SDK Changelog +## 3.1.1 +May 21st, 2019 + +This includes a fix that if an event is dispatched while the app is in the background, the event dispatcher attempts to get an ephemeral session configuration which throws an exception. We catch and log the exception returning nil which causes a nil session and no task is run. The event will be sent again when the next event is queued. + +### New Features +* No new features for this patch release. + +### Bug Fixes: +* NSURLSession ephemeral session creation may throw an exception while the app is in the background. +This fix wraps the ephemeral session creation with a try catch and logs an error. ([#417](https://github.com/optimizely/objective-c-sdk/pull/417)) + ## 3.1.0 May 16th, 2019