deviceModel into EnvironmentReporter and renames old deviceModel to deviceType.CwSysCtl.nonnull to featureKey parameters on exposed variation methods.flagConfigValueForKey to prevent dictionary access when key is nil.This is the first non-beta release of the Swift SDK. It follows the beta.3 release from 2019-03-07. Unlike previous Swift SDK releases, this release does not have a 3.0.0 companion tag.
2.3.3 through 3.0.1 and store the feature flags in the 4.0.0 cached data schema.4.0.0. Does not keep older cached data up-to-date. Downgrading to a prior version within 90 days allows the downgraded app to read the last cached data from the downgraded version.Autocreate schemes in Darkly.xcworkspaceDarklyEventSource version 4.0.1, which adds platform specific targets to support integration without a package manager.DarklyEventSource version 4.0.0, which eliminates a 1-second delay in SDK initialization.allFlags property to LDClient that provides a dictionary of feature flag keys and values. Accessing feature flags via allFlags does not record any analytics events.environment.
• Added secondaryMobileKeys to LDConfig. LDConfig mobileKey refers to the primary environment, and must be present. All entries in secondaryMobileKeys refer to optional secondary environments.
NOTE: See LDClient.h for the requirements to add secondaryMobileKeys. The SDK will throw an NSInvalidArgumentException if an attempt is made to set mobile keys that do not meet these requirements.
• Installed LDClientInterface protocol used to access secondary environment feature flags. May also be used on the primary environment to provide normalized access to feature flags.
• Adds environmentForMobileKeyNamed: to vend an environment (primary or secondary) object conforming to LDClientInterface. Use the vended object to access feature flags for the requested environment.
• Adds new constant kLDPrimaryEnvironmentName used to vend the primary environment's LDClientInterface from environmentForMobileKeyNamed:.LDUserBuilder build method no longer restores cached user attributes. The SDK sets into the LDUserModel object only the attributes in the LDUserBuilder at the time of the build message. On start, the SDK restores the last cached feature flags, which the SDK will use until the first feature flag update from the server.[NSURLSession defaultSession] or the [NSURLCache sharedURLCache], precluding conflicts with custom client app URL caching.userUpdated or featureFlagDidUpdate when deleting a feature flag under certain conditions.REPORT verb.updateUser did not attempt to retrieve the new user's cached flag values.CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS from the podspec, allowing Xcode 10's default setting to be used3.2.7DarklyEventSource in order to fix potential flag stream parsing issues.