-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [5.4.4] - 2022-01-19 ### Fixed - Fixed memory leak when stream connections are terminated by updating `LDSwiftEventSource` dependency to [1.3.0](https://github.com/launchdarkly/swift-eventsource/releases/tag/1.3.0). - The SDK would not allow additional fields on `delete` flag stream events. This has been updated to allow additional fields for improved future compatibility. - Improved internal `Throttler` implementation to reduce concurrency concerns. - Removed unneeded `Cartfile` definining `LDSwiftEventSource` dependency, which when bundled could lead to warning messages that `LDSwiftEventSource` definitions are implemented in multiple frameworks.
- Loading branch information
1 parent
7e24a7a
commit a6d94a9
Showing
22 changed files
with
209 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
type: string | ||
ssh-fix: | ||
type: boolean | ||
default: true | ||
default: false | ||
build-doc: | ||
type: boolean | ||
default: false | ||
|
@@ -24,19 +24,15 @@ jobs: | |
steps: | ||
- checkout | ||
|
||
# This hack shouldn't be necessary, as we don't actually use SSH | ||
# to get any dependencies, but for some reason starting in the | ||
# '12.0.0' Xcode image it's become necessary. | ||
# There's an XCode bug present in the 12.0.1 CircleCI image that prevents fetching SSH | ||
# dependencies from working in some cases, so we disable CircleCI's rewriting of the HTTPS | ||
# GitHub URLs to SSH. | ||
- when: | ||
condition: <<parameters.ssh-fix>> | ||
steps: | ||
- run: | ||
name: SSH fingerprint fix | ||
command: | | ||
sudo defaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES | ||
rm ~/.ssh/id_rsa || true | ||
for ip in $(dig @8.8.8.8 bitbucket.org +short); do ssh-keyscan bitbucket.org,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true | ||
for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts || true | ||
name: SSH fix | ||
command: git config --global --unset url.ssh://[email protected] | ||
|
||
- run: | ||
name: Setup for builds | ||
|
@@ -87,11 +83,25 @@ jobs: | |
- when: | ||
condition: <<parameters.build-doc>> | ||
steps: | ||
- restore_cache: | ||
key: v1-gem-cache-<<parameters.xcode-version>>- | ||
|
||
- run: | ||
name: Build Documentation | ||
name: Install jazzy gem | ||
command: | | ||
sudo gem install jazzy | ||
jazzy -o artifacts/docs | ||
gem install jazzy | ||
gem cleanup | ||
# Used as cache key to prevent storing redundant caches | ||
gem list > /tmp/cache-key.txt | ||
- save_cache: | ||
key: v1-gem-cache-<<parameters.xcode-version>>-{{ checksum "/tmp/cache-key.txt" }} | ||
paths: | ||
- ~/.gem | ||
|
||
- run: | ||
name: Build Documentation | ||
command: jazzy -o artifacts/docs | ||
|
||
- when: | ||
condition: <<parameters.run-lint>> | ||
|
@@ -116,18 +126,22 @@ workflows: | |
|
||
build: | ||
jobs: | ||
- build: | ||
name: Xcode 13.1 - Swift 5.5 | ||
xcode-version: '13.1.0' | ||
ios-sim: 'platform=iOS Simulator,name=iPhone 11,OS=15.0' | ||
build-doc: true | ||
run-lint: true | ||
- build: | ||
name: Xcode 12.5 - Swift 5.4 | ||
xcode-version: '12.5.0' | ||
ios-sim: 'platform=iOS Simulator,name=iPhone 8,OS=14.5' | ||
build-doc: true | ||
run-lint: true | ||
- build: | ||
name: Xcode 12.0 - Swift 5.3 | ||
xcode-version: '12.0.1' | ||
ios-sim: 'platform=iOS Simulator,name=iPhone 8,OS=14.0' | ||
ssh-fix: true | ||
- build: | ||
name: Xcode 11.4 - Swift 5.2 | ||
xcode-version: '11.4.1' | ||
ios-sim: 'platform=iOS Simulator,name=iPhone 8,OS=12.2' | ||
ssh-fix: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.