Skip to content

Commit d166b83

Browse files
authored
Prepare 4.2.1 release (#198)
* Changes user-device to device model identifier (#75) * installs new deviceModel into EnvironmentReporter and renames old deviceModel to deviceType * use CwSysCtl for macos model * Replaced entire flag store ff array instead of in place manipulation * Updated CHANGELOG and bumped version number * Added correct copy behavior to FlagStore delete and update * Improved CHANGELOG entry for 4.0.1 * Changed version to 4.1.0, updated CHANGELOG * Update 4.1.0 release date * installs ios-eventsource 4.0.2 * installs CocoaPods 1.7.2 * clears swift 5 update warning * updates circle config to use xcode 10.2.1 * advances version to 4.1.1 * installs Nimble 8.0.2 * updates SwiftLint to 0.33.0 * Update 4.1.1 release date * Improved CHANGELOG 4.1.1 description * Made CHANGELOG 4.1.1 more consistent * 4.1.2 release, updated version numbers and CHANGELOG * Made 4.1.2 CHANGELOG entry more descriptive * Rebuilt Connection Status, added unit tests, fixed warnings * Changed guard to equals in Dictionary extension, changed ConnectionInformation to struct * Fixed threading issues and reference semantics * Improved ConnectionInformation toString, fixed background behavior * Added network connectivity check, changed TimeIntervals to Optionals * Added Connection Status files to correct Target Membership, added conditional compilation of network connectivity check for WatchOS * PR review changes * More PR review changes * Even more PR review changes * Removed ConnectionInformationCaching, removed redundant variables * Simplified synchronizing error behavior for connection status * DRY up setupListeners * Fixed string cases for LastConnectionFailureReason Codable * Forgot to add polling last successful connection * Store is now in Cache dir, removed listeners and 1 ldclient.shared, changed TimeInterval to Date, changed two inout's to var's * Added ConnectionModeChangedObserver * Fixed confusing docstring, removed unnecessary flag synchronizer * Changed getValue and toString to description * Changed description to computed property * Removed connectionModeCheck * Improved background connection status behavior * Changed ConnectionInformation description to computed property * Added new identify method, updated swiftlint rules * Made Identify actually change the user, fixed unit tests * Removed unnecessary _user assignment * Move swiftlint disable to LDClient, move user assignment into identifyInternal * Added private setOnline and go functions for identify * Forgot to replace go in guard with goIdentify * Copied user property unit tests for identify * Added optimization to not call setOnline when there is no completion and wasOnline is false * Testing identifyInternal change in IH * requested PR changes * Fixed convertCachedData call count, some PR feedback fixes * Simplified unit tests, added comment about thread safety * Changed lastSuccessfulConnection to lastKnownFlagValidity, added on stream close listener * Fixed handler * Remove unnecessary import * Changed eventSource access level * Reset lastKnownFlagValidity to nil when we make a successful stream connection * Made comment about lastKnownFlagValidity having a value more clear * Changed guard let to if let in DarklyService EventSource extension * Updated README, CHANGELOG, and podspec for 4.2.0 * [4.2.1] - 2019-11-15 (#81) * Added 4.2.1 changes including Dictionary fix and test and eventsource version bump * Added Carthage build files * Added attribution to CHANGELOG
1 parent bcf1fa9 commit d166b83

File tree

28 files changed

+1171
-22
lines changed

28 files changed

+1171
-22
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to the LaunchDarkly iOS SDK will be documented in this file.
55
### Multiple Environment clients
66
Version 4.0.0 does not support multiple environments. If you use version `2.14.0` or later and set `LDConfig`'s `secondaryMobileKeys` you will not be able to migrate to version `4.0.0`. Multiple Environments will be added in a future release to the Swift SDK.
77

8+
## [4.2.1] - 2019-11-15
9+
### Changed
10+
- Updated to `ios-eventsource` version `4.0.3`. This appends a platform name to bundle identifiers. (Thanks, [cswelin](https://github.com/launchdarkly/ios-eventsource/pull/28)!)
11+
12+
### Fixed
13+
- Comparing two nil objects of type `[String: Any]?` no longer causes a crash. ([#197](https://github.com/launchdarkly/ios-client-sdk/issues/197))
14+
815
## [4.2.0] - 2019-10-25
916
### Added
1017
- The `identify` function allows a completion to be called after a user is updated.

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "launchdarkly/ios-eventsource" >= 4.0.2
1+
github "launchdarkly/ios-eventsource" >= 4.0.3

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "launchdarkly/ios-eventsource" "4.0.2"
1+
github "launchdarkly/ios-eventsource" "4.0.3"

Carthage/Build/.ios-eventsource.version

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Carthage/Build/Mac/DarklyEventSource.framework.dSYM/Contents/Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.

Carthage/Build/Mac/DarklyEventSource.framework/Versions/A/Resources/Info.plist

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Carthage/Build/iOS/2231C81C-0084-313B-A9BE-AFCA4FCB9F70.bcsymbolmap

Lines changed: 296 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Carthage/Build/iOS/8C421C81-BEC6-3E73-9DFD-793C3372559D.bcsymbolmap

Lines changed: 365 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)