Skip to content

Commit 450b427

Browse files
authored
Prepare 4.3.1 release (#203)
* 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 * Evaluation Reasons (#82) * Initial Evaluation Reasons prototype * Changed evaluationReasons to reasons, fixed mangled question mark in url query parameters * Added errorKinds * Added reason to debug events * Changed reason nil handling in events * Removed unnecessary private functions, removed event nil coalesce * Event change for reason nil * Removed if in Event for reason nil, added guard let NSNull for dictionary in Events * Added reason null to normal variation calls * Testing alternate reason null set * Change Event comparison code to add reason * Removed reason from event dictionary matches * Removed Event Equatable reason and changed Event Dictionary matches * Explicitly set featureflag reason property to nil when not send feature event for variationDetail * Fixed DeprecatedCacheModel unit tests, added v6 model tests, added variation detail unit tests, changed event reason nil check * Added variationDetail to objective c, fixed cache converter unit tests, deprecated variationAndSource * Added new files to correct target membership * Simplify featureflag reason nil check * Removed unnecessary comments, deprecated objc variationAndSource * Improved doc strings, cut down on variation doc string repetition, added reason tests for Event and EventReporter, added EvaluationDetail generic * Added ObjCEvaluationDetail to correct target membership * Differentiated objc evaluation detail return type, change reason constant in unit tests * Removed Optional value on fallback variation * Added Event test for reason false but flag reason present, cleaned up objc doc strings, changed optional types in objc evaluation detail * Experimentation 1.5 (#83) * Added trackReasons and metricValue as well as doc and unit tests * Added unit tests for reason false track reason true, added objc track without metricValue, changed and trackReason to or trackReason * Added explicit event store reason test * Fixed objc track comment * Updated reason to includeReason for clarity * Explicitly check both feature and debug events * Prepare version 4.3.0 * Update ios-eventsource to 4.1.0 (#84) * Updated ios-eventsource to 4.1.0, updated version strings * Added sentence about iOS SDK compat to CHANGELOG * pod repo update to get new eventsource version
1 parent a154e4f commit 450b427

File tree

28 files changed

+1146
-17
lines changed

28 files changed

+1146
-17
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
name: CocoaPods lib lint
7070
command: |
7171
curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
72+
pod repo update
7273
bundle exec pod lib lint
7374
7475
- run:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ 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.3.1] - 2019-12-12
9+
### Changed
10+
- Updated to `ios-eventsource` version `4.1.0`. This negates the need to `use_frameworks!` when using the React Native SDK. This change does not affect the iOS SDK.
11+
812
## [4.3.0] - 2019-12-3
913
### Added
1014
- Implemented `variationDetail` which returns an Evaluation Reason giving developers greater insight into why a value was returned.

Cartfile

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

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.3"
1+
github "launchdarkly/ios-eventsource" "4.1.0"

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: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Carthage/Build/iOS/9601340B-D170-36F2-B4CB-67AAD2F42C6E.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.

0 commit comments

Comments
 (0)