-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [6.2.0] - 2022-09-01 ### Added: - CI builds now include a cross-platform test suite implemented in https://github.com/launchdarkly/sdk-test-harness. This covers many test cases that are also implemented in unit tests, but may be extended in the future to ensure consistent behavior across SDKs in other areas. - Introduced ApplicationInfo, for configuration of application metadata that may be used in LaunchDarkly analytics or other product features. This does not affect feature flag evaluations. ### Changed: - Updated LDSwiftEventSource to 2.0.0. We no longer bind to a static product; rather, we let the build determine static vs dynamic linking. ### Fixed: - Previously a deleted flag could be made available in the SDK if the deletion events were processed out of order. This is no longer the case.
- Loading branch information
Showing
39 changed files
with
1,137 additions
and
233 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,4 +57,4 @@ identifier_name: | |
- lhs | ||
- rhs | ||
|
||
reporter: "xcode" | ||
reporter: "xcode" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
disabled_rules: | ||
- line_length | ||
- trailing_whitespace | ||
|
||
opt_in_rules: | ||
- contains_over_filter_count | ||
- contains_over_filter_is_empty | ||
- contains_over_first_not_nil | ||
- contains_over_range_nil_comparison | ||
- empty_count | ||
- first_where | ||
- flatmap_over_map_reduce | ||
- implicitly_unwrapped_optional | ||
- let_var_whitespace | ||
- missing_docs | ||
- redundant_nil_coalescing | ||
- sorted_first_last | ||
- trailing_closure | ||
- unused_declaration | ||
- unused_import | ||
- vertical_whitespace_closing_braces | ||
|
||
included: | ||
- Source | ||
|
||
excluded: | ||
|
||
function_body_length: | ||
warning: 50 | ||
error: 70 | ||
|
||
type_body_length: | ||
warning: 300 | ||
error: 500 | ||
|
||
file_length: | ||
warning: 1000 | ||
error: 1500 | ||
|
||
identifier_name: | ||
min_length: # only min_length | ||
warning: 3 # only warning | ||
max_length: | ||
warning: 50 | ||
error: 60 | ||
excluded: | ||
- id | ||
- URL | ||
- url | ||
- obj | ||
- key | ||
- all | ||
- tag | ||
- lhs | ||
- rhs | ||
|
||
reporter: "xcode" |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// swift-tools-version:5.2 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "ContractTests", | ||
platforms: [ | ||
.iOS(.v10), | ||
.macOS(.v10_15), | ||
.watchOS(.v3), | ||
.tvOS(.v10) | ||
], | ||
products: [ | ||
.executable( | ||
name: "ContractTests", | ||
targets: ["ContractTests"]) | ||
], | ||
dependencies: [ | ||
Package.Dependency.package(name: "LaunchDarkly", path: ".."), | ||
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0") | ||
], | ||
targets: [ | ||
.target( | ||
name: "ContractTests", | ||
dependencies: [ | ||
.product(name: "LaunchDarkly", package: "LaunchDarkly"), | ||
.product(name: "Vapor", package: "vapor") | ||
], | ||
path: "Source"), | ||
], | ||
swiftLanguageVersions: [.v5]) |
Oops, something went wrong.