Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit cc19b03

Browse files
LaunchDarklyReleaseBotember-stevensyusintoLaunchDarklyReleaseBotdependabot[bot]
authored
prepare 8.0.1 release (#235)
## [8.0.1] - 2023-09-20 ### Fixed: - Fixed a rare bug in key generation in some contexts generated by the Auto Environment Attributes feature. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Ember Stevens <[email protected]> Co-authored-by: Ember Stevens <[email protected]> Co-authored-by: Yusinto Ngadiman <[email protected]> Co-authored-by: Yusinto Ngadiman <[email protected]> Co-authored-by: LaunchDarklyReleaseBot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: tanderson-ld <[email protected]> Co-authored-by: Louis Chan <[email protected]>
1 parent 8a0ff65 commit cc19b03

File tree

13 files changed

+3823
-4343
lines changed

13 files changed

+3823
-4343
lines changed

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,12 @@ workflows:
122122
name: rn<<matrix.rn-version>>-xc<<matrix.xcode-version>>-build-apps-using-template
123123
matrix:
124124
parameters:
125-
rn-version: ['0.69.8', '0.70.7', '0.71.3']
125+
rn-version: ['0.69.12', '0.70.13', '0.71.13', '0.72.4']
126126
xcode-version: ['12.5.1', '14.2']
127127
exclude:
128-
- rn-version: '0.69.8'
128+
- rn-version: '0.69.12'
129129
xcode-version: '12.5.1'
130-
- rn-version: '0.70.7'
130+
- rn-version: '0.70.13'
131+
xcode-version: '12.5.1'
132+
- rn-version: '0.72.4'
131133
xcode-version: '12.5.1'

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @kinyoklion @yusinto @louis-launchdarkly @tanderson-ld
1+
* @yusinto @louis-launchdarkly @tanderson-ld

ManualTestApp/App.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const Wrapper = ({ children }: { children: ReactNode }) => {
2020

2121
const Body = () => {
2222
const [client, setClient] = useState<LDClient | null>(null);
23-
const [flagKey, setFlagKey] = useState('dev-test-flag1');
24-
const [flagType, setFlagType] = useState('number');
23+
const [flagKey, setFlagKey] = useState('dev-test-flag');
24+
const [flagType, setFlagType] = useState('bool');
2525
const [isOffline, setIsOffline] = useState(false);
2626
const [contextKey, setContextKey] = useState('context-key');
2727
const [listenerKey, setListenerKey] = useState('');
@@ -39,17 +39,13 @@ const Body = () => {
3939
version: '0.0.1',
4040
},
4141
};
42-
const anonymousUserContext = {
42+
const userContext = {
4343
kind: 'user',
44-
key: 'user-key-1',
45-
anonymous: true,
44+
key: 'test-key',
4645
};
47-
48-
// A multi-context can contain both anonymous and non-anonymous contexts.
49-
// Here, organization is not anonymous.
5046
const multiContext: LDMultiKindContext = {
5147
kind: 'multi',
52-
user: anonymousUserContext,
48+
user: userContext,
5349
org: {
5450
key: 'org-key',
5551
name: 'Example organization name',

ManualTestApp/ios/ManualTestApp.xcodeproj/project.pbxproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
0C5DA1350C9F01C869E9DE89 /* libPods-ManualTestApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DAB74D65B7D0287240B580B2 /* libPods-ManualTestApp.a */; };
1011
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
1112
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1213
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
13-
743196CED3D77B75105D5AA0 /* libPods-ManualTestApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7D937B6AF77F68034A6BD038 /* libPods-ManualTestApp.a */; };
1414
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1515
/* End PBXBuildFile section */
1616

1717
/* Begin PBXFileReference section */
18+
0AF6B24BD5CCC6461808EB83 /* Pods-ManualTestApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.release.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.release.xcconfig"; sourceTree = "<group>"; };
1819
13B07F961A680F5B00A75B9A /* ManualTestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ManualTestApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
1920
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ManualTestApp/AppDelegate.h; sourceTree = "<group>"; };
2021
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ManualTestApp/AppDelegate.m; sourceTree = "<group>"; };
2122
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ManualTestApp/Images.xcassets; sourceTree = "<group>"; };
2223
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ManualTestApp/Info.plist; sourceTree = "<group>"; };
2324
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ManualTestApp/main.m; sourceTree = "<group>"; };
24-
7D937B6AF77F68034A6BD038 /* libPods-ManualTestApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ManualTestApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
25+
425BC176136637FB41A21437 /* Pods-ManualTestApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.debug.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.debug.xcconfig"; sourceTree = "<group>"; };
2526
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = ManualTestApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
26-
B1DE77EF3F31D91853CA4080 /* Pods-ManualTestApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.debug.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.debug.xcconfig"; sourceTree = "<group>"; };
27-
B73C403206EE31E26D6844D3 /* Pods-ManualTestApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ManualTestApp.release.xcconfig"; path = "Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp.release.xcconfig"; sourceTree = "<group>"; };
27+
DAB74D65B7D0287240B580B2 /* libPods-ManualTestApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ManualTestApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
2828
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
2929
/* End PBXFileReference section */
3030

@@ -33,7 +33,7 @@
3333
isa = PBXFrameworksBuildPhase;
3434
buildActionMask = 2147483647;
3535
files = (
36-
743196CED3D77B75105D5AA0 /* libPods-ManualTestApp.a in Frameworks */,
36+
0C5DA1350C9F01C869E9DE89 /* libPods-ManualTestApp.a in Frameworks */,
3737
);
3838
runOnlyForDeploymentPostprocessing = 0;
3939
};
@@ -57,16 +57,16 @@
5757
isa = PBXGroup;
5858
children = (
5959
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
60-
7D937B6AF77F68034A6BD038 /* libPods-ManualTestApp.a */,
60+
DAB74D65B7D0287240B580B2 /* libPods-ManualTestApp.a */,
6161
);
6262
name = Frameworks;
6363
sourceTree = "<group>";
6464
};
6565
7F649E4EEFE2FB4CD7ED4A8A /* Pods */ = {
6666
isa = PBXGroup;
6767
children = (
68-
B1DE77EF3F31D91853CA4080 /* Pods-ManualTestApp.debug.xcconfig */,
69-
B73C403206EE31E26D6844D3 /* Pods-ManualTestApp.release.xcconfig */,
68+
425BC176136637FB41A21437 /* Pods-ManualTestApp.debug.xcconfig */,
69+
0AF6B24BD5CCC6461808EB83 /* Pods-ManualTestApp.release.xcconfig */,
7070
);
7171
path = Pods;
7272
sourceTree = "<group>";
@@ -107,14 +107,14 @@
107107
isa = PBXNativeTarget;
108108
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ManualTestApp" */;
109109
buildPhases = (
110-
2E3167E3790470C496D2DE4D /* [CP] Check Pods Manifest.lock */,
110+
03C554345316A906BD309D5B /* [CP] Check Pods Manifest.lock */,
111111
FD10A7F022414F080027D42C /* Start Packager */,
112112
13B07F871A680F5B00A75B9A /* Sources */,
113113
13B07F8C1A680F5B00A75B9A /* Frameworks */,
114114
13B07F8E1A680F5B00A75B9A /* Resources */,
115115
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
116-
CA32B08E40102D7A14CDEACA /* [CP] Embed Pods Frameworks */,
117-
7188AA91FE4353591A79A6A1 /* [CP] Copy Pods Resources */,
116+
AEB83BB41F42231C825E64DF /* [CP] Embed Pods Frameworks */,
117+
8DC9CC083148CCDF275173B3 /* [CP] Copy Pods Resources */,
118118
);
119119
buildRules = (
120120
);
@@ -183,7 +183,7 @@
183183
shellPath = /bin/sh;
184184
shellScript = "set -e\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
185185
};
186-
2E3167E3790470C496D2DE4D /* [CP] Check Pods Manifest.lock */ = {
186+
03C554345316A906BD309D5B /* [CP] Check Pods Manifest.lock */ = {
187187
isa = PBXShellScriptBuildPhase;
188188
buildActionMask = 2147483647;
189189
files = (
@@ -205,7 +205,7 @@
205205
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
206206
showEnvVarsInLog = 0;
207207
};
208-
7188AA91FE4353591A79A6A1 /* [CP] Copy Pods Resources */ = {
208+
8DC9CC083148CCDF275173B3 /* [CP] Copy Pods Resources */ = {
209209
isa = PBXShellScriptBuildPhase;
210210
buildActionMask = 2147483647;
211211
files = (
@@ -222,7 +222,7 @@
222222
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ManualTestApp/Pods-ManualTestApp-resources.sh\"\n";
223223
showEnvVarsInLog = 0;
224224
};
225-
CA32B08E40102D7A14CDEACA /* [CP] Embed Pods Frameworks */ = {
225+
AEB83BB41F42231C825E64DF /* [CP] Embed Pods Frameworks */ = {
226226
isa = PBXShellScriptBuildPhase;
227227
buildActionMask = 2147483647;
228228
files = (
@@ -275,7 +275,7 @@
275275
/* Begin XCBuildConfiguration section */
276276
13B07F941A680F5B00A75B9A /* Debug */ = {
277277
isa = XCBuildConfiguration;
278-
baseConfigurationReference = B1DE77EF3F31D91853CA4080 /* Pods-ManualTestApp.debug.xcconfig */;
278+
baseConfigurationReference = 425BC176136637FB41A21437 /* Pods-ManualTestApp.debug.xcconfig */;
279279
buildSettings = {
280280
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
281281
CLANG_ENABLE_MODULES = YES;
@@ -302,7 +302,7 @@
302302
};
303303
13B07F951A680F5B00A75B9A /* Release */ = {
304304
isa = XCBuildConfiguration;
305-
baseConfigurationReference = B73C403206EE31E26D6844D3 /* Pods-ManualTestApp.release.xcconfig */;
305+
baseConfigurationReference = 0AF6B24BD5CCC6461808EB83 /* Pods-ManualTestApp.release.xcconfig */;
306306
buildSettings = {
307307
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
308308
CLANG_ENABLE_MODULES = YES;

ManualTestApp/ios/Podfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ PODS:
7070
- FlipperKit/FlipperKitNetworkPlugin
7171
- fmt (6.2.1)
7272
- glog (0.3.5)
73-
- LaunchDarkly (9.0.2):
74-
- LaunchDarkly/Core (= 9.0.2)
75-
- launchdarkly-react-native-client-sdk (7.1.7):
76-
- LaunchDarkly (= 9.0.2)
73+
- LaunchDarkly (9.1.1):
74+
- LaunchDarkly/Core (= 9.1.1)
75+
- launchdarkly-react-native-client-sdk (8.0.0):
76+
- LaunchDarkly (= 9.1.1)
7777
- React-Core
78-
- LaunchDarkly/Core (9.0.2):
78+
- LaunchDarkly/Core (9.1.1):
7979
- LDSwiftEventSource (= 3.1.1)
8080
- LDSwiftEventSource (3.1.1)
8181
- libevent (2.1.12)
@@ -644,8 +644,8 @@ SPEC CHECKSUMS:
644644
FlipperKit: 2efad7007d6745a3f95e4034d547be637f89d3f6
645645
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
646646
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
647-
LaunchDarkly: 8f517dee5c26972440a3f1488ca47194137a5eaa
648-
launchdarkly-react-native-client-sdk: 48b512980a02652268f138b58f4cbe735d323f31
647+
LaunchDarkly: 0f0e975716763d9b6cb911116174d1c81e967962
648+
launchdarkly-react-native-client-sdk: 7406ec4f65cc8e9b5f6bed744417185edf0be99e
649649
LDSwiftEventSource: 3f9ff84ca80677f9a4f8596757dcb50026e4a13c
650650
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
651651
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
@@ -688,4 +688,4 @@ SPEC CHECKSUMS:
688688

689689
PODFILE CHECKSUM: 741d1103a57ae690e5c569aa60527fb577cb2f91
690690

691-
COCOAPODS: 1.11.3
691+
COCOAPODS: 1.12.1

ManualTestApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"dependencies": {
1717
"@react-native-picker/picker": "^2.2.1",
18-
"launchdarkly-react-native-client-sdk": "^7.1.1",
18+
"launchdarkly-react-native-client-sdk": "^8.0.0",
1919
"react": "^18.2.0",
2020
"react-native": "^0.72.4"
2121
},

ManualTestApp/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,10 +3403,10 @@ [email protected]:
34033403
fast-deep-equal "^2.0.1"
34043404
uuid "^8.0.0"
34053405

3406-
launchdarkly-react-native-client-sdk@^7.1.1:
3407-
version "7.1.8"
3408-
resolved "https://registry.yarnpkg.com/launchdarkly-react-native-client-sdk/-/launchdarkly-react-native-client-sdk-7.1.8.tgz#3b0cc4cec8174aeeae4bc33c015604e93115146c"
3409-
integrity sha512-f+XxZvEnKMY4P8sZjTEE0rpPKERlh8ATNt2E0hBK7lO+lPSZsjc7ymQCapT2wPwInOoQ2W+0vL9leX2J4orAUg==
3406+
launchdarkly-react-native-client-sdk@^8.0.0:
3407+
version "8.0.0"
3408+
resolved "https://registry.yarnpkg.com/launchdarkly-react-native-client-sdk/-/launchdarkly-react-native-client-sdk-8.0.0.tgz#94f0bdbb08ca3cc7f97e19561a8903824e3ac875"
3409+
integrity sha512-5UoF6eDOvrvgVgekVk+xpD0u9ikiLuJj5NBrWq4m6c+wzXIcxtM2mDXpMHxLPVKgPljKzCb5JCRfytsq17XLAg==
34103410
dependencies:
34113411
launchdarkly-js-sdk-common "5.0.3"
34123412

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repositories {
4848
dependencies {
4949
// The version of react-native is set by the React Native Gradle Plugin
5050
implementation("com.facebook.react:react-android:+")
51-
implementation("com.launchdarkly:launchdarkly-android-client-sdk:5.0.1")
51+
implementation("com.launchdarkly:launchdarkly-android-client-sdk:5.0.2")
5252
implementation("com.jakewharton.timber:timber:5.0.1")
5353
implementation("com.google.code.gson:gson:2.10.1")
5454

0 commit comments

Comments
 (0)