Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 * Fixed change listener not firing when only value changes (#85) * Fixed change listener not firing when only value changes * Fixed a unit test variable name typo * Cast flag value to dictionary instead of string, improved unit test * Remove debug printout, remove unnecessary parameter * Updated CHANGELOG, README, and podspec for 4.3.2 * Adds startAwaitingFlags function (#86) * Added newStart function, updated README, podspec, and CHANGELOG * Changed newStart to startAwaitingFlags * Added doc strings for startAwaitingFlags and deprecated start * Added cocoapods lib lint flag to ignore depracted API usage in ObjCLDClient, added startAwaitingFlags to ObjC * Fixed alow to allow, changed startAwaitFlags to startCompleteWhenFlagsReceived, added unit tests for startCompleteWhenFlagsReceived * Updated deprecation message to startCompleteWhenFlagsReceived * [ch61092] Add X-LaunchDarkly-Payload-ID to event request headers (#87) * Added X-LaunchDarkly-Payload-ID header to event request headers, add string length check on LD payload ID header in header unit tests * Added CHANGELOG Added entry for event request header * Added UUID generation to DarklyService so it's regenerated on each request * Change CHANGELOG entry for new header to match other SDKs * Added single retry attempt to event post (#88) * Added single retry attempt to event post * Added payloadId to the correct point to maintain value between retries, retry on error * reportSyncComplete on 2nd error, always log on event post error, add 1 second delay with log on event post retry * Added 1 second delay to retry event post * async'd event post to prevent blocking main thread on retry sleep * Increased event test waitUntil timeout to 10 seconds * Bumped patch version, added CHANGELOG for 4.4.1 * Changed 4.4.1 entry * Further 4.4.1 entry revision * Changed retry event post for loop to function call (#89) * [ch65670] Fix Xcode 11.4 build and unit tests (#90) * Fixed build errors, fixed some unit tests * Added shell script to remove duplicate sourcery method mock * sed now matches specific pattern instead of line numbers * Add project config file containing run script step * Bump CircleCI Xcode to 11.4 * Bump CircleCI Xcode to 11.4.0 * Changed iPhone simulator in CircleCI from XS to Xs * Changed CircleCI xcodebuild from OS:latest to OS:12.4 * Testing NSURLRetryPolicy on CI * Removed DeprecatedCache from automock * Fix FlagStore to synchronize reads with writes. * Add xcode compatibility information to readme (#93) * Fix for concurrency bug exposed by restwrapper. (#94) * General cleanup. (#92) * [ch75316] Added maxCachedUsers to LDConfig and UserEnvironmentFlagCache (#96) * Added maxCachedUsers to LDConfig and UserEnvironmentFlagCache * Changed specific -1 to 0 * Added unlimited users tests * Added CHANGELOG for 4.6 * Added maxCachedUsers to objc LDConfig (#97) * Changed version to 4.6.0 Co-authored-by: Mark Pokorny <[email protected]> Co-authored-by: Gavin Whelan <[email protected]> Co-authored-by: Ben Woskow <[email protected]>
- Loading branch information